High−level Instructions
3 − 595
Outline Converts 16-bit gray code to 16-bit binary data.
For the FP0R/FPΣ/FP−X, the P type high−level instruction “P237
(PGBIN)” is not available.
Program example
WX WY WR WL SV EV DT LD FL I K H f
modifier device
S A A A A A A A A A A A A N/A A N/A
D N/A A A A A A A A A A N/A N/A N/A A N/A
Description
Converts the gray codes in 16-bit are specified by S to 16-bit data when the trigger turns on. The converted
result is stored in the area specified by D.
For detailed information about the gray code page 3 − 597
Flag conditions
・Error flag (R9007): Turns on and stays on when the area specified using the index modifier
exceeds the limit.
・Error flag (R9008): Turns on for an instant when the area specified using the index modifier
exceeds the limit.
F237
P237
(PGBIN)
(GBIN)
16-bit Gray code → 16-bit binary data