Delta Electronics DUP-B Series User Manual page 343

Human machine interface
Table of Contents

Advertisement

Chapter 3 Creating and Editing Screens
$7 = $3 | $5 (DW) Store the result of $7. $3 = F000F000H, $5 = 0F000F00H, then $7
= FF00FF00H.
&& (Logical AND operation)
Equation
Var1 = Var2 && Var3
Explanation
Perform the logical AND operation on Var2 and Var3, and save the result of this
calculation in Var1.
Remark
The calculation result can be stored as WORD and DWORD.
Var1 can be internal memory only. Var2 and Var3 can be internal memory or
constant.
Example
Perform the logical AND operation on $0 and $1, and save the result in $2 (this is an
operation of unsigned 16-bit data)
$2 = $0 && $1 Store the result of $2. $0 = F000H, $1 = 0F00H, then $2 = 0000H.
3-322
Revision May, 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dop-b series

Table of Contents