RobotStudio event

Is there a PC connected to the RMQ?


I have a robot (RW 5.61) controlled by a PC. The PC sends commands through RMQ to move the robot. The controller replies with feedback information.

I want the controller stops any movement if the connection with the PC is lost.

I know an exception is raised when the controller sends a message and there is no connection (ERR_RMQ_INVALID). But, as the controller replies the PC messages, if the PC disconects from the controller, this does not send any message which raises the exception.

Is there any way to know if there is a PC connected to the RMQ?

thank you.

Best regards,
 Daniel M.