Delta AS Series Programming Manual page 384

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0215
BKBIN
Device
X
Y
M
S
n
D
Data
type
S
n
D
Symbol
Explanation
1.
The instruction converts n pieces of data (the binary-coded decimal values) starting from S into the binary values,
and stores the conversion results in D.
2.
The binary-coded decimal value in S must be between 0–9,999.
3.
The operand n must be between 1 and 256.
Example
When M1 is ON, the instruction converts the binary-code decimal values in D0 and D1 into the binary 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 5
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents