Example Program Single Transfer - AB Quality Allen-Bradley 1771-IJ User Manual

Encoder/counter modules
Table of Contents

Advertisement

5–12
Single Transfer Programming
Example Program Single
Transfer
Rung
No.
1
2
030
3
G
030
4
G
030
5
G
03015
6
For the PLC processor, values of constants would be 003 in rung 4, 005 in rung 5.
1
Publication 1771 UM006B-EN-P - June 2002
Note: In some applications, it may be feasible to designate an input
location for the purpose of scan counter control. In this instance, an
on-delay timer (TON) instruction can be used to multiplex output
data to the encoder/counter module. A timer with 0.1-second
resolution is acceptable for this purpose. Each step of Table 5.A can
be programmed to be executed at a 0.1-second interval from the
previous step.
Figure 5.8 is an example program for single-transfer multiplexing of
output words to the encoder/counter module. This example uses the
type of scan counter recommended for PLC-2 processors. However,
the general format of these rungs would be the same for a PLC
processor, with addressing differences, substitution of the type of
scan counter shown in Figure 5.7, and other minor changes.
Figure 5.8

Example Program Single Transfer

Branch End Instruction
201
051
=
G
001
202
052
=
G
1
002
053
203
=
G
1
003
030
CTU
PR003
Scan
AC000
Counter
030
CTU
PR003
AC000
Output
012
Control
PUT
Word
012
Output
PUT
Preset
Word #1
012
Output
PUT
Preset
Word #2
030
Reset
Scan
CTR
Counter
15959

Advertisement

Table of Contents
loading

This manual is also suitable for:

Allen-bradley 1771-ik

Table of Contents