Delta AS Series Programming Manual page 360

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0201
D
BIN
Device
X
Y
M
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction converts a binary-coded decimal value in S into a binary value, and stores the conversion result in
D.
2.
The 16-bit binary-coded decimal value in S must be between 0–9,999, and the 32-bit binary-coded decimal value
in S must be between 0–99,999,999.
3.
Only the 32-bit instructions can use the 32-bit counter, but not the device E.
4.
The system converts constants and hexadecimal values into binary values automatically. Therefore, you do not
need to use the instruction for that conversion.
Example
When X0.0 is ON, the instruction converts the binary-coded decimal value in D0 into the binary value, and stores the
conversion result in D10.
Operand
S, D
P
S
T
C
HC
Pulse instruction
: Source device
S
: Conversion result
D
Ch a pt er 6 A pp l i e d I n s tr uc t io ns
Converting a binary-coded decimal
number into a binary number
D
FR
SM
SR
16-bit instruction
AS
AS
Function
E
K
16#
"$"
32-bit instruction
AS
6 - 8 1
F
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents