Delta Electronics A10 User Manual page 241

Dop series hmi
Hide thumbs Also See for A10:
Table of Contents

Advertisement

Chapter 4 Macro Function|ScrEdit Software User Manual
| Operand
Bit OR operation
Equation: V1 = V2 | V3
Perform the Bit OR operation on V2 and V3 and save the result of this calculation in V1.
Example:
$2 = F000H
$4 = 0F00H
$6 = $2 | $4
Store the result of $6 in FF00H
&& Operand
Bit AND operation
Equation: V1 = V2 && V3
Perform the Bit AND operation on V2 and V3 and save the result of this calculation in V1.
Example:
$2 = F000H
$4 = 0F00H
$6 = $2 && $4
Store the result of $6 in 0000H
^ Operand
Bit XOR operation
Equation: V1 = V2 ^ V3
Perform the Bit XOR operation on V2 and V3 and save the result of this calculation in V1.
Example:
$2 = F100H
$4 = 0F00H
$6 = $2 ^ $4
Store the result of $6 in FE00H
NOT
Bit NOT operation
Equation: V1 = NOT V2
Perform the Bit NOT operation on V2 and V3 and save the result of this calculation in V1.
Example:
4-20
Revision Apr. 30th, 2007, 2007PDD23000002

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents