![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030221.webp)
181
Sequence Input Instructions
Section 3-3
3-3-13 CONDITION ON/OFF: UP(521) and DOWN(522)
Purpose
UP(521) turns ON the execution condition for the next instruction for one cycle
when the execution condition it receives goes from OFF to ON. DOWN(522)
turns ON the execution condition for the next instruction for one cycle when
the execution condition it receives goes from ON to OFF.
Ladder Symbols
Variations
Applicable Program Areas
Description
UP(521) is placed between an execution condition and another instruction to
turn the execution condition into an up-differentiated condition. UP(521)
causes the connecting instruction to be executed just once when the execu-
tion condition goes from OFF to ON.
DOWN(522) is placed between an execution condition and another instruction
to turn the execution condition into a down-differentiated condition.
DOWN(522) causes the connecting instruction to be executed just once when
the execution condition goes from ON to OFF.
The DIFU(013) and DIFD(014) instructions can also be used for the same
purpose, but they require work bits. UP(521) and DOWN(522) simplify pro-
gramming by reducing the number of work bits and program addresses
needed.
Flags
There are no flags affected by UP(521) and DOWN(522).
Precautions
UP(521) and DOWN(522) are intermediate instructions, i.e., they cannot be
used as right-hand instructions. Be sure to program a right-hand instruction
after UP(521) or DOWN(522).
The operation of UP(521) and DOWN(522) depends on the execution condi-
tion for the instruction as well as the execution condition for the program sec-
tion when it is programmed in an interlocked program section, a jumped
Input bit status
Output bit status
CIO 000000
CIO 000001
CIO 000002
CIO 000003
1
1
1
0
1
1
0
0
1
0
1
1
0
1
1
0
1
0
0
1
0
1
0
1
0
0
1
1
0
0
0
1
UP(521)
DOWN(522)
Variations
Creates ON Once for Upward Differentiation
UP(521)
Immediate Refreshing Specification
Not supported
Variations
Creates ON Once for Downward Differentiation
UP(522)
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...