The text of a manual · part 10 of 19
PLC-5 DeviceNet Scanner Module 1771-SDN User Manual: 5 - Communicating with DeviceNet from Another Network, pages 79 to 86
Pages 79 to 86 of 149, from PLC-5 DeviceNet Scanner Module 1771-SDN User Manual
The original document is the PDF (3.4 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 1771-SDN
Page 79
Communicating with DeviceNet from Another Network
Communicating with DeviceNet from an Ethernet Network More
5-9
Before performing this example the Ethernet network must be configured and running. A 1785-ENET module must be installed on the PLC-5 processor and connected to the network. See the PLC-5 Ethernet Interface Module User Manual (publication 1785-6.5.19) for more information. Establishing Ethernet pass-through communications involves four main steps: 1. You use RSLinx to configure the Ethernet to PLC-5 driver. This procedure is described on pages 5-9 to 5-11. 2. You configure the 1785-ENET module’s communications channel and download the configuration to the PLC-5 processor. This can be done using RSLogix 5 software when you create the example ladder program. The Ethernet channel configuration is described in Appendix A. 3. You use RSLinx to configure the DeviceNet pass-through driver to communicate with the 1771-SDN module via the Ethernet network. This procedure is described on pages 5-12 to 5-15. 4. You use the pass-through driver with RSNetWorx for DeviceNet software to adjust and tune your DeviceNet network. This procedure is described on pages 5-15 to 5-17.
Configuring the Ethernet to PLC-5 Communications Driver To communicate with your PLC-5 processor over an Ethernet network you must configure the Ethernet to PLC-5 driver. Perform the following steps to configure the driver using RSLinx software. 1. Start RSLinx.
Publication 1771-UM118C-EN-P - June 2003
Page 80
5-10
Communicating with DeviceNet from Another Network
2. From the Communications menu, select Configure Drivers.
3. From the list of Available Driver Types, select the Ethernet to PLC-5/SLC-5/5820-EI driver and click on Add New. You will be prompted to choose a name for the new driver.
4. Enter an appropriate driver name (e.g., AB_ETH-1) and click on the OK button. The Configure driver for Ethernet to PLC-5/SLC-5/5820-EI window will open.
192.168.1.1
Publication 1771-UM118C-EN-P - June 2003
Page 81
Communicating with DeviceNet from Another Network
5-11
5. In the IP address or hostname field, enter the IP address of the PLC-5 processor (192.168.1.1 in this example).
IMPORTANT
You must configure the PLC-5’s communications using BOOTP software or your PLC-5 programming software (e.g., RSLogix 5) before you will be able to communicate with the PLC-5 using this Ethernet address. See Appendix A for information on configuring the PLC-5’s communications using RSLogix 5.
6. Click on the Accept button. Then click on OK. The new driver will be added to the list of Configured Drivers in RSLinx. (Your list will contain the drivers you have configured.)
192.168.1.1
Publication 1771-UM118C-EN-P - June 2003
Page 82
5-12
Communicating with DeviceNet from Another Network
Configuring the DeviceNet Pass-Through Driver Before you can communicate with the 1771-SDN module via the Ethernet network, you must configure the DeviceNet pass-through driver (1771-SDNPT). RSLinx, version 2.10 or higher, is required. Connect your 1785-ENET module to your Ethernet network. Then perform the following steps. 1. Start RSLinx.
2. From the Communications menu, select Configure Drivers.
3. From the list of Available Driver Types select DeviceNet Drivers and click on Add/New.
Publication 1771-UM118C-EN-P - June 2003
Page 83
Communicating with DeviceNet from Another Network
5-13
You will see the following list of drivers.
4. Select the Allen-Bradley 1771-SDNPT driver. The Allen-Bradley 1771-SDNPT Driver Configuration window will open.
5. Select a pass-through port to be configured from the pull-down list, e.g., Port 2. 6. Expand your Ethernet driver (AB_ETH-1) and highlight your PLC-5 processor.
Publication 1771-UM118C-EN-P - June 2003
Page 84
5-14
Communicating with DeviceNet from Another Network
7. Select the 1771-SDN Backplane Address Configuration. We used the following configuration for the example application. Rack
0
Group
1
Slot
0
8. Select the DeviceNet channel (Channel 1 for the example application). 9. Click on OK. You will see the following warning:
10. Verify that the routing information is accurate and click on the Yes button. You will be prompted to enter a name for the driver.
11. Enter an appropriate driver name (e.g., 1771-SDNPT-2) and click on the OK button.
Publication 1771-UM118C-EN-P - June 2003
Page 85
Communicating with DeviceNet from Another Network
5-15
The new driver will be added to the list of Configured Drivers in RSLinx. (Your list will contain the drivers you have configured.)
192.168.1.1
12. Close or Minimize RSLinx.
Communicating with the DeviceNet Network Once you have the Ethernet pass-through driver configured, you can use RSNetWorx for DeviceNet to communicate with the DeviceNet network via the Ethernet network. Perform the following steps: 1. Start RSNetWorx.
Publication 1771-UM118C-EN-P - June 2003
Page 86
5-16
Communicating with DeviceNet from Another Network
2. From the File menu, select New. If you have RSNetWorx for ControlNet installed on your computer you may see the following window. Otherwise, proceed to step 4.
3. Select DeviceNet Configuration and click on OK. 4. Click on the Online button on the toolbar.
The Browse for network window will appear. You will see the drivers you have configured on your system.
5. Highlight the 1771-SDNPT-2, DeviceNet driver and click on OK.
Publication 1771-UM118C-EN-P - June 2003