Introduction To Manufacturing: Automation and Robotics
Introduction To Manufacturing: Automation and Robotics
Introduction to Manufacturing
1-800-Lab-Volt
www.labvolt.com
38770-20
|3038770200000Q~
Introduction to
Manufacturing
Job Sheets – Student
38770-20
A
AUTOMATION AND ROBOTICS
FLEXIBLE MANUFACTURING SYSTEM
INTRODUCTION TO
MANUFACTURING
by
the Staff
of
Lab-Volt Ltd.
ISBN 978-2-89640-201-4
Printed in Canada
November 2012
Foreword
The Lab-Volt Flexible Manufacturing System (FMS), Model 5901-1 or Model 5901-3,
is a modular system that allows students to experience challenges commonly
encountered in facilities. The system comes with the necessary equipment to
familiarize students with basic manufacturing applications such as:
The difference between Model 5901-1 and Model 5901-3 is in their Programmable
Logic Controller. In Model 5901-1, the Allen-Bradley CompactLogix L32E (Model
5930-0) is used. With Model 5901-3, the Allen-Bradley CompactLogix L43 (Model
5930-A) is running the system. The L43 includes the functionalities of the L32E, but
with integrated motion instructions.
The sequence in which the curriculum must be completed is shown below, along with
the necessary equipment for each manual. The Introduction to Manufacturing
manual must be completed first. Human-Machine Interface, Machine Vision, and
Servo Control manuals can be completed independently, but are all prerequisites for
FMS Production Line. Finally, Storage Unit requires knowledge of all the other
subjects.
III
IV
Table of contents
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . VII
V
VI
Introduction
The Job Sheets in this manual are designed for students already familiar with
electrical wiring, basic PLC programming, and manufacturing processes. These
topics are thoroughly covered in the reference textbook provided with the Flexible
Manufacturing System. A careful reading of the reference textbook is highly
recommended before proceeding with the Job Sheets.
The difficulty and complexity increase with each Job Sheet. First, the student
familiarizes himself with the AC Drive and uses his wiring skills to build a small
setup. Next, the student is introduced to PLC programming through four programs
written in four different languages. These programs are used to control the
push-button station. Each subsequent Job Sheet adds another level of complexity,
allowing the student to acquire skills in advanced ladder diagram, structured text,
sequential function chart, and block diagram programming. The student will also
experience several situations encountered in manufacturing plants, including typical
sensors applications, DeviceNet network configuration, quality control issues, and
troubleshooting. For each Job Sheet, the required programs are provided on both the
Lab-Volt Flexible Manufacturing System Resource Kit (student) CD-ROM used the
files corresponding to the right controller (L32E or L43). The latter includes complete
solutions to the programming exercises proposed in the Job Sheets. Videos of some
of the setups presented in the Job Sheets of this manual are also available on the
CD-ROMs.
Note: If the configuration files on the CD-ROM don’t have the same
versions as the softwares, you can go to the following address:
http://www.labvolt.com/downloads/download/FMS_CDROMs_Files.pdf.
Safety Considerations
Make sure that you are wearing appropriate protective equipment before performing
any of the Job Sheets in this manual. You should complete the basic safety
procedures listed in Appendix F of this manual whenever you begin a Job Sheet.
Remember that you should never perform a job if you have any reason to think that
a manipulation could be dangerous to you or your teammates.
The Flexible Manufacturing System is provided with the following reference material:
Reference Textbook
VII
Introduction
• Lab-Volt material:
– PLC program files for each Job Sheet
– Videos of the Flexible Manufacturing System in action.
Appendices
VIII
1
FAMILIARIZATION WITH THE AC DRIVE
The conveyor provided with the Flexible Manufacturing System is equipped with a
three-phase motor. The applications studied with the FMS are complex and the
control of the conveyor speed is important. This is the function of the AC Drive.
The ac drive provided with the FMS receives single-phase power and converts it to
three-phase power of the proper voltage and frequency. Note that it is not all
industrial drives that accept single-phase ac power, some only accept three-phase
power.
The process through which the power is transformed by the drive can be divided in
three steps. First, ac power is converted to dc power by a converter. Then, the
current coming out of the converter is smoothed by a low-pass filter to obtain a
constant voltage dc current. This dc current passes through an inverter which
converts the dc current to a three-phase ac current of the desired frequency and
voltage. Figure 1-1 below shows a simplified version of a Pulse Width
Modulation (PWM) circuit such as the one in the drive provided with the FMS.
Converter
Figure 1-2. (a) Input current of the diode bridge (b) Output current of the diode bridge.
DC link
The DC link is a low-pass filter composed of an inductor and a capacitor. This filter
allows only the low frequencies to pass and it transforms the raw output of the
converter to an almost-smooth dc current as shown in Figure 1-3.
Inverter
The inverter shown in Figure 1-1 consists of six Insulated Gate Bipolar
Transistors (IGBT). A logic controller compares three reference sine waves to a
triangular wave. Figure 1-4 shows two reference sine waves compared to a
triangular wave. When the triangular wave intersects the sine wave, the IBGTs are
turned on or off to produce a signal such as the one presented in Figure 1-5 (a) and
Figure 1-5 (b). When combined together, these on-off sequences allow current to
build in the motor windings as if the current was a smooth sine wave as shown in
Figure 1-5 (c).
Figure 1-6 shows the amount of current built into the motor due to the on-off
sequences. The envelope formed by the hysteresis band has a sinusoidal form
similar to the reference sine wave used.
Varying the parameters of the PWM allows choice of the frequency and amplitude
of the three-phase current output of the drive, thus changing the speed of the motor.
OBJECTIVE
To configure the AC Drive and build a circuit to control the Flat Belt Conveyor.
PROCEDURE
CAUTION!
When using terminal screws for wiring, make sure to use the
appropriate wire gauge. For 24-V dc signal wire, use 24 gauge
wires. For details on the minimum requirements for power wires,
refer to the manufacturer documentation provided on the Lab-Volt
Flexible Manufacturing System Resource Kit CD-ROM.
G 2. Use Table 1-1 and Figure 1-7 to identify the components used in this Job
Sheet.
Wiring ducts (from the 5951 Plastic wiring ducts used to maintain a tidy
Accessories) setup.
G 3. Affix the Flat Belt Conveyor and the AC Drive onto the Work Surface. The
AC Drive will be used to control the 1/4-HP three-phase motor of the Flat
Belt Conveyor.
CAUTION!
The Flat Belt Conveyor is heavy. Do not carry the Flat Belt
Conveyor alone.
G 4. Position the Flat Belt Conveyor on the Work Surface using the location pins
as shown in Figure 1-8.
Figure 1-8. Location pin used to position the Flat Belt Conveyor on the Work Surface.
G 6. Once wiring is completed, the setup should look as shown in Figure 1-10.
G 7. The various parameters of the AC Drive can be viewed and edited using the
drive keypad. Before familiarizing yourself with the drive parameters, you
must reset all parameters to factory default. Follow the step-by-step
procedure below to do so.
Once the drive is turned on, press Escape to display the group
parameter.
Use the up and down arrows to select the "P" group (Basic
Program Group).
G 8. Record the value of the following parameters (factory default) set on the AC
Drive. Refer to the Parameter Cross Reference Table in Appendix B to
determine the parameter numbers.
G 10. Record (in the table below) the value of the output current and output
voltage parameters when the frequency potentiometer is set at 20.0, 40.0,
and 60.0 Hz.
Use the Start key to start the motor and turn the
Note: If the motor does not start to rotate, make sure a jumper
connects terminals 11 and 01 on the AC Drive. If it is not the
output frequency that is displayed on the drive display, select
parameter d0001. Refer to the AC Drive - Quick Start Guide for
more details.
20.0
40.0
60.0
G 16. Adjust the time it takes for the AC Drive to reach the frequency set by the
frequency potentiometer (Accel Time 1) to 20 seconds by setting the
acceleration time parameter to 20.
G 18. Familiarize yourself with the direction of rotation control by pressing the
Reverse key on the AC Drive keypad.
Direction of rotation:
G 19. Once familiar with the AC Drive, configure the drive according to Table 1-2.
PARAMETER VALUE
Troubleshooting exercise
Note: Prior to this exercise, the instructor must insert a fault into
the circuit of the Flexible Manufacturing System.
G 21. Try to use the setup and determine whether if everything is working
properly.
G 23. Use your troubleshooting skills to identify the malfunctioning module(s) and
isolate the problem(s).
G 25. Ask the instructor to check and approve the Troubleshooting Exercise.
Name: Date:
Instructor's approval:
From now on, all setups made with the FMS must include the Emergency Switch
Station, Model 5926. The Emergency Switch Station has a red mushroom push
button similar to the emergency buttons found on most industrial equipment. This
mushroom push button allows the equipment to be stopped in case of an emergency
if the Emergency Switch Station is used as a 24-V dc and 120-V ac power source
for your setup.
Do not connect the FMS without the Emergency Switch Station in your setup. Some
of the equipment provided with the FMS involves high voltages, moving parts, or
pneumatically activated components. In case of an incident, manipulation error, or
malfunction, the user must be able to stop the system immediately using the
Emergency Switch Station.
The Emergency Switch Station is equipped with two 120-V ac power outlets and
a 24-V dc output that can be used to provide current to the FMS equipment. To be
able to use the 120-V ac power outlets, the Emergency Switch Station must be
connected to a wall outlet meeting the electric specification of the station. The 24-V
dc power is provided by the Programmable Logic Controller.
Refer to the wiring diagram provided with each Job Sheet to properly connect the
Emergency Switch Station to the equipment. The electrical circuit controlling the
Emergency Switch Station is printed on the module and is reproduced in Figure 2-1.
To activate the Emergency Switch Station, an output of the PLC (output 15) must be
connected to the yellow terminal of the station. The programs provided with the FMS
are designed to send a momentary 24-V signal through this output to activate the
Once the relay has been energized for a short period of time by the PLC, there is no
need to apply a 24-V dc signal continuously to the yellow terminal since the contact
K-A is closed and the 24-V source keeps the relay energized. This type of circuit is
known as a self-maintained contact.
Pressing the mushroom push button stops the current flow through the coil of the
relay which opens all contacts. Thus, the power to the relay is cut (K-A is open), the
power to any 24-V dc device connected to the 24-V output terminal (orange terminal)
is cut (K-B is open), and the power to both 120-V ac power outlets is cut (K-C is
open).
To reset the Emergency Switch Station if the mushroom push button has been
pressed, the mushroom push button must be turned clockwise and a 24-V dc signal
must be sent to the yellow terminal to re-energize the relay coil.
Ladder logic was initially developed to make PLC programming easier for
electricians. Ladder logic uses electric symbols to represent the rules and conditions
in a program. A ladder diagram contains two uprights connected together by rungs.
Hence the name, ladder diagram. The uprights provide the power to the rungs; each
rung contains a series of electrical-symbol operators. When all conditions on a rung
are true, power can flow through that rung. The conditions on a rung are represented
by contacts such as normally open (NO or XIC) or normally closed contact (NC or
XIO). When all contacts on a rung are set so that current can flow, one (or more) coil
is turned on. Contacts are sometimes referred to as inputs and coils as outputs.
Note: Normally open and normally closed contacts are also called Examine If
Close (XIC) and Examine If Open (XIO) contacts respectively.
Let us look at an example to see how ladder logic works. For this, we will use the
circuit shown in Figure 2-2 (a) where a light is turned on when a normally-open push
button is pressed. The ladder logic version of this circuit is shown in Figure 2-2 (b).
In this example, the normally-open push button becomes a normally-open
Figure 2-3 shows how this circuit can be connected to a PLC. In this case, the push
button is connected to input 1 and the light is connected to output 3.
The PLC takes care of the logical operations between the input and the output. Thus,
the system is no longer limited by the physical wiring. Figure 2-4 below shows two
different ladder diagram programs that can be used to interface the push button with
the light. The first ladder diagram controls the light as if it was connected as in
Figure 2-2, the light is turned on when the push button is pressed. The second ladder
diagram controls the same push button and light circuit in a completely different way.
The normally-open contact in the ladder diagram has been replaced with a normally-
closed contact. Hence, the light is always on, unless the push button is pressed.
Figure 2-4. Two ladder diagrams for the push button and light circuit with different behaviors.
The ladder diagram instructions or symbols used in this Job Sheet are shown in
Table 2-1.
Execute a subroutine
JSR (Jump to Subroutine)
when enabled
Instruction/Name Description
Table 2-2. Sequential function block instructions used in this Job Sheet.
Structured text
Addressing
The terminals on the PLC input and output modules are identified by addresses.
Each address has the following format: Location:Slot:Type.Member.SubMember.Bit.
For example, in the push button and light example above, the address of the push
button connected to input 1 is: Local:1:I.Data.1. Table 2-3 below details the different
parts of an address.
Local:1:I.Data.1
Data if digital modules are used or a channel
Member
member if analog modules are used.
Local:1:I.Data.1
Local:1:I.Data.1
The bit number of the physical input or output
Bit
on the module.
To make programming easier and more understandable, alias tags can be created
to replace the addresses assigned to inputs or outputs. If a red push button is
connected to input Local:1:I.Data.1, an alias such as red_button can be created.
Thus, instead of constantly referring to Local:1:I.Data.1, the more descriptive tag
red_button can be used. Figure 2-7 shows how an alias tag can replace an input
address in a ladder diagram.
Tags can be edited and monitored using the options available in the Logic menu of
RSLogix 5000. Figure 2-8 shows how tags information are displayed in
RSLogix 5000.
An easy way to document how a PLC is connected to the real world devices is to
build a memory map of the PLC inputs and outputs. That is, to write down in a table
how I/O devices, physical inputs and outputs, PLC addresses, and alias tags are
related to each other in a given PLC controlled system. Intermediate variables can
also be written down in the memory map table since they can play an important role
in the understanding of the PLC program structure. Table 2-4 is an example of a
memory map, it is the memory map of the program used in this Job Sheet. All I/O
modules are digital modules and are located on the same chassis as the controller.
OBJECTIVE
To configure an Ethernet network for use with the PLC and to control the Indicator
Light/Push-Button Station with the PLC using four different programming languages.
PROCEDURE
G 2. Use Table 2-5 and Figure 2-9 to identify the new components used in this
Job Sheet.
System setup
Figure 2-10(a). PLC programming languages wiring diagram (Compact Logix L32E).
Figure 2-10(b). PLC programming languages wiring diagram (Compact Logix L43).
XIC or XIO
Ethernet configuration
G 8. In this Job Sheet, communications between the computer and the PLC use
the Ethernet/IP network protocol. Other types of network communication
protocols are introduced in the next Job Sheet. Before proceeding further,
make sure that your computer is not connected to another local area
network.
CAUTION!
Note: This section is intended for those who want to use the
wireless feature of the router provided with the Flexible
Manufacturing System. Jump to the "LAN configuration" section
if you prefer to use a standard LAN configuration or if your
computer is not equipped with a wireless Ethernet card.
G 11. Click on the Change advanced settings task to display the Wireless Network
Connection Properties window (Figure 2-14).
G 12. Double-click on the Internet Protocol (TCP/IP) item to open the Internet
Protocol (TCP/IP) Properties window.
G 13. Select Use the following IP address and enter 192.168.2.3 in the IP address
section and 255.255.255.0 in the Subnet mask section as shown in
Figure 2-15.
G 14. Once the IP address and subnet mask are entered, click OK to apply the
changes and close the Internet Protocol (TCP/IP) Properties window.
Note: The factory default setting of the wireless router does not
secure the wireless network against unauthorized access. Ask
your local network administrator if you want to secure your
wireless network.
G 17. Once the connection is established with the router, the connected icon
appears in the upper-right corner of the belkin54g network connection item
as in Figure 2-17.
LAN configuration
Note: This section is intended for those who do not want to use
the wireless feature of the router provided with the Flexible
Manufacturing System. If you have already
completed (successfully) the steps of the "Wireless network
configuration" section above, jump to the "RSLinx configuration"
section below.
G 19. Make sure the Ethernet connections on your setup are as in Figure 2-10.
G 20. From the computer Control Panel, open the Network Connections folder and
double-click on Local Area Connection to open the Local Area Connection
G 21. Click on Properties (Figure 2-19) to display the Local Area Connection
Properties window.
G 22. Double-click on the Internet Protocol (TCP/IP) item to open the Internet
Protocol (TCP/IP) Properties window.
G 23. Select Use the following IP address and enter 192.168.2.3 in the IP address
section and 255.255.255.0 in the Subnet mask section as shown in
Figure 2-20.
G 24. Once the IP address and subnet mask are entered, click OK to apply the
changes and close the Internet Protocol (TCP/IP) Properties window.
G 26. Click Close to close the Local Area Connection Status window.
G 28. Start RSLinx (Figure 2-21). This software links the devices of the Flexible
Manufacturing System to Microsoft Windows® applications.
G 29. From the Communications menu, select Configure Drivers to open the
Configure Drivers window (Figure 2-22).
G 30. From the Available Driver Types drop-down list, select Ethernet/IP
Driver (Figure 2-23).
G 31. Click on Add New to display the Add New RSLinx Driver window shown in
Figure 2-24.
G 32. This window allows you to choose a name for the Ethernet/IP driver. Keep
the default name AB_ETHIP-1 and click OK.
G 33. The Configure driver: AB_ETHIP-1 window appears. Select the local subnet
with IP address 192.168.2.3. Click OK to accept the changes.
G 34. The added driver appears in the Configured Drivers list (Figure 2-26). Click
Close to close the Configure Drivers window.
G 35. Make sure the PLC is connected to the previously configured router.
G 37. If it is not already active, open the RSWho window in RSLinx (Figure 2-27).
To do so, select RSWho from the Communications menu.
G 38. Click on the + symbol beside AB_ETHIP-1, Ethernet to expand the Network
tree and wait for the PLC to appear in the devices list (Figure 2-28). It can
take several seconds before RSLinx detects the new device.
Figure 2-28(a). Browsing the network devices using RSWho (Compact Logix L32E).
Figure 2-28(b). Browsing the network devices using RSWho (Compact Logix L43).
G 39. The factory default configuration for the PLC is shown in Figure 2-29.
Note: If the PLC does not appear in the devices list, check the
physical connections between the PLC, the router, and the
computer. Check if the indicator lights are active on the router. If
all connections are correct and the PLC is still not detected by
RSLinx, follow the "Changing the PLC IP address setting"
procedure in Appendix C to make sure the PLC IP address is
correct.
G 40. When completely expanded, the AB_ETHIP-1, Ethernet network tree looks
as in Figure 2-30.
G 41. From the File menu, select Exit to close the RSLinx window (the software
remains active). To open the RSLinx window again, click on the RSLinx
Communications Service icon located in the notification area of the
Windows taskbar.
G 43. Start RSLogix 5000 (Figure 2-31). This programming software offers four
different languages to develop programs for the PLC: ladder diagram,
structured text, sequential function chart, and block diagram. In this Job
Sheet, and all subsequent ones, the programs made with RSLogix 5000 are
used to control the various components of the Flexible Manufacturing
System.
G 44. Open the RSLogix 5000 project file named intro_manu_stu2.acd, familiarize
yourself with the interface of RSLogix 5000, and browse through the main
program (Figure 2-32). The MainProgram is divided into six sections:
Note: Select the file from the directory corresponding to the right
controller.
Program Tags, where the details about the tags used in the program are
available.
G 46. Click on the + symbol beside AB_ETHIP-1, Ethernet to expand the Network
tree and select the PLC from the list (00, CompactLogix Processor...) as
shown in Figure 2-34.
Figure 2-34(a). Select 00, CompactLogix Processor... from the Network tree (Compact Logix L32E).
Figure 2-34(b). Select 00, 1768-L43... from the Network tree (Compact Logix L43).
G 47. Click on the Download button to download the program to the PLC.
Note: Make sure the PLC key is set to the REM position.
CAUTION!
G 48. Once the program is running, the main routine jumps to a subroutine when
either input 4, 5, 6, or 7 is high. Each subroutine controls the Flexible
Manufacturing System in the same way but is written in a different
programming language. Use a banana-plug connection lead as a jumper to
activate input 4 (i.e. connect one end of the lead to a 24-V dc source and
connect the other end to input 4). This activates the ladder diagram
subroutine.
G 50. Make sure the setup is working properly. You should be able to:
• Turn on the green light by pressing the green (start) button on the
Indicator Light/Push-Button Station;
• Turn on the red light by pressing the red (stop) button (all the other
lights turn off);
• Turn off the green light by pressing the yellow (pause) button and turn
on the yellow flashing light;
Troubleshooting exercise
Note: Prior to this exercise, the instructor must insert a fault into
the circuit of the Flexible Manufacturing System.
G 53. Try to use the setup and determine whether everything is working properly.
G 55. Use your troubleshooting skills to identify the malfunctioning module(s) and
isolate the problem(s).
G 57. Ask the instructor to check and approve the Troubleshooting Exercise.
Programming exercise
In the PLC program used for this Job Sheet, the four subroutines used are written
in four different programming languages. If the yellow push button is pressed when
this program is running on the PLC, the system pauses and the yellow light flashes.
Modify each of the subroutines of this program so that the yellow light flashes at a
slower rate when the yellow push button is pressed.
G 58. Once this exercise is complete, ask the instructor to check and approve your
work.
Name: Date:
Instructor's approval:
Network communications
Ethernet
Ethernet protocol is the most used of the network communication protocols because
it is inexpensive, it supports internet/extranet connections, and it is usually
compatible with the computer network already present in the plant. Ethernet
connections can be used to link various devices to PLCs and to link PLCs to
computers. Figure 3-1 shows an example of a PLC connected to other devices using
Ethernet.
DeviceNet
The AC Drive and the Part Feeder provided with the Flexible Manufacturing System
have DeviceNet communication ports allowing connection to the PLC. Figure 3-2
shows a typical DeviceNet network configuration.
Serial
Some devices are equipped with an RS-232 port for serial communication. Even
though serial communication is giving way to Ethernet communication, it is still used
in industry.
The Programmable Logic Controller provided with the Flexible Manufacturing System
is equipped with an RS-232 port which can be used to configure the controller if a
problem occurs with the Ethernet connection. Refer to the Changing the PLC IP
address setting procedure in Appendix C for details.
OBJECTIVE
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.
PROCEDURE
G 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.
System setup
Figure 3-3(a). Network communications (part 1) wiring diagram (Compact Logix L32E).
Figure 3-3(b). Network communications (part 1) wiring diagram (Compact Logix L43).
G 7. Configure the AC Drive using the settings given Table 1-2 of Job Sheet 1.
G 8. Set the value of the AC Drive Start Source parameter (P036) to 2 (2-Wire).
G 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;
G 11. Ask the instructor to check and approve your work for this part of the Job
Sheet.
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.
Figure 3-5(a). Network communications (part 2) wiring diagram (Compact Logix L32E).
Figure 3-5(b). Network communications (part 2) wiring diagram (Compact Logix L43).
DeviceNet configuration
G 13. Make sure the AC Drive is connected to the PLC with a DeviceNet cable.
G 15. Configure the AC Drive using the settings given in Table 1-2 of Job Sheet 1.
G 16. Set the value of the AC Drive Start Source parameter (P036) to 5 (Comm
Port).
G 17. Start RSNetWorx for DeviceNet (Figure 3-6). This software is used to
configure and monitor devices connected to the DeviceNet network.
G 18. Click on the Online button to display the Browse for network
window (Figure 3-7).
G 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).
Figure 3-8(b). Select the Port2, DeviceNet item (Compact Logix L43).
G 20. The message window shown in Figure 3-9 appears. Click OK to continue.
G 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.
G 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.
G 23. Double-click on the scanner module icon to open the 1769-SDN Scanner
Module window (Figure 3-12).
G 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.
G 28. In the Available Devices list, select the AC Drive item (i.e. 01,
PowerFlex 40 1P 100...) and click on the left arrow button to move the
item from the Available Devices list to the Scanlist.
G 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.
G 30. Click on the Output tab and note to which addresses (memory bits) the AC
Drive outputs have been assigned (Figure 3-17).
G 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).
G 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.
G 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.
G 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;
G 35. Ask the instructor to check and approve your work for this part of the Job
Sheet.
Troubleshooting exercise
Note: Prior to this exercise, the instructor must insert a fault into
the circuit of the Flexible Manufacturing System.
G 36. Try to use the setup and determine whether everything is working properly.
G 38. Use your troubleshooting skills to identify the malfunctioning module(s) and
isolate the problem(s).
G 40. Ask the instructor to check and approve the Troubleshooting Exercise.
Programming exercise
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.
G 41. Once this exercise is complete, ask the instructor to check and approve your
work.
Name: Date:
Instructor's approval:
Sensors
Sensors are the eyes and ears of the PLC. Usually sensors are divided in two large
categories: contact and non-contact. Contact sensors require a physical contact with
the target to be triggered while non-contact sensors can sense the target without
touching it, as long as the target is within the sensing distance. Sensors used in the
Flexible Manufacturing System are non-contact sensors. The different types of
sensors used with the Flexible Manufacturing System are presented below.
Inductive sensor
Inductive sensors are designed to detect metal targets passing within their sensing
distance. The inductive sensors provided with the Flexible Manufacturing System are
identified as Inductive Proximity Switch, Model 6375-B. They are either mounted on
a flexible support or on another device such as the Pneumatic Sorting Device.
An inductive sensor generates a weak oscillating magnetic field at its end. When a
metallic target enters the magnetic field, eddy currents are induced at the surface of
the target, which results in a loss in the oscillation amplitude in the oscillator. In turn,
this loss in the oscillation amplitude causes a voltage drop in the sensor circuit. This
voltage drop triggers an "on" output signal.
Figure 4-2 shows the change in the oscillator response and the resulting output
voltage as a metallic target approaches the sensor.
Figure 4-2. Effect of the target on the oscillator response and output voltage of an inductive
sensor (courtesy of Allen-Bradley).
Polarized retroreflective sensors are optical sensors. They detect objects without
physical contact by sensing the change in the intensity of the light emitted by a
known light source. The polarized retroreflective sensor provided with the Flexible
Since the light emitted by the sensor may also be reflected back to the light detector
by shiny objects, the light emitted by the sensor is polarized by a polarizing filter
placed in front of the sensor LED. The polarizing filter only allows the light having an
electric field (thus a magnetic field) oscillating in a specific direction in the plane
perpendicular to the direction of travel.
Figure 4-3. Polarizing filter allowing only vertically polarized light to pass through.
If a polarizing filter allowing only horizontally polarized light to pass through is placed
in front of a vertically polarized light beam, what will get through? Nothing, since
vertically polarized light has no horizontal component. This is the secret behind the
polarized retroreflective sensors. A polarizing filter is placed in front of the light
source and another filter, perpendicular to the light source one, is placed in front of
the light detector (receiver). Thus, if the light from the light source is reflected by a
shiny object, nothing is detected by the detector. But, if the light bounces on the
special reflector, the light is depolarized and the receiver can detect a portion of the
reflected light. Figure 4-4 shows how a polarized retroreflective sensor works.
Figure 4-4. Target detection with a polarized retroreflective sensor (courtesy of Allen-Bradley).
Figure 4-5. Even shiny objects can be detected by a polarized retroreflective sensor.
To avoid confusing the background behind the target with the target itself, special
electronics suppress the background and allow objects to be detected even when
the background is reflective.
Capacitive sensor
Capacitive sensors use a change in capacitance to detect a target passing within the
sensing distance. The capacitive sensors provided with the Flexible Manufacturing
System are mounted on the Part Feeder hoppers.
A capacitive sensor generates a weak electrostatic field at its end. The sensor
oscillator stays inactive unless the target enters the electrostatic field. When a target
passes within sensing distance, an electric field is generated between the sensor
and the target and the oscillator starts to oscillate. When it does, the amplitude of the
oscillations in the circuit increases and so does the voltage in the oscillator. This
voltage change triggers an "on" output signal.
Sensors wiring
The sensors mounted on flexible supports can be wired either as normally open or
normally closed switches. Make sure to check the wiring diagram in each Job Sheet
to wire the sensors correctly.
Pneumatics
The pneumatic circuits used in the Flexible Manufacturing System Job Sheets
contain the following elements: a source of compressed air, a pressure control
device, tubing, an actuator, and a directional control valve to control the operation
of the actuator. The sections below describe how the pneumatic equipment provided
with the Flexible Manufacturing System works.
Flexible Manufacturing System components are equipped with push-in tube fittings
that allow one to quickly assemble and disassemble pneumatic circuits. To connect
tubing to a fitting, simply push the tubing in as far as it will go. To disconnect the
tubing, grasp the tubing near the fitting and push the tubing and collar of the fitting
in toward the component. Hold down the collar in one hand, and pull the tubing out
with the other hand.
The ends of the tubing will wear out with repeated use. Eventually, the tubing will not
seal properly in the fittings. When this happens, the worn tubing end must be
trimmed. Use a tube cutter to remove about 12 mm (or 1/2 in) of the worn tubing.
Pneumatic cylinders
Some of the applications presented in this Job Sheet and in the following Job Sheets
require that pneumatic cylinders extend and retract automatically. This is called
cylinder reciprocation. Cylinder reciprocation involves a change in direction of the
cylinder. Automatic reversal is achieved using the Directional Control Valve Station.
The shifts of the four directional valves of the station are triggered with signals from
the PLC. This allows extension or retraction of the cylinders according to the
information provided by the sensors and other devices.
Figure 4-8 below illustrates the flow of air through a simple pneumatic circuit, similar
to those used in the Flexible Manufacturing System. Compressed air from either an
air compressor or a pressurized air supply is sent to the Conditioning Unit which
controls the air pressure in the circuit. From the Conditioning Unit, air goes through
a Safety Valve which will purge the system if the electrical power is lost at the valve
solenoïd. From the Safety Valve, air passes through tubing and is directed to the
desired branch of the circuit by a control valve. This extends or retracts the cylinder
depending to which branch the air flow has been redirected.
Conditioning Unit
The main shutoff valve opens and closes the air supply line between the air
supply and the circuit. The air supply line is on when the button is in the upper
position and is off when the button is in the lower position. When the button is
in the off position, the pressure in the regulator is exhausted to the
atmosphere.
• Pressure Regulator
When the pressure increases at the outlet port, the pressure works against the
spring and will move the poppet up, blocking the way to the inlet pressure.
• Pressure Gauge
The gauge design most commonly used in pneumatics is the bourdon tube
design. The internal parts of a bourdon tube gauge are shown in Figure 4-11.
The pressure line is connected to the fitting on the bottom of the bourdon tube
assembly. Pressure is directed through the fitting and into the bourdon tube.
When the air pressure inside the bourdon tube increases, the bourdon tube
has a tendency to straighten, communicating its movement through the gear
mechanism to the pointer indicator.
• Filter
The pneumatic in-line filter used in your trainer is combined with the pressure
regulator. It removes dirt in two stages. In the first stage, air enters the inlet
port and flows through openings in the deflector plate. These openings cause
air to swirl around the inside of the filter in one direction. Centrifugal force
pushes dirt and liquids to the inside of the bowl wall, where gravity causes
them to travel to the bottom of the bowl.
The baffle creates a quiet zone in the filter bowl to permit dirt and moisture to
collect without being affected by the swirling air. The quiet zone prevents
contaminants from reentering the airstream. Dirt and liquids collected in the
bottom of the quiet zone are removed by opening the manual drain located at
the bottom of the bowl.
In the second stage, air flows through the filter element and then through the
outlet port. This filter element removes smaller particles not removed by
centrifugal force.
• Outlet port
The Conditioning Unit has one outlet port equipped with a quick connect fitting
to allow easy connection to the Directional Control Valve Station.
• Muffler
As shown in Figure 4-9, the muffler supplied with your Conditioning Unit is
located at the outlet port of the main shutoff valve. A quick fitting located
above the muffler allows the connection of any compressed air lines to be
exhausted to atmosphere through the muffler.
Directional control valves (DCVs) are used to stop and control the direction of flow
in an air power branch circuit. They are classified according to the number of
positions, the number of ways, and the number of valve ports. There are two-way,
three-way, and four-way types. The number of ways corresponds to the number of
air port connections in one position of the valve. The number of positions
corresponds to the number of possible flow path configurations. As an example, a
two-way, two-position directional control valve is shown in Figure 4-13.
The symbol for a directional control valve consists of a separate envelope for each
position. The number of ports, or ways, is shown by lines protruding from one of the
envelopes. The envelope with lines protruding or with ports identified by a letter or
a number shows the flow path through the valve in the normal, or at rest, position.
The Directional Control Valve Station provided with the Flexible Manufacturing
System consists of four directional control valves. Each valve is
a 5-port, 4-way, 2-position, directional control valve. The valve has five ports: one
pressure port, two actuator ports and two exhaust ports. The valve also has two
possible flow path configurations.
The valves of the Directional Control Valve Station are solenoid-operated valves;
they have distinct advantages over pilot and manually operated valves that make
them an efficient means of actuating directional valves. Solenoid operated valves
react almost instantly to the electrical switching signal, while the response time of
pilot- operated valves depends on pilot pressure, tubing size, and tubing length.
The solenoid operated valves of the Directional Control Valve Station are of the
solenoid-pilot operated type. In this type of valve, the electric current flowing through
the solenoid coil produces a magnetic field that moves a plunger. Moving the plunger
opens a flow path and allows the pilot pressure to activate the actuator.
As shown in Figure 4-15, the solenoids are equipped with an indicator light and a
manual override that allows opening of the flow path without energizing the solenoid.
The Pneumatic Safety Valve is used to depressurize (purge) the system when an
electrical power interruption occurs. The Pneumatic Safety Valve is located between
the Conditioning Unit and the Directional Control Valve Station.
OBJECTIVE
To familiarize yourself with the various sensors provided with the Flexible
Manufacturing System and measure their respective sensing ranges. To use the Flat
Belt Conveyor to drive a box from the Pneumatic Box Feeder to the sensor installed
in the middle of the conveyor.
PROCEDURE
G 4. Use Table 4-1 and Figure 4-17 to identify the components that will be added
to the setup used in this Job Sheet.
Pneumatic Box Feeder 5911 Pneumatic activated feeder used to drop a box on the
conveyor.
Directional Control Valve Station 5914 Used to activate the Pneumatic Box Feeder.
Background Suppression 6373-B Sensor using invisible light to detect the presence of
Photoelectric Switch objects.
Inductive Proximity Switch 6375-B Proximity switch sensitive to ferrous metals used to detect
boxes on the conveyor.
Safety Valve 6494 Used to purge the system using an electrical signal.
System setup
G 5. Install the Inductive Proximity Switch in the middle of the Flat Belt Conveyor
as shown in Figure 4-18.
G 7. Install the Pneumatic Box, the Directional Control Valve Station, the Safety
Valve, and the Conditioning Unit (Figure 4-19 and Figure 4-20). Refer to the
diagram presented in Figure 4-21 to make the pneumatic connections.
Figure 4-19. The Pneumatic Box Feeder installed on the Flat Belt Conveyor.
Figure 4-20. Side view of the Pneumatic Box Feeder and Conditioning Unit.
G 8. Whether using compressed air from a compressed air supply located in the
classroom or from an air compressor, make sure to adjust the pressure in
the circuit downstream from the valve of the Conditioning Unit
to 138 kPa (or 20 psi).
Figure 4-22(a). PLC-controlled conveyor and sensors wiring diagram (Compact Logix L32E).
Figure 4-22(b). PLC-controlled conveyor and sensors wiring diagram (Compact Logix L43).
G 10. Set the AC Drive parameters as in the second part of Job Sheet 3.
G 11. Once completed, the setup should look as shown in Figure 4-23.
G 12. Before downloading the program to the PLC, restore the RSNetWorx
configuration made in Job Sheet 3. To do so, start RSNetWorx for
DeviceNet (if not already started).
G 13. From the File menu, select Open and open the file named
Networx_1st_Config (Refer to Job Sheet 3 for details).
G 15. Open the RSLogix 5000 project file named intro_manu_stu4.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.
G 16. 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 (pressing the green push button resumes the
manufacturing process simulation);
• cut off the power in case of emergency with the Emergency Switch
Station;
• drop another box using the yellow push button on the Indicator
Light/Push-Button Station;
• observe that the red indicator light turns on when the AC Drive is ready
and turns off when the Flat Belt Conveyor is rotating;
• observe that the green indicator light turns on when the Flat Belt
Conveyor is rotating clockwise;
• observe that once the Flat Belt Conveyor is rotating, a box is dropped
by the Pneumatic Box Feeder;
• Reset the system using the red push button on the Indicator Light/Push-
Button Station;
• observe that the Flat Belt Conveyor stops if a box is detected by the
Inductive Proximity Switch.
G 17. Once you are sure the setup is working properly, press on the green button
to start the Flat Belt Conveyor.
G 18. Use the AC Drive potentiometer to adjust the AC Drive output frequency (i.e.
the conveyor speed) to 10 Hz.
G 19. Drop a box on the Flat Belt Conveyor using the yellow push button. The
conveyor should stop before the box reaches the sensor.
G 20. Measure the distance between the active face of the Inductive Proximity
Switch and the side of the box when the conveyor stops. This is the sensing
distance of the Inductive Proximity Switch for this setup. Write down the
sensing distance of the Inductive Proximity Switch below:
G 21. Replace the Inductive Proximity Switch with the Background Suppression
Photoelectric Switch. Use the same wiring as for the Inductive Proximity
Switch.
G 22. Proceed as for the Inductive Proximity Switch and write down the sensing
distance of the Background Suppression Photoelectric Switch below:
Troubleshooting exercise
Note: Prior to this exercise, the instructor must insert a fault into
the circuit of the Flexible Manufacturing System.
G 24. Try to use the setup and determine whether everything is working properly.
G 26. Use your troubleshooting skills to identify the malfunctioning module(s) and
isolate the problem(s).
G 28. Ask the instructor to check and approve the Troubleshooting Exercise.
Programming exercise
In this Job Sheet, a box is dropped on the conveyor by pressing the yellow button.
The conveyor stops when the sensor detects the box.
Modify the program so that the yellow light turns on if the operation described above
is performed five times in a row.
G 29. Once this exercise is complete, ask the instructor to check and approve your
work.
Name: Date:
Instructor's approval:
OBJECTIVE
PROCEDURE
G 4. Use Table 5-1 and Figure 5-1 to identify the components that will be added
to the setup used in this Job Sheet.
Sorting Trays (from the Accessories) 5951 Used to collect boxes sorted by the
Pneumatic Sorting Device.
System setup
G 5. Install the Inductive Proximity Switch halfway across the Flat Belt Conveyor
as shown in Figure 5-2.
G 6. Install a sorting tray at the end of the Flat Belt Conveyor as shown in
Figure 5-3.
Figure 5-3. Installation of the sorting tray at the end of the Flat Belt Conveyor.
G 8. Install two sorting trays, two Inductive Proximity Switches, and the
Pneumatic Sorting Device on the Flat Belt Conveyor as shown in Figure 5-5.
Make sure the two Inductive Proximity Switches are positioned at the end
of each sorting tray.
CAUTION!
G 11. Once completed, the setup should look as shown in Figure 5-8.
Note: Before running the program, always check that the sensors
are accurately positioned to detect the targets. An LED on the
sensor lights up when a target is within sensing distance.
G 12. Before downloading the program to the PLC, restore the RSNetWorx
configuration made in Job Sheet 3. To do so, start RSNetWorx for
DeviceNet (if not already started).
G 13. From the File menu, select Open and open the file named
Networx_1st_Config (Refer to Job Sheet 3 for details).
G 15. Open the RSLogix 5000 project file named intro_manu_stu5.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.
G 16. Make sure the setup is working properly. You should be able to:
• observe that the boxes are directed to Tray 1 by the Pneumatic Sorting
Device. If tray 1 is full, the boxes are directed to tray 2. If both tray 1 and
tray 2 are full, the boxes are directed to tray 3.
• Reset the system using the red push button on the Indicator Light/Push-
Button Station;
Troubleshooting exercise
Note: Prior to this exercise, the instructor must insert a fault into
the circuit of the Flexible Manufacturing System.
G 18. Try to use the setup and determine whether everything is working properly.
G 20. Use your troubleshooting skills to identify the malfunctioning module(s) and
isolate the problem(s).
G 22. Ask the instructor to check and approve the Troubleshooting Exercise.
Programming exercise
In this Job Sheet, boxes are successively dropped on the Flat Belt Conveyor. When
the boxes reach the end of the Flat Belt Conveyor they are sorted in three trays.
Modify the program so that the yellow light turns on if the Inductive Proximity Switch
installed halfway across the conveyer does not detect any box for more than five
seconds.
G 23. Once this exercise is complete, ask the instructor to check and approve your
work.
Name: Date:
Instructor's approval:
Part Feeder
The Part Feeder, Model 5912, is designed to handle the 1-inch diameter marbles
provided with the Flexible Manufacturing System. Figure 6-1 identifies the main
components of the part feeder.
Marbles are placed in the two hoppers at the top of the Part Feeder. At the bottom
of each hopper there is a disc with four holes in it. To drop a marble, a signal is sent
by the PLC to activate the small motor under one of the discs. When the disc rotates,
a marble is allowed to fall in the Part Feeder funnel. Figure 6-2 shows how it works.
Two small motors control the rotation of the discs. To drop only a marble at a time,
the motor must be activated for a short period to rotate the disc for a quarter turn
only. To stop the rotation of the disc at the right moment, four metal positioners are
installed on each disc. An inductive sensor located under each disc detects the
positioners when they pass over their tip. Each time a positioner passes over the
sensor, the sensor sends a signal to the PLC. This signal is used to stop the motor
at the right position. Figure 6-3 shows the positioners and the inductive sensors
installed on the Part Feeder.
Two capacitive sensors installed on the sides of the hoppers send a signal to the
PLC if the level of marbles drops below the sensor. As indicated in Table 6-1 below,
there is only one input for the two capacitive sensors. Thus, if the level of marbles
is low in one of the hoppers, a signal is sent to the PLC.
All sensors and motors are connected to a CompactBlock I/O module installed on
the Part Feeder. The PLC monitors the inputs to detect changes in the various
sensors. The hopper selection and the activation of the motor under the selected
hopper is made using the outputs on the CompactBlock I/O module. The detail of the
inputs and outputs of the module is given below.
CompactBlock I/O
The CompactBlock I/O module installed on the Part Feeder allows the placement of
I/O points close to sensors and other devices to reduce the amount of wiring
required. These devices are connected to the inputs and outputs of the I/O module.
The information is relayed to and from the PLC through a DeviceNet connection.
Figure 6-4 shows the back of the Part Feeder where the CompactBlock I/O module
is located and Table 6-1 resumes the function of the inputs and outputs.
CAUTION!
OBJECTIVE
To fill boxes with marbles using the Part Feeder. To include quality control features
in the process to ensure the boxes are properly filled with four marbles.
PROCEDURE
G 4. Use Table 6-2 and Figure 6-5 to identify the components that will be added
to the setup used in this Job Sheet.
System setup
Figure 6-6. Installation of the Polarized Retroreflective Photoelectric Switch under the Part Feeder.
CAUTION!
G 8. Fill the Part Feeder using marbles of two different colors, one color for each
hopper.
G 11. From the File menu, select Open and open the file named
Networx_1st_Config (Refer to Job Sheet 3 for details).
G 13. Make sure the Part Feeder is linked to the AC Drive with a DeviceNet cable
as shown in Figure 6-7.
G 14. Click on the Online button to display the Browse for network window.
G 15. 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.
G 17. RSNetWorx for DeviceNet scans each of the 64 node addresses to find
devices. The node address of the Part Feeder is factory set to 02.
G 18. Once the Part Feeder is detected, the Sink In/8 Source Out module is
displayed on the Graph tab (Figure 6-10). This module is the
CompactBlock I/O module installed at the back of the Part Feeder.
G 19. Since a new module has been added to the DeviceNet network, it must be
added to the scanlist too to be scanned by the scanner module. The steps
below detail how this can be done.
G 20. Double-click on the scanner module icon to open the 1769-SDN Scanner
Module window.
G 23. Once the Part Feeder is in the Scanlist, click on the Input tab (Figure 6-12).
In this tab you can see to which memory bits the Part Feeder inputs have
been assigned. In the example below, the input bits of the drive are located
at Local.3:I.DataXX.
G 24. Click on the Output tab and note to which addresses the output bits of the
AC Drive have been assigned.
G 25. 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.
G 26. From the File menu, select Save As to save your DeviceNet network
configuration on your computer hard drive. Save your configuration under
the name Networx_2nd_Config.
G 27. Open the RSLogix 5000 project file named intro_manu_stu6.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.
G 28. Make sure the setup is working properly. You should be able to:
• observe that each box is filled with 4 marbles. The quality control (i.e.
counting the marbles) is made by the Polarized Retroreflective
Photoelectric Switch;
• observe that the boxes are directed to Tray 1 by the Pneumatic Sorting
Device. If tray 1 is full, the boxes are directed to tray 2. If both tray 1 and
tray 2 are full, the boxes are directed to tray 3.
• observe that if no marble falls from the distributor, the program tries to
drop another one;
• observe that if the level of marbles is low in the Part Feeder, the yellow
indicator light is flashing on the Indicator Light/Push-Button Station.
Troubleshooting exercise
Note: Prior to this exercise, the instructor must insert a fault into
the circuit of the Flexible Manufacturing System.
G 30. Try to use the setup and determine whether everything is working properly.
G 32. Use your troubleshooting skills to identify the malfunctioning module(s) and
isolate the problem(s).
G 34. Ask the instructor to check and approve the Troubleshooting Exercise.
Programming exercise
In this Job Sheet, boxes are filled with four marbles (two marbles from the first
hopper and two marbles from the second hopper). Add a recipe selector subroutine
to the PLC program so that the user can choose between two recipes by switching
a bit on or off. For example, the first recipe can be two red marbles and two blue
marbles in each box and the second recipe can be three red marbles and one blue
marble in each box.
G 35. Once this exercise is complete, ask the instructor to check and approve your
work.
Name: Date:
Instructor's approval:
Fault switches
If the operation of the AC Drive is erratic, or if it does not operate, make sure the four
fault switches are set at the O position.
Default Parameters
To reset the Basic Program Group Parameters to defaults, perform the following
steps:
You may need to change the IP address setting on the PLC. This may be required
if you want the PLC to be part of an existing network having specific IP address
requirements. You may also need to change the PLC IP address setting if you are
unable to communicate with the PLC using an Ethernet connection. This can occur
if the PLC IP address has been accidently changed, or if you do not remember which
IP address has been set on the PLC.
If you are unable to communicate with the PLC using an Ethernet connection, you
will need a DB9/DB9 Female/Female serial cable to manually change the PLC IP
address setting.
If you are still able to communicate with the PLC using an Ethernet connection, skip
the Serial Connection section below and jump immediately to the Changing the IP
address setting section.
Serial Connection
G 5. From the Available Driver Types drop-down list, select RS-232 DF1 devices.
G 6. Click on Add New to display the Add New RSLinx Driver window.
G 9. From the Comm Port drop-down list, select the serial COM port associated
with your computer serial port.
G 10. From the Device drop-down list, select Logix 5550 / CompactLogix.
G 13. The added driver appears in the Configured Drivers list. Click Close to close
the Configure Drivers window.
G 14. Open the RSWho window in RSLinx, if it is not already active. To do so,
select RSWho from the Communications menu.
G 15. Click on the + symbol beside AB_DF1-1, DF1 to expand the Network
tree (Figure C-4). It can take several seconds before RSLinx detects the
devices.
G 16. Right click on the 01, 1769-L32E Ethernet Port, 1769-L32E Ethernet Port to
bring up the contextual menu.
G 19. Change the PLC IP address setting as desired. The factory default IP
address and the subnet mask are:
IP Address: 192.168.2.4
Subnet mask: 255.255.255.0
Note: The IP address for the PLC is different from the IP address
set for the computer Ethernet card, which is 192.168.2.3. If you
change the PLC IP address setting, make sure to change the
computer Ethernet card address accordingly. If you experience
problems with the Ethernet network configuration, ask your local
network administrator for help.
G 20. Once the IP address and subnet mask are modified, click OK.
G 21. The ControlLogix Gateway Tool window appears. Click Yes to confirm the
PLC IP address change (Figure C-6).
The AC Drive node address can be changed using the dip switches installed under
the drive protective cover as shown in Figure E-1.
It is not necessary to unscrew the drive protective cover to change the dip switch
settings. Make sure to set the dip switches in the right order. The switches are
identified by numbers, Table E-1 shows the functions of the eight dip switches.
Dip switches
Description Factory Default value
number
To change the node address of the AC Drive you must change the position of the
first six dip switches (i.e. dip switches 1 to 6) so that they represent the new node
address number (between 0 and 63). Make sure to choose a node address that is
not already used by another DeviceNet device.
To select the node address using the dip switches, they must be set so that they
represent the node address number in the binary numeral system. The dip switches
can be set either to on (1) or off (0). Setting the six dip switches to either 1 or 0 gives
a six digit binary number (for example: 101101).
Binary numbers are written using a base-2 number system. That is, each digit in the
number can take only two different values: 0 or 1. By comparison, the decimal
numerical system used in every day life is a base-10 number system, each digit in
a number can take 10 different values (0, 1, 2, 3, 4, 5, 6, 7, 8, 9).
To represent a number greater than or equal to 2, more than one digit must be used.
The second digit in a binary number has a decimal value of 2. Thus, 2 is written 10
using binary number (i.e. 1 x 2 + 0 x 1) and 3 is written 11 (i.e. 1 x 2 + 1 x 1).
To calculate the decimal value of a digit in a binary number, one can use the position
of the digit as the power of 2 (the least significant bit being at position 0). For
example, the fourth bit (bit 3) of a binary number has a value of 23 = 8. Table E-2
gives the value of the first six digits of a binary number.
To represent a number in the binary numerical system, the digits must be set to 0
or 1 so that the sum of the values of the digits set to 1 equals the number to be
represented. For example, the base-10 number 21 is written 10101 in the binary
numerical system, that is:
(1 x 16) + (0 x 8) + (1 x 4) + (0 x 2) + (1 x 1) = 16 + 0 + 4 + 0 + 1 = 21
Because only six dip switches are available to represent the node address, the
address value must be set between 0 (i.e. all switches off) and 63 (i.e. all
switches on).
Dip switches 7 and 8 are used to set the data rate used on the DeviceNet network.
It is factory set to 11 (both switches 7 and 8 set to on) which is the Autobaud mode.
In this mode the network data rate is automatically detected.
Note: To learn more on the AC Drive node address and baud rate setting,
refer to the manufacturer's documentation available on the Lab-Volt
Flexible Manufacturing System Resource Kit CD-ROM.
The CompactBlock I/O module is installed at the back of the Part Feeder as shown
in Figure E-2.
Figure E-2. CompactBlock I/O module installed at the back of the Part Feeder.
The CompactBlock I/O module node address can be changed using two rotary
node-address switches. To access these switches, open the plastic cover using a
small flat screwdriver as shown in Figure E-3.
Figure E-3. Opening the plastic cover protecting the rotary node address switches.
Turn the two rotary switches to set the desired node address. For example, to set the
node address to 53, set the MSB rotary switch to 5 and the LSB rotary switch to 3
as shown in Figure E-4.
Figure E-4. Changing the node address of the CompactBlock I/O module.
This appendix lists basic safety procedures. You should complete these safety
procedures whenever you begin a Job Sheet.
G You are not wearing anything that might get caught such as a tie, jewelry, or
loose clothes.
Table G-1 lists common problems that can be encountered when using the FMS and
helps you to troubleshoot your setup.
The PLC outputs are turned Check that the VDC1 and
VDC connection
on but no power is detected on VDC2 outputs are connected
problem.
the output terminals. correctly.
Changes cannot be
RSNetworx for DeviceNet
downloaded to the PLC if the
cannot download changes to The PLC is not in remote
PLC key is set to RUN, make
the PLC DeviceNet scanner mode.
sure the PLC key is set to REM
module.
or PROG.
Table G-1. Troubleshooting tips (cont’d).
Your comments and suggestions help us produce better manuals and develop
innovative systems to meet the needs of our users. Please contact us by e-mail at: