You can put the following code in your Macro pump,
you can also do this same thing in Brains if you wanted.
I will show you a macro pump example.
Since you didnt specify what your INPUT is, I am going to use INPUT4 as your trigger, change it to what you need.
'//////// Macro Pump code /////////////////////////////
Counter = GetUserDRO(2100) 'interlock counter dro
If Not GetOEMLED(800) Then 'if NOT currently estopped
If IsActive(INPUT4) And Counter = 0 Then
If GetOEMLED(804) Then 'if in a Run State
DoOEMButton(1001) 'hit the pause button
Else
DoOEMButton(1000) 'hit the Start button ( or continue so to speak )
End If
SetUserDRO(2100, 1)
End If
If Not IsActive(INPUT4) And Counter = 1 Then
SetUserDRO(2100, 0) 'reset your counter
End If
End If
'Scott