Condition On/Off: Up(018) And Down - Omron SYSMAC CVM1 Series Operation Manual

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Ladder Diagram Instructions

5-6-2 CONDITION ON/OFF: UP(018) and DOWN(019)

Description
Precautions
Flags
Example
0000
01
TR0
(018)
UP
0000
02
(019)
DOWN
Input CIO 000001
Input CIO 000002
Output CIO 000101
Output CIO 000102
Ladder Symbols
(018)
UP
(019)
DOWN
UP(018) turns ON the execution condition for one cycle at the rising edge (OFF
to ON) of the execution condition and then turns OFF the execution condition
until the next time a rising edge is detected.
DOWN(019) turns ON the execution condition for one cycle at the falling edge
(ON to OFF) of the execution condition and then turns OFF the execution condi-
tion until the next time a falling edge is detected.
Another instruction must follow UP(018) or DOWN(019), i.e., they cannot be
used as right-hand instructions.
Be careful when using UP(018) and DOWN(019) in subroutines between IL and
ILC, and between JMP and JME instructions, because the execution condition
may remain ON for more than one scan. Refer to 5-8 INTERLOCK and INTER-
LOCK CLEAR: IL(002) and ILC(003), 5-9 JUMP and JUMP END: JMP(004) and
JME(005), and 5-30 Subroutines for details.
The DIFU(013) and DIFD(014) instructions can also be used for the same pur-
pose, but they require work bits. UP(018) and DOWN(019) simplify program-
ming by reducing the number of work bits and program addresses needed.
There are no flags affected by UP(018) or DOWN(019).
The timing chart illustrates the operation of UP(018) and DOWN(019) in the fol-
lowing example.
0001
01
0001
02
Address Instruction
00001
LD
00002
OR
00003
OUT
00004
UP(018)
00005
OUT
00006
LD
00007
DOWN(019)
00008
OUT
t: Cycle time
Section 5-6
Operands
000001
000002
TR0
00101
TR0
000102
109

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents