Hi is it possible to access a variable assigned in one macro from a different macro?
M810.m1s
Dim MyVariable
MyVariable=123.456
M811.m1s
Dim MyNewVariable
MyNewVariable=MyVariable/2
ex-egll
Hi is it possible to access a variable assigned in one macro from a different macro?
M810.m1s
Dim MyVariable
MyVariable=123.456
M811.m1s
Dim MyNewVariable
MyNewVariable=MyVariable/2
ex-egll
It would depend on the machine you are running. In the Fanuc machines I run the variables are stored in the machines variable list. The values will stay in those variables until the machine is powered down or overwritten.
I can set a value in variable #100 and then call it from any program in place of a value.
Brad English
fanucmilling.com