i have same issue with string(8000000) when i using string utility it not extract all file. in side txt file there is 67000 lines but after extracting using string utility i just get 3700 lines is there any limits in string util lib.
Do we want to read a file larger than 65535 bytes using the CAA file read function but if we set more than 65535 at buffersize its error Cant convert UINT to UDINT
In Codesys cnc Readncfile2 if we not give value before decimal point err same file we copy in smc Queue than it work N00 G01 X.234 not work N00 G01 X0.234 work Sent from my iPhone
G36 O$iVar$ D200
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 F...
for G00 = FF50 SO 'N00 G00 X0 FF50'
i am also watching for that i think parser is the way