Delta AS Series Programming Manual page 372

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
0209
D
GBIN
Device
X
Y
M
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction converts the Gray code in the device specified by S into the binary value, and stores the
conversion result in the device specified by D.
2.
Use this instruction to convert the Gray code in the absolute position encoder which is connected to the input
terminal of the PLC to the binary value. The conversion result is stored in the specified register.
3.
Only the DGBIN instruction can use the 32-counter, but not the device E.
4.
The value in the device D must be within the available range.
The value in the device D in the 16-bit instruction must be between 0–32,767.
The value in the device D in the 32-bit instruction must be between 0–2,147,483,647.
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 Gray code into a binary
D
FR
SM
SR
16-bit instruction
AS
AS
Function
number
E
K
16#
"$"
32-bit instruction
AS
6 - 9 3
F
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents