Acb - Number Of Characters In Buffer - Allen-Bradley MicroLogix 1100 Instruction Set Reference Manual

Hide thumbs Also See for MicroLogix 1100:
Table of Contents

Advertisement

efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive
ACB - Number of
Characters in Buffer
ACB
ACB
Ascii Chars In Buffer
Channel
0
Control
R6:1
Characters
2<
Error
0<
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.
Instruction Type: output
Execution Time for the ACB Instruction
EN
Controller
DN
ER
MicroLogix 1100
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:
ASCII Instructions
When Instruction Is:
True
False
10.93 μs
11.43 μs
Publication 1763-RM001C-EN-P - October 2009
323

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

1763-l16bbb1763-l16awa1763-l16bwa1763-l16dwd

Table of Contents