beautypg.com

Configuring m0-m1 files, Addressing m0-m1 files, Using m0-m1 data file addresses – Rockwell Automation 1747-BSN Backup Scanner Module User Manual

Page 182

background image

Publication 1747-UM010B-EN-P - September 2003

B-2 M0-M1 Files and G Files

Configuring M0-M1 Files

M0 and M1 files are configured as part of the I/O configuration
procedure for the processor file. After you have assigned the specialty
I/O module to a slot (the procedure is the same as assigning other
modules), you may click on the advanced configuration button in
order to configure the number of M0 and M1 file words.

The specialty I/O module may also require that you configure the
G file and specify an ISR (interrupt subroutine) number. G files are
discussed on page B-9.

Addressing M0-M1 Files

The addressing format for M0 and M1 files is below:

Using M0-M1 Data File Addresses

M0 and M1 data file addresses can be used in all instructions except
the OSR instruction and the instruction parameters noted below:

Mf:e.s/b

Where

M

= module

f

= file type (0 or 1)

e

= slot (1-30)

s

= word (0 to max. supplied by module)

b

= bit (0-15)

Instruction

Parameter (uses file indicator #)

BSL, BSR

File (bit array)

SQO, SQC, SQL

File (sequencer file)

LFL, LFU

LIFO (stack)

FFL, FFU

FIFO (stack)