Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 8

Top of Form

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.

Last Modified: 08/23/2000


Previously Released as #12631

Generals Programmable Controllers


Category: Programmable Controllers - I/O
Product(s): SLC500 (1746); SLC500 (1747)
Catalog #: 1747L531; 1747L532; 1747L541; 1747L542; 1747L542P; 1747L543;
1747L551E; 1747L552E; 1747L553E
Series /
Revision:
Subject application, FAQ's, operating system, processors, rio
(Keyphrases):
Summary of
Technote
Information:

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!

RSLogix500 version 4.10.00 or greater is required!

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.

1747-SN module must be Series B!


The Series B 1747-SN module supports M0 and M1 file buffers which are used by the
BT instructions! Series A
1747-SN does not support M0 and M1 file buffers!
Rack The I/O rack number (0 to 3) specifies the I/O chassis in which the target I/O
module is
placed.

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.

Buffer File Block transfer buffer file address;


i.e. M0: e.x00 (used for the BTW)
where "e" is the slot number of the scanner (range will be from 1 to 30)
and "x" is the buffer number (The range of the buffer number is from 1 to 32).
Each BTR and BTW instruction uses both the M1 and M0 files for a specific buffer
number. M0 is used for BTR and BTW control and for BTW data. M1 is used for BTR
and BTW status and 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:

Directional Continuous Example:


Directional Repeating Example:

Bi-Directional Continuous Example:


Bi-Directional Alternating Example:
Bi-Directional Alternating Repeating Example:
For indepth information on the SLC 500 family of controllers please refer to

Publication 1747-6.15 The SLC 500 Instruction Set Reference Manual


Publication 1747-DU001A-EN-P The SLC 500 Operating Systems Document Update

Manuals can be viewed, printed, and ordered online at


http://www.theautomationbookstore.com/
Related Links:

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.

Copyright © 2003 Rockwell Automation. All rights reserved.

  

You might also like