Allen-Bradley MicroLogix 1200 Reference Manual page 281

Hide thumbs Also See for MicroLogix 1200:
Table of Contents

Advertisement

Addressing Modes and File Types can be used as shown below:
Table 20.10 AWT Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page4-2.
Data Files
Parameter
Channel
Source
Control
(1) The Control data file is the only valid file type for the Control Element.
Example
I:1
[
10
If input slot 1, bit 10 is set, write 40 characters from
ST37:20 to the display device.
In this example, when the rung goes from false-to-true, the control
element Enable (EN) bit 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.
Forty characters from string ST37:40 are sent through channel 0. The
Done bit (DN) is set and a value of 40 is present in the POS word of the
ASCII control data file.
When an error is detected, the error code is written to the Error Code Byte
and the Error Bit (ER) is set. See ASCII Instruction Error Codes on
page 20-30 for a list of the error codes and recommended action to take.
For information on the timing of this instruction, see the
NOTE
timing diagram on page 20-28.
(1)
Function Files
AWT
ASCII WRITE
Channel
Source
Control
String Length
Characters Sent
Error
ASCII Instructions
20-13
Address
Address
Mode
Level
EN
0
ST37:20
DN
R6:23
40
ER
0
0
Publication 1762-RM001C-EN-P

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micrologix 1500

Table of Contents