EasyManua.ls Logo

FATEK FBs-CB2 - Page 208

FATEK FBs-CB2
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-44
FUN 63 P
HEX
CONVERSION OF ASCII CODE TO HEXADECIMAL VALUE
FUN 63 P
HEX
Example 1When M1 from OFFON, ASCII code converted to hexadecimal value.
M1
EN
S :
N :
1
R0
63P. HEX
D :
R100
˙ Converts the ASCII code of R0 into hexadecimal
value and store to nibble0 (nibble1~nibble3 remain
unchanged) of R100
Originally R1000000H
R00039H9Î R1000009H
Example 2When M1 is ON, ASCII code converted to hexadecimal value.
M1
EN
S :
N :
2
R0
63. HEX
D :
R100
˙ Converts the ASCII code of R0 and R1 into
hexadecimal value and store to low byte (high byte
remain unchanged) of R100
R00039H9 Originally R1000000H
R10041HAÎ R100009AH
Example 3When M1 is ON, ASCII code converted to hexadecimal value.
M1
EN
S :
N :
R0
63. HEX
D :
R100
3
˙ Converts the ASCII code of R0 and R1 into
hexadecimal value and store result into R100 (nibble
3 remain unchanged)
R00039H 9 Originally R1000000H
R10041H A
R20045H EÎ R10009AEH
Example 4When M1 is ON, ASCII code converted to hexadecimal value.
M1
EN
S :
N :
R0
63. HEX
D :
R100
6
˙Converts the ASCII code of R0~R5 into hexadecimal
value and store it to R100~R101
R00031H1 Originally R1000000H
R10032H2 R1010000H
R20033H3
R30034H4
R40035H5Î R1003456H
R50036H6 R1010012H

Other manuals for FATEK FBs-CB2

Related product manuals