FX Series Programmable Controlers Applied Instructions 5
5-110
5.8.7 ASC (FNC 76)
Operation:
The source data string S consists of up to 8
characters taken from the printable ASCII
character (Char) set. If less than 8 Char are used,
thedifferenceismadeupwithnullChar(ASCII
00).
The source data is converted to its associated ASCII codes. The codes are then stored in the
destination devices D, see example shown below.
Note: ASCII Char cannot be entered from a hand held programmer.
Mnemonic Function
Operands
Program steps
SD
1
ASC
FNC 76
(
ASCII code
conversion)
An entered
alphanumeric
string can be
converted to its
ASCII codes
Alphanumeric data e.g.
0-9, A - Z and a - z etc.
Note: Only one, 8
character string may be
entered at any one
time.
T, C, D
Note:
uses 4 consecutive
devices
ASC
:7steps
D
Byte
High Low
D300 58 (X) 46 (F)
D301 36 (6) 2D (-)
D302 4D (M) 34 (4)
D303 21 (!) 52 (R)
FX
1S
FX
1N
FX
2N
FX
2NC
PULSE-P
16 BIT OPERATION
32 BIT OPERATION
X0
D300
ASC
[ D ]
[ S ]
F X - 6 4 M R !