How to set outputs to low when e-stop is pressed?

I’m working on a sealant dispensing solution controlled by the IO pins of the robot, but when I press the emergency stop, all outputs remain on high. This means if the e-stop is triggered while dispensing, the flow stays on.

This is programmed in Blockly. Is there a way to force all outputs (or at least one specific output) to low when the e-stop is triggered?

Hi sir,

Please enter into ‘xArmStudio-Settings-Advanced-Advanced Logic’, enable ‘configurable Output’ option, it will clear IO output when robot is stopped.

Best regards,
Minna