beautypg.com

Instruction 66- hex to ascii conversion – Maple Systems MAPware-7000 User Manual

Page 114

background image

MAPware-7000 Ladder Logic Guide

106

1010-1041 rev. 00

Instruction 66- Hex to ASCII Conversion

Expression:

Space Requirement: 1 line x 5 column Location Requirement: Middle, Right rail

Function:

When the input is ON, the hexadecimal data of n registers starting with A is converted into ASCII
characters and stored in B and after. The uppermost digit of source A is stored in lower byte of
destination B, and followed in this order. The allowable range of n is 1 to 32.

Execution Condition:

Input

Operation

Output

OFF

No execution

OFF

ON

Execution

ON

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-32

B

Destination

√ √

Example:

When B010 is ON, 4 words data of D0100 to D0103 are converted into ASCII characters, and
stored in 8 words registers starting with D0220.

Note:

If index register (I, J or K) is used for the operand A, only n = 1 is allowed