Hi, don't know if this is the correct part of forum for my question. But since it has something to do with variables i'll try here
Anyway, im using a Yasnac MX3, trying to set the Rotary Angel Settings for G56, G57, G58, G59, G56J2, G57J2 and G58J2.
I have looked in the manual the parameter numbers for these values and it works fine with G56, G57, G58, G59 but not with G56J2, G57J2 and G58J2.
I get error 108 (MACRO ERROR (UNDEFIN #NO)) Undefined variable NO. Designated.
This is the code i made
Code:
%
O2000
(G57Y)#6535=#6529+7600
(G57Z)#6536=#6530+110
(G58Y)#6541=#6529-7600
(G58Z)#6542=#6530+110
(G59Y)#6547=#6529+3800
(G59Z)#6548=#6530+30
(G56J2Y)#6719=#6529-3800
(G56J2Z)#6720=#6530+30
(G57J2Y)#6725=#6529+11400
(G57J2Z)#6726=#6530+240
(G58J2Y)#6731=#6529-11400
(G58J2Z)#6732=#6530+240
(G57X)#6534=#6528
(G58X)#6540=#6528
(G59X)#6546=#6528
(G56J2X)#6718=#6528
(G57J2X)#6724=#6528
(G58J2X)#6730=#6528
%
As I said, have checked the diagnostic parameter list and as I see it, the parameters are correct. Have tried just taking one of the Workshifts in J2 and it gives me error. For example #6730=1000 in MDI will give me the same error.
Any clues?