Special offers from our partners!
Find Replacement BBQ Parts for 20,308 Models. Repair your BBQ today.
6-91
GRY(P),DGRY(P)
1
2
3
4
4
6
7
8
6.3 Data conversion instructions
6.3.9 Conversion from BIN 16 and 32-bit data to Gray code (GRY(P),DGRY(P))
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored into SD0.
• The data at is a negative number. (Error code: 4100)
Program Example
(1) The following program converts the BIN data at D100 to Gray code when X10 is ON, and
stores result at D200.
[Ladder Mode] [List Mode]
(2) The following program converts the BIN data at D10 and D11 to Gray code when X1C is ON,
and stores it at D100 and D101.
[Ladder Mode] [List Mode]
S
Step
Instruction
Device
Step
Instruction
Device