1. Select the menu command Debug > Synchronization
13.3 Counters in Actions
These actions are executed once when the event occurs and the corresponding step is active. When the sequencer is run through after this, an event-dependent action is executed again only when the event occurs again.
Action Explanation Address
S1: Counters in actions linked with activation of a step
S1 CS C
<initial counter value>
X As soon as the step becomes active (enters state), the initial counter value is loaded in the counter.
x = counter number
S1 CU C X As soon as the step becomes active (enters
state), the counter is incremented by 1.
x = counter number
S1 CD C X As soon as the step becomes active (enters
state), the counter is decremented by 1.
x = counter number
S1 CR C X As soon as the step becomes active (enters
state), the counter is reset to 0.
x = counter
X As soon as the step becomes active (enters state) and the condition (interlock) is satisfied, the initial counter value is loaded in the counter.
x = counter number
S1 CUC C X As soon as the step becomes active (enters
state) and the condition (interlock) is satisfied, the counter is incremented by 1.
x = counter number
S1 CDC C X As soon as the step becomes active (enters
state) and the condition (interlock) is satisfied, the counter is decremented by 1.
x = counter number
S1 CRC C X As soon as the step becomes active (enters
state) and the condition (interlock) is satisfied, the counter is reset to 0.
x = counter number
S0: Counters in actions linked with deactivation of a step
Action Explanation Address
S0 CD C X As soon as the step is deactivated (leaves
state), the counter is decremented by 1.
x = counter number
S0 CR C X As soon as the step is deactivated (leaves
state), the counter is reset to 0.
x = counter number L1: Counters in actions linked with interlocks leaving state
L1 CS C
<initial counter value>
X 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 initial counter value is loaded in the counter.
x = counter number
L1 CU C X 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 counter is incremented by 1.
x = counter number
L1 CD C X 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 counter is decremented by 1.
x = counter number
L1 CR C X 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 counter is reset to 0.
x = counter number
L0: Counters in actions linked with interlocks entering state
L0 CS C
<initial counter value>
X As soon as the interlock condition is satisfied when the step is active (enters state), the initial counter value is loaded in the counter.
x = counter number
L0 CU C X As soon as the interlock condition is satisfied when the step is active (enters state), the counter is incremented by 1.
x = counter number
L0 CD C X As soon as the interlock condition is satisfied when the step is active (enters state), the counter is decremented by 1.
x = counter number
L0 CR C X As soon as the interlock condition is satisfied when the step is active (enters state), the
x = counter number
Action Explanation Address
V1: Counters in actions linked to supervision errors entering the state
V1 CS C
<initial counter value>
X As soon as a supervision error occurs while the step is active or a supervision error had been detected before the step became active, the initial counter value is loaded in the counter.
x = counter number
V1 CU C X As soon as a supervision error occurs while
the step is active or a supervision error had been detected before the step became active, the counter is incremented by 1.
x = counter number
V1 CD C X As soon as a supervision error occurs while
the step is active or a supervision error had been detected before the step became active, the counter is decremented by 1.
x = counter number
V1 CR C X As soon as a supervision error occurs while
the step is active or a supervision error had been detected before the step became active, the counter is reset to 0.
x = counter
X As soon as a supervision error occurs while the step is active or a supervision error had been detected before the step became active and the condition (interlock) is satisfied, the initial counter value is loaded in the counter.
x = counter number
V1 CUC C X As soon as a supervision error occurs while the step is active or a supervision error had been detected before the step became active and the condition (interlock) is satisfied, the counter is incremented by 1.
x = counter number
V1 CDC C X As soon as a supervision error occurs while the step is active or a supervision error had been detected before the step became active and the condition (interlock) is satisfied, the counter is decremented by 1.
x = counter number
Action Explanation Address
V0: Counters in actions linked to supervision errors leaving the state
V0 CS C
<initial counter value>
X As soon as a supervision error leaves the state (is eliminated or acknowledged), the initial counter value is loaded in the counter.
x = counter number
V0 CU C X As soon as a supervision error leaves the state (is eliminated or acknowledged), the counter is incremented by 1.
x = counter number
V0 CD C X As soon as a supervision error leaves the state (is eliminated or acknowledged), the counter is decremented by 1.
x = counter number
V0 CR C X As soon as a supervision error leaves the state (is eliminated or acknowledged), the counter is reset to 0.
x = counter number
A1: Counters in actions linked with a message acknowledgment
A1 CS C
<initial counter value>
X As soon as a message is acknowledged), the initial counter value is loaded in the counter.
x = counter number
A1 CU C X As soon as a message is acknowledged, the
counter is incremented by 1.
x = counter number
A1 CD C X As soon as a message is acknowledged, the
counter is decremented by 1.
x = counter number
A1 CR C X As soon as a message is acknowledged, the
counter is reset to 0.
x = counter
X As soon as a message is acknowledged and the condition (interlock) is satisfied, the initial counter value is loaded in the counter.
x = counter number
A1 CUC C X As soon a message is acknowledged and the
condition (interlock) is satisfied, the counter is incremented by 1.
x = counter number
A1 CDC C X As soon a message is acknowledged and the
condition (interlock) is satisfied, the counter is decremented by 1.
x = counter number
A1 CRC C X As soon as a message is acknowledged and x = counter
Action Explanation Address
R1: Counters in actions linked to setting a registration
R1 CS C
<initial counter value>
X As soon as a registration is set, the initial counter value is loaded in the counter.
x = counter number
R1 CU C X As soon as a registration is set, the counter is incremented by 1.
x = counter number R1 CD C X As soon as a registration is set, the counter is
decremented by 1.
x = counter number R1 CR C X As soon as a registration is set, the counter is
reset to 0.
X As soon as a registration is set and the condition (interlock) is satisfied, the initial counter value is loaded in the counter.
x = counter number
R1 CUC C X As soon a registration is set and the condition (interlock) is satisfied, the counter is
incremented by 1.
x = counter number
R1 CDC C X As soon a registration is set and the condition (interlock) is satisfied, the counter is
decremented by 1.
x = counter number
R1 CRC C X As soon as a registration is set and the condition (interlock) is satisfied, the counter is reset to 0.
x = counter number