Equal: Equ(025) - Omron CVM1D Operation Manual

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Comparison Instructions

5-16-6 EQUAL: EQU(025)

Ladder Symbol
(025)
EQU Cp
Variations
j EQU(025)
Description
Flags
200
Cp
1
2
When the execution condition is OFF, EQU(025) is not executed. When the ex-
ecution condition is ON, EQU(025) compares the content of Cp
Cp
and creates an ON execution condition if the two values are equal or it
2
creates an OFF execution condition if they are not equal.
EQU(025) is an intermediate instruction, like NOT(010), CMP(020), and
CMPL(021). Intermediate instructions are entered between conditions or be-
tween a condition and a right-hand instruction. Intermediate instructions cannot
be placed at the end of an instruction line.
The up-differentiated version of EQU(025) behaves like the undifferentiated ver-
sion when Cp
is equal to Cp
1
not equal to Cp
.
2
When Cp
A
B
1
B
2
B
3
Content of *DM word is not BCD when set for BCD.
ER (A50003):
Operand Data Areas
st
Cp
: 1
compare word CIO, G, A, T, C, #, DM, DR, IR
1
nd
Cp
: 2
compare word CIO, G, A, T, C, #, DM, DR, IR
2
and will turn OFF for one scan only when Cp
2
A
A
j
A
is equal to Cp
.
1
2
1 scan
Section 5-16
to the content of
1
B
1
EQU
Cp
Cp
1
2
B
2
EQU
Cp
Cp
1
2
B
3
jEQU
Cp
Cp
1
2
When Cp
is not equal to Cp
.
1
2
A
B
1
B
2
B
3
1 scan
is
1

Advertisement

Table of Contents
loading

Table of Contents