Instruction 67- ascii to hex conversion, Operand – Maple Systems MAPware-7000 User Manual
Page 115

107
MAPware-7000 Ladder Logic Guide
1010-1041 rev. 00
Instruction 67- ASCII to Hex Conversion
Expression:
Space Requirement: 1 line x 5 column Location Requirement: Middle, Right rail
Function:
When the input is ON, the ASCII characters stored in n registers starting with A is converted into
hexadecimal data and stored in B and after. The lower byte of source A is stored as uppermost
digit of destination B, and followed in this order. The allowable ASCII character in the source
table is “0” (H30) to “9” (H39) and “A” (H41) to “F” (H46). The allowable range of n is 1 to 64.
Execution Condition:
Input
Operation
Output
ERF
OFF
No execution
OFF
---
ON
Normal Execution
ON
---
Conversion Data Error
(no execution)
OFF
Set
Operand:
Coil or Bit
Register
Constant
Index
Name
X
Y B
S
T.
C.
M
X
W
Y
W
B
W
S
W
T C
D
I
J
K
M
W
A
Source
√
√
√
√
√ √
√
√
√
√
√
n
Data Size
1-64
B
Destination
√
√
√
√ √
√
Example:
When B011 is ON, the ASCII characters stored in 8 words of D0300 to D0307 are converted into
hexadecimal data, and stored in 4 words registers starting with BW040.