Hi,
For ES you can use the “System Output” signal “Emergency Stop”.
In the “System Parameters Reference Manual” (which you will find under the help button in RobotStudio) go to Topic I/O - Type System Output - Status values - Emergency Stop, for more information.
I’ve got that bit working now.
Another question, is there a way to run a rapid code if an e-stop has been triggered e.g.
when estop is triggered, run rapid code to set some flags?