Help with Pause function

Trying to program a “pause” function from an external sensor.
When the signal in DI1 changes to “false” we need to go into Pause mode.
The input on DI1 is true while not blocked. To trigger the “pause” right now the input needs to go False then True and it stops. We need it to Pause as soon as the input goes “false”.

if you can’t invert the signal before it gets to the robot you could always wire an output to an input and have a thread monitoring the signal.
so your thread would look like this:
if DI1=Lo
set DO1 Lo

set your DO1 high in your before start and have it wired directly to DI2
then set your DI2 as your program pause in IO setup.

If this seems too clunky then I suggest inverting the signal before coming into the robot. I know banner has some inline converters.

So is the “pause” function waiting for the signal to come "high ? = 1?
will it not work on a "low = 0 " signal ?

it will not work with a low signal.

I got it working. I had to wire thought an input to an output (like you said above) with a small wait time to delay the signal for a fraction of a second to bridge a pulse in the signal from the sensor.
Thank you for the help