Extended example
3.2 Expanding the program
STEP 7 Basic V10.5
Getting Started, 12/2009, A5E02651459-01
113
Result
You have programmed the duration of the pasteurization process.
When a milk bottle activates the light barrier "LS_2", the heating chamber is switched on and
the pasteurizing time will be started. After the end of the period the "milk_pasteurized" tag is
set to the signal state "1". The conveyor moves and the milk bottle is transported to the end
of the conveyor.
In the next section you will program a status light that indicates the operating mode of the
heating chamber.
3.2.6 Programming the status light
Introduction
The following steps show you how to program the status light. The status light indicates the
operating modes of the heating chamber. When the heating chamber is in operation the tag
LED is set to the signal state "1" and the display on the HMI device is switched on. When the
heating chamber is switched off the tag LED has the signal state "0" and the display on the
HMI device is switched off. You will program the display on the HMI device in the next
section.
You program the status light in the fifth network of the organization block "Main [OB1]" with
the help of the following instructions:
● Normally open contact
● Output coil
Requirements
● The organization block "Main [OB1]" is open.
● Networks 1 to 4 of the organization block "Main [OB1]" have been programmed.
Comments to this Manuals