Delta Electronics DUP-B Series User Manual page 355

Human machine interface
Table of Contents

Advertisement

Chapter 3 Creating and Editing Screens
BIN (Converts BCD Data into BIN Value)
Equation
Var1 = BIN (Var2)
Explanation
The BCD data in Var2 is converted into binary value and stored in Var1.
Remark
The calculation result can be stored as unsigned WORD or DWORD.
Var1 and Var2 can be internal memory only.
Example
After executing BIN command, the BCD data in $0 is converted to a binary value and
stored in $1 (this is an operation of unsigned 16-bit data).
TODWORD (Convert WORD to DWORD)
Equation
Var1 = TODWORD (Var2)
Explanation
The WORD value in Var2 is converted into DWORD value and stored in Var1.
Remark
The calculation result can be stored as unsigned WORD or DWORD.
Var1 and Var2 can be internal memory only.
3-334
Revision May, 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dop-b series

Table of Contents