I have a machine with a lot of emergency buttons and for each one I have a signal to the PLC saying it is pressed. So I know which button is pressed. I also have a KRC4 on the security and I do not have any signal from it to the PLC saying that it's emergency is pressed. I could go by elimination, if none was pressed, so the robot is. But is not the best option because maybe I just have wire from the buttons disconnected and I will assume that is the robot that is in emergency.
I was thinking about getting a system variable that says it is pressed, but I could not find one. Does someone know how to know if the emergency is pressed programmatically?
maybe this helps:
The following predefined data lists exist in the KR C...:
$MACHINE.DATis a predefined data list with exclusively predefined system variables. The machine data serve the purpose of adapting the controller to the connected robot (kinematic information, control parameters, etc.). There is a$MACHINE.DATin both the control system and the robot system. You cannot create new variables or delete existing ones.Examples:
$ALARM_STOPSignal for Emergency Stop (controller--specific)