I have a 2005 VF-2 that I added probing to.
I have the spindle probe working great for X and Y, and Bore measuring.
Today I finally had a chance to finish up the wiring for the OTS.
I got the OTS calibrated, and the Spindle Probe calibrated to the OTS.
When I attempted to use the Spindle Probe to measure the Z surface I get an alarm,
522 ILLEGAL ASSIGNMENT VAR OR VALUE.
It appears the Macro is a newer version than what I need.
It looks like its trying to determine if the machine has Sigma 1 or Sirgma 5 motors.
I'm not as savvy as many with macros, but I'd like to eliminate this check and code it to be Sigma 1.
Looks like it's attempting to write to a variable that didn't exist on this control.
Any Macro Masters out there see an edit they can recommend?
The macro is trying to read parameter 774 (X encoder type), which your control does not seem to have.
Try this:
- Erase the "#6996=774" line.
- Replace "#162=#6998" with "#162=7".