I am performing calculations for one job that runs the probe for a specific product. The next job relies on the variables generated from the first job, which means I need to use variables in the range of #29000 to #31999. However, whenever I try to perform calculations using these variables, the program seems to freeze.
For example
Code: Select all
G0 X0 Y0 Z0
#100 = [#100 + 10]
G0 Z[#100]
#100 = [#100 + 10]
G0 Z[#100]
Code: Select all
G0 X0 Y0 Z0
#30100 = [#30100 + 10]
G0 Z[#30100]
#30100 = [#30100 + 10]
G0 Z[#30100]
I was expecting it to work like the previous code but not resetting variable #30100 between runs.
What am I missing?
Thank you in advance for your comments