Overview of All Actions
S7-GRAPH for S7-300/400 Programming Sequential Control Systems
C79000-G7076-C526-01
13-23
13.5 Arithmetic in Actions
These actions are either executed in every cycle in which the relevant step is active
or once when the relevant event occurs.
Action
Explanation
Event Instruction Assignment
-- N A:=B
A:=func(B)
A:=B<operator>C
As long as the step is active, the arithmetic is executed.
-- NC A:=B
A:=func(B)
A:=B<operator>C
As long as the step is active and the condition (interlock) is
satisfied, the arithmetic is executed.
S1: Arithmetic in actions linked with activation of a step
S1 N A:=B
A:=func(B)
A:=B<operator>C
As soon as the step becomes active (enters state), the
arithmetic is executed.
S1 NC A:=B
A:=func(B)
A:=B<operator>C
As soon as the step becomes active (enters state) and the
condition (interlock) is satisfied, the arithmetic is executed.
S0: Arithmetic in actions linked with deactivation of a step
S0 N A:=B
A:=func(B)
A:=B<operator>C
As soon as the step is deactivated (leaves state), the
arithmetic is executed.
L1: Arithmetic in actions linked with interlocks leaving state
L1 N A:=B
A:=func(B)
A:=B<operator>C
As soon as the interlock condition is no longer satisfied
(leaves state) while the step is active or if the interlock
condition is not satisfied when the step becomes active, the
arithmetic is executed.
L1: Arithmetic in actions linked with interlocks entering state
L0 N A:=B
A:=func(B)
A:=B<operator>C
As soon as the interlock condition is satisfied (enters state)
when the step is active, the arithmetic is executed.