job sheet 3 network communications - lab-volt · in the first part of the current job sheet, the ac...

22
© Festo Didactic 38770-20 51 To control the Flat Belt Conveyor using the AC Drive, the Indicator Light/Push- Button Station, and the Emergency Switch Station. To configure the system for DeviceNet communication and to control the AC Drive through a DeviceNet link. 1. Perform the basic safety procedures listed in Appendix F of this manual. 2. In this Job Sheet, the setups used in the two previous Job Sheets are put together to build a bigger setup and to introduce DeviceNet networking. a Refer to the Equipment Utilization Chart in Appendix A of the manual to obtain the complete list of equipment required to complete this Job Sheet. Part 1 – Standard communication with the AC Drive System setup 3. Connect the equipment as shown in the wiring diagram presented in Figure 3-3. Network Communications Job Sheet 3 OBJECTIVE PROCEDURE

Upload: trinhkhanh

Post on 04-Apr-2019

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

© Festo Didactic 38770-20 51

To control the Flat Belt Conveyor using the AC Drive, the Indicator Light/Push-Button Station, and the Emergency Switch Station. To configure the system for DeviceNet communication and to control the AC Drive through a DeviceNet link.

1. Perform the basic safety procedures listed in Appendix F of this manual.

2. In this Job Sheet, the setups used in the two previous Job Sheets are put together to build a bigger setup and to introduce DeviceNet networking.

a Refer to the Equipment Utilization Chart in Appendix A of the manual to obtain the complete list of equipment required to complete this Job Sheet.

Part 1 – Standard communication with the AC Drive

System setup

3. Connect the equipment as shown in the wiring diagram presented in Figure 3-3.

Network Communications

Job Sheet 3

OBJECTIVE

PROCEDURE

Page 2: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

52 © Festo Didactic 38770-20

Figure 3-3(a). Network communications (part 1) wiring diagram (Compact Logix L32E).

Page 3: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 53

Figure 3-3(b). Network communications (part 1) wiring diagram (Compact Logix L43).

4. Once completed, the setup should look as shown in Figure 3-4.

Page 4: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

54 © Festo Didactic 38770-20

Figure 3-4. Network communications setup.

5. Follow the Ethernet configuration procedure given in Job Sheet 2 to configure the system for Ethernet communication.

6. Make sure the AC Drive is powered and turned on.

7. Configure the AC Drive using the settings given Table 1-2 of Job Sheet 1.

8. Set the value of the AC Drive Start Source parameter (P036) to 2 (2-Wire).

a Make sure that no DeviceNet cable is connected on the AC Drive and that there is no jumper installed between the AC Drive I/O terminals 01 and 11.

9. Open the RSLogix 5000 project file named intro_manu_stu3a.acd and download the program to the PLC. Refer to the Running the programs procedure given in Job Sheet 2 for details on downloading programs.

a Make sure RSLinx is running on your computer before trying to download the program to the PLC.

Page 5: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 55

10. Make sure the setup is working properly. You should be able to:

Start the Flat Belt Conveyor (clockwise rotation) using the green push

button on the Indicator Light/Push-Button Station;

Stop the Flat Belt Conveyor using the red push button on the Indicator

Light/Push-Button Station;

Start the Flat Belt Conveyor (counterclockwise rotation) using the yellow

push button on the Indicator Light/Push-Button Station;

Observe that the red indicator light turns on when the system is powered;

Observe that the green indicator light turns on when the Flat Belt

Conveyor is rotating clockwise and that the yellow indicator light turns on

when the Flat Belt Conveyor is rotating counterclockwise;

Shut the process down by pressing the emergency button on the

Emergency Switch Station.

11. Ask the instructor to check and approve your work for this part of the Job Sheet.

Part 2 – DeviceNet communication with the AC Drive

In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires (or leads). In this second part, the DeviceNet connectivity feature of the AC Drive is used to connect the drive to the PLC.

12. Connect the equipment as shown in the wiring diagram presented in Figure 3-5. Once the setup is complete, the system must be configured for DeviceNet communication. Follow the procedure below to configure the Flexible Manufacturing System for DeviceNet.

Page 6: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

56 © Festo Didactic 38770-20

Figure 3-5(a). Network communications (part 2) wiring diagram (Compact Logix L32E).

Page 7: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 57

Figure 3-5(b). Network communications (part 2) wiring diagram (Compact Logix L43).

DeviceNet configuration

13. Make sure the AC Drive is connected to the PLC with a DeviceNet cable.

14. Make sure the AC Drive is powered and turned on.

15. Configure the AC Drive using the settings given in Table 1-2 of Job Sheet 1.

Page 8: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

58 © Festo Didactic 38770-20

16. Set the value of the AC Drive Start Source parameter (P036) to 5 (Comm Port).

a Make sure that the DeviceNet cable is connected on the AC Drive and that there is a jumper installed between AC Drive I/O terminals 01 and 11.

17. Start RSNetWorx for DeviceNet (Figure 3-6). This software is used to configure and monitor devices connected to the DeviceNet network.

Figure 3-6. RSNetWorx for DeviceNet.

Page 9: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 59

18. Click on the Online button to display the Browse for network window (Figure 3-7).

Figure 3-7. Browse for network window.

Page 10: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

60 © Festo Didactic 38770-20

19. Click on the + symbol beside AB_ETHIP-1, Ethernet to expand the Network tree until the Port2, DeviceNet item is reached. Select this item and click OK (Figure 3-8).

Figure 3-8(a). Select the Port2, DeviceNet item (Compact Logix L32E).

Page 11: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 61

Figure 3-8(b). Select the Port2, DeviceNet item (Compact Logix L43).

20. The message window shown in Figure 3-9 appears. Click OK to continue.

Figure 3-9. RSNetWorx for DeviceNet synchronization message window.

Page 12: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

62 © Festo Didactic 38770-20

21. RSNetWorx for DeviceNet scans each of the 64 node addresses to find devices (Figure 3-10). The PLC DeviceNet scanner card is located at node address 00 and the AC Drive at node address 01.

a The node addresses are numbered from 00 to 63.

Figure 3-10. Browsing network window.

a If the browsing network sequence is very fast, there may be a problem with your DeviceNet network. Make sure there is 24 V dc power on your setup. Refer to the troubleshooting section for details.

a If you experience problems communicating with the AC Drive through your DeviceNet network, check if the node address and the data rate switches of the AC Drive DeviceNet Adapter are set to the factory default value of 11000001 (node address: 01 / data rate: Autobaud). Refer to Appendix E for details.

Page 13: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 63

22. Once the DeviceNet network is scanned, the RSNetWorx for DeviceNet window looks as in Figure 3-11. Both the scanner module and the AC Drive (PowerFlex 40) are displayed on the Graph tab.

Figure 3-11. RSNetWorx for DeviceNet window.

Page 14: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

64 © Festo Didactic 38770-20

23. Double-click on the scanner module icon to open the 1769-SDN Scanner Module window (Figure 3-12).

Figure 3-12. 1769-SDN Scanner Module window.

24. Click on the Module tab. The Scanner Configuration Applet window (Figure 3-13) appears.

Figure 3-13. Scanner Configuration Applet window.

Page 15: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 65

25. Click on Upload.

26. On the Module tab, make sure CompactLogix is selected in the Platform drop-down list and that the Slot is set to 3 as in Figure 3-14.

Figure 3-14. Module tab of the 1769-SDN Scanner Module window.

Page 16: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

66 © Festo Didactic 38770-20

27. Click on the Scanlist tab (Figure 3-15).

Figure 3-15. Scanlist tab of the 1769-SDN Scanner Module window.

28. In the Available Devices list, select the AC Drive item (i.e. 01, PowerFlex 40

1P 100...) and click on the right arrow button to move the item from the

Available Devices list to the Scanlist.

a Up to 63 devices can be connected to the Flexible Manufacturing System DeviceNet network. Each device must be in the Scanlist to be scanned by the scanner module.

Page 17: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 67

29. Once the AC Drive is in the Scanlist, click on the Input tab (Figure 3-16). In this tab you can see to which memory bits the AC Drive inputs have been assigned. In the example below, the input bits of the drive are located at Local.3:I.DataXX. Refer to the 22-COMM-D manual for details.

Figure 3-16. Input tab of the 1769-SDN Scanner Module window.

Page 18: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

68 © Festo Didactic 38770-20

30. Click on the Output tab and note to which addresses (memory bits) the AC Drive outputs have been assigned (Figure 3-17).

Figure 3-17. Output tab of the 1769-SDN Scanner Module window.

Page 19: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 69

31. Click OK to close the 1769-SDN Scanner Module window. The Scanner Configuration Applet asks if you want to download the changes to the device. Click on Yes to download the changes (Figure 3-18).

a To be able to download the changes, the PLC key must be set to REM.

Figure 3-18. Scanner Configuration Applet window.

32. From the File menu, select Save As to save the DeviceNet network configuration on your computer hard drive. Save your configuration under the name Networx_1st_Config (Figure 3-19). This file can be used to restore the DeviceNet configuration later.

Figure 3-19. Save As window.

Running the program

33. Open the RSLogix 5000 project file named intro_manu_stu3b.acd and download the program to the PLC. Refer to the Running the programs procedure given in Job Sheet 2 for details on downloading programs.

Page 20: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

70 © Festo Didactic 38770-20

a Make sure RSLinx and RSNetWorx for DeviceNet are running on your computer before trying to download the program to the PLC.

34. Make sure the setup is working properly. You should be able to:

Start the Flat Belt Conveyor (clockwise rotation) using the green push

button on the Indicator Light/Push-Button Station;

Stop the Flat Belt Conveyor using the red push button on the Indicator

Light/Push-Button Station;

Start the Flat Belt Conveyor (counterclockwise rotation) using the yellow

push button on the Indicator Light/Push-Button Station;

Observe that the red indicator light turns on when the system is powered;

Observe that the green indicator light turns on when the Flat Belt

Conveyor is rotating clockwise and that the yellow indicator light turns on

when the Flat Belt Conveyor is rotating counterclockwise;

Reset the system using the red push button on the Indicator

Light/Push-Button Station;

Shut the process down by pressing the emergency button on the

Emergency Switch Station.

35. Ask the instructor to check and approve your work for this part of the Job Sheet.

Troubleshooting exercise

a Prior to this exercise, the instructor must insert a fault into the circuit of the Flexible Manufacturing System.

36. Try to use the setup and determine whether everything is working properly.

37. If the system is not working properly, describe the symptom(s).

Page 21: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

© Festo Didactic 38770-20 71

38. Use your troubleshooting skills to identify the malfunctioning module(s) and isolate the problem(s).

39. Explain in detail your approach to isolating the problem.

40. Ask the instructor to check and approve the Troubleshooting Exercise.

Page 22: Job Sheet 3 Network Communications - Lab-Volt · In the first part of the current Job Sheet, the AC Drive has been connected to the PLC using standard wires ... the PLC key must be

Job Sheet 3 – Network Communications

72 © Festo Didactic 38770-20

Programming exercise

a Make sure there is no fault from the troubleshooting exercise left on the setup.

In the PLC program used for the second part of this Job Sheet, the Indicator Light/Push-Button Station is used to control the Flat Belt Conveyor. The lights of the Indicator Light/Push-Button Station turn on when the push buttons are pressed.

Modify the PLC program so that the green and yellow lights turn on when they receive a feedback signal from the AC Drive.

This can be done when controlling the AC Drive through a DeviceNet connection. Use the status of the AC Drive outputs 1 and 3 to turn on the green light when the Flat Belt Conveyor is rotating in the clockwise direction and to turn the yellow light when the Flat Belt Conveyor is rotating in the counterclockwise direction. The addresses to access these output bits with the PLC are Local.3:I.Data[0].1 Local.3:I.Data[0].1 respectively. If required, refer to the AC Drive – Quick Start Guide in Appendix B of this manual.

41. Once this exercise is complete, ask the instructor to check and approve your work.

Name: ______________________________ Date: ___________________

Instructor's approval: ______________________________________________