beautypg.com

Btm201.rss data table layout, Btm201.rss data table layout -2 – Rockwell Automation 1746-BTM Barrel Temperature Control Module User Manual User Manual

Page 70

background image

Publication 1746-UM010B-EN-P - April 2001

9-2 Sample Program

communications program file 4 and in the main program file 2. Later
there will be an example for the code that will need to be added.

BTM201.rss Data Table Layout

The data table layout for this version of code has change considerably
from the current BTM application code. The biggest change is that the
input and output images are now buffered. This means that you will
now manipulate all input and output data thru the buffer area, not in
the actual input and output images. If you manipulate data in the
actual input and output image the buffers will over write them. The
following is a layout of the new data tables. The M-file and the rotator
information have been moved into a different data table. In the
previous version the information was located in N7.

Table 9.A BTM201.rss N7 Data Table

Location

Description

N7:0

User request pending

N7:1

User request being serviced

N7:2

Request mask

N7:3

Bit 0 request complete cleanup needed

N7:4

Indirect address for pointer in rotator

N7:5

Rotator bits

N7:6

Bit 0, all requests and acknowledges cleared

N7:7

Data table pointer for M1/M0 communications

N7:8

Slot pointer for M1/M0 communications

N7:9

What BTM are we currently working on for M1/M0
communications

N7:10

Data table pointer for rotator code

N7:11

What BTM are we working on for rotator code

N7:12

Master Command requests for M1M0 communications

N7:13

Rotator code input bits = output bits memory

N7:14

Rotator initialization data table to use

N7:15

Rotator initialization what BTM are we doing

N7:16

Data table for first BTM

N7:17

Slot number for first BTM

N7:18

Number of BTMs in system

N7:19

Misc control Bits

N7:20

Rotator Level 1 or 2 check