Scanner's Block Transfer Buffer Layout; M0 File - Block Transfer Output/Control Buffers - Allen-Bradley 1747-SN User Manual

Remote i/o scanner
Table of Contents

Advertisement

5–8
RIO Block Transfer
Scanner's Block Transfer
Buffer Layout
Group 0
Group 1
Group 2
Logical
Group 3
Rack 0
Group 4
Group 5
Group 6
Group 7
Group 0
Group 1
Group 7
Group 0
Group 1
Group 2
Logical
Group 3
Rack 3
Group 4
Group 5
Group 6
Group 7
Publication 1747 6.6 - July 1996
This section describes the scanner's M0 (output/control) and M1
(input/status) block transfer buffers.

M0 File - Block Transfer Output/Control Buffers

There are 32 BT output/control buffers allocated in the M0 file.
These buffers contain BTR/BTW control information and BTW
output data. The following explains the layout of BT buffer 1.
Important:
M0:e.100 – Contains BTR/BTW control flags that control block
transfers. Control flags are explained on the following page.
M0:e.101 – Used to configure BTR/BTW length information (0 to
64). Length is the number of BTR/BTW words read from or written
to the end device. If length = 0, then the RIO device will inform the
SLC processor as to how much data to transfer. The M0/M1 BT
buffers cannot overflow because they each reserve 64 words of data
area.
M0:e.102 – Contains the logical address of the BTR/BTW operation
in logical rack, group, and slot number format. The logical rack,
group, and slot are combined into one word, which you enter in
decimal form.
Input Image Output Image
É É É É É É É
É É É É
É É É
Word 0
Word 1
Word 2
É É É É
É É É É É É É
É É É É
É É É
É É É
É É É
Word 3
Word 4
É É É É
É É É É
É É É É
É É É
É É É
Word 5
Word 6
Word 7
Word 8
Word 9
Word 23
Word 24
Word 25
Ç Ç Ç Ç Ç Ç Ç
Ç Ç Ç Ç
Ç Ç Ç Ç
Ç Ç Ç
Ç Ç Ç
Ç Ç Ç
Word 26
Word 27
Ç Ç Ç Ç
Ç Ç Ç Ç
Ç Ç Ç Ç
Ç Ç Ç
Ç Ç Ç
Word 28
Word 29
Word 30
Ç Ç Ç Ç
Ç Ç Ç Ç
Ç Ç Ç Ç
Ç Ç Ç
Ç Ç Ç
Ç Ç Ç
Word 31
Ç Ç Ç Ç
Ç Ç Ç
Logical Slot 1
(High Byte)
The general layout below of buffer 1 is the same for all
32 M0 BT buffers. The "e" in the examples refers to
the physical chassis slot number in which the scanner
resides. Remember that buffers start on 100 word
boundaries.
M0:e.102 Logical Address Example
The Slot Number" (0 or 1) in M0:e.102 indicates
the logical slot number within a logical group. 0
designates the least significant image byte and 1
designates the most significant image byte.
Which Slot Number To Use
When your adapter is configured for 2 slot addressing, 0 is the
left slot and 1 is the right slot.
For both 1 slot and 1/2 slot addressing the slot number is al
ways 0.
Example M0:e.102 Configurations
Logical Rack 0, Group 0, Slot 0 = 0
Logical Rack 0, Group 0, Slot 1 = 1
Logical Rack 2, Group 3, Slot 1 = 231
Logical Slot 0
(Low Byte)
Logical Rack 0, Group 7, Slot 0 = 70
The first number
(reading from
right to left) is the
Slot Number."
Leading 0s need not
be entered.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents