Delta Electronics VFD037CH23A-21 [550/638] Bit devices word devices

Превью страниц Страница 550 / 638
Delta Electronics VFD750CH23A-00/-21 [550/638] Bit devices word devices
Chapter 16 PLC Function CH2000 Series
16-97
API
170
GRY
P
BINGRAY Code
Bit Devices Word Devices
X
Y
M
K H KnX KnY KnM T C D
S
D
Operands:
Please refer to the specifications of each model for the
range of operands.
16-bit command (5 STEPS)
GRY
GRYP
32-bit command
DGRY
DGRYP
Flag signal: none
Explanation
S: Source device D: Destination to store Gray code result
The BIN value in the specified device by S is converted to the GRAY CODE equivalent
and the converted result is stored in the area specified by D.
The range of S that can be converted to the GRAY CODE is shown as follows:
16-bit command0~32,767
32-bit command0~2,147,483,647
If the BIN value is outside the range shown above, it is determined as “Operation
Error”. At this time, the command won’t be executed
Example
When X0=On, constant K 6513 is converted to the GRAY CODE and stored in
the D0.

Содержание

1610