The text of a manual · part 6 of 19
PLC-5 DeviceNet Scanner Module 1771-SDN User Manual: 3 - Hardware Setup
Pages 39 to 52 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 39
Chapter
3
Hardware Setup What This Chapter Contains This chapter describes how to set up the hardware for the example application. The following table describes what this chapter contains and where to find specific information. For information about
Installing the 1770-KFD Interface Module
See page
Installing the 1770-KFD Interface Module
3-1
Installing the PLC-5 Processor
3-2
Installing the 1785-ENET Ethernet Module
3-5
Installing the 1771-SDN Scanner Module
3-6
Installing the Scanner Module in the Chassis
3-9
Connecting the Scanner to the DeviceNet Network
3-10
Installing the RediSTATION Operator Interface
3-11
Installing the Series 9000 Photoeye
3-12
How Your Example System Will Look
3-13
What’s Next?
3-13
Connect the RS-232 connector on the 1770-KFD interface module to one of the serial ports on your PC workstation (e.g., COM1). Connect the DeviceNet connector on the 1770-KFD module to a DeviceNet drop or trunk cable. You can make this connection in several ways; for example, using a DeviceNet Quad Tap (#1492-DN3TW), as shown on page 3-13. to PC COM 1
1770-KFD RS-232 Interface Module DeviceNet Dropline or Trunk Cable
More
1
For detailed directions on how to install the 1770-KFD interface module, see the DeviceNet RS-232 Interface Module Installation Instructions, publication 1770-5.6.
Publication 1771-UM118C-EN-P - June 2003
Page 40
3-2
Hardware Setup
Installing the PLC-5 Processor
Refer to the following figure while installing your PLC-5 processor. For additional installation requirements and detailed directions, refer to the document that shipped with your PLC-5 programmable controller. PLC-5C Processor and 1771 I/O Chassis
Locking Bar ControlNet Node Address Switches Lift Ejector Tab PLC-5/40C Processor
Battery Connector
Battery Cover
Card Guides DH+ Address Switches (on back)
Battery
Setting the I/O Chassis Backplane Switches O N
O FF
1 2 3 4
Set the backplane switches in the 1771 I/O chassis for 1-slot addressing for the example application. To do this, put switch 4 in the OFF position and switch 5 in the ON position.
5 6 7
Switches OFF
OFF
2 - slot
ON
OFF
ON
1 - slot
OFF
ON
OFF
1/2 - slot
ON
ON
Not Allowed
8
5
More
1771 I/O Chassis
Publication 1771-UM118C-EN-P - June 2003
Addressing
4
For information on setting the other backplane switches for your system, refer to the ControlNet PLC-5 Programmable Controllers User Manual Phase 1.5, publication 1785-UM022B-EN-P.
Page 41
Hardware Setup
3-3
Going Online to the PLC-5 Processor You cannot go online to the PLC-5 processor over DeviceNet. In order to download and run the example application program in chapter 6 you must use the processor’s RS-232 connector, or download and run the program via another network. Chapter 6 provides examples of downloading and running the application program via ControlNet, Ethernet, and Data Highway Plus networks. Chapter 5 provides examples of configuring the DeviceNet network over these networks. To go online to the PLC-5 processor via ControlNet: 1. Set the PLC-5C ControlNet node address using the two 10-digit rotary switches on top of the PLC-5C module. For the example application we used node address 16. ControlNet PLC-5C processor’s NET address = 16 20
2
30 40
1
00
50
0
90
60
9
10
80
70
3 4 5 6
8
7
2. Connect the PLC-5C’s ControlNet port to the ControlNet network. More
See Appendix B for information on installing and configuring the ControlNet driver. See the ControlNet 1.5 PLC-5 Programmable Controller User Manual, publication 1785-UM022B-EN-P, for further information.
Publication 1771-UM118C-EN-P - June 2003
Page 42
3-4
Hardware Setup
To go online to the PLC-5 processor via Data Highway Plus: 1. Define the DH+ station address of channel 1A by setting switch assembly SW-1 on the back of the processor. For the example application we used address 1. (Set switch 4 in the up position, and switches 1, 2, 3, 5, and 6 in the down position.) See the information on the side of the processor if you want to use another address.
TIP back view of processor Switch 4 in the “up” position side view down up
Switch 7 in the “up” position.
2. Set the baud rate to 57.6 Kbaud by placing switch 7 in the up position. More
Publication 1771-UM118C-EN-P - June 2003
See Appendix C for information on installing and configuring the Data Highway Plus driver.
Page 43
Hardware Setup
Installing the 1785-ENET Ethernet Module
3-5
To go online to the PLC-5 processor via Ethernet, you must install a 1785-ENET module in the 1771 I/O chassis. The Ethernet module is shipped with a 58-pin connector header that attaches to the PLC-5 processor. 1. Attach the connector header to the PLC-5 processor.
Status Indicator Transmit Indicator
Attach the interface module to this end.
Connector Header
Push the exposed pins into the holes on the PLC-5 processor.
IMPORTANT
External Transceiver Fuse
Channel 3A: 15-pin AUI Connector Port
Make sure you carefully align the pins and holes before you press the connector header into the processor. If you improperly align them, you will bend the connector header pins when you press them together. Do not use excessive force on the connector header when seating it into the processor. You do not need to key the connector.
2. Use the captive screws to connect the interface module to the processor.
Publication 1771-UM118C-EN-P - June 2003
Page 44
3-6
Hardware Setup
3. Insert the interface module/processor combination in the left-most slot of the 1771 I/O chassis.
!
Be sure power to the 1771 I/O chassis is OFF.
4. Assign an IP address to the interface module. 5. Configure channel 3A for Ethernet communication. You can configure the communication channel using BOOTP software or your PLC-5 programming software. See Appendix A for information on configuring the communication channel using RSLogix 5 programming software. TIP
More
Rockwell Automation offers a BOOTP tool on http://www.ab.com
For additional installation requirements and detailed directions, refer to the document that shipped with your 1785-ENET Ethernet module. .
Installing the 1771-SDN Scanner Module
Publication 1771-UM118C-EN-P - June 2003
Refer to the following figure as you install the 1771-SDN scanner module. For additional installation requirements and detailed directions, refer to publication 1771-IN014.
Page 45
Hardware Setup
3-7
Multi-position Switches - use to set the data rate, chassis addressing mode, and scanner node address for each channel. O N
1
2
O N
O N
3
4 5
6
7
8
1
2
3
4 5
6
7
8
1
2
= ON = 1 3
4 5
6
7
= OFF = 0
8
Module Status Indicator - indicates whether the device has power and is functioning properly.
MODULE STATUS
Reset Button - resets your module. RESET = ON = 1 = OFF = 0
CHANNEL 1 NETWORK STATUS NODE/ ERROR CODE
DeviceNet
Channel 1 Status Indicator - gives diagnostic indications for Channel 1.
Data Rate Switch Settings
Chassis Address Switch Settings
Node Address and Status Display displays numeric codes that indicate scanner node address, status and/or errors for Channel 1. DeviceNet Port 1 - use the color-coded header to wire your module. Channel 1 & 2 Node Address Switch Settings
CHANNEL 2 NETWORK STATUS NODE/ ERROR CODE
DeviceNet
Channel 2 Status Indicator - gives diagnostic indications for Channel 2. Node Address and Status Display displays numeric codes that indicate scanner node address, status and/or errors for Channel 2. DeviceNet Port 2 - use the color-coded header to wire your module. Left Side of Module
Allen-Bradley 1771-SDN
Publication 1771-UM118C-EN-P - June 2003
Page 46
3-8
Hardware Setup
Setting the Channel 1 Data Rate and Node Address Switches Channel 1 = ON = 1
O N
1
2
3
4 5
6
7
= OFF = 0
8
1. Locate the switchbank labeled “Channel 1” on the left side of the module. 2. Set the DeviceNet Data Rate for Channel 1 to 500K baud for the example application by setting switch 1 to an ON (“1”) position and switch 2 to an OFF (“0”) position. 3. Set the DeviceNet node address for Channel 1 to node 0 for the example application by setting switches 3 through 8 to the OFF (“0”) position. TIP
IMPORTANT
Refer to the table on the left side of the module to set the channel to a different node address. The address range is 0 to 63.
The node address setting must not conflict with the node address of any other device on the network. Note that channel 2 is not used for the example application.
Setting the I/O Chassis Addressing Node Switches Set the I/O chassis addressing mode to 1-slot for the example application.
Configuration = ON = 1
O N
1
2
3
4
5
6
7
8
= OFF = 0
1. Locate the switchbank labeled “Configuration” on the left side of the module. 2. Set switch 7 to an OFF (“0”) position and switch 8 to an ON (“1”) position. IMPORTANT
IMPORTANT
Publication 1771-UM118C-EN-P - June 2003
Make sure switches 1 through 6 in the Configuration switchbank always remain in the OFF (“0”) position.
The chassis addressing mode setting for the 1771 I/O chassis (page 3-2) must match the I/O chassis address setting of the scanner. If the switches do not match, data will be lost in the data transfer between the PLC-5 processor and the scanner module.
Page 47
Hardware Setup
3-9
Installing the Scanner Module in the Chassis
ATTENTION
!
Do not install the 1771-SDN Scanner Module with the chassis power supply on. Turn off the chassis power supply. You will disrupt backplane communication and may damage your module.
1. Select a slot for the 1771-SDN module in the chassis. You may use any slot except the leftmost slot, which is reserved for the PLC-5 processor. For the example application, we installed the scanner in slot 1. 2. Insert the 1771-SDN Scanner module into the slot.
Apply firm, even pressure to seat the module in the I/O chassis backplane connectors. More
For additional installation requirements and detailed directions, refer to the document that shipped with your 1771-SDN scanner module.
Publication 1771-UM118C-EN-P - June 2003
Page 48
3-10
Hardware Setup
Connecting the Scanner to the DeviceNet Network Do not wire your module with power applied to your network. You may short circuit your network or disrupt communication.
ATTENTION
!
To connect to the DeviceNet network: 1. Connect the DeviceNet drop line to the linear plug provided with the scanner. Match the wire insulation colors to the colors shown on the label. Module label shows wiring color scheme MODULE STATUS
RESET
CHANNEL 1 NETWORK STATUS
Front of Scanner Module
NODE/ ERROR CODE
RED
DeviceNet
WHITE CHANNEL 2 NETWORK STATUS NODE/ ERROR CODE
DeviceNet
BARE BLUE BLACK
2. Locate the DeviceNet port connector for Channel 1 on the front of the module. 3. Insert the linear plug into the five-pin header for Channel 1.
Channel 1 Port Connector
Dedicated DeviceNet Drop Line
Publication 1771-UM118C-EN-P - June 2003
Page 49
Hardware Setup
Installing the RediSTATION Operator Interface
3-11
Begin installing the RediSTATION by removing the six screws fastening the cover and setting the DIP switches inside as follows: Set this position
To this value:
1 2 3 4 5 6
1 1 1 0 0 0
On On On Off Off Off
(node address1)
7 8
0 1
Off On
(data rate2)
9 10
0 0
Off Off
The DeviceNet address is 000111 (node 7). The data rate is 10 (500k bps). The output fault rate is 0 (outputs turned off). The output flash rate is 0 (outputs tuned off). 1 2
More
See Chapter 2 of the RediSTATION Operator Interface User Manual, publication 2705-UM001A-EN-P, for complete information about setting the DIP switches to configure the node address, data rate, output flash rate, and output fault state. Refer to the following illustration as you connect the RediSTATION to the network. TIP
You do not need to disconnect incoming power from the DeviceNet network before connecting the RediSTATION.
The DeviceNet cable connects directly to the mini connector on the top of the RediSTATION enclosure or through the conduit opening (open style).
DeviceNet Cable mini connector open style
Publication 1771-UM118C-EN-P - June 2003
Page 50
3-12
Hardware Setup
Connect the photoeye to the network and configure the photoeye as follows:
Installing the Series 9000 Photoeye
• Node Address: 9 • Operating Mode: Light Operate (default) • Baud Rate: 500 kb Top View of Series 9000 Photoeye Programming Pushbutton Sensitivity Adjustment
Yellow - Output Green - Margin Red/Green - Status
More
For detailed directions, see the instructions that came with your photoeye. For a detailed example of node commissioning using RSNetWorx, refer to page 4-7 of this manual.
Publication 1771-UM118C-EN-P - June 2003
Page 51
Hardware Setup
How Your Example System Will Look
3-13
When you have finished installing all the devices, your example system should look similar to the one shown below:
PC running Windows NT or Windows 95/98, containing RSNetWorx for DeviceNet software
Series 9000 Photoelectric Sensor Node 9 1770-KFD Communication Module
PC Serial Port
1492-DN3TW Quad Tap Node 62 Node 0
PLC-5 Processor with 1771-SDN module in 1771 I/O chassis
IMPORTANT
What’s Next?
24V Node 7
RediSTATION Operator Interface
Make sure each end of your DeviceNet trunk cable is properly terminated with a resistor. Refer to the DeviceNet Cable Planning and Installation Manual, publication DN-6.7.2 for detailed information.
The next step is to configure the 1771-SDN module and perform I/O data mapping using RSNetWorx for DeviceNet software.
Publication 1771-UM118C-EN-P - June 2003
Page 52
3-14
Hardware Setup
Notes
Publication 1771-UM118C-EN-P - June 2003