![FATEK FBs Series Manual Download Page 197](http://html1.mh-extra.com/html/fatek/fbs-series/fbs-series_manual_3764826197.webp)
Advanced Function Instruction
7 -3 3
FUN56
D
P
G
→
B
GRAY - CODE TO BINARY - CODE CONVERSION
FUN56
D
P
G
→
B
Example 2: When M0 =1, it will perform the 32-bit code conversion
S :
D :
M0
EN
D0
D100
56DP.G B
˙
Converting the 32-bit Gray-code in DD0 into
Binary-code, and then storing the result into
DD100.
DD0
=
00110111001001000010111100010100B
Î
DD100
=
00100101110001111100101000011000B