Programming examples, Appendix – Rockwell Automation 1771-IXE/D Thermocouple/Millivolt Input Module User Manual User Manual
Page 59
Appendix
B
Publication 1771-6.5.130 Ć May 1999
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
27
400-432
DN
010
06
110
06
Power Up Bit
400 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
Input Module
PLC-2 Family Processors