Hexa (Conversion: Hex → Hexadecimal Ascii) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

14.3 HEXA (Conversion: HEX → Hexadecimal ASCII)
14.3 HEXA (Conversion: HEX → Hexadecimal ASCII)
Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S1
Starting number for the area storing the hexadecimal numeric values
S2
The area that stores the length (number of bytes) to be converted, or the constant
D
Starting number of the area that stores the ASCII code as the conversion result
Available devices (●: Available)
Operan
d
W
W
X
Y
S1
S2
D
(Note 1)
Only 16-bit devices, 32-bit devices, and integer constants can be modified. (Real number constants,
and character constants cannot be specified.)
(Note 2)
Can be specified only when the operation unit is signed integer (SS, SL).
(Note 3)
Can be specified only when the operation unit is unsigned integer (US, UL).
(Note 4)
Can be specified only when the operation unit is integer (US, SS, UL, SL).
Outline of operation
● This instruction converts a hexadecimal figure into an ASCII code.
● The hexadecimal numerical data stored in the area specified by [S1] is converted into an
ASCII code and stored in the area specified by [D].
● [S2] specifies the number of data bytes to be converted.
14-10
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
K
H
(N
(N
(N
D
IX
SF
F
ote
ote
ote
2)
3)
4)
WUME-FP7CPUPGR-12
DF
St
rin
g
Index
modifie
r
(Note 1)
" "

Advertisement

Table of Contents
loading

Table of Contents