Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 319

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

Advertisement

Processing details
• These instructions perform an OR operation (bit-by-bit) on the 32-bit binary data in the device specified by (s1) and the 32-
bit binary data in the device specified by (s2), and store the operation result 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
• When a bit device is specified, the instruction performs an operation by assuming that the ones after the number of digit-
specified points are 0.
Operation error
There is no operation error.
(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
b0
0
b0
1
b0
1
6 BASIC INSTRUCTIONS
6.3 Logical Operation Instructions
6
317

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents