Extended example
3.2 Expanding the program
STEP 7 Basic V10.5
110 Getting Started, 12/2009, A5E02651459-01
3.2.5 Programming the heating period
Introduction
The following steps show you how to program the duration of the heating process. To
pasteurize the milk the bottles are heated in the heating chamber for 40 seconds. You
program the setting for the heating period in the fourth network of the organization block
"Main [OB1]" with the help of the following instructions:
● Normally open contact
● On delay
● Output coil
On delay
The following figures shows the box of the "On delay" instruction.
721
,1
4
(7
37
'7
You can use this instruction to set a specified operand with a time delay to the signal state
"1". The instruction is executed when the signal state at the input IN of the instruction
changes from "0" to "1" (rising edge). The delay period (PT) begins when the instruction
starts. When the time expires, the output Q has the signal state "1".
Output coil
The following figure shows the icon of the "Output coil" instruction in the program:
<Operand>
---( )---
You can use the "Output coil" instruction to set the bit of a specified operand. When the
result of logic operation (RLO) at the input of the coil is "1," the specified operand is set to
signal state "1". When the signal state is "0" at the input of the coil, the bit of the specified
operand is reset to "0".
Requirements
● The organization block "Main [OB1]" is open.
● Networks 1 to 3 of the organization block "Main [OB1]" have been programmed.
Comments to this Manuals