PLC Unit-V Analog Operations
PLC Unit-V Analog Operations
File: This represents the memory address of the sequencer file. We must create a file
with Boolean bits representing the various steps in the sequential output.
Mask: It represents the address in which the sequence instructions are given. In the
example symbol given we have given 00F in hexadecimal. The first eight bits do not
provide any data and the complete data is in the last four bits.
Dest: This is the address of the output file to which data is transferred from the
sequencer file.
Control: This shows the address of the control element that stores status byte, length,
and position of the file.
Length: This indicates the number of steps in a sequence. Since we have four steps it
is shown as 4 in the symbol.
Position: This represents the exact step that is being executed at the moment.
B3:0 represents the starting position of the setup. B3:1 represents the first step
and so on. Bit 0 is for the status of L1, Bit 1 for L2, Bit 2 for L3, and Bit 4 for L4.
The high value of the bit (1) indicates light being bright, and low value (0)
indicates the light turned off. We have mapped the required Boolean values in
each step to the sequencer file.
Ladder diagram for the setup
The four outputs corresponding to bit 0, bit 1, bit 2, and bit 3 is connected to L1, L2, L3, and
L4 respectively. In the initial position, the values in B3:0 will be replicated, and all the lights
will be turned off. When the first pulse is applied to I0, B3:1 will be replicated. L1 and L2
corresponding to bit 0 and bit 1 will be turned on.
Similarly, in the next pulse, L3 and L4 will be turned on and L1 and L2 will be turned off. In
the next pulse, L4 will be turned off and L3 and L1 will be bright. In the same fashion step, 4
is replicated at the next pulse of I0. After that step 1 will be replicated again.
The IO in this example can be a switch that needs to be turned on manually or output of a
sensor which measures some parameters. Instead of the light bulbs, the output can be a
crane or motor or other industrial equipment.
ELCTROMECHANICAL SEQUENCING
PLC SEQUENCER FUNCTION
PLC SEQUENCER FUNCTION
There are three inputs
STEP CIRCUIT - Each pulse steps the function to the next HR pattern.
RESET CIRCUIT - Each on pulse resets back to the first HR.
ENABLE CIRCUIT - when ON the function may be stepped, but not when OFF.
WHAT IS ROBOTICS?
• It is a Gadget which tries to mimics human behavior.
A ROBOT IS
WORKSPACE
Represents the portion of space around the base of the manipulator that can be
accessed by the arm endpoint.
Articulated arm robots have at least three rotary joints. They are frequently called an
anthropomorphic arm because they closely resemble a human arm.
Note: 3 degrees of freedom are necessary for position (x, y, z) and 3 degrees of
freedom are necessary for orientation (α, β, ).
TWO-AXIS ROBOT
Hand retracts.
A simple control system for the robot shown in Table could consist of four switches , one
for each motion .
DISADVANTAGE OF THE FOUR SWITCH CONTROL:
1. The four switch control is that someone would have to do controlling continuously.
2. Turning off the switch would not immediately stop the arm; it would spring-return to
its initial position, which would be hazardous to anyone expecting it to stop
immediately.
3. There could be also problems in mechanical interface during operation in the upper
position with the arm extended , moving the are down could break off the arm on the
convey or below it. Also, if the gripper opened up while the arm was making a swing .
the part would be dropped or thrown outward .
BASIC THREE-AXIS ROBOT WITH PLC SEQUENCER CONTROL
3-Axis top entry industrial robots are simple to operate and maintain and are considered the
workhorses of plastic injection molding. Whatever your automation needs are, our 3-Axis
Robots can help you automate the process.
Three Axis Robots
The number of axes a robot has is one of the key factors to consider when selecting an industrial robot.
The more axes a robot has the greater the possibilities of movement will be. This is why six-axis robots,
like the FANUC Arcmate 120ic, are so common as they have a full range of motion that allows them
to automate most types of applications. However, not everyone will benefit or need a six-axis robot.
Those automating simple applications may only need a three-axis robot.
Three-axis industrial robots consist of three degrees of freedom, which means they can operate along the X, Y, and
Z planes. Unlike higher DOF robots, three-axis robots cannot tilt or rotate making them more rigid than a five-
axis FANUC M-410ib/140H or the six-axis Yaskawa Motoman MH24. Three-axis robots are able to automate simple
processes in which part orientations and locations do not vary. Most three-axis robots are used for pick and
place, part transfer, machine loading, and palletizing.
The majority of three-axis robots consist of Cartesian or SCARA robot types. However, there are
some delta robots featuring only three axes as well. The first axis of a three-axis robot is located at the
base and operates along the X plane. The first axis controls the horizontal movement of the robotic
arm for 180 degrees of motion from center. The first axis is what allows the robot arm to move from
right to left and vice versa along the X plane. The second axis allows for movement along both the X and
Y planes. It controls the vertical movement of the lower robotic arm. The third axis expands the vertical
movement of the robot arm by controlling the up and down motions of the upper robotic arm. Axis
three can operate along all three planes.
Advantages of Three-Axis Robots
Since three-axis robots have only three degrees of freedom they can be easier
to operate and maintain. Programming a robot with three axes can be easier
than programming one with six as there are less axes to coordinate. In
addition, a three-axis robot can be easier to maintain since there are three
motors instead of six, reducing the robotic components to service. Since
three-axis robots are easier to operate and maintain they are ideal for those
new to robotic automation.
One of the main disadvantages of three-axis robots is their limited range of motion.
Three-axis robots can accommodate linear movements but their inability to tilt or rotate
prevents them from automating more complex applications. Applications requiring
movement flexibility will need a FANUC R-2000ic or another six-axis articulated robot.
Since three-axis robots have a limited range of motion they have a narrower scope of
applications they can automate. For manufacturing processes that have high turnover, a
three-axis robot may not be able to adapt to process changes. However, the ABB 4600-
40 and other robots with more axes are capable of automating a wide variety of
applications making them incredibly adaptable.
PID Working Principle
The goal of a PID
controller is to
produce a control
signal that can
dynamically minimize
the difference
between the output
and the desired
setpoint of a certain
system.
Mathematically, the complete control function in its most general form can be written as the sum of the three individual
contributions:
Example of error function with the highlighted contributions of the P, I
and D terms
The Proportional Term The proportional term is denoted
by P and is based on the current
error between the measured
output of the system and the
setpoint. This term facilitates the
output of the system being
brought back to the setpoint by
employing a correction that is
proportional to the amplitude of
the error.
Some applications or simple systems may not require all three control terms provided by a PID
controller. To operate the controller with only a subset of these terms, the unused terms can
be set to zero, thus resulting in a PI, PD, P, or I controller.
For instance, due to their slow dynamics, a PI controller is commonly used in applications that
prioritize steady-state error elimination and stability over fast response times.
PID Tuning The process of setting the optimal
gains for P, I and D to get an ideal
Ziegler Nichols (Z-N) Tuning Method response from a control system is
Depending on the desired type of control loop (P, PI or PID) set the gains to the following values: called tuning.
Kp Ki Kd
P controller 0.5 Ku 0 0
The basic idea behind a PID controller is to read a sensor, then compute the desired actuator
output by calculating proportional, integral, and derivative responses and summing those three
components to compute the output.