Example Block Transfer Programs; Plc 2 Family Processors - AB Quality Allen-Bradley 1771-IJ User Manual

Encoder/counter modules
Table of Contents

Advertisement

Example Block Transfer
Programs
Note that there is no identifying bit pattern to distinguish preset
words #1 and #2 from each other. The encoder/counter module
identifies these words by their order of transmission in block
transfer. As these words are stored in memory, preset word #1 is
stored in the word immediately following the output control word.
Preset word #2 is then stored in the word immediately following
preset word #1.
The module communicates with any Allen-Bradley processor that
has block transfer capability. The module is a bidirectional block
transfer module. Bidirectional means that the module performs both
read and write block transfer operations. You transfer data from
your module to the processor's data table with a block transfer read
(BTR) instruction. You transfer data to your module from the
processor's data table with a block transfer write (BTW) instruction.

PLC 2 Family Processors

The following examples use block transfer instructions to perform
block transfers. However, the Mini-PLC-2 (cat. no. 1772-LN3) and
PLC-2/20 (cat. no. 1772-LP1,-LP2) processors use multiple GET
instructions to perform block transfers. Refer to the processor user's
manual for an explanation of multiple GET block transfer.
The generalized and example programs (Figure 6.3 and Figure 6.4)
demonstrate the use of a single block transfer read (BTR) and a
single block transfer write (BTW) to pass data between the processor
and the module.
Figure 6.3
Generalized Ladder Logic for PLC 2 Block Transfer
BTR
DN
Block Transfer Programming
BTW
File AAA-BBB
BTR
File CCC-DDD
FFM
File CCC-DDD
1
File EEE-FFF
2
1 = source
2 = destination
Publication 1771 UM006B-EN-P - June 2002
6–5
EN
DN
EN
DN
EN
DN
15962

Advertisement

Table of Contents
loading

This manual is also suitable for:

Allen-bradley 1771-ik

Table of Contents