Rio Configuration Using G Files - Allen-Bradley 1747-SN User Manual

Remote i/o scanner
Table of Contents

Advertisement

RIO Configuration Using G
Files
Scanner Configuration and Programming
When you program your SLC system you use the G file to configure
the scanner's I/O image file. Your scanner's G file configuration is
based on the devices that you have on the RIO link. G file
configuration consists of setting logical device starting addresses and
the logical device image size of each physical device/adapter with
which the scanner communicates.
You enter G file configuration information using programming
software, such as Advanced Programming Software (APS), or the
Hand-Held Terminal (HHT) if you have an SLC 5/02 processor. See
appendix B for further details.
Neither your application program nor your programming device can
access or alter the G file while online with the processor. To change
the G file you must go offline into the program file, make any
necessary changes, and download the program containing the altered
configuration. The G file consists of five words which are described
below.
Word 0 – contains scanner information for the SLC processor. Your
programming device automatically sets up Word 0. Do not attempt
to alter word 0.
Important:
The term "primary" is used in conjunction with the term
"complementary," when referring to a complementary
I/O configuration. "Primary" refers to I/O image space
found in Logical Racks 0 through 3 when in
complementary I/O mode and "normal" refers to the
same image space (racks 0–3) when not in
complementary I/O mode.
Word 1, Primary/Normal Logical Device Address – specifies the
logical starting address of each primary/normal RIO link device.
The logical address consists of the logical rack number (0, 1, 2, or 3)
and starting logical group (0, 2, 4, or 6). Each bit in this word
represents a logical address. To specify an address you place a 1 at
the bit corresponding to the starting logical address of each logical
device.
Word 2, Primary/Normal Device Logical Image Size – specifies
the logical image size (amount of scanner I/O image) of the devices
set in word 1. As with word 1, these bits correspond to RIO logical
rack and logical group numbers. To specify image size, you place a
1 at each group a device occupies.
4–3
Publication 1747 6.6 - July 1996

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents