
Extended example
3.2 Expanding the program
STEP 7 Basic V10.5
108 Getting Started, 12/2009, A5E02651459-01
Procedure
To program the PLC of the heating process, follow these steps:
1. Open the third network of the organization block "Main [OB1]".
2. Insert a normally open contact.
3. Interconnect the normally open contact with the tag "LS_2".
4. Insert the instruction "Set/reset flip-flop".
5. In the operand placeholder, click above the instruction "Set/reset flip-flop" and
interconnect this with the tag "chamber_ON_OFF".
When the light barrier (LS2) detects a bottle, the tag "LS_2" has the signal state "1" at the
input of the instruction "Set/reset flip-flop". The chamber_ON_OFF tag is thereby set and
the heating chamber is switched on.
Kommentare zu diesen Handbüchern