EasyManuals Logo
Home>Allen-Bradley>Controller>MicroLogix 1100

Allen-Bradley MicroLogix 1100 Instruction Set Reference Manual

Allen-Bradley MicroLogix 1100
616 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #330 background imageLoading...
Page #330 background image
Publication 1763-RM001C-EN-P - October 2009
330 ASCII Instructions
ARD - ASCII Read
Characters
Instruction Type: output
Use the ARD instruction to read characters from the buffer and store them
in a string. To repeat the operation, the rung must go from false-to-true.
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 characters
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 will be read. If you
specify 0 characters, LEN defaults to 82. This is word 1 in the control
data file.
• Characters Read (POS) is the number of characters that the
controller moved from the buffer to the string (0 to 82). This field is
updated during the execution of the instruction and is read-only.
This is word 2 in the control data file.
• Error displays the hexadecimal error code that indicates why the ER
bit was set in the control data file. See page 337 for error code
descriptions.
Addressing Modes and File Types can be used as shown below:
EN
DN
ER
ARD
ASCII Read
Channel 0
Dest ST10:4
Control R6:3
String Length 10<
Characters Read 0<
Error 0<
ARD
Execution Time for the ARD Instruction
Controller When Instruction Is:
True False
MicroLogix 1100 13.96 μs/character 14.25 μs
ARD 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
IOS - I/O
DLS - Data Log
Address
Mode
Address Level
O
I
S
B
T, C, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
LCD
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Channel • •
Destination •
• •
Control •
• •
(1) The Control data file is the only valid file type for the Control Element.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1100

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley MicroLogix 1100 and is the answer not in the manual?

Allen-Bradley MicroLogix 1100 Specifications

General IconGeneral
BrandAllen-Bradley
ModelMicroLogix 1100
CategoryController
LanguageEnglish

Related product manuals