8/31/2009 5:18 PM | |
Posts: 54 Rating:
|
Hi away, I have problems to create a GUD string variable. I got a NCK error message. Perhaps, it is not possible to use that variable type at the moment. I have created a different solution to write a part program name into the NCK. The system provides read and write functions for the NC – file system. So I use a cover cycle program in that I write the file name keyed in by user. The main cycle program calls the cover cycle and so the selected program. --------- <!-- line feed --> <let name ="LF" type="string">\n</let> <!-- m30 prgram end --> <let name ="M30" type="string">M30</let> <let name="cover_cycle_content" type="string"></let> <let name="pname" type="string"></let> … … … <op> cover_cycle_content = pname+LF+M30+LF </op> <function name="doc.writetofile"> _T"\mpf\wp_call.mpf", cover_cycle_content</function> … … … <control name = "cprog_name" xpos = "440" ypos = "190" width="100" type="string" refvar="pname"/> … … ----- You will find the code parts into the zip – archives. Attachmentxmldial.zip (294 Downloads) |
Follow us on