kishan - 2022-09-13

i want to parsing gcode sting in to interpolator but i dont know how

examle

var
GCODE_PROGRA := ARRAY(0..100) OF STRING
n := int
END_VAR

ST

GCODE_PROGRA[0]:= 'N00 G00 X0 Y0 FF100';
GCODE_PROGRA[1]:= 'N10 G01 X-100 Y-100 F10';
GCODE_PROGRA[2]:= 'N20 G02 X0 Y0 R30 F50';
GCODE_PROGRA[3]:= 'N30 G03 X-100 Y-100 R30 F50';
GCODE_PROGRA[4]:= 'N40 G00 X0 Y0 FF100';
GCODE_PROGRA[5]:= 'N50 M30';

RETURN

SO THIS FOLLOWING STRING I WANT TO USE AS GCODE STRING BUT I DONT KNOW HOW TO PASTE THIS IN CNC PROGRAM FILE

 

Related

Talk.ru: 1
Talk.ru: 2
Talk.ru: 3
Talk.ru: 5