Setting bits in initialization, 4ć30 – Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 104

Advertising
background image

ASCII I/O Module Tutorial

Chapter 4

4Ć30

1.

Place the PLC-3 processor in program load mode. Press

[SHIFT][LIST]3[ENTER]

on the PLC-3 front panel, and insert the additional rungs exactly as shown
on the industrial terminal.

To insert one or more rungs into your program, place the cursor on the
input instruction in the following rung. Press
[INSERT][SHIFT][RUNG][ENTER]. Then enter the instructions for one

rung. You must press [RUNG

] before inserting each new rung.

2.

After you enter the additional rungs, create a source file (file A) for
the file move instruction in rung 16 and a result file (file R) in rung
17. To set the size of the source file in rung 16 to 4 words (word 0
thru 3), press

CR,O7:3,Y[ENTER] (for rung 16)

PLC-3 file display starts with word 0. Initialization words 1, 2, 3, and 4
are numbered in the display as words 2, 3, 4, and 5 because of the
addresses assigned in the file move instruction.

To set the size of the result file in rung 17 to 64 words (words 0 thru 100
octal) press

CR,O6:100,Y[ENTER] (for rung 17)

3.

Check the data table to see that file O7:0 was properly created. Press
the following key sequence to display file O7:0.

DD,O7:3[ENTER]

4.

Check that file O6:0 was properly created. Press [RUNG

].

The file initialization words is the file move instruction in rung 16. Set
bits in your initialization words to select desired module features as
shown in the following steps:

Setting Bits in Initialization

Words

Advertising