Industrial Automation Course Overview
Industrial Automation Course Overview
COURSE PROGRAM
INDUSTRIAL AUTOMATISMS
CHAPTER 10: STUDY OF THE SLC 100 FROM ALLEN BRADLEY (AB)
I- DEFINITION
Automation is a science that leads to the use of technological organs in order to eliminate
automatically human efforts.
The automation of a system consists of performing certain difficult and tedious tasks with the help of
machines.
II- SPECIFICATIONS
The specifications of an automated system are a technical functional contract made between the client and
the builder or technician.
It is developed based on the needs of the client or the operational needs of the system under study. It takes into account
accounting for the applicable standard, the existential technological elements. It is the specifications document that
describe the operation of the system.
In general, any automated system is made up of two (02) main parts: One part
operative or power and a control part.
It is the active part of the system; it is the one that performs the various tasks dictated by the command.
This part contains two (02) essential elements:
These are the organs designed to replace human or animal energy with electrical energy.
pneumatic or hydraulic. These are the actuators that perform the work.
Examples
These are the organs that receive physical information (manual force, speed, pressure,
temperature, position) and convert them into a signal (logical or analog)
Examples:
❖ Position sensors
❖ Proximity detectors
It is the part that gives orders to the operational part. It receives information and transmits it.
to the actuators.
Examples :
❖ The switch for the control of the electric motor.❖ The distributor
for the order of the cylinder.
❖ The solenoid valve for pneumatic control.
Besides these two parts, we can mention the input and output interfaces between the control part.
and the operative part.
Order Part
Reception
information
treatment
Issuing orders
Control Transmission
of execution some orders
Operational Part
Execution of orders
Detection
Control
This type of automation operates according to a previously established program. The utilization organs
receive the energy necessary for work.
Exit
Entry Program Actuator
In this type of automation, there is no control over the result of an action or a sequence.
Traffic light
2- Closed-loop automation
The exit action is controlled by a sensor that sends the information back to the system input: there is
feedback from output to input.
Exit
Entry Program Actuator
Detector or Control
3- Sequence automation
4- Adjustment automation
This is generally carried out from a GRAFCET (Functional Graph for Step Command)
Transition
CHAPTER 2: THE GRAFCET
INTRODUCTION
The grafcet is the result of the voluntary work of a commission bringing together the AFCET (Association
French for Economic and Technical Cybernetics, the ADEPA (Agency for Development)
from Applied Production to industry) of industrialists and academics. This commission was created on
June 26, 1975, established the foundations of grafcet in its final report completed in April 1977. Grafcet was
designed as a unified system of expression that belongs to no one. Since 1978, the grafcet has
his entry into the national education system. He is now the cornerstone of the automation program and
industrial computing.
Depuis 1988 le grafcet est un outil de description normalisé (Norme C.E.I 848) qui fonctionne en logique
sequential. It is a simple but extremely powerful tool that allows representations
functional, operational and technological aspects of most industrial automation systems.
I- DEFINITION
It is in this concern that AFCET and ADEPA have set up a graphic representation that reflects
unambiguously the evolution cycle of an automated system: This graph is called GRAFCET.
LOADING OF WAGONS
CYCLE OF OPERATION
When the operator presses the cycle start push button S2, the motor M1 starts and drives the
carpetT1 in the 'right' direction with the empty wagon; when it arrives at point B, the sensor S4 is
actioned: T1 stops and T2 starts (driven by M2) for the filling of the wagon.
When the full wagon arrives at point A, the sensor S3 is activated, which ends the cycle of
functioning.
WORK TO BE DONE
2 The T1 carpet
advance in the direction 'RIGHT'
2- Principle
3- The steps
Step
Associated actions
a) Initial step
It is the step that is at the beginning of the system's operation, its number square is double. This step
specify the initial conditions at the start of a system cycle.
Example:
Example:
Active step 2
4- The transitions
The transition indicates the possibility of evolving between two successive stages or actions. At each transition
is associated with a logical condition called receptivity.
Example:
Action on the departure cycle B.P
2
Action on sensor S4
❖ It is validated
❖ The associated receptivity is true.
5- Directed links
They allow connecting the stages to the transitions and vice versa. Their direction of travel is generally from
up down otherwise the arrows indicate the direction of travel.
To involve it in a transition, we specify its origin and duration after the letter 't'.
Example:
t / 3 / 1 min
t/3/1 min: Means that 1 minute has passed since the activation of step 3.
In a sequential system, there may be choices between several steps that make up a
susceptible sequences: We then talk about switching.
Convergence in
YOU Return to point A of
4 unloading
b) The leapfrog
This is a special switch allowing to skip one or more steps when the actions to be performed
become useless.
2 Wagon Filling
4 Heating of product Y
Heating completed
Setting of product Y in
5
the bags
Product Y packaged
c) The resumption of a sequence or loop allows for resuming one or several times.
same sequence as long as the transition is not performed. It is also called a loop.
Example:
Filling 3 heating
of product Z
Wagon at the heating station
4 Heating of product Y
Heating finished
Product Y packaged
7 Return to point A
These are several sequences that occur simultaneously, but the actions of the steps in each
branches remain independent.
For the cycle to continue, each branch must have fulfilled its role: this is the 'AND' function. This
A function is introduced by a double hyphen.
Each branch must include a waiting step.
2
Divergence in
ET S4 sensor
21 Action B 24 Action D
Sensor b Sensor of
22 Action C 25 Action E
Sensor c Sensor e
23 Waiting 26 Action F
Sensor g Sensor
27 Wait
Sensor h
Convergence =1
and 3 Action 1
4- Specific rules
If during a progression, the same step is both activated and deactivated, it remains activated.
The duration of crossing a transition, such as that of activating a stage, can never be
considered as null.
It is a sequence of steps that can be activated one after the other. Each step is only followed by
a transition and each transition being validated only by a step.
IV- GRAFCET LEVEL 1 OR GRAFCET FROM THE SYSTEM POINT OF VIEW 1-
Definition
Level 1 Grafcet allows for a literal description of the functional behavior of the notebook.
charges of a system.
It does not indicate the technology that will be adopted and it only considers actions to be taken.
2- Examples
Work to be done: Establish the grafcet from the system perspective (Level 1)
1) Specifications:
C1 C2 C3
C- C+
lifting motor
M-
Position of
loading Position of
Basket
unloading
Bath
degreasing
Detailed cycle:
1. When the cart is at the top left and the cycle start button (dcy) is pressed, the
The cart goes above the degreasing tank.
The basket then descends into this basin where we leave it for 30 seconds.
3. After this wait, the basket rises.
4. After that, the cart goes all the way to the far right where it will be unloaded.
5. When the unloading is completed, the system returns to its starting position.
Note:
The loading and unloading of the basket is done manually. The control of ensuring that the basket
and discharged will therefore be validated by a push button.
Work to be done: Establish the grafcet from a system perspective. (Level 1)
SOLUTION OF EXAMPLE 2
Grafcet from the system perspective. (Level 1)
2 Degreasing
Degreased piece
Discharged part
This type of grafcet takes into account the technology of actuators and the behavior of sensors and
detectors. It also takes into account environmental constraints (pressure, temperature,
tension…
2- Some special cases
Example:
S1 S3
3 M2 L
S4
M 2: Engine M2
Lamp or indicator
S2
4 T = 15 S
t/4/15s
It is action, so the duration of activation is shorter than the activation time of the step considered. This
Impulsive action is symbolized by the asterism () and its duration.
S1
3 M 5S H
M: Engine M
S4 Lamp or indicator
Examples
M.a1.b1
1 V1 +
a2
2 V1 -
a1
3 V2 +
b2
4 V2 +
b1
NOTES
Note 1: The grafcet from a system perspective or from a process perspective is a description
allowing a comprehensive understanding of the tasks performed by the automated system. It is analogous to
level 1 grafcet.
Note 2: The level 2 grafcet or from the operational part perspective is done using the constituents.
operational. It uses acronyms or abbreviations designating the movements of the actuators (FR–RR–DS–
MT …)
0
S2
1 AV
S3
2 DS
S4
3 V+
4 V
5 AR
S5
Remark 3: The level 2 grafcet or from the control part perspective corresponds to that of the
designer of the control part of the system. They use the designation of the pre-actuators (KM1,
KM2, Y, D ...
Y : Electro-vanne ; D : Distributeur
S2
1 AV
S3
2 DS
S4
3 V+
4 V-
5 AR
S5
Case 4: Macro-step
✓ Definition
A macro-step is the unique representation of a unique set of steps and transitions, named
(called) macro-step expansion.
Note:
The expansion of a macro-step can include other macro-steps and initial steps. However, it
It is necessary to avoid that these initial steps are the exit or entry point of the macro-step expansion.
E20
1 21 KM1
M20
3
26 KM3
S20
The downstream transition (b) will only be validated when step S20 is active.
The equation setting of a grafcet is a very important step in the design of systems.
automated. It represents the interface between the grafcet and all technological designs.
La mise en équation d’un grafcet conduit à sortir l’équation des étapes et l’équation des sorties.
These equations are valid only in wired logic; in programmed logic, we establish the
activation and deactivation table of steps.
I- EQUATION OF A STEP
We consider a portion of a grafcet consisting of three successive steps n-1; n; n+1.
n-1
(n-1) n
t
n (n) n+1
t
(n+1) n+2
Each step n of a grafcet presents n+1 two states :
❖ The active state (Anit is the state during which the associated actions are active.
❖ The inactive state () t
1-Activation condition of a
In addition, during the duration of the actions, the step remains active, which means that the step
must memorize its state. This memory is noted Mn.
Deactivation takes priority over activation, so the step remains deactivated when the next step is activated.
is active that is to say An+1 =1
3-Equation of a stage
Ultimately, the general equation of the active step Anthe step n has the expression:
4- Some examples
Example 1 Example 2
h1
8
4
2.b b
S
9
5
S3 S3
S5 10 11
6
h2
h3
12
7 Example 3
Example 4
S2
5
2
S1 S3
S4
6 7
3
S2
S5 S6
8
4 6
h
d h
9
5 7
Example 5
01 S3
02
S1
03
S2
04
S4
05
II- ACTIVATION AND TABLE
DEACTIVATION
The equations can be summarized in a table where the different steps can be found, their
activation and their deactivation.
t(n-2) n-1
t
(n) n+1
n
n+1
Example
4 A3.S1 A5
5 A4.S2.b A6
6 A5.S3 A7
7 A6.S5 A8
III - OUTPUT EQUATION
These are the equations of actuators or pre-actuators. That is to say, the equation of associated actions.
at each step.
The equation of an output or an action depends on:
1- Some examples
Example 1:
S6
4 KM2
S7
5 R KM 3
S8
6 V+
b
Example 2
S2
2 KM1
t/2/3s
3 KM1 KM2
t/3/3s
S1
S3
b
4 KM4
S4
5 R
th
6 EV
SOLUTION
S1
1- Equations of steps 3, 4, 6, and 7
7 KM5
S0
3 KM1 KM2
S3
4 KM3
S4
5 R
th
a.S1
6 EV
S1
7 KM4
S0
A sequencer is a set of technology that commands and controls the execution of the actions of a cycle.
in accordance with the timeline of the steps in the functional diagram (GRAFCET).
The electric sequencer is a bistable relay device that ensures the operation of a system.
automated step by step.
The electric sequencer is a control system for sequential automation based on
the use of latching relays that memorize each stage of the cycle.
To better understand the functioning of the electrical sequencer, we first study the relays.
used for his order.
I- ELECTRIC RELAYS
Electrical relays or electromagnetic relays are devices that are involved in the realization of
automatic control and monitoring equipment.
1- Instantaneous relays
It is a device that allows a low amplitude electrical signal to trigger the ...
contacts allowing to modify or amplify this information.
11 21
A1
A2
12 14 22 24
Switch Inverter
The passage of current through the coil causes attraction in the movable armature, which actuates the
contacts.
2- Bistable relays
These are instant relays with two (02) stable states controlled by two (02) coils: One for
the activation and the other for the triggering.
11 21
A1 A1
A2 A2
12 14 22 24
F A
Call
B
Rebound
L
a1
This type of relay allows memory to be retained in case of power loss and provides control.
by impulse and to realize the sequencer systems.
3- Timed relays
The time relay is a device that, either when powered (working delay) or during
its cut-off (rest delay) can open or close a contact with a variable delay.
The sequencer consists of an association of modules (phase modules) and a base on which
the modules are fixed.
The association of the modules only allows the creation of words in the order of the sequencer's wiring and
only in and order.
❖ Commanding a movement through a closed contact during the execution of the movement,❖
Trigger the module that commanded the previous movement,
❖ Validate the following module, that is to say, prepare it to receive the start command.
C1 C2 C3
V V V
V
M1 M2 M3
D D D
A1 A2 A3
M1–M2-M3Phase Modules
A1-A2-A3Power supply for the actuators (or pre-actuators) corresponding to the module.
V E1 E2 E4
P
F2 V
S
Z
A
Mn
C A B
F3 DS
F1
12 11 14 22 21 24
D
P
Recycling loop
✓ Nutrition A+
C-
✓ Organs
Each module associated in the sequencer includes a validated bistable relay by the previous module and which
becomes active when the triggering conditions of the step are met.
❖ The moduleM1validate the triggering condition for the next step of module 2.
❖ When this triggering condition is met, it activates module M.3❖ The
moduleM2immediately trigger moduleM1 and validate the moduleM3.
Each active module operates two toggle contacts that allow powering the contactors or the
actuators.
S0bone sensors
Work to be done
SOLUTION
1-Activation and Deactivation Table
Un des principaux avantages de la technique séquence est de permettre la résolution facile d’un cycle
sequentially on one hand and on the other hand independently the emergency stop and start modes
related to the progress of the same cycle.
At the end of each cycle, the last module feeds the recycling loop that validates the start button.
cycle (Dcy).
Example
C/C
C/A
Dcy
E1 E 4 E1 E 4 E1 E 4 E1 E4
F2
Z+
A+ M11 M2 M3 M4
C-
F1
12 11 14 12 11 14 12 11 14 F 3 F1 12 11 14 F3
F3 F 1 F3 F1
A.U
The pneumatic components are: cylinders, distributors, and control and adjustment devices.
pneumatic sensors
I- THE CYLINDERS 1-
Definition
General Constitution
3 1
5 4 5
It is a cylinder that receives the hydraulic fluid only in one direction, the return to the initial position is done by
the intermediate of the return springs.
The pressure in the The spring of the air The driving spring makes the chamber expel compress
the cylinder
evacuates the return of the rod the rod of the cylinder The air is released
A single port, it is controlled in only one direction, the return is done through a spring.
It receives pressure alternately on each side of the piston to extend and retract the rod.
It is used to ensure the movements of both sides, especially when it is impossible to place the
limit switches in the work area.
Back to school
from the stem
Exit of
the stem
The pressure in the The pressure in the The pressure in the The pressure in the chamber forces out
room is set up in room is set in room lets in
the rod of the cylinder free exhaust free exhaust the rod of the cylinder
Two openings, it must receive pressure in one or the other opening to perform the exit or entry.
from the stem.
It is used to ensure the movement of both sides, especially when it is impossible to place the
end-of-travel sensors in the work area.
4- Operation
It is the compressed air that, entering one of the chambers, pushes the piston. The rod moves. The air
present in the other room is therefore chased away and evicted from the body of the piston.
The opposite movement is achieved by reversing the direction of the compressed air flow.
5-Characteristics of a cylinder
6-Field of employment
We use cylinders for the transfer of parts, clamping, stopping, assembling, marking, ejecting.
the elevation ...
The distributor is a pneumatic pre-actuator used to control the cylinders by distributing the
fluid (gas; air) in the pipelines that lead to the cylinder chambers.
The distributor is to the actuator what the switch is to the electric motor.
ANALOGY
PNEUMATIC ELECTROTECHNIQUE
distributor Switch
2-Formation of a distributor
Example of body
E P 1
6
S
5
2
4
3 E
S
Output orifice towards the receiver; 4: Clapet ou tiroir mobile en translation ;5:
The closed orifice is drawn with a line that crosses the passage of the fluid.
❖ The two (2) way distributor, three (3) ports (3/2). (or 3 ports, 2 positions)
❖ The two (2) way distributor, five (5) ports (5/2). (or 5 ports, 2 positions)
❖ The distributor two (2) ways, four (4) ports (4/2). (or 4 ports, 2 positions)
Possibilities on a square
To symbolize a distributor, we take into account three functions:
✓ The positions
✓ The openings
✓ The order
The designation of a distributor takes into account the channels and the orifices. Each position is represented
by a box. There are as many boxes as there are positions.
It has two positions: the working position and the resting position.
This type of distributor is mainly used for controlling a single-acting cylinder. Symbol
P P
E E
In the initial position, the "P" orifice is closed, the spring pushes the rod of the cylinder.
At the command position, after sliding to the right of the distributor, the pressure is sent to the
cylinder chamber and extend its rod.
Note: The two boxes moved while the positions of the pipes remained the same.
place.
It is a distributor that allows feeding two pipelines and ensures their discharge.
It ensures the order of a double-acting cylinder, it is the most commonly used cylinder. Symbolization
E1 P E2 E1 P E2
E P E P
Three (3) position distributor
E1 P E2 P
5/3 center closed distributor 5/3 distributor center open
4- Operation
A slide or a corridor moves within the distributor's body, it allows to close or open the
air orifices and thus control different actuators.
5- Control organs
They specify how the distributor is managed.
The distributors are manually operated (push button); mechanical (spring); electric
(solenoid valves, …….)
Bn
Bn+1
1
RZ
rn
An-1Module n, B trigger inputnTrigger output of module n-1
An+1Trigger output of module n+1, Bn+1 Trigger entry of the module
Snoutput of the actuator control signal, r : Return of the signal at the end of the movementP
Pressure entry, RZReset
B B
RAZ
A A
2-Operation
The memory of module (n) is set to 1 by signal A.n-1 arriving from the cell of module n-1.
Actuator equations
1 A1.b0 A2
2 A1.S2 A3
3 A2.a1 A4
4 A3.b1 A5
5 A4.a0 A6
6 A5.a1 A7
7 A6.a0 A1
B+ A-
A+ B- C- C+
B B Loop of
M2 M4 M6 deactivation
P
RAZ M1
A M3 M5 A
Example 2:
Activation and Deactivation Table
Actuator equations
S2
2 A+
a1
3 B+
a0
5 A+
a1
6 A-
a0
7 B-
b0
A+ A-
1 1
B+ B-
B B
M2 M4 M6
P
RAZ M1 M7
A M3 M5 A
S2 a1 b1 a0 a1 a0 b0
m
WORK TO DO
2 A+
1. Provide the activation and table
a1
deactivation;
K K
2. Provide the equations of the actuators;
4 B+ 3 C+
b0 c0
7 A-
a0
I- PHASE MODULE
The phase module includes a memory or bistable flip-flop with two (2) inputs. On each input, there is
dispose
❖ A function 'AND' with three (3) inputs constituting the triggering input;
❖ A 'OR' function with three (3) inputs where two (2) are complementary: It is the input of
triggering.
Internal structure
e1 e1
Engagement e2
(SET)
e2 &
e3 e3 & Q
Q
Q e4
Triggering e4 e5
(RESET) e5 1 e6 1 Q
e6
The input 'AND' function allows the step module's memory to be triggered only if there is validation.
The module outputs through the previous module 'AND' if the input signal provided by the sensor is present.
Memory is triggered and its output passes to value 1; which allows the next module to be validated.
The complemented output of the memory then goes to 0 and triggers the step module whose
the triggering input is complemented.
C1 C2
e1 e1
e2 e2
Q -1 & & Q
e3 e3
e4
e5 1 Mn 1 M n+1 Q
e6
M n-1
2-Input interfaces
Their role is to reduce or eliminate the effects caused by the rebound of contacts.
Symbol:
Z
The module is connected in series with a sensor.
3-Output amplifiers
The signals used in logic do not allow for the direct powering of power components. We
is therefore led to use amplifiers for the circuits of pre-actuators or actuators.
Symbol:
4-The delay
t
0
❖ Electronic timing 'Rest' e
1
0 t
eS t
S 0
S
1
t
0 t
II- RUN MODE
1- Manual-automatic mode
Reset
A pulse on one of the inverse inputs of the 'OR' function triggers the
way or the reset.
III-APPLICATION EXERCISE
4 KM 1 KM 3 KM 4
S1
The automation of industrial systems has undergone many changes. We have moved from technology
wired to programmed technology. The latest addition to this programmed technology is the automaton.
industrial programmable (A.P.I)
When the programmable logic controller is assigned to an industrial control system, it is called
A.P.I.
There are many brands of programmable logic controllers. Among the most common are: Siemens,
Allen Bradley, Modicon, Schneider Electric (formerly Telemecanique), Omron, Cegelec, etc.
1 Inter-machine communication
Figure : Architecture and connection of an.P.I
A
II- GENERAL CONSTITUTION
❖ Food;
❖ The central unit;
❖ Input/Output interfaces or modules
❖ The programming console or programming unit.
1-Food
The power supply is responsible for providing the necessary energy for the operation of the circuits.
electronic components of the automaton.
The processor is the essential element of the central unit. It is therefore the brain of the machine.
industrial programmable (A.P.I)
The processor interprets, executes the program instructions, and performs all functions from
programming.
The processor is connected to other components (memory and interfaces) through parallel connections. It is
through this set called 'BUS' that information travels between the different parts of
the automaton.
❖ From a memory
❖ From a register
❖ From an arithmetic and logic unit (A.L.U)
❖ From a decoder
❖ A meter
❖ A sequencer
a) The memory
It is a functional element that can receive, store, and return data at the right time.
b) The registers
These are the work register and the instruction register. They ensure the temporary halt of results.
Intermediate. They allow for organizing the processing of instructions currently being executed.
These are the interfaces between the processes of the central processing unit. These interfaces appear under
two (02) forms or two (02) types.
✓ Output interfaces
They send the control signals to the actuators or pre-actuators.
The role of these output interfaces is to:
In general, the programmable logic controller successively performs the following operations:
Acquisition
of the
data
Treatment
Outputs
These operations take place at very high speeds and the considerationinputs, their processing and the
validation of outputs does not exceed a few milliseconds.
A programming language is the set of symbols used and the way they must be.
arranged to program the automaton.
This programming language varies depending on the manufacturers of the programmable logic controller.
Examples:
I- GENERAL STRUCTURE
1-Basic instructions or operation codes
✓ An action operation:
❖ Store the previous result in the indicated variable.
✓ An inversion operation:
❖ LN (LOAD, NOT): Read the complement or the inverse of the indicated variable.
❖ AN (AND NOT) :Réalise le ET logique entre le complément de la variable indiquée et le
previous result.
❖ = N (Equal NOT): Arrange the complement (opposite) of the previous result in the
indicated variable.
❖ ON :(OR NOT) : Performs the logical OU between the complement of the indicated variable and the
previous result.
2- Memory structure
❖ A usage circuit
❖ A "watchdog" that checks the proper execution of instructions.
❖ A RAM with 64 internal memories
❖ 16-position counters and decrements
❖ Four (04) timers
❖ 1 step at 64 positions, exclusive 'OR'.
❖ A temperature probe
000 - 077 64 Step by step. 64 functions used for the steps of Grafcet
100 - 177 64 Internal variables or internal working memories
200–377 128 Entrées, Sorties (E / S)
400 to 757 15 16-position counter-decoder
760 to 767 1 8-position counter-decoder
Permanent address:
770 1 Retention A.O
exclusive OU
Increment of the step (=)
771 to 774 4 Analog timers
775 1 Clock 0.1 seconds
776 1 Clock: 1 s
777 1 Temperature probe (no instructions)
b) Outputs
Note: The lines or addresses 8 and 9 do not exist in this automation. 5- Structure
of instructions
3 13 23 13
S1 1KM 1 2KM 1 1KM 2
200423014230 24 231 14
61 1
KM 3 S2
232 62 201 2
A1 A1 A1
230 231 232
A2 A2 A2
0
KM 1 KM 2KM 3
PROGRAMMING
Lines Operations Addresses
001 L 200
002 O 230
003 A 232
004 = 230
005 L 230
006 = 231
007 L 231
010 AN 201
011 = 232
0006 L 001
0007 A 201 Step 2
0010 = 002
0011 L 002
0012 A 202
0013 A 203
Step 3
0014 = 003
Example 2:
S1
1 KM1 T1 = 10 s
10 s / X1
2 KM 1 KM2
S2
S2
3 V-
a1
4 V-
S3.a 0
5 KM 3
S4.S5
Steps 0 1 2 3 4 5
Addresses 000 001 002 003 004 005
3-The outputs
Outputs KM 1 KM 2 V+ V- KM 3 T1(KA1)
Addresses 230 231 232 233 234 771
Planning the steps
Lines Address Operations Comments
0000 L 000
0001 A 200
0002 = 001
0003 L 001
0004 A 771
0005 = 002
0006 L 002
0007 A 201
0010 = 003
0011 L 003
0012 A 203
0013 = 004
0014 L 004
0015 A 202
0016 A 204
0017 L 002
0020 AN 201
0021 O 770
0022 = 005
0023 L 005
0024 A 205
0025 AN 206
0026 = 000
Step 1
Step 2
Step 3
Step 4
Step 5
Initial step
0031 = 230
0032 L 001
Timing T= 10s
0033 = 771
0034 L 002
0035 = 231 Activation of KM 2
0036 L 003
0037 = 232 Output of cylinder V
0040 L 004
0041 = 233
Return of the cylinder V
0042 L 005
0043 = 234
Contactor KM 3
S1 (200)
1 (001)
S2(201) S 2 (201)
2(002) 4(004)
S3(202) S4 (204)
3 (003)
S(203)
5
These step-by-step instructions allow for the realization of any Grafcet with at most 64 steps. The steps are addressed
From 0000 to 0077, exactly 64 steps.
CHAPTER 10: STUDY OF THE SLC 100 BY ALLEN BRADLEY
I- PRESENTATION
The Allen Bradley SLC 100 includes:
❖ A central unit
❖ An extension unit
❖ A memory module that is EEPROM
❖ A pocket terminal
1- Central unit
It is composed of a processor, input/output interface circuits, and RAM memory.
2- Pocket terminal
It is a portable device used to program, edit, and control the operation of the automation.
It is the communication tool between the operator and the automated system.
4-Extension unit
It allows to increase the input/output capacity of the automaton.
You can have up to six (6) extension units.
The internal instruction for initializing the program is address 868. This address (868) is used
to initialize the program to a known state.
This bit is set to 1 for the first time under any of the following conditions:
❖ The central unit is powered on in "execution" mode.
❖ The handheld terminal is used to put the processor in operation mode.
The timing instruction works like an internal clock counting 0.1 seconds.
of the interval. The counted number of intervals is called cumulative value (AC)
3- Instructions
INSTRUCTIONS SIGNIFICATION
Activation exit
L Exit latch
RTF
Recorded timing at work
RTO
Counter
CTU
Countdown
CTD
Timer reset (RAZ)
RTS
Reset (0) of the cumulative value
RAC
PR Preselection value
Test at '1'
Test at '0'
Entries S1 a b S2
Address 001 002 003 004
Outputs KM 1 KM 2 KM 3 KM 4
III-EXAMPLE OF APPLICATION a) Address 011 012 013 014
Activation and Deactivation Table
c) Input / Output Programming
Steps 0 1 2 3
Address 701 702 703 704
S1
1 b) Addressing
KM 1 KM 2
2 KM 2 KM 4
3 KM 3 KM 4
S2
Appetizers
868
L01
704 004 701
L
702 701 Step 0 Exits
U 702 011
L05 KM 1
701 001 702
L02 L 702 012
Step 1 KM 2
703 702
U 703
704 703
U
Activation Steps Deactivation 705
3 A41+A51+A61
41 A3.a 706
51 A3.b 703 001 704
61 A3.c L
002 705
L
003 706
L
b) Divergence in ET
3 703
001
a
h.S 0 .p
2
1 KM1
30 KM 2 32 KM 4
h p
2
31 33
=1
4 KM 1
5 T1= 6 s
5 s / X5
6 KM 2
7 KM 3
p
1
Work to do:
Solution
c)The outputs
Outputs KM1 KM2 KM3 KM4
(M) (s) (AV) (AR)
Addresses 011 012 013 014
✓ The outings
721
011 KM 1
724
730
726 012 KM 2
727
013 KM 3
732
014 KM 4
✓ The timing
920
725
RTO
PR = 0.0 6.0s
–
726
RTS
RAC = 000,0
The TSX 27 or TSX 47 automata allow for the processing of information on bits and words (16 bits).
use the contact language known as PL7-2.
The program is made in a numbered contact network from 1 to 256. Each network is composed of 4
lines of contacts and an output.
THE ADDRESSES
They are configured and identified by an identification defined by 4 characters as follows:
❖ I=Input or O=Output;
❖ In his place, we use even numbers for the outputs and odd numbers for the
Entries.
❖ The comma
❖ The track number (for outputs (to 7) and for inputs (to B))
The most commonly used addressing elements are summarized in the table below.
Entrées
(Input)
Outputs
Output
Variables
Interns There are 256 of them and addressed from
Internal variables allow storing the result of equations during the execution of the program.
The TSX 27 or TSX 47 controllers have 24 system bits (SYàSY23) to indicate the state of
internal functioning of the automaton.
The state of these bits can be tested to detect a fault in the controller and initiate a procedure for
rescue.
It is set to 1 for a cycle by the automaton after a power cut with data loss. It
So it triggers the complete reset of the memory.
It is set to 1 for a cycle of the automaton after a power cut with memory saved by the
battery. The controller resumes execution as if there had been no interruption.
h.S 0 .p
2
1 KM1
30 KM 2 32 KM 4
h p
2
31 33
=1
4 KM 1
5 T1= 6 s
5 s / X5
6 KM 2
7 KM 3
p
1
1-Assignment of addresses
Starters S0 P1 b c h P2 S1
Addresses I1, I1 , 1 I1 2 I1 , 3 I1 , 4 I1 , 5 I1 , 6
Steps 0 1 2 30 31 32 33 4 5 6 7
Addresses B B1 B2 B3 B31 B32 B33 B4 B5 B6 B7
B I1,4 I 1 I1,1
3-Scheduling of outputs
CHAPTER 12: STUDY OF THE PB 100 BY MERLIN GERIN
The PB 100 MERLIN GERIN PLC includes 64 input/output terminals, including 8 cards with 8 I/O each.
each one.