We have an exsiting program that has some interesting features which I could some help in decipering what each line is doing. Any help would be greatly appricated.
Beginning of program:
IF[#503 GE #502] GOTO777 - What is GE?
IF[#502 GT ***] GOTO778 - What is GT ***?
IF[#500 LT *] GOTO779 - What is LT *?
#19=#503 - What is this?
#5=*
#2=*
#14=0
G90 G10 L2 P3 X#5221 Y#5222 Z#5223 (G54 XYZ TO G56) - And all this?
WHILE [#14 LT #502] DO1 - This?
#10=0 - And this?
G90 G10 L2 P3 X#5221 (G54 X TO G56) - And this?
WHILE [#10 LT **] DO2 - And this?
Regular code here....
Before Tool change ...
G91 G10 L2 P3 X#5 - Not sure what this does.
G90
#10=#10+1 - Or this
#19=#19+1 - Or this
#14=#14+1 - Or this
IF[#19 GE #502] GOTO 102 - Or this
END2
G91 G10 L2 P3 Y#2 - Or this
G90
Then there is a tool change call out and the following...
#19=#503
#5=*
#2=*
#14=0
G90 G10 L2 P3 X#5221 Y#5222 Z#5223 (G54 XYZ TO G56)
WHILE [#14 LT #502] DO1
#10=0
G90 G10 L2 P3 X#5221 (G54 X TO G56)
WHILE [#10 LT **] DO2
Any help on the above would be great!
Regular code and then pretty much all the above repeats again. Who's the guru here that can decipher this code?