Availability
Step
5
5
5
5
5
5
C24, C40, C56, and
C72 series
CPU version 2.7 or
later
(
)
Outline
Performs OR operation by comparing two word data in the comparative
conditions. The contact goes ON/OFF depending on the result of the
comparison. The contacts are connected in parallel.
Program example
■
Operands
■
Explanation of example
• Compares the contents of data register DT0 with the constant K50 and compares the contents of data register DT1
with the constant K40. If either DT0 = K50 or DT1 > K40, the external output relay Y0 goes ON.
Timer/Counter
EV
Relay
SV
WR
WY
WX
Operand
S1
A
A
A
A
A:
N/A: Not Available
Register
DT
A
IY
IX
A
A
H
K
A
A
Constant
Index
modifier
A
Index
register
Available
A
S2
A
A
A
A
A
A
A
A
A
A
A
OR =
Word compare: OR equal
OR <>
Word compare: OR equal not
Word compare: OR smaller
OR >
Word compare: OR larger
OR >=
Word compare: OR equal or larger
OR <
OR <=
Word compare: OR equal or smaller
5-3. Description of Basic Instructions
131
S1
S2
16-bit equivalent constant or 16-bit area to be compared
16-bit equivalent constant or 16-bit area to be compared
Ladder Diagram
FP Programmer
II
key operations
Boolean Non-ladder
Address Instruction
0
Y0
=, DT0, K50
"
"
"
"
"
Refer to page 127.
5
>, DT1, K40
S1
S2
ST
X-WX
C
ENT
NOT
DT/Ld
ENT
0
(BIN)
K/H
0
WRT
5
=
OR
R-WR
ENT
OT
L-WL
AN
Y-WY
0
WRT
F
>
NOT
DT/Ld
ENT
1
(BIN)
K/H
0
WRT
4
0
5
10
ST =
DT
0
K
50
OR >
DT
1
K
40
OT Y
0
Summary of Contents for FP1
Page 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Page 28: ...20 ...
Page 98: ...90 ...
Page 150: ...142 ...
Page 208: ...200 ...
Page 226: ...218 ...
Page 280: ...272 ...