5–21RIO Block Transfer
Publication
17476.6 - July 1996
Follow the steps below to set up your scanner and SLC control
program for either BTWs or BTRs.
1. To use the BT functionality, you must increase the size of the M0
and M1 files in an offline APS session. The size depends on the
number of BT buffers your applications requires. Note that
setting the buffers to maximum size (3300) will not affect system
performance. However, addressing M-files in your SLC control
program does affect system performance.
2. Set the control flags in M0:e.x00. Where x = block transfer
buffer number. See the tables below for read/write settings.
If You Want to Transfer
Data:
Use:
To the scanner from the
adapter
BTR (Block Transfer Read)
From the scanner to the
adapter
BTW (Block Transfer Write)
If You Want to specify a: Do this to the M0:e.x00/7 file :
BTR (Block Transfer Read) Set the bit to 1 to specify a read operation
BTW (Block Transfer Write) Set the bit to 0 to specify a write operation.
3. Specify the length of the data you wish to block transfer in word
M0:e.x01. Note that maximum length is 64 words.
4. Specify the device’s logical rack, group, and slot in word
M0:e.x02.
5. Set up your SLC control program to set the EN bit.
Setting Up a Block
Transfer