EasyManua.ls Logo

FATEK FBs-CB2 - CONVERSION OF HEXADECIMAL VALUE TO ASCII CODE (FUN 64 →ASC)

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-45
FUN 64 P
ASCII
CONVERSION OF HEXADECIMAL VALUE TO ASCII CODE
FUN 64 P
ASCII
S : Starting source register
N : Number of hexadecimal digit to be converted to
ASCII code.
D : The starting register storing result.
S, N, D, can associate with V, Z, P0~P9 to do the
indirect addressing application.
WX WY WM WS TMR CTR HR IR OR SR ROR DR K XR
Range
Ope-
rand
WX0
WX240
WY0
WY240
WM0
WM1896
WS0
WS984
T0
T255
C0
C255
R0
R3839
R3840
R3903
R3904
R3967
R3968
R4167
R5000
R8071
D0
D4095
16-bit
+ number
VZ
P0~P9
S
N 1~511
D * *
z When conversion control “EN” =1 or “EN” ( P instruction) changes from 01, will convert the N
successive nibbles of hexadecimal value in registers start from S into ASCII code, and store the result to
low byte (high byte remain unchanged) of the registers which start from D.
z The conversion will not be performed when the value of N is 0 or greater than 511.
z The main purpose of this instruction is to convert the numerical value data, which PLC has processed, to
ASCII code and transmit to ASCII peripherals by communication port1 or communication port 2.

Other manuals for FATEK FBs-CB2

Related product manuals