High−level Instructions
3 − 158
Outline Converts 16-bit data to ASCII code that expresses the equivalent
hexadecimals.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P71 (PHEXA)” is not available.
Program example
Boolean
Ladder Diagram
Address Instruction
10
F71 HEXA , DT 0 , K 2 , DT 10
S1
D
Trigger
S2
R0
10
11
ST R 0
F 71 (HEXA)
DT 0
K2
DT 10
S1 Starting 16-bit area for hexadecimal number (source)
S2 16-bit equivalent constant or 16-bit area to specify number of source data
bytes to be converted
D Starting 16-bit area for storing ASCII code (destination)
Operands
modifier
S1 A A A A A A A A A N/A N/A N/A N/A A
S2 A A A A A A A A A A A A A A
D N/A A A A A A A A A N/A N/A N/A N/A A
(*1) This cannot be used with the FP0 and FP−e.
(*2) This cannot be used with the FP0, FP−e, FP0R, FPΣ, FP−X.
(*3) With the FP0R, FPΣ,FP−X, FP2, FP2SH, and FP10SH, this is I0 to IC.
(*4) With the FP0R, FPΣ,FP−X, FP2, FP2SH, and FP10SH, this is ID.
F71
P71
(PHEXA)
(HEXA)
Hexadecimal data → ASCII code
A: Available
N/A: Not Available