I've been reading and writing to the modbus in brains with not problem, but now I want to set a modbus output if the e-stop is enabled. For instance, if e-stop is enabled, I want to do SetModbusOutput(0, 0). How would I do that in a brain? I tried... ESTOP->NOP->MOD:0 and also ESTOP->INVERT->MOD:0. Those didn't work.
Thanks