4 - programming the analog input module, Chapter objectives, Block transfer programming – Rockwell Automation 1771-IE,D17716.5.7 ANAL.INPUT MOD. User Manual

Page 20: General example, Programming the analog input module

Advertising
background image

Chapter

4

4Ć1

Programming the Analog Input Module

In this chapter we describe a general block transfer program, and present a
programming example for each family of programmable controllers.

Program your processor to transfer data from the module to the
processor’s data table using a block transfer read (BTR) instruction. We
give you programming examples. Because every application is different,
we urge you not to copy examples but to use the appropriate example as a
guide.

Block transfer programming using the BTR instruction is covered in this
chapter for most PLC-2 family processors, all PLC-3 family processors,
and the PLC-5/15 processor. Other programs for transferring data are
found as follows:

Processor

Method

Appendix

MiniĆPLCĆ2

(cat. no. 1772ĆLN3)

PLCĆ2/20

(cat. no. 1772ĆLP1, LP2)

Block Transfer,

Multiple GET

A

PLC

(cat. no. 1774ĆLB2, LC2)

Single Transfer

B

We assume that you know how to enter ladder diagram programming via
your programming terminal, how to enter instruction parameters, and how
to map your data table or data files for proper data storage. If not, refer to
the manuals that came with your processor. If necessary, refer to
Publications Index, SD499, which lists all publications of the Industrial
Computer Group.

We describe programming rungs in one general example applicable to
most PLC-2 family processors (Figure 4.1). Although instruction formats
are different, the program is also applicable to all PLC-3 family
processors, and the PLC-5/15 processor. We also present an example for
each processor family with specific addresses to show relationships

Chapter Objectives

Block Transfer Programming

General Example

Advertising