Documente Academic
Documente Profesional
Documente Cultură
Harslm:Jnn'"
G~,GCNA.r, ~ULr"f.oICH:
8 Programming tasks
The following tasks are intended to deepen the preceding subject matter and allow you to
practice working with STEP 7 and the hardware components once more by yourself.
Note:
In the case of programming tasks it is certainly possible that there different ways to solve
a problem. The supplied solutions thus offer only one of the possibilities of carrying out
the task.
Task 1:
www.horstmann-essen.de
Basics of Automation Technology 96
Task 2:
Complete the function table. Enter a remark under sensor if a sensor error occurs.
53 52 51 P1 P2 H1 Remark
0 0 0
-
0 0 1 -~
0 1 0 Sensor error
0 1 1
-
1 0 0 --------
1 0 1
1 1 0 -
1 1 1
lof,. S. 3 FlIllc! iOIl lohi"
Task 3:
Determine the switching functions for P1, P2 and H 1 from the function table. Simplify the
functions as far as possible.
P1 = ..
P2 =.
H1 = .
Task 4:
Create the using program using STEP 7 in FBD. Use OB1 and FB1 to this purpose.
www.horstmann-essen.de
Basics of Automation Technology 97
01 (Open)
02 (Closed) Control desk
85 (Open) 8J S10 pen
8]80 Stop
8JS2 Close
Function:
Moving of a rolling gate is carried out by means of a motor that is controlled with two
power contactors 01 (Gate open) and 02 (Gate closed). Limit position monitoring of the
gate is implemented through the proximity switches S4 (Gate closed) and S5 (Gate
open)
The rolling gate is operated from the entrance gate using a control desk. If the operating
mode switch S3 is in the Automatic position (1), the gate can be opened or closed by
pressing the momentary-contact pushbuttons S1 or S2 briefly. Reversal of the motor
direction is only possible via Stop (SO).
If the SO (Stop) button is pressed, the rolling gate stops immediately. A subsequent
upward or downward movement has to be started by pressing the momentary-contact
pushbuttons S1 or S2 again.
If the operating mode switch S3 is in the position Jogging (0), the gate is only moved
upwards or downwards as long as the momentary-contact pushbuttons S1 or S2 are
pressed.
If the limit proximity switches S4 or S5 are triggered, the gate stops immediately
Task 1:
Data logical
Input variable Symbol Address
type assignment
I_Momentary_ Contact_Pushbutton_Stop SO BOOl Operated SO = 0 10.0
--
I_ Momentary_ Contact_Pushbutton_Open 10.1
--
I_ Momentary _ Contact_Push button_ Closed 102
Auto S3 = 1 /
I_Automatic_ Selection 10.3
Jo~~in~ S3 =0 --
,-Proximity_ Switch_Gate_Closed S4 Operated S4 = 0 104
--
I_Proximity_ Switch_Gate_Open 10.5
Data Logical
Output variable Symbol Address
type aSSignment
0_Contactor_ Gate_Open 01 Active 01 = 1 04.1
--
0_Contactor_Gate _Closed 04.2
___ L _ _ _ _ _ _
-
I uf,. ,\,._, . Iss/gull/ell/ {uhle
www.horstmann-essen.de
Basics of Automation Technology 98
L. '.
hr:~JLJ ,~ .~, I.
Task 2:
Enter the conditions for setting or resetting the flipflops used to control the power
contactors 01 and 02 in the table.
Task 3:
Create the using program using STEP 7 in FBD. Use OB1 and FB1 to this purpose
~-----.--------------------------------------------------------------------
www.horstmann-essen.de
Basics of Automation Technology 99
L1
l2---~--------------------------------------
L3 -.. --.-.j .,..................-.......-
F3 Control desk
[IJ SO Off
t,), 1
GJS10n
Function:
High switch-on currents have to be avoided at 3-phase slipring motors. This is achieved
by using resistors (R 1, R2, R3) switched in the rotor circuit. When the On-switch S1 is
operated the line contactor 01 picks up After a respective time delay of 5 seconds the
contactors 02, 03 and 04 pick up consecutively in order to jumper the resistor groups
R1, R2 and R3. After the last contactor has picked up the motor is in rated operation (the
sliprings are short-circuited). If the switch SO is operated, the motor is switched off
If a thermal overload occurs, the motor circuit breaker F3 triggers and switches the motor
off.
Task 1:
Data logical
Input variable Symbol Address
type assignment
I_Momentary_ Contact_Pushbutton _ Off SO BOOl Operated SO =a 10.0
I_Momentary_ Contact_Push button_On 10.1
I_Motor_Circuit_Breaker 10.2
Data logical
Output variable Symbol Address
type assi~nment
0_Contactor1 - Line Active Q1 =1 04.1
o Contactor2 04.2
0_Contactor3 04.3
--
o Contactor4
-- -
04.4
._-------
www.horstmann-essen.de
Basics of Automation Technology 100
Task 2:
Enter the conditions for setting or resetting the flipflops used to control the contactors 01,
02, 03 and 04 in the table. Enter the conditions for setting the time functions in the table
extended with the three time functions.
Line contactor, 01
--
SE timer 1 (Z1), 02
SE timer 2 (Z2), 03
SE timer 3 (Z3), 04
Task 3:
Create the using program using STEP 7 in FBD. Use OB1 and FB1 to this purpose.
www.horstmann-essen.de
Basics of Automation Technology 101
(., ,
I3J S4 Lt~ve'; 2
33 Leve! 1
He"t"'~ HO
Control desk
S2 Empty
GJ 51 (Start)
OutlE': .. .--r-~i---------' GJ Reset
n
Function:
In a pharmaceutical process vessel two raw materials are processed to a medicine under
temperature influence and a stirring movement.
• When pushbutton S1 has been pressed, the vessel is empty and valve Y3 IS closed.
valve Y1 is opened. Raw material 1 flows in the vessel until the level switch S3 is
triggered.
• The agitator M is switched on and the valve Y2 is opened.
• After the level switch S4 has been reached, the valve Y2 is closed and the heating H
is switched on
• After the process temperature has been reached at S5, the heating is switched off
and a mixing time of 10 seconds started.
• After the mixing time has expired, the agitator M is switched off and the valve Y3 is
opened.
• After the level switch S2 has been reached (vessel empty), the valve Y3 is closed.
• The process can be started again by pressing S1.
The sequencer can be reset to the initial state by pressing the Reset button.
www.horstmann-essen.de
Basics of Automation Technology 102
t.- ,
Task 1:
O_Valve_Outlet Y3 04.3
O_Heating H 044
O_Agitator M 04.5
-
/ uh. S / / .Issigl/II/<'I/l Ii ,hi,'
Task 2:
Task 3:
Create the using program using STEP 7 in FBD Use OB1 and FB1 to this purpose
www.horstmann-essen.de