Omron 3G3MX2 Series User Manual page 132

Drive programming
Hide thumbs Also See for 3G3MX2 Series:
Table of Contents

Advertisement

Or (Logical OR)
Command
Logical OR on <value 1> and <value 2> in
binary format
or (Logical OR)
<result> :
Note If an overflow or underflow occurs, the Drive Programming detects it as an error. Take neces-
 Example
Block number
1
Assigns 6 to U(02).
2
Assigns 12 to U(03).
3
Assigns 14 (binary: 00001110), which is the result of logical OR on 6 (U(02) binary: 00000110) and
12 (U(03) binary: 00001100), to U(04).
4
Jumps to the block 3: loop_ unconditionally.
Drive Programming User's Manual (I580-E2)
Description
Value 1
Value 2
0
0
0
1
1
0
1
1
Flowchart method
<value 1> or <value 2>
sary measures in the application so that they do not occur.
Flowchart
6 Drive Programming Commands
Result: any variable
Value 1: any variable or constant
(range 128 to 127)
Value 2
: any variable or constant
Result
(range 2,147,483,648 to 2,147,483,647)
0
1
1
1
Format
<result> :  <value 1> or <value 2>
Operation
Argument
Text language method
Text
6
6 - 31

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx series3g3lx series

Table of Contents