I want to do a request in the NC program: for example check at the beginning of the program how the poddis are standing.
The background is that our user or the cleaning team touch the machines sometimes.
Limit the PLC to 100% is clear. But I also want a security underneath, meaning <100%.
My approach
IF §AC_OVR<>100
SETAL(.......)
END IF
An error message came up: system variable not enabled.
I have tried to read the variable into a R parameter, but it did not work.
I don’t understand the error message because I am using that particular variable in the NC program and I only want to read it…
WHENEVER §AC_OVR[S]<>5000 DO
$AC_OVR=0 ( wait until engine speed is reached, then OVR clearing)
I don’t understand why I can write the variable but not read it.
I hope you are able to help me out. Maybe it’s just a small error in reasoning on my part.
Thank you!!