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 #323 background imageLoading...
Page #323 background image
Publication 1763-RM001C-EN-P - October 2009
ASCII Instructions 323
Instruction Operation
When the rung goes from false-to-true, the Enable bit (EN) is set. The
instruction is put in the ASCII instruction queue, the Queue bit (EU) is set,
and program scan continues. The instruction is then executed outside of
the program scan. However, if the queue is empty the instruction
executes immediately. Upon execution, the Run bit (RN) is set.
The controller determines the number of characters (up to and including
the termination characters) and puts this value in the POS field of the
control data file. The Done bit (DN) is then set. If a zero appears in the
POS field, no termination characters were found. The Found bit (FD) is
set if the POS field is set to a non-zero value.
ACB - Number of
Characters in Buffer
Instruction Type: output
Use the ACB instruction to determine the number of characters in the
buffer. On a false-to-true transition, the controller determines the total
number of characters and records it in the POS field of the control data
file. The channel configuration must be set to ASCII.
Entering Parameters
Enter the following parameters when programming this instruction:
• Channel is the number of the RS-232 port, Channel 0.
• Control is the control data file. See page 313.
• Characters are the number of characters in the buffer that the
controller finds (0 to 1024). This parameter is read-only.
• Error displays the hexadecimal error code that indicates why the ER
bit was set in the control data file. See page 337 for error
descriptions.
Addressing Modes and File Types can be used as shown below:
EN
DN
ER
ACB
Ascii Chars In Buffer
Channel 0
Control R6:1
Characters 2<
Error 0<
ACB
Execution Time for the ACB Instruction
Controller When Instruction Is:
True False
MicroLogix 1100 10.93 μs 11.43 μs
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