The text of a manual · part 9 of 18
ControlLogix Ethernet Communication Interface Module 1756-ENET/B User Manual: 5 - Rack Optimized I/O, pages 47 to 55
Pages 47 to 55 of 122, from ControlLogix Ethernet Communication Interface Module 1756-ENET/B User Manual
The original document is the PDF (1.5 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1756-ENET
Page 47
Chapter
5
Rack Optimized I/O
About the Example Application
This example uses rack optimized connections to read data from a remote digital input module and send data to a remote digital output module. What you will do
1
See page
Set Up the Hardware Create the Example Application
5-2 5-3
Add the Local Ethernet Module to the I/O Configuration Add the Remote Ethernet Module to the I/O Configuration
5-4 5-6
Add the Remote I/O Modules to the I/O Configuration Add the Remote Digital Input Module
5-8 5-8
Add the Remote Digital Output Module Edit the Controller Tags
5-10 5-12
Create the Ladder Program Download the Program to the Controller
5-14 5-15
Test the Example Application
5-16
Publication 1756-UM051B-EN-P - November 2000
Page 48
5-2
Rack Optimized I/O
Set Up the Hardware
For this example, the one ControlLogix chassis contains a Logix 5550 controller in slot 0 and a 1756-ENET/B module in slot 1. A second chassis contains a 1756-ENET/B module in slot 0 and the I/O modules in slots 1 and 2. Slot 0 1
Slot 0 1 2
Local Chassis
Logix5550 Controller
Remote Chassis
Data
1756-ENET/B 130.130.130.3
1756-ENET/B 130.130.130.2 Switch
1756-OB16I Digital Output 1756-IB16I Digital Input
130.130.130.1 Programming Terminal
To work along with this example set up your system as shown above. • Note that in the example application, the Logix5550 controller, I/O modules, and the 1756-ENET/B modules are in the slots shown above. • Verify the IP addresses for your PC and 1756-ENET/B modules (see chapter 4). • Verify that all wiring and cabling is properly connected. • Make sure you have your communication driver (e.g., AB_ETH-1) configured in RSLinx as described in Appendix C.
Publication 1756-UM051B-EN-P - November 2000
Page 49
Rack Optimized I/O
Create the Example Application
5-3
Perform the following steps to create the example application: 1. Start RSLogix5000. The RSLogix 5000 Main Window will open.
2. From the File menu, select New. The New Controller pop-up window will open.
3. Enter an appropriate name for the Controller, e.g., “Ethernet_IO_Controller.” 4. Select the correct Chassis Type and Slot number of the Logix5550 controller, and the folder where you want to save the RSLogix 5000 file (Create In). The Description is optional. 5. Click on OK.
Publication 1756-UM051B-EN-P - November 2000
Page 50
5-4
Rack Optimized I/O
You now add the remote digital I/O modules to the controller’s I/O configuration. To do this you first add the local 1756-ENET/B module to the I/O configuration. Next you add the 1756-ENET/B in the remote chassis with the digital I/O modules as a “child” of the local 1756-ENET/B module. Then you add the I/O modules as “children” of the remote 1756-ENET/B module.
Add the Local Ethernet Module to the I/O Configuration 1. Select the IO Configuration folder in the project window and click the right mouse button.
The following pop-up window will open.
2. Click on New Module.
Publication 1756-UM051B-EN-P - November 2000
Page 51
Rack Optimized I/O
5-5
The Select Module Type window will open.
3. Select the 1756-ENET/B module and click on OK. The Module Properties window will open.
4. Enter or select the following parameters: Name, IP Address, Slot, and Electronic Keying. We used the following values: Name
Local_ENET
IP Address
130.130.130.2
Slot
1
Electronic Keying(1)
Compatible Module
(1)
See Appendix F for important information about Electronic Keying.
5. Click on Finish to accept the configuration.
Publication 1756-UM051B-EN-P - November 2000
Page 52
5-6
Rack Optimized I/O
Add the Remote Ethernet Module to the I/O Configuration Next, you must add the remote 1756-ENET/B module as a “child” of the local 1756-ENET/B module.
1. In the Project window, right click on the local 1756-ENET/B module under the I/O Configuration folder and select New Module from the pop-up window. The Select Module Type window will open.
2. Select the 1756-ENET/B module from the list and click on OK.
Publication 1756-UM051B-EN-P - November 2000
Page 53
Rack Optimized I/O
5-7
The Module Properties window will open.
3. Enter or select the following parameters (the values we used are listed in the table): Name
Remote_ENET
IP Address
130.130.130.3
Chassis Size
4
Slot
0
Comm Format
Rack Optimization
Electronic Keying(1)
Compatible Module
(1)
See Appendix F for important information about Electronic Keying.
4. Click on Next. The following page will open:
5. Make sure the Requested Packet Interval (RPI) is 5ms or greater for this example.
Publication 1756-UM051B-EN-P - November 2000
Page 54
5-8
Rack Optimized I/O
6. Click on the Finish button to accept the configuration. The remote 1756-ENET/B module will appear indented under the local 1756-ENET/B in the I/O Configuration folder.
Add the Remote I/O Modules to the I/O Configuration You must now add the remote I/O modules to the I/O Configuration List under the remote 1756-ENET/B module. In this example, you will add a a 1756-IB16I digital input module and a 1756-OB16I digital output module with standard configurations. Use these steps as a guide when you are configuring different I/O modules for your actual system. TIP
This example application uses the I/O module default configurations. For information on altering the default configurations see the ControlLogix Digital I/O Module User Manual, publication 1756-6.5.8.
Add the Remote Digital Input Module
1. Right click on the remote 1756-ENET/B module under the I/O Configuration folder and select New Module.
Publication 1756-UM051B-EN-P - November 2000
Page 55
Rack Optimized I/O
5-9
2. The Select Module Type window will open.
3. Select the 1756-IB16I digital input module from the list and click on OK. The Module Properties window will open.
4. Enter the following parameters (the values we used are listed in the table): Name
Remote_Digital_Input
Slot
1
Comm Format Electronic Keying (1)
Rack Optimization (1)
Compatible Module
See Appendix F for important information about Electronic Keying.
Publication 1756-UM051B-EN-P - November 2000