Справочник Пользователя для Mitsubishi Electronics FX2N

Скачать
Страница из 382
FX Series Programmable Controlers
Applied Instructions 5
5-88
5.8.7
ASC (FNC 76)
Operation:
The source data string  S  consists  of  up  to  8
c h a r a c t e r s   t ak e n   f r o m   t h e   pr i n t a b l e   A S C I I
character  (Char) set. If less than 8 Char are used,
the difference is made up with null Char (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
S
D
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
: 7 steps
D
Byte
 High
Low
D300   
58 (X)
46 (F)
D301
36 (6) 
2D (-)
D302
4D (M)
34 (4)
D303
21 (!)
52 (R)
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
PULSE-P
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
16 BIT OPERATION
FX
FX
0N
FX
0(s)
FX
(2C)
FX
2N(C)
32 BIT OPERATION
X0
D300
ASC
[ D ]
[ S ]
F X - 6 4 M R !