Tietokoneiden näyttöjä, joissa näkyy kuvaa automaatiolaboratorion laitteistosta. Monitoreiden takana näkyy sama laitteisto kuin kuvissa.

timohei.net / My Courses / My Courses / Production Automation Project / Siemens S7 How-to / Sequence Programming /
Conditions

In the condition part of the sequence structure the conditions for step advancemend are connected to the condition bit of the step.

Condition logic is connected to the step's condition bit of SequenceStepConditionBits. The condition bit for the first step is "SequenceStepConditionBits".%X0 - note the quotation marks, point and the percent sign! Other step condition bits are formed similarly by replacing %X0 with %X1 (step 2), %X2 (step 3), ..., %X31 (step 31).

Create the condition part according to the example below. Note that the condition logic is most likely more complicated than in this example where there is only one binary input as the condition in each step.

Updated 5.12.2019

<<  Previous Page
(8) Actions
Sivu 9/10Next Page >>
(10) SCL-toteutus
© Timo Heikkinen | timo piste heikkinen at oamk piste fi