Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 314

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

WOR(P) [when three operands are set]
RnPCPU
RnCPU RnENCPU
(Process)
These instructions perform an OR operation on the two sets of 16-bit binary data specified.
Ladder
(s1)
FBD/LD
EN
ENO
s1
d
s2
■Execution condition
Instruction
WOR
WORP
Setting data
■Description, range, data type
Operand
Description
(s1)
Logical OR data or the device where logical OR data is
stored
(s2)
Logical OR data or the device where logical OR data is
stored
(d)
Device for storing the operation result
EN
Execution condition
ENO
Execution result
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s1)
(s2)
(d)
• In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
Operand
Bit
SA\X, SA\Y, SA\M, SA\SM, SA\B
(s1)
(s2)
(d)
6 BASIC INSTRUCTIONS
312
6.3 Logical Operation Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s2)
(d)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=WOR(EN,s1,s2,d);
ENO:=WORP(EN,s1,s2,d);
Range
-32768 to 32767
-32768 to 32767
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Word
SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD
Data type
Data type (label)
16-bit signed binary
ANY16
16-bit signed binary
ANY16
16-bit signed binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Constant
K, H
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents