Programming examples, Appendix – Rockwell Automation 1771-IR Series D RTD Input Module User Manual User Manual
Page 53
Appendix
B
Publication 1771Ć6.5.129 - March 2000
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
In PROG Mode
Action
Result
1. Press [SEARCH]8
Finds the block transfer instruction
2. Press CANCEL COMMAND
Removes preceeding command
3. Press [DISPLAY]0 or 1
Displays the file in binary or BCD
4. Press [DISPLAY]001 and enter data
Puts cursor on word 1
5. Press [INSERT]
Sample Programs for the
RTD Input Module
PLC-2 FamilyProcessors