A–10 – Rockwell Automation 1203-SM1 SLC to SCANport Communication Module User Manual

Page 66

Advertising
background image

M0, M1, and G Files

A–10

Publication 1203–5.9 –– October 1996

The following figure shows the three G file data formats that you can
select. 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. Sixteen words have been created (addresses
G1:0 through G1:15).

address 0 1 2 3 4 5 6 7 8 9
G1:0 xxxx 0 0 0 0 0 0 0 0 0
G1:10 0 0 0 0 0 0

address 0 1 2 3 4 5 6 7 8 9
G1:0 xxxx 0000 0000 0000 0000 0000 0000 0000 0000 0000
G1:10 0000 0000 0000 0000 0000 0000

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

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

address 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
G1:4 0000 0000 0000 0000
G1:5 0000 0000 0000 0000
G1:6 0000 0000 0000 0000
G1:7 0000 0000 0000 0000
G1:8 0000 0000 0000 0000
G1:9 0000 0000 0000 0000
G1:10 0000 0000 0000 0000
G1:11 0000 0000 0000 0000
G1:12 0000 0000 0000 0000
G1:13 0000 0000 0000 0000
G1:14 0000 0000 0000 0000
G1:15 0000 0000 0000 0000

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

Editing G File Data

Edit the data in the G file according to your application and the
requirements of the specialty I/O module. You edit the data offline
under the I/O configuration function only. With the decimal and
hex/bcd formats, edit data at the word level:

G1:1 = 234 (decimal format)
G1:1 = 00EA (hex/bcd format)

With the binary format, edit data at the bit level:

G1/19 = 1

Important: The processor automatically configures word 0 of the G

file according to the particular specialty I/O module.
You cannot edit word 0.

Advertising