Professional Documents
Culture Documents
02 Manual MFG Automation Complete
02 Manual MFG Automation Complete
02 Manual MFG Automation Complete
PRACTICAL HANDOUTS
Degree/Syndicate:
Certificate:
1. This assignment is submitted in accordance with the University’s Academic
Regulations. I/we also understand the serious nature of academic dishonesty (such as
plagiarism) and the penalties attached to being found guilty of committing such
offence.
2. No part of this assignment has been copied from any other source without
acknowledgement of the source.
3. No part of this assignment has been written by any other person, except to the extent
of collaboration and/or group work as defined in the assignment guidelines.
Signature(s) of students : Owner of Manual
Group Member
10
11
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
12
13
14
15
16
Note: Attach lab reports as per the sequence you write on this page.
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Safety in Lab
The Manufacturing Automation Lab deals with CNC machines . Safety in the lab is very
important, for your health and the health of equipment installed in the lab. Be careful when
working with spinning motors, and parts that can become hot. Most of our equipment is
rugged, but some delicate instruments are required for our experiments. Even rugged
instruments can be damaged when mishandled or driven beyond ratings. Please follow the
safety precautions to avoid injury, discomfort, lost lab time, and expensive repairs.
Lab Evaluation
Lab evaluation will be done as per the Scheme define by the instructor .( will display in the
1st lecture )
Correspondence
Primary: Yahoo Group
Secondary: Through CRs/ Official WhatsApp Group
Naming assignments, tasks, lab reports etc
o fullname_syn_assignX
o fullname_syn_taskX
o fullname_syn_labreportX
X is the number of the task, assignment, lab report etc.
Not writing full official name (as on CMS) on any Lab Report or other submission
will get a straight deduction of 20% of that evaluation.
Attendance
Must be present in the start of class
Attendance will be called latest by 10 mins after start of class
Must have to perform lab tasks
Plagiarism
Plagiarism is a serious academic offence but more often than not, it results from
misunderstanding rather than a deliberate intention to cheat. Many students simply do not
understand what plagiarism is. Although confusion is understandable, especially at the
beginning of your study, ignorance will not be accepted as an excuse or as a defense against
an accusation of plagiarism. You must therefore make sure that you understand what
plagiarism is and how you can avoid it.
Plagiarism is the act of taking another person's writing, conversation, song, or even idea and
passing it off as your own. This includes information from web pages, books, songs,
television shows, email messages, interviews, articles, artworks or any other medium.
Whenever you paraphrase, summarize, or take words, phrases, or sentences from another
person's work, it is necessary to indicate the source of the information within your paper using
an internal citation. It is not enough to just list the source in a bibliography at the end of your
paper. Failing to properly quote, cite or acknowledge someone else's words or ideas with an
internal citation is plagiarism.
Self-plagiarism (also known as "recycling fraud“) is the reuse of significant, identical, or
nearly identical portions of one's own work without acknowledging that one is doing so or
without citing the original work. Articles of this nature are often referred to as duplicate
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
or multiple publication. In addition to the ethical issue, this can be illegal if copyright of the
prior work has been transferred to another entity.
EXPERIMENT
INTRODUCTION TO
INDUSTRIAL AUTOMATION LAB
1 (CNC
Machines)
Objectives:
Familiarize students with CNC machines
Familiarize students with some basic operations and comparisons between machines
Familiarize students with the Lab Safety Standards
Search for a 6 axis CNC machine. Paste its picture here and explain its working
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
What safety precautions should be kept in mind while performing operation on CNC
Machines
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
FAMILIARIZATION & OPERATION
2 Objective: -
OF CONTROL PANEL OFCNC LATHE
Familiarization with the control panel of CNC lathe and learning how to operate the machine
Students will operate the machine under supervision to get the feel of operating a CNC machine
Functions of control panel of CNC Lathewere introduced andwere performedto get familiar with the
control panel and its operation
Familiarization of soft and hard keys
Manual Data Input (MDI)
Emergency Stop
Chuck clamping and unclamping
Axis Feed Hold
Hand Wheel
MPG, Jog, Inc Jog
Machine reference position return
Machine coordinates
Tool Function and Tool Selection
Types of tool
Write down the hard keys and the function performed by them in the space below which you have seen
a.
b.
c.
d.
MDI:-
Jog: -
- Edit: -
Auto: -
Block delete: -
Single Block: -
Spindle Key:
- Coolant key:
-
Home: -
Tool Turret:-
Cycle start: -
Cycle Stop: -
Program Stop: -
EXPERIMENT
3
LEARNING LINEAR AND
CIRCULAR INTERPOLATION
Objective:
Learning G- Codes and M- Codes and implementing them on CNC Simulator
Function Address
Sequence Number N
Preparatory Function G
Coordinate word X, Y, Z
Parameters for circular interpolation I, J,
K Feed Function F
Spindle Function S
Tool Function T
Miscellaneous Function M
For example, we can write as follows
Lab Task
Write a Simple Program to write the initials of your name. ( Last Page )
G- Codes
Code Application
G00 positioning (rapid traverse) (M,T)
G01 linear interpolation (feed) (M,T)
G02 circular Interpolation CW (M,T)
G03 circular Interpolation CCW (M,T)
G04 dwell, a programmed time delay (M,T)
G05 unassigned
G06 parabolic interpretation (M,T)
G07 cylindrical diameter values (T)
G08 programmed acceleration (M,T)
G09 exact stop check (M,T)
G10 - G12 unassigned or lock and unlock devices
G13 computing line and circle intersect (M,T)
G14 - G14.1 used for scaling (M,T)
G15 - G16 polar coordinate programming (M)
G15 - G16.1 cylindrical interpolation - c axis (T)
G16.2 end face milling - c axis (T)
G17 XY plane selection (M,T)
G18 ZX plane selection (M,T)
G19 YZ plane selection (M,T)
G20 input in inch
G21 input in mm
G22 - G23 machine axis off limit area (M,T)
G22.1 - G23.1 cutting tool off limit area (M,T)
G24 single-pass rough facing cycle (T)
G28 return to reference point (M,T)
G29 return from reference point (M,T)
G30 return to alternate home position (M,T)
G31.1 - G31.4 external skip function (M,T)
G33 thread cutting, constant lead (T)
G34 thread cutting, increasing lead (T)
G35 thread cutting, decreasing lead (T)
G36 automatic accel. and deccel. (M,T)
G37 used for tool gaging (M,T)
G38 measure dia. and center of hole (M)
G40 cutter compensation cancel (M)
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
M03 Spindle CW
M07 Coolant #2 ON
M08 Coolant #1 ON
M10 Clamp
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
M11 Unclamp
M12 Unassigned
G-Codes
M-Codes
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Lab Task :
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
4
LEARNING TURNING
PROCESS ON CNC
SIMULATOR (Using Turning
Tool)
Objective:
To implement G and M Codes on the turning toolbox of CNC Simulator.
Theory:-
A CNC programme consists of blocks, words and addresses.
Block: - A command given to the control box is known as block.
Word: - A block is composed of one or more words. A word is composed of an
identification letter and a series of numerals. E.g. a command for feed rate of 200mm/
min is F200.
Address: - An identification letter at the beginning of each word is called as word.
The meaning of the address is in accordance with EIA (Electronics Industries
Association). Function Address
Sequence Number N
Preparatory Function G
Coordinate word X, Y, Z
Parameters for circular interpolation I, J,
K Feed Function F
Spindle Function S
Tool Function T
Miscellaneous Function M
For example, we can write as follows
N05 M03 G03 X10.5 Y20.5 Z-3.0 R10 F200 S1000
Lab Task:
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
5
FAMILIARIZATION & OPERATION
OF CONTROL PANEL OF CNC MILL
Objective: -
Familiarization with the control panel of CNC mill and learning how to operate the machine. Students
will operate the machine under supervision to get the feel of operating a CNC mill.
Theory:-
Following key functions will be introduced to students and then it will be practiced by students to perform the
operations and get familiar with the control panel and its operation.
Introduction to soft and hard keys
Manual Data Input (MDI)
Emergency Stop
Machine reference position return
Machine coordinates
Chuck clamping and unclamping
Axis Feed Hold
Hand Wheel
MPG, Jog, Inc Jog
Tool Function and Tool Selection
Types of tool
NOTE: - All Students are required to use them during the lab. Conclusions are also required. Write at
least 3 points about your observations.
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
6
PRODUCING A JOB ON LATHE MACHINE I
Objective:
Writing the program and practically producing a job on the Lathe machine.
Lab Report:-
Lab report should be hand written. Write the code for the tasks that you performed in the
lab. Your lab report must include following points
Lab title
Objective
Procedure
Points to remember while writing code
Analysis
Conclusions
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Lab Report :
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
7
PRODUCING A JOB ON LATHE MACHINE -II
Objective:
Writing the program and practically producing a job on the Lathe machine.
Lab Report:-
Lab report should be hand written. Write the code for the tasks that you performed in the
lab. Your lab report must include following points
Lab title
Objective
Procedure
Points to remember while writing code
Analysis
Conclusions
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Lab Report :
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
8
PRODUCING A JOB ON Milling Machine
Objective:
Writing the program and practically producing a workpiece on milling machine.
Lab Report:-
Lab report should be hand written. Write the code for the tasks that you performed in the
lab. Your lab report must include following points
Lab title
Objective
Procedure
Points to remember while writing code
Analysis
Conclusions
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Lab Report :
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
9
Introduction to Industrial Logic control,
Programable logic controllers and RS Logix
Software
Objective:
The main objective of this lab is to now about PLCs and introduction to the software RS
Logix .
Theory :
PLCs or programmable logic controllers are one of the most widely used industrial control
systems used today to enhance the functionality of a production line or machine functions.Their
flexibility in controlling a wide range of inputs and outputs and changing their operation based
on requirements have made them a favourite control system in recent times.The typical PLC
system is like any other computer system that consists of various hardware components such as
the CPU, programming devices as well as external hardware components Input/Outputs (I/O)
and power supply. The CPU system is microprocessor based that allows all arithmetic
operations as well as logic operations, blocks memory moves, handles the computer interface
etc. Typical systems have 4 buses: a data bus to share information between different elements,
address bus for the respective addresses, control bus for internal actions that need to be
monitored and lastly a system bus which allows the communication between the various ports
and Input/output unit. Inputs are usually sensors or switches that control outputs such as motors
and electric pumps etc.Thus, similar to other computerized devices, the PLC unit has a memory
storage as well as power supply thus making it a very small integrated unit that can be used in
various industriesfor a wide variety of applications.
Besides replacing the relay system, the requirements for PLC included:
A solid-state system that was flexible like a computer but priced competitively
with a like kind relay logic system.
Easily maintained and programmed in line with the already accepted relay
ladder logic way of doing things.
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Configure both checks with 01 then click ok & close from software & minimize.
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
You will get a window like this where you can create various programs
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
After you get the window you can create a Program using ladder logic
After Completing The Graphical Code verify file, verify project, go online &
run the code
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Please attached additional pages as needed and staple with this portion .
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
10
Introduction to Ladder logic Programming
Objective:
Introduction to ladder logic Programing.
Theory:
One of the widely used methods of controlling PLCs is using Ladder logic programming.
The ladder logic diagram is a representation of the steps of programming that employs relay
coils and contacts to control external outputs and actuators. These outputs can be such as
indicator lights, alarms as well as solenoids, motors and pneumatic cylinder amongst others.
The ladder program is all PLCs follows a template that consists of 2 bus bars that are
connected to one another using rung lines.
The 2 bus bars on either side are connected by Rungs 1, 2 and 3. L1 and L2 are the power
sources to the input and output instructions. Notice how each contact coil on the rungs
also has a respective address mapped to the input and output instructions which is
indicated above the instruction Bus bars, also known as power rails supply the power
from the PLC to the instructions it contains. The instructions towards to the left bus bar
are input instructions which typically consist of Normally-Open (NO), Normally-Closed
(NC) contacts coils and status bits that are used to control output instructions. These
output instructions are indicated towards the right bus bar which can include external
output
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Every PLC program instruction, whether simple or complex requires designers and
programmers to follow few basic steps such as:
2. Concepts of ladder logic programming must be well understood and it is critical that
the symbols for all contact coils and output instructions are well understood.
5. Circuit diagrams for PLC inputs and outputs need to be drawn to identify which input
instruction is responsible for the different output operations.
Lab Task:
XOR & XNOR gates along with truth tables are given below
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Lab Report :
Task 1
You have to design a ladder logic for the following statement:
• When a switch is open, first motor is turned on and when the switch is
closed, power is shut off to first motor and second motor is turned on.
(Note: You can not use more than one input switch for the design of
the ladder logic diagram)
Task 2
Draw ladder logic for the following combinational logic and from the analysis of the
operation of this logic gate system, find out which logical gate does this system of gates
represent
Task 3
The alarm has three sensors, which are connected to a 3-input OR gate. If one or more of
the sensors becomes active, this causes the output of the logic gate to go high, which in
turn sets the latch and activates the alarm output (Q). The alarm will remain active due to
the latch, even when the original alarm input is removed, but may be manually cancelled
by activating the Reset input
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
11
Introduction to Timers ( TON,TOFF,RTO,RES)
Objective:
Introduction to timers used in PLC ladder logic .
Theory:
PLC manufacturers differ on how timers should be programmed and hence how they can
be considered. A common approach is to consider timers to behave like relays with coils
that when energized, result in the closure or opening of contacts after some preset time.
The timer is thus treated as an output for a rung, with control being exercised over pairs
of contacts else where. This is the predominant approach used in this book. Some treat a
timer as a delay block that when inserted in a rung, delays signals in that rung from
reaching the output.
There are a number of different forms of timers that can be found with PLCs: on-delay,
off delay and pulse. With small PLCs there is likely to be just one form, the on-delay
timers.Figure shows the IEC symbols. TON is used to denote on-delay, TOF off-delay,
and TP pulse timers. On-delay is also represented by TÀ0 and off-delay by 0ÀT.
On-delay timers (TON) come on after a particular time delay. Thus as the input goes
from 0 to 1, the elapsed time starts to increase, and when it reaches the time specified by
the input PT, the output goes to 1. An off-delay timer (TOF) is on for a fixed period of
time before turning off. The timer starts when the input signal changes from 1 to 0.
Another type of timer is the pulse timer (TP). This timer gives an output of 1 for a fixed
period of time, starting when the input goes from 0 to 1 and switching back to 0 when the
set time PT has elapsed.
The time duration for which a timer has been set is termed the preset and is set in
multiples of the time base used. Some time bases are typically 10 ms, 100 ms, 1 s, 10 s,
and 100 s.Thus a preset value of 5 with a time base of 100 ms is a time of 500 ms. For
convenience, where timers are involved in this text, a time base of 1 s has been used.
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Lab Task
Timer ON
This is the simplest timer. In this timer we set a time e.g lets see 5seconds.
When timer is triggered (i.e its input is high) it turns the DN bit on after 5 seconds.
When the tmer input is low it resets the timer. It is practically used to create delays
between activities. Below is the ladder logic program for the timer ON.
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Timer OFF
In this timer we set a time e.g lets see 5 seconds. First the timer input is set
high then instantly low again it. It sets TT bit high and also DN bit. Suppose we have
set time 5 seconds. In order to work this timer first we set the input high which will
set DN bit high then input is immediately set low which sets TT bit high so our timer
starts running. DN bit remains high and turns off after timer completes 5 seconds
time. Practically this timer is used to perform task within prescribed time. Ladder
logic is provided below
Lab Task
The system is started with a Start button that seals in the Auto mode
This can be stopped if the Stop button is pushed (Remember: Stop buttons are normally
closed.)
When the Auto goes on initially the timer is used to sound the horn for the first 10
seconds to warn that the oven will start and after that the horn stops and the heating
coils start
When the oven is turned off the fan continues to blow for 20 seconds
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
12
Introduction to Counters ( Count Up ,Count Down)
and Master control Reset MCR
Objective:
Introduction to counters used in PLC ladder logic .
Theory:
There are two basic counter types: count-up and count-down. When the input to a count-
up counter goes true the accumulator value will increase by 1 (no matter how long the
input is true.) If the accumulator value reaches the preset value the counter DN bit will be
set. A count-down counter will decrease the accumulator value until the preset value is
reached.
It is a counter that counts up I.e the accumulator starts from zero and rises upto preset
value
Lab Task :
LAB Task
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
If you start instructions such as timers and counters in an MCR zone, instruction
operation ceases when the zone is disabled
The TOF timer will activate when placed inside a false MCR zone
When troubleshooting a program that contains an MCR zone you need to be aware of
which rungs are within zones in order to correctly edit the circuit
MCR controlled areas must contain only two MCR instructions – one to define the start
and one to define the end
EXPERIMENT
13
Introduction to Shift Registers (BSL,BSR)
Objective:
Introduction to Shift Registers (BSL,BSR)
Theory :
A shift register can be used to simulate the movement or track the flow of parts and
information.
We use the shift register whenever we need to store the status of an event that had
previously happened so that we can act upon it at a later time. This is accomplished by
shifting either status or values through data files
Common applications include:
• Tracking parts through an assembly line
• Controlling machine or process operations
• Inventory control
• System diagnostics
The PLC not only uses a fixed pattern of register (word) bits, but it can easily manipulate
and change individual bits.
A bit shift register is a register that allows the shifting of bits through a single register, or
group of registers
The bit shift register shifts bits serially (from bit to bit) through an array in orderly fashion
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
The shift register function enables a programmer to move digital bits within and through the
PLC registers
A data array is a collection of more than one data word (more than 16 bits) in memory
Since data in the BSL and BSR instruction is shifted one bit at a time, the data, which is
shifted is stored in a binary or bit file
Bit Shift Left Program
A shift pulse is generated by a false-to-true transition of switch LS1. When the rung goes
from false to true, the enable bit is set and the data block is shifted to the left (to a higher bit
number) one bit position.
The specified bit, at sensor bit address I:0/1 is shifted into the first bit position, B3:0/0 and get
shifted towards last bit position away from B3:0/0
The last bit is shifted out of the array and stored in the unload bit, R6:0/UL
The status that was previously in the unload bit is lost.
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
14
Introduction to Sequencers
Objective:
Introduction to Sequencers
Theory:
Sequencers are used whenever a repeatable operating pattern is required. The PLC
sequencer instruction can be used to replace electromechanical drum switches.
Sequencer instructions can perform the same specific "on" or "off" patterns of
outputs that are continuously repeated, but with more flexibility. Sequencer
instructions simplify your ladder program by allowing you to use a single
instruction or pair of instructions to perform complex operations. To program a
sequencer binary information is entered into a series of consecutive memory words.
These consecutive memory words are referred to as a word file. As the sequencer
advances through the steps, binary information is transferred from the word file to
the output word(s).The sequencer output (SQO) instruction can be used to control
output devices sequentially. The desired sequence of operation is stored in a data
file, and this information is then transferred sequentially to the outputs. The
advantage of sequencer programming over the conventional program is the large
savings of memory words. Typically, the sequencer program can do in 20 words what a
standard program can do in 100 words.
The presence of a peg can be thought of as logic 1, or on, while the absence of a peg can be
logic 0, or off.
Sequencer Instructions
The PLC sequencer instruction can be used to replace electromechanical drum switches
Sequencer instructions can perform the same specific "on" or "off" patterns of outputs that are
continuously repeated, but with more flexibility.
Sequencer instructions simplify your ladder program by allowing you to use a single
instruction or pair of instructions to perform complex operations.
Controls sequential machine operation by transferring 16-bit through a mask to image addresses for
controlling outputs.
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
INTRODUCTION TO
Objectives:
Introduction to PLC Programming
Familiarize students with the Pneumatic Industrial Trainer.
Familiarize students with the PLC simulator RSEmulator 500.
Using Table 3.1 and 3.2 verify that the connections between PETRA and
ML1500 match the entries in the said tables.
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Lab report should be hand written. You have to add theory by yourself in the lab report.
Your lab report must include following points:-
Lab title
Objective of this week’s lab
Answer the following questions:
1. How does the PLC aid in the overall automation of any industrial unit?
2. Write down a brief introduction for the following PLC components:
i. Battery
ii. Rack/Chassis
How do these components give PLC an advantage in
Industrial environment?
3. Who are the biggest manufacturers of PLCs in the automation world? Name
at least four.
4. Which PLC is available in the lab and connected to PETRA (model and
name of manufacturer)?
5. Why was it necessary to check the connections between PLC and
PETRA (via two black leads) and between PLC and PC (via serial
cable)? Kindly explain with relation to PLC programming and its
application in industrial control.
6. Write down the definitions of the following instructions/features in
RSLogix:
i. Examine if Open (XIO)
ii. End Rung
iii. Project Tree
7. What are the three modes of the key switch of the PLC connected
to PETRA?
Analysis of this week’s lab
RSLogix Emulator
The real world I/O are either simulated using a debug file or through ‘Forces’.
Debug File creates simulation in ladder logic that is equivalent to a real-
time process triggered by a signal.
‘Forces’ simulate real world Inputs (mainly sensors) to trigger certain processes to
achieve desired results in software.
Check the Available Driver Types tab to see if SLC 500 DH485 Emulator driver
is selected.
Double click on it to check station number and node number match the one you
are sitting on. You must not change it.
2. On RSLogix Micro open a new file and select the first controller. Create
the following program:
“There are 6 switches and 2 outputs. When SW1 is ON OR SW2 and SW3 are
both ON the first output should be ON.
When the Switches 4,5 and 6 are all ON the program should give the second
output.”
3. Go to controller properties (on Project Tree) -> Controller Communications and
write a Processor Node of your choice. Apply the changes mentioned to you in
class and click OK to close the dialog box.
4. Download the program.
5. Go Online
6. Run the Program (Green colored lines on sides of rungs will appear showing they
are ‘active’)
7. Click on an input to turn its Forces ON (while program is running).
8. Perform the simulation required in step #2.
9. Go Offline
You have to add theory by yourself in the lab report. Your lab report must
include following points (in addition to above points for PETRA):-
Lab title
Objectives of this week’s lab
Answer the following questions:
1. What key difference was there between the RSLinx communication
configuration procedure between PETRA lab and Emulator lab?
2. What was the key difference between RSLogix and RS Micro Starter Lite?
3. Can forces be applied to an input when the processor is OFFLINE?
Analysis of this week’s lab
Conclusions
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
EXPERIMENT
16
PERFORMANCE OF COMPLETE
PETRA TASK
Objectives:
To run the Petra using ladder logic for the performance of the complete task
Procedure:
10. Open RSLogix Micro and RSLinx. Check the configuration of the drivers in
RSLinx by Communications->Configure Drivers.
Check the Available Driver Types tab to see if SLC 500 DH485 Emulator driver
is selected.
Double click on it to check station number and node number match the one you
are sitting on. You must not change it.
11. On RSLogix Micro open a new file and select the first controller. Create
the following program:
“There are 6 switches and 2 outputs. When SW1 is ON OR SW2 and SW3 are
both ON the first output should be ON.
When the Switches 4,5 and 6 are all ON the program should give the second
output.”
12. Go to controller properties (on Project Tree) -> Controller Communications and
write a Processor Node of your choice. Apply the changes mentioned to you in
class and click OK to close the dialog box.
14. Go Online
15. Run the Program (Green coloured lines on sides of rungs will appear showing they
are ‘active’)
18. Go Offline
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout
Task:-
Pick up the part from dispenser and place it on conveyor belt 1, test all sensors, use
cylinder to move the part to belt 2. Place the accepted part in green tray and the rejected
ones in red. You have to add theory by yourself in the lab report. Your lab report must
include following points (in addition to above points for PETRA):-
Lab title
Objectives of this week’s lab
Answer the following questions
Analysis of this week’s lab
Conclusion
National University of Sciences & Technology
Course: MTS 419-Manufacturing Automation
Lab Handout