EasyManua.ls Logo

Panasonic FP7 Series - AHEX (Conversion: Hexadecimal ASCII → HEX)

Panasonic FP7 Series
1222 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...
14.4 AHEX (Conversion: Hexadecimal ASCII → HEX)
Ladder diagram
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
i
List of operands
Operand Description
S1 Starting number of the area that stores an ASCII code
S2
The area that stores the number of ASCII codes (number of characters) to be converted, or the
constant
D Starting number of the area that stores the hexadecimal figure as the conversion result
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX
K
(N
ote
1)
(N
ote
2)
H SF
D
F
" "
S1
S2
D
(Note 1) Can be specified only when the operation unit is signed integer (SS, SL).
(Note 2) Can be specified only when the operation unit is unsigned integer (US, UL).
Outline of operation
This instruction converts the ASCII code string into a hexadecimal figure.
The ASCII code stored in the area specified by [S1] is converted into a hexadecimal figure
and stored in the area specified by [D].
The number of ASCII codes (number of characters) to be converted is specified by [S2].
The conversion results are stored in byte units.
If the number of characters to be converted is an odd number, Bits 0 to 3 of the final data
(bytes) of the conversion result are padded with '0'.
14.4 AHEX (Conversion: Hexadecimal ASCII → HEX)
WUME-FP7CPUPGR-12 14-13

Table of Contents

Other manuals for Panasonic FP7 Series

Related product manuals