Industrial Programmable Controller Exercises
Industrial Programmable Controller Exercises
Exercise 1
The asynchronous mathematical model of a control part of an automated system
is given below:
X 0X 4a Init X0 X 1
X1X 0m1 m 2a X2 m 2a X1X 2X 3 Ref X0
X 2X1bm 2X 2X1X 4 and D X 1X 3
X 3X1m2X 3 X 4 G X2X 4
X 4X 3b X2m2X 4 X 0
Where
• m1,m 2,a,b are input variables
• Ref, D, Gare output variables
• X0X 1X 2, X 3, X 4are memory variables.
1. Find the Grafcet corresponding to this control part.
2. In order to implement this command part with synchronized memory modules
of steps", propose a diagram for the realization of the electronic sequencer.
Exercise 2
A system designed to automatically sort D.I.L. 14 and 16 pin components.
composed of 4 parts (Figure 2)
• A treadmill whose operation is achieved by a TR level control;
the speed of the conveyor belt is stabilized after 10 seconds.
• A dispenser made up of a monostable piston makes it advance.
the piston that returns alone to its resting position when P = 0) and a sensor noted
Capqui indicates by state 1 the presence of components to be sorted.
• A control based on the length of the component determined using two cells
photoelectric C1etc2judiciously spaced so that a DIL 16 component
socket connectors 2 bundles while a DIL 14 pins only cuts the bundle
related to C1( We choose Ci = 1 if the beam is cut).
• A separation system: a perpendicular jet of compressed air evacuates
the 14 pins in a basket located at a position identified by an optical sensor C3
(C3= 1 if the component passes to C3the 16 pins are evacuated in the same way
in position C4in a second basket.
The evacuation is commanded by an order EV.1for the 14 pins and EV2for the 16
pins; it lasts 2 seconds and requires stopping the conveyor.
The system is started by a manual push-button m.
1/4
P
Evacuation
EV1 EV2
C2 C1 C3 C4
cap
Food Carpet
Measure
e
Basket of Basket of
14 Pins 16 Brooches
Figure 3: Integrated Circuit Sorting Device
Exercise 3
On the grafcet of figure 4, the sequence {1, 2, 3} is associated with a macro-step M1 and
the sequence {9, 10, 11} at a macro-step M2.
1. Redo the main grafcet and the 2 expansions of the macro-steps M1 and M2.
2. Redo the grafcet using the synchronization of the subprograms SP1 and SP2.
2/4
Figure 4
Exercise 4
Here is the schematic representation of a sulfur drum loading station.
metallic (figure 5).
Initially, the doser (D) being closed, a fleeting press on the start button (m) activates it.
the braking engine in operation which in turn drives the conveyor on which are placed the
three quarters
barrels at intervals of about 0.8m, when a barrel simultaneously informs both sensors1,
c2), the mat stops instantly and the hopper trap opens to fill the dispenser. As soon as
that the weight is sufficient to operate the contact (b), the hopper flap closes and
Opening of the dispenser to fill the drum. The cycle starts again when the dispenser is closed.
Figure 5
We request:
1. Describe the operation of the system using a Grafcet from a P.O. perspective;
2. Describe the system operation with a Grafcet from the PC's point of view;
3. Give the asynchronous algebraic model of the control part.
4. Materialize the operation of the automation with an electronic sequencer based on
of programmable meter.
4/4