151
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Sequence Input Instructions
3
UP/DOWN
Note Observe the following precaution when using UP(521) and DOWN(522) in a subroutine.
• The operation of UP(521) and DOWN(522) will not be consistent if the same subroutine is executed
more than once in the same cycle.
• An subroutine will not be executed while the input condition for the subroutine is OFF. Caution is thus
required when using UP(521) and DOWN(522) in a function block definition. For details, refer to
information on SBS(091).
Example Programming
z UP
i
z DOWN
i
Cycle
time
When CIO 0.00 goes from OFF to ON, CIO
0.01 is turned ON for just one cycle.
0.00
0.00
0.01
0.01
Cycle
time
When CIO 0.00 goes from ON to OFF, CIO
0.01 is turned ON for just one cycle.
0.00
0.00
0.01
0.01