You are not logged in.
Pages: 1
Hi there,
I have a variable defined in my control. The variable is VZOFZ (Z zero set for an Okuma control). This variable has two values, depending on G140 (main spindle) or G141 (sub spindle). I set up the variable as a number array, so it is under the control variables as: VZOFZ[2]
|
- [0]
|
- [1]
In my control file I have VZOFZ set up, with either G140 or G141 active. What is the correct syntax to propagate [0] and [1] respectively? When the NC file is read it puts the G140 VZOFZ value in 0, and then when it reads the G141 VZOFZ it updates [0] and not [1].
I believe I'm not using the right syntax. Anyone care to elighten me?
Regards,
Mike
New Zealand Vericut Reseller
Offline
Actually. I think I have the process wrong. In the G code processing window, I have VZOFZ defined with a condition of G140 (G140 writes the value of 140 to the 6000 variable, and G141 writes the value of 141 to the 6000 variable). I just assumed that meant that if the VZOFZ value was encountered with the 6000 variable at 140, it would write the VZOFZ value to the VZOFZ variable. I realise that isn't the case.
So... what would the process be to make Vericut write the VZOFZ value, (when variable 6000 = 140) to the Variable number array location 0 for variable VZOFZ in the Control Variable page?
New Zealand Vericut Reseller
Offline
As always, CGTechs outstanding tech support helped me out. The issue has been sorted
Cheers!
New Zealand Vericut Reseller
Offline
Pages: 1