Example: Pause
The macro in this example sets a bit in a programmable controller to 1, waits 2 seconds to make sure that the ladder logic has detected the momentary bit transition, and then resets that same bit back to 0. The
Pause
command lets you to control the amount of delay between the two actions of setting the bit, depending on the requirements of your application.The commands in this example can be entered in a macro or can be specified directly as the Action of a button object.
Macro contents:
bit1=1
pause 2
bit1=0
Provide Feedback