How do I program a one-shot output?
In a one-shot program, as long as the trigger input stays ON for longer than a certain time (see note), the output bit will be turned ON for a specific period of time regardless of how long the trigger input is ON.
Note:Usually this time is equal to the time of a one CPU Unit cycle.
As shown in Figure 1, when the trigger input (CIO 0.00) is ON for either 1.0 s or 2.5 s, the pulse output bit (CIO 2.00) will be turned ON for 1.5 s.
Data Trace Results
CIO 000000: Trigger input bit (CIO 0.00)
CIO 000200: Pulse output bit (CIO 2.00)
Programming: CS/CJ-series Programmable Controllers
OFF Operation of Pulse Output Bit (CIO 2.00)
1.If the Trigger Input Bit ON Time Is Less Than the One-shot Time:
The pulse output bit (CIO 2.00) is turned OFF by ---|/|--- T0001 programmed for the self-holding work bit (W0.00).
2.If the Trigger Input Bit ON Time Is Greater Than the One-shot Time:
The pulse output bit (CIO 2.00) is turned OFF by ---|/|--- T0001 programmed on the same rung as the pulse output bit.