Rockwell Automation 1771-KA2 Communication Adapter Module User Manual

Page 56

Advertising
background image

Communication Zone Rungs

Chapter 5

5-4

Figure 5.2
Header Rung

011

[ G ]

077

[ G ]

015

[ G ]

( L

02707

OFF

)

000

000

000

Local
Station
Number

Address of
Error Code
Storage Word

Timeout

Preset
Code

The 3 GET instructions in the header rung list the following:

Local station number
Address of ERROR CODE storage word
Timeout preset code

The local station number is a 3-digit number switch-selected on the
1771-KA2 module. This is an octal number from 010

8

to 077

8

or from

110

8

to 376

8

.

The ERROR CODE storage word is a status word in the data table of the
local station processor, controlled by the communication adapter.
(Section titled “Error Code Storage Word,” chapter 6, describes the
significance of the ERROR CODE storage word.)

The timeout preset code gives a programmed timeout interval for
command completion. Based on the 3-digit value entered in the address
field of this GET instruction, the communication adapter module monitors
command execution for all commands sent from a station. In the
examples in this publication, the number 015 is entered as the timeout
preset code. This value, which designates a 5-second timeout preset, is
suitable for most applications. The significance of this preset code, its
computation, and timeout considerations are described in section titled
“Timeout Preset Value,” chapter7.

The memory access rung defines data table words that you can access
with the following commands:

Protect write
Protect bit write

Protected commands, received from a remote station, may control only
those local station processor memory areas listed in memory access rungs.

Memory Access Rungs

Advertising