I/O Configuration

Using the RSLogix software, configuration of the inputs and outputs involves two steps:

1. specifying modules in the rack
2. assigning tags to the I/O channels

The second step is not absolutely necessary, but it is easier to specify symbols now than when programming the ladder logic. The RSLogix programming software aids the programming of a PLC because one does not need to memorize the I/O addresses and file addresses, but can refer to them symbolically, as a label.

Right-click on the “1756 Backplane” line below the I/O Configuration folder in the project tree. A pop-up window will appear. Select New Module... A window titled "Select Module" will appear. Expand the “Digital” category (right-click mouse on “+” sign to left of “Digital”). To specify the I/O modules,

In the main part of the window, a list of available modules is displayed. Click on the type of module in slot 1 (a 1756-IB32/A). You may need to scroll to this line. Click on OK.
A window titled "Module Properties" will appear. Enter a name for the module (Suggestion: digital_in). Verify that the slot number is correct (slot 1) and make sure Comm Format is "Input Data".
Uncheck the “Open Module Properties” box
Click on OK to accept the default module configuration..
Slot 1 is now configured for a 32 point discrete input module.

Right-click on the I/O Configuration folder in the project tree and add a 1756-OB16I.
The steps are similar to the steps to add the discrete input module. When a “Select Major Revision” box pops up, select “1”. Make sure the module name is different from the discrete input module. The Comm Format should be "Output Data".

The I/O Configuration folder should have the following subitems:

[1] 1756-IB32/A discrete_in
[2] 1756-OB16I discrete_out

Now assign tags to the input channels. Double-click on the Controller Tags line in the project tree window (should be second line). The Controller Tags window will appear. To assign symbols to the discrete input channels,

Click on the Edit Tags tab.
A table will appear with a white last row. New tags are entered in the last (white) row.
Type your tag name, in this case "Start_PB" in the Tag Name column and press <Tab>.
Click on the down arrow in the Alias For column.
Click on "Local:1:I" and click on the "+" to display the members of this structure.
Click on "Local:1:I.Data" and then on the down arrow.
Click on the proper bit ("0" in this case).

Click on the entry for the Description. The Type for "Start_PB" should change to BOOL. Type in a description in the box, for example, "Start push button switch" and then press <Enter> or click back on the box in the Description column.
Repeat the above 6 steps to specify the tags and descriptions for the other input and output channels.

Now some of the other tags need to be defined.

0 comments :