Assumptions, Using less than eight input channels – Rockwell Automation 1771-IE,D17716.5.7 ANAL.INPUT MOD. User Manual

Page 44

Advertising
background image

Single Channel Transfer for PLC Processor

Appendix B

BĆ7

The example program is based on the following assumptions:

The input module is in slot 0 of module group 0 in rack 1.

All eight channels are used. If fewer channels are used, rungs may be

eliminated.

The following data table addresses are used to store values:

- words 250-251 serve as momentary storage

- words 260-267 store input channel values

- words 360-370 store constants 000-008

Often fewer than eight input channels are connected to the module. If
using fewer than eight inputs, omit channels in reverse order. Omit
channel 8 first, channel 7 second, etc, when connecting analog devices
and when programming.

You can shorten the program to conserve memory and decrease program
scan time. To reduce program size, study the sequence of events used to
update module data and to read the data from each channel. Reduce the
program as follows:

Omit channel select bit instructions starting with 10116, 01005, etc.

(rung 17).

Omit rungs that store channel values starting with rung 24, rung 23, etc.

Reduce the byte select comparison value in word 367 (rung 26).

Reduce the preset of the increment reference counter (rung 27).

Program channel select bits only for those channels you are using.

Omit rung 35 for channel 8, rung 34 for channel 7, etc.

Reset counters to the number of channels used by reducing the

comparison value stored in word 370 (rungs 36 and 37) accordingly.

Reduce the number of GET instructions in the display rung (rung 38).

Assumptions

Using Less Than Eight Input

Channels

Advertising