please, help with local variables
hello, there is a program, delivering different result on mill vs lathe .
please, is there a way to make machines behave the same ? kindly !
Code:
[lathe]
DIA1=10
DIA2=20
CALL OS02
V3=DIA1
V4=DIA2
M02
OS02
DIA1=100
DIA2=200
V1=DIA1
V2=DIA2
RTS
( V1=100 )
( V2=200 )
( V3=100 )
( V4=200 )
Code:
[ mill ]
DIA1=10
DIA2=20
CALL OS02
VC3=DIA1
VC4=DIA2
M02
OS02
DIA1=100
DIA2=200
VC1=DIA1
VC2=DIA2
RTS
( V1=100 )
( V2=200 )
( V3=10 )
( V4=20 )
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg