Professional Documents
Culture Documents
BTR & BTW Instructions
BTR & BTW Instructions
General Information
G18685 - BTW BTR Instructions for the SLC5/03, 5/04 and 5/05 Processors
Examples of Directional, Directional Continuous, Directional Repeating, Bi-Directional
Continuous, Bi-Directional Alternating and Bi-Directional Alternating Repeating types of
Block Transfers.
BTW and BTR Instructions for the SLC5/03, 5/04 and 5/05 Processors
Block transfer instructions are supported in the SLC5/03 (OS302, Series C). SLC5/04
(OS401, Series C) and
SLC5/05 (OS501, Series C) processors only!
Block transfer instructions are used to transfer up to 64 words of data over an Allen-
Bradley Remote I/O (RIO)
link to or from a remote device.
Group The I/O group number (0 to 7) specifies the position of the target I/O module in
the I/O
chassis. When using 1/2-slot addressing, only even group numbers are valid.
Slot The slot number (0 or 1) within the group. When using 2-slot addressing, the 0 slot is
the
low (right) slot and the 1 slot is the high (left) slot within the group. When using 1-slot or
1/2-slot addressing, always select slot 0.
Control Block The control block is an integer data file address that stores all the block
transfer control
and status information. The control block is three words in length. Note that these
integer file addresses should not be used for any other instructions.
Data File Specified starting word in the SLC processor's data file containing the BTW or
BTR
data.
Requested Word The number of words to transfer. If you set the length to 0, the processor
reserves 64
words for block transfer data. The block transfer module transfers the maximum words
the adapter can handle. If you set the length from 1 to 64, the processor transfers the
number of words specified.
The following are examples are of Directional, Directional Continuous, Directional
Repeating, Bi-Directional
Continuous, Bi-Directional Alternating and Bi-Directional Alternating Repeating types of
Block Transfers.
All examples were written for a SN module residing in slot 5 for a Remote IO Device
residing in Logical Rack 0,
Group 1 and Slot 0!
The Requested word count will vary depending upon the actual device in use.
Directional Example:
DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular subject or subjects and is not an
exhaustive treatment of such subjects. Accordingly, the information in this web site is not intended to constitute application,
design, software or other professional engineering advice or services. Before making any decision or taking any action, which
might affect your equipment, you should consult a qualified professional advisor.
ROCKWELL DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE DATA
CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION WITHOUT
NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS "AS IS." IN NO EVENT SHALL
ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF PROFIT OR DAMAGE, EVEN IF ROCKWELL HAS BEEN ADVISED ON THE POSSIBILITY OF
SUCH DAMAGES.
ROCKWELL DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT TO THE INFORMATION
(INCLUDING SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS FOR A
PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-INFRINGEMENT. Note that certain jurisdictions do not countenance
the exclusion of implied warranties; thus, this disclaimer may not apply to you.