We run below Macro program on GSK980TDb lathe CNC controller, and it works ok.
WHILE...DO1 G01X100 ... END1
Then change the macro program to below, it alarms: G01X[100+#1] is illegal.
WHILE...DO1 G01X[100+#1] ... END1
What's wrong of the macro program?
Yes, G01X[100+#1] is illegal, because calculation is not supported for the macros of GSK980TDb.