Arithmetic Operation And Logical Operation Commands - Omron 3G3MX2 Series User Manual

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

Advertisement

6-5
Arithmetic Operation and
Logical Operation Commands
 (Substitution)
Command
Assigns <value> to <result>.
Note If an overflow or underflow occurs, the Drive Programming detects it as an error. Take neces-
 Example
Block number
1
Assigns 200 to U(00).
2
Assigns the value of U(00) to U(01).
3
Assigns the sum of U(00) and U(01) to U(02).
4
Assigns the difference between U(00) and 100 to U(03).
5
Assigns the product of U(03) and 2 to U(04).
6
Assigns the quotient of U(00) and U(03) to U(05).
7
Assigns the remainder after dividing 17 by U(05) to U(06).
8
Assigns the absolute value of UL(07) to U(07).
Drive Programming User's Manual (I580-E2)
Description
Flowchart method
<result> :
<value>
sary measures in the application so that they do not occur.
Flowchart
6 Drive Programming Commands
Result: any variable
Value: any variable or constant
(range 2,147,483,648 to 2,147,483,647)
Format
Text language method
<result> :  <value>
Operation
Argument
Text
6 - 23
6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx series3g3lx series

Table of Contents