Mitsubishi MELSEC iQ-F FX5 series Programming Manual page 225

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

DOR(P) [using three operands]
These instructions OR each bit of 32-bit binary data from the device specified by (s1) and each bit of 32-bit binary data from
device specified by (s2), and store the results in the device specified by (d).
Ladder diagram
(s1)
(s2)
(d)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Data for OR or head device where data is stored
(s2)
Data for OR or head device where data is stored
(d)
Head device for storing the OR results
■Applicable devices
Operand
Bit
X, Y, M, L,
U\G T, ST,
SM, F, B, SB
(s1)
(s2)
(d)
Processing details
• These instructions OR each bit of 32-bit binary data from the device specified by (s1) and each bit of 32-bit binary data from
device specified by (s2), and store the results in the device specified by (d).
(s1)+1
b31
···
(s1)
0
0
1
1
0
0
(s2)+1
···
b31
(s2)
0
0
1
0
1
1
(d)+1
···
b31
(d)
0
0
1
1
1
1
• Bit devices subsequent to number of points by nibble specification are calculated as 0.
Operation error
There is no operation error.
Word
T, ST, C, D,
C, LC
W, SD, SW, R
(s1)
b16
b15
···
1
1
0
0
1
1
0
OR
(s2)
···
b16
b15
0
0
0
0
1
1
1
(d)
···
b16
b15
1
1
0
0
1
1
1
Structured text
ENO:=DOR(EN,s1,s2,d);
ENO:=DORP(EN,s1,s2,d);
Range
-2147483648 to +2147483647
-2147483648 to +2147483647
Double word Indirect
U\G
Z
LC
LZ
b0
0
b0
1
b0
1
Data type
Data type (label)
32-bit signed binary
ANY32
32-bit signed binary
ANY32
32-bit signed binary
ANY32
Constant
specification
K, H
E
$
6 BASIC INSTRUCTIONS
6.3 Logical Operation Instructions
6
Others
223

Advertisement

Table of Contents
loading

Table of Contents