RobotStudio event

How to determine if Robotstudio has "Write Access" in an IRC5 Controller

Is there anyway to determine if/when Robotstudio has write access in an IRC5 controller?  It would be nice to check the status of "write access" prior to sending a motors_On command from my PLC.

 

Regards