beautypg.com

G data files – specialty i/o modules – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 83

background image

Chapter 4
Data File Organization and Addressing

4–27

Some specialty I/O modules use G (confiGuration) files (indicated in the
specialty I/O module user’s manual). These files can be thought of as the
software equivalent of DIP switches.

The content of G files is accessed and edited offline under the I/O
Configuration function. You cannot access G files under the Monitor File
function. Data you enter into the G file is passed on to the specialty I/O
module when you download the processor file and enter the Run or Test
mode.

The following figure illustrates the three G file data formats that you can
select on the HHT. Word addresses begin with the file identifier G and the
slot number you have assigned to the specialty I/O module. In this case, the
slot number is 1. Four words have been created (addresses G1:0 through
G1:3).

Important: Word 0 of the G file is configured automatically by the

processor according to the particular specialty I/O module.
Word 0 is read only.

address DEC data
G1:0 xxxx
G1:1 0
G1:2 0
G1:3 0

4–word G file, I/O slot 1, decimal format

address HEX/BCD data
G1:0 xxxx
G1:1 0000
G1:2 0000
G1:3 0000

address BIN 15 data 0
G1:0 xxxx xxxx xxxx xxxx
G1:1 0000 0000 0000 0000
G1:2 0000 0000 0000 0000
G1:3 0000 0000 0000 0000

4–word G file, I/O slot 1, hex/bcd format

4–word G file, I/O slot 1, binary format

G Data Files – Specialty I/O
Modules