EasyManua.ls Logo

FATEK FBs-CB5 - Page 197

FATEK FBs-CB5
348 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Advanced Function Instruction
7-33
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