EasyManua.ls Logo

FATEK FBs-CBE - Page 210

FATEK FBs-CBE
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-46
FUN 64 P
ASCII
CONVERSION OF HEXADECIMAL VALUE TO ASCII CODE
FUN 64 P
ASCII
Example 1When M1 changes from OFFON, it converts hexadecimal value to ASCII code.
M1
EN
S :
N :
1
R0
64P. ASCII
D :
R100
˙Converts the Nibble 0 of R0 to ASCII code and stores
it into R100 (High byte does not change).
R00009H Î R1000039H9
Example 2When M1 is ON, it converts hexadecimal value to ASCII code.
M1
EN
S :
N :
2
R0
D :
R100
64. SCII
˙Converts the NB0NB1 of R0 to ASCII code and
stores it into R100 R101 (high bytes remain
unchanged).
R0009AH Î R1000039H9
R1010041HA
Example 3When M1 is ON, it converts hexadecimal value to ASCII code.
M1
EN
S :
N :
R0
64. SCII
D :
R100
3
˙Converts the NB0NB2 of R0 to ASCII code and
stores it into R100R102
R00123H Î R1000031H1
R1010032H2
R1020033H3
Example 4When M1 is ON, it converts hexadecimal value to ASCII code.
M1
EN
S :
N :
R0
64. SCII
D :
R100
6
˙Converts the NB0NB5 of R0R1 to ASCII code
and stores it into R100R105
R03456H Î R1000031H1
R10012H R1010032H2
R1020033H3
R1030034H4
R1040035H5
R1050036H6

Other manuals for FATEK FBs-CBE

Related product manuals