Chapter 16 PLC Function
CT2000 Series
16-98
API
GBIN
GRAY code
→
BIN transformation
171
D
P
Bit device
Word device
16-bit command (5 STEP)
GBIN
Continuous
execution type
GBINP
Pulse
execution type
32-bit command (9 STEP)
DGBIN
Continuous
execution type
DGBINP
Pulse
execution type
Flag signal: none
X Y M K H KnX
KnY
KnM
T
C
D
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
GBIN
K4X0
D10
0 0 0 1
1
0
1
1
1
0
0 0
b15
b0
H1971=K6513
0 0 0
0
0 0 1
1
1
1
1
1
X17
X0
GRAY CODE 6513
K4X0
0 1
0
1
0
0
1
0
Содержание CT2000 Series
Страница 5: ...Chapter 1 Introduction CT2000 Series 1 2 Model Name VFD 750 CT 43 F 00 A6 Serial Number...
Страница 22: ...Chapter 1 Introduction CT2000 Series 1 19 Digital Keypad KPC CC01 KPC CE01 Unit mm inch...
Страница 23: ...Chapter 1 Introduction CT2000 Series 1 20 This page intentionally left blank...
Страница 41: ...Chapter 4 Wiring CT2000 Series 4 6 This page intentionally left blank...
Страница 71: ...Chapter 7 Optional Accessories CT2000 Series 7 18 Wall Mounting Embedded Mounting...
Страница 87: ...Chapter 8 Optional Cards CT2000 Series 8 8 PG Card intallation...
Страница 88: ...Chapter 8 Optional Cards CT2000 Series 8 9 Disconneting the extension card...
Страница 92: ...Chapter 8 Optional Cards CT2000 Series 8 13 PG2 Wiring Diagram...
Страница 95: ...Chapter 8 Optional Cards CT2000 Series 8 16 PG2 Wiring Diagram...
Страница 117: ...Chapter 8 Optional Cards CT2000 Series 8 38 This page intentionally left blank...
Страница 121: ...Chapter 9 Specifications CT2000 Series 9 4 Frame B 370 0 140 0 Frame C 180 0 500 0 Frame D 180 0 660 0 Figure 1...
Страница 259: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 11...
Страница 260: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 12...
Страница 263: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 15...
Страница 266: ...Chapter 12 Description of Parameter Settings CT2000 Series 12 1 03 18...
Страница 397: ...Chapter 13 Warning Codes CT2000 Series 13 8 This page intentionally left blank...
Страница 407: ...Chapter 14 Fault Codes and Descriptions CT2000 Series 14 10 This page intentionally left blank...
Страница 489: ...Chapter 16 PLC Function CT2000 Series 16 48 LD X1 Load Contact a of X1 OUT Y1 Drive Y1 coil...
Страница 591: ...Chapter 16 PLC Function CT2000 Series 16 150 Step 3 Physical configuration CT2000 Step 4 Write to PLC program...
Страница 592: ...Chapter 16 PLC Function CT2000 Series 16 151...
Страница 594: ...Chapter 16 PLC Function CT2000 Series 16 153...
Страница 597: ...Chapter 16 PLC Function CT2000 Series 16 156 This page intentionally left blank...
Страница 633: ...Chapter 19 EMC Standard Installation Guide CT2000 Series 19 20 This page intentionally left blank...