@15=10
@20=2
#3=1
#20=9
OPEN("A12345");
PRINT("G0 Y@15 X4"); /* export to file result:G0 Y10 X4 */
PRINT("G0 Y@15 X#3"); /* export to file result:G0 Y10 X1 */
PRINT("X100 Z10 F200"); /* export to file result:X100 Z10 F200 */
PRINT("G0 Y(@15+15.5) X4"); /* export to file result:G0 Y(10+15.5) X4 */
PRINT("G0 Y#1 X4"); /* export to file result:G0 Y X4 */
CLOSE();
M30
Usage Example 2:
@15=10
@20=2
#3=1
#20=9
OPEN("A12345");
PRINT("G0 X4 Y(\#15+#20)"); /* export to file result:G0 X4 Y(#15+9) */
PRINT("G0 X\@20 Y\#15"); /* export to file result:G0 X@20 Y#15 */
PRINT("G0 X(@20+\#3) Y(\#30+@20)"); /* export to file result:G0 X(2+#3) Y(#30+2) */
PRINT("G0 X(\@15/\#3) Y(15+\@20)"); /* export to file result:G0 X(@15/#3) Y(15+@20) */
PRINT("G0 X(\#3+5) Y(\#30+#3)"); /* export to file result:G0 X(#3+5) Y(#30+1) */
PRINT("G0 X(\@15*5.45) Z(\#15-\#3)"); /* export to file result:G0 X(@15*5.45) Z(#15-#3) */
PRINT("G0 Y(\#15+@20) Z(\#15/\@20)"); /* export to file result:G0 Y(#15+2) Z(#15/@20) */
CLOSE();
M30
Close the file that was opened by OPEN command. File will be closed automatically when part
program closes or system resets. After file closed, PRINT command is invalid.
This function will stop interpretation automatically(TypeⅠ);function will be ignored
when simulation and program restart.
STRING =>Any string, if above arguments string has MACRO variables, system will replace it to
Comentários a estes Manuais