Delta C2000 Series User Manual page 870

Vector control drive
Hide thumbs Also See for C2000 Series:
Table of Contents

Advertisement

API
GBIN
171
D
P
Bit device
X
Y
M
K
S
*
D
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
S: source device used to store GRAY code. D: device used to store BIN value after
transformation.
The GRAY code corresponding to the value of the device designated by S is
transformed into a BIN value, which is stored in the device designated by D.
This command will transform the value of the absolute position encoder connected
with the PLC's input and (this encoder usually has an output value in the form of
GRAY code) into a BIN value, which is stored in the designated register.
The valid range of S is as shown below; if this range is exceeded, it will be
considered an error, and the command will not execute.
16-bit command: 0–32,767
32-bit command: 0–2,147,483,647
When X20=On, the GRAY code of the absolute position encoder connected with
input points X0 to X17 will be transformed into BIN value and stored in D10.
X20
GRAY CODE 6513
H1971=K6513
Word device
H
KnX KnY KnM
T
*
*
*
*
*
*
*
*
GBIN
K4X0
X17
0 0 0 1
b15
0 0 0
1
Chapter 16 PLC Function ApplicationsC2000
GRAY code →BIN transformation
16-bit command (5 STEP)
GBIN
Continuous
C
D
execution type
*
*
*
*
32-bit command (9 STEP)
DGBIN
Continuous
execution type
Flag signal: none
D10
K4X0
0 1
0
1
1
1
0
0
1
0 0
1
0
0
1
0
1
1
1
0
0 0 1
16-109
GBINP
Pulse
execution type
DGBINP
Pulse
execution type
X0
1
b0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents