efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
ARL - ASCII Read Line
ARL
ARL
ASCII Read Line
Channel
0
Dest
ST10:5
Control
R6:4
String Length
15<
Characters Read
0<
Error
0<
Instruction Operation
When the rung goes from false-to-true, the Enable bit (EN) is set. When
the instruction is placed in the ASCII queue, the Queue bit (EU) is set. The
Running bit (RN) is set when the instruction is executing. The DN bit is set
on completion of the instruction.
Once the requested number of characters are in the buffer, the characters
are moved to the destination string. The number of characters moved is
put in the POS field of the control data file. The number in the POS field
is continuously updated and the Done bit (DN) is not set until all of the
characters are read.
For information on the timing of this instruction, see the
TIP
timing diagram on page 336.
Instruction Type: output
EN
Execution Time for the ARL Instruction
DN
Controller
ER
MicroLogix 1100
Use the ARL instruction to read characters from the buffer, up to and
including the Termination characters, and store them in a string. The
Termination characters are specified via the Channel Configuration screen.
Entering Parameters
Enter the following parameters when programming this instruction:
• Channel is the number of the RS-232 port, Channel 0.
• Destination is the string element where you want the string stored.
• Control is the control data file. See page 313.
• String Length (LEN) is the number of characters you want to read
from the buffer. The maximum is 82 characters. If you specify a
length larger than 82, only the first 82 characters are read and
moved to the destination. (A length of "0" defaults to 82.) This is
word 1 in the control data file.
ASCII Instructions
When Instruction Is:
True
13.96 μs/character
Publication 1763-RM001C-EN-P - October 2009
331
False
14.25 μs
Need help?
Do you have a question about the MicroLogix 1100 and is the answer not in the manual?