Delta AS Series Programming Manual page 382

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0214
BKBCD
Device
X
Y
M
S
n
D
Data
type
S
n
D
Symbol
Explanation
1.
The instruction converts n pieces of data (the binary values) starting from S into the binary-coded decimal values,
and stores the conversion results in D.
2.
The operand n must be between 1–256.
Example
When M1 is ON, the instruction converts the binary values in D0 and D1 into the binary-coded decimal values, and
stores the conversion results in D4 and D5.
Operand
S, n, D
P
S
T
C
HC
Pulse instruction
: Data source
S
: Data length
n
: Conversion result
D
Ch a pt er 6 A pp l i e d I n s tr uc t io ns
Converting binary numbers in blocks into
binary-coded decimal numbers in blocks
D
FR
SM
SR
16-bit instruction
AS
AS
Function
E
K
16#
"$"
F
32-bit instruction
6 - 1 0 3
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents