Publication 1763-RM001C-EN-P - October 2009
316
ASCII Instructions
Instruction Operation
When Clear Receive Buffer and Clear Transmit Buffer are both set to Yes,
all Receive and Transmit instructions (ARL, ARD, AWA, and AWT) are
removed from the ASCII queue.
When instructions are removed from the ASCII queue, the following bits
are set: ER = 1, RN = 0, EU = 0, and ERR = 0x0E.
AIC - ASCII Integer to
String
Instruction Type: output
The AIC instruction converts an integer or long word value (source) to an
ASCII string (destination). The source can be a constant or an address.
The source data range is from -2,147,483,648 to 2,147,483,647.
Addressing Modes and File Types can be used as shown below:
ACL Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 82.
Parameter
Data Files
(1)
Function Files
CS - Comms
IO
S -
I/O
DL
S
- Da
ta
L
o
g
Address
Mode
Address Level
O
I
S
B
T,
C
, R
N
F
ST
L
MG,
PD
RI/RIX
PLS
RTC
HS
C
PTO, P
W
M
STI
EII
BH
I
MMI
LCD
Imme
diate
Di
re
c
t
In
di
re
ct
Bi
t
Wo
rd
Long
W
o
rd
E
lem
en
t
Channel
•
•
Receive Buffer
•
•
Transmit Buffer
•
•
(1) The Control data file is the only valid file type for the Control Element.
AIC
Integer to String
Source
N7:0
Dest
ST14:1
AIC
Execution Time for the AIC Instruction
Controller
Data Size When Instruction Is:
True
False
MicroLogix 1100
word
48.96
μ
s
0.87
μ
s
long word
57.34
μ
s
0.87
μ
s
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive