The text of a manual · part 8 of 19
PLC-5 DeviceNet Scanner Module 1771-SDN User Manual: 4 - Configuring the DeviceNet Network, pages 62 to 70
Pages 62 to 70 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 62
4-10
Configuring the DeviceNet Network
You will be prompted to upload or download the configuration.
3. Click on Upload. After uploading the Module page will appear:
4. Make sure the 1771-SDN module’s Rack and Group numbers are correct. We used Rack 0, Group 1 for the example application. TIP
We used the Module Defaults for the other settings. For an explanation of the other settings (Import and Export, PLC Interface Address, etc.) click on the Help button.
5. Select the Scanlist tab.
Publication 1771-UM118C-EN-P - June 2003
Page 63
Configuring the DeviceNet Network
4-11
The Scanlist page will appear with the RediSTATION and the photoeye in the list of Available Devices.
6. For this example, uncheck the Automap on Add box, as shown above. You will do this mapping later. 7. Click on the double arrow button to add the photoeye and RediSTATION to the Scanlist. The photoeye and the RediSTATION will appear in the Scanlist in the right panel.
8. Click on OK.
Publication 1771-UM118C-EN-P - June 2003
Page 64
4-12
Configuring the DeviceNet Network
You will be prompted to download the changes to the device (i.e., the scanner).
9. Click on Yes.
IMPORTANT
The PLC-5 processor can be in either Program or Run mode to download the scanlist to the 1771-SDN module. However, if the PLC-5 is in Run mode, the scanner module must be in Idle mode. To put the scanner module into Idle mode, refer to Appendix E, Programming the PLC-5 Processor.
Verifying the Photoeye Configuration 1. Double-click on the 1771-SDN module icon and again select the Scanlist tab.
2. Double-click on the photoeye in the Scanlist.
Publication 1771-UM118C-EN-P - June 2003
Page 65
Configuring the DeviceNet Network
4-13
The Edit I/O Parameters window will appear for the photoeye.
The I/O parameters define the configuration for the device in terms of how much and what data the device will exchange with the 1771-SDN module. By default, the photoeye will send 1 byte when it receives a strobe request. Recall from chapter 3 that the output of the photoeye will be returned in bit 0 of that byte. 3. Verify that the photoeye parameters are set as shown above. Make any changes as necessary and click on OK. 4. Close the Edit I/O Parameters window for the photoeye.
Verifying the RediSTATION Configuration 1. Double-click on the RediSTATION in the Scanlist window. The Edit I/O Parameters window will appear for the RediSTATION.
2. Make sure that the Polled box is checked and that the Rx Size and Tx Size are each 1 byte.
Publication 1771-UM118C-EN-P - June 2003
Page 66
4-14
Configuring the DeviceNet Network
3. Click on OK if you made any changes and close the Edit I/O Parameters window for the RediSTATION. 4. Click on OK again. You will be prompted to download the changes to the 1771-SDN module.
5. Click on Yes to download the new configuration.
AutoMapping the Devices into the Scanlist Follow the procedure below to automatically map the photoeye and RediSTATION to the PLC-5 processor. TIP
If you want to know how to map the devices manually, click on the Help button at the bottom of the screen and select “Map device input data manually”. RSNetWorx for DeviceNet Help also presents detailed information on “Advanced Mapping”.
1. Double-click on the 1771-SDN module icon and select the Input tab. You will see the following window.
There are six available blocks. Block Xfer 62 is the default.
Publication 1771-UM118C-EN-P - June 2003
Page 67
Configuring the DeviceNet Network
4-15
2. Highlight the RediSTATION and the photoeye as shown above and click on the AutoMap button. The resulting device mapping will appear in the lower panel of the window:
File N9, Word 1 Photoeye inputs
Note: The source address is actually determined by the block transfer instruction in the ladder logic. See chapter 6.
RediSTATION inputs
In this example, the input byte from the RediSTATION will appear in the PLC-5 processor in file N9, word 1, as bits 0-7. Recall from chapter 2 that the START button is bit 1 and the STOP button is bit 0. Therefore, the addresses for the RediSTATION inputs are: START STOP
N9:1.1 N9:1.0
The input byte from the photoeye will appear in the PLC-5 processor in file N9, word 1, as bits 8-15. Recall from chapter 3 that the input bit is bit 0. Therefore, the address of the photoeye input bit is: N9:1.8 3. Note the addresses assigned to the START and STOP buttons and the photoeye in your system. You will enter these addresses in the example ladder program.
Publication 1771-UM118C-EN-P - June 2003
Page 68
4-16
Configuring the DeviceNet Network
4. Select the Output tab.
Highlight the RediSTATION as shown above and click on the AutoMap button. The mapping of the RediSTATION will appear in the lower panel.
File N10, Word 1
After mapping the RediSTATION output address will appear here.
Note: The destination address is actually determined by the block transfer instruction in the ladder logic. See chapter 6.
In this example, the output to the RediSTATION appears in the PLC-5 processor in file N10, word 1, as the lower byte (bits 0-7). Recall from chapter 3 that the indicator light is output bit 0. Therefore, the address for the RediSTATION’s indicator light is: N10:1.0 5. Note the address assigned to this output in your system. You will enter this address in the example ladder logic program.
Publication 1771-UM118C-EN-P - June 2003
Page 69
Configuring the DeviceNet Network
4-17
Download the Configuration to the Scanner 1. Click on the Scanlist tab and then on the Download to Scanner button. You will see this window:
2. Select Channel A (default). Note: Both channels will download. 3. Select All Records. 4. Click on the Download button to download the configuration to the 1771-SDN scanner module. 5. Click on the OK button to complete the DeviceNet scanner configuration. 6. Select the Save as option from the File menu, and save the DeviceNet configuration, using an appropriate name, e.g., 1771-SDN.dnt. 7. Close the RSNetWorx for DeviceNet software.
What’s Next?
The next chapter describes how to configure the DeviceNet network remotely from other networks: Ethernet, ControlNet, and Data Highway Plus.
Publication 1771-UM118C-EN-P - June 2003
Page 70
4-18
Configuring the DeviceNet Network
Notes
Publication 1771-UM118C-EN-P - June 2003