beautypg.com

B - programming examples, Sample programs for the rtd input module, Plc-2 family processors – Rockwell Automation 1771-IR , D17716.5.76 RTD INPUT MODULE User Manual

Page 47: Programming examples

background image

Appendix

BĆ1

Programming Examples

The following are sample programs for entering data in the configuration words
of the write block transfer instruction when using the PLC–2, PLC–3 or PLC–5
family processors.

To enter data in the configuration words, follow these steps. NOTE: For
complete programming sample, refer to Figure 4.1.

Example:
Enter the following rung for a write block transfer:

EN

BTW
BLOCK XFER WRITE
DATA ADDR:
MODULE ADDR:
BLOCK LENGTH:
FILE:

030

110

14

100-115

DN

010

06

110

06

Power Up Bit

100 is the address of the write block transfer data file. You want to examine
configuration word 1.

In RUN/PROG Mode

Action

Result

1. Press [SEARCH]8

Finds the block address transfer

instruction

2. Press CANCEL COMMAND

Removes preceeding command

3. Press [DISPLAY]0 or 1

Displays the file in binary or BCD

4. Press [SEARCH]51

On line data change

Cursor defaults to first entry in file when

SEARCH 51 is pressed.
5. Press [INSERT]

Writes data to file element

Sample Programs for the RTD

Input Module

PLC-2 Family Processors