Conditions - Siemens SIMATIC S7-GRAPH Manual

For s7-300/400 programming sequential control systems
Table of Contents

Advertisement

Programming Actions and Conditions
Example: Action table with counters and arithmetic as alternative to counting step
activations
S4
Step4
Two alternatives for counting production cycles:
(1): As soon as the step is active, the counter C23 is incremented by 1. The
counter therefore counts the number of times the step is activated.
(2): As soon as the step becomes active, the value of A is incremented by 1. In this
way, the arithmetic can be used to count actions based on the number of
activations of the step.
7.5

Conditions

Conditions are binary states of the process that are combined with each other as
LAD or FBD elements (normally-open contact, normally-closed contact, AND box,
OR box, comparator) in the LAD diagram or in the function block diagram
according to Boolean logic. The result of the logic operation (RLO) can influence
individual actions of a step, the entire step, the enabling of the next step or the
entire sequencer. Logic operations are programmed in Ladder Logic or FBD.
Conditions are :
• Events (for example active step is exited) and
• States (for example input I 2.1 is set)
Areas in which Conditions Can Occur
Conditions occur in the following areas:
• Transition (enabling the next step)
• Interlocks
• Supervisions
• Permanent instructions (conditions and block calls at the start and/or at the end
of the sequencer)
7-14
Step4
1
S1 CU
Z23
S1 N
2
A:=A+1
S7-GRAPH for S7 300/400 Programming Sequential Control Systems
C79000-G7076-C526-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMATIC S7-GRAPH and is the answer not in the manual?

Table of Contents

Save PDF