• No results found

1. Select the menu command Debug > Synchronization

13.2 Event-Dependent Actions - with and without Interlock

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

range Event Instruction Address

Area

Location

S1: Actions linked to a step becoming active

S1 N Q,I,M,D* m.n As soon as the step becomes

active (enters state), the signal state of the address is 1.

0.0 to 65535.7

S1 S Q,I,M,D* m.n As soon as the step becomes

active (enters state), the address is set to 1 and then remains set to 1.

0.0 to 65535.7

S1 R Q,I,M,D* m.n As soon as the step becomes

active (enters state), the address is set to 0 and then remains set to 0.

0.0 to

As soon as the step becomes active (enters state), the specified block is called.

S1 ON S i As soon as the step becomes

active (enters state), step i is activated.

i = step number

S1 OFF S i As soon as the step becomes

active (enters state), step i is deactivated.

i = step number

S1 OFF S_ALL As soon as the step becomes

active (enters state), all steps are deactivated except for the step in which the action is located.

S1 NC Q,I,M,D* m.n As soon as the step becomes 0.0 to

Action Explanation Address range Event Instruction Address

Area

Location

S1 SC Q,I,M,D* m.n As soon as the step becomes

active (enters state) and the condition (interlock) is satisfied, the address is set to 1 and then remains set to 1.

0.0 to 65535.7

S1 RC Q,I,M,D* m.n As soon as the step becomes

active (enters state) and the condition (interlock) is satisfied, the address is set to 0 and then remains set to 0.

0.0 to

As soon as the step becomes active and the condition (interlock) is satisfied, the specified block is called.

S1 ONC S i As soon as the step becomes

active (enters state) and the condition (interlock) is satisfied, step i is activated.

i = step number

S1 OFFC S i As soon as the step becomes

active (enters state) and the condition (interlock) is satisfied, step i is deactivated.

i = step number

S1 OFFC S_ALL As soon as the step becomes

active (enters state) and the condition (interlock) is satisfied, all steps are deactivated except for the step in which the action is located.

S0: Actions linked to a step being deactivated

S0 N Q,I,M,D* m.n As soon as the step is

deactivated (leaves state), the signal state of the address is 1.

0.0 to 65535.7

S0 S Q,I,M,D* m.n As soon as the step is

deactivated (leaves state), the address is set to 1 and then remains set to 1.

0.0 to 65535.7

S0 R Q,I,M,D* m.n As soon as the step is

deactivated (leaves state), the address is set to 0 and then remains set to 0.

0.0 to 65535.7

Action Explanation Address deactivated (leaves state), the specified block is called.

S0 ON S i As soon as the step is

deactivated (leaves state), step i is activated.

i = step number

S0 OFF S i As soon as the step is

deactivated (leaves state), step i is also deactivated.

i = step number

V1: Actions linked to supervision errors entering the state

V1 N Q,I,M,D* m.n 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 signal state of the address is 1.

0.0 to 65535.7

V1 S Q,I,M,D* m.n 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 address is set to 1 and then remains set to 1.

0.0 to 65535.7

V1 R Q,I,M,D* m.n 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 address is set to 0 and then remains set to 0.

0.0 to

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

Action Explanation Address range Event Instruction Address

Area

Location

V1 OFF S i As soon as a supervision

error occurs while the step is active or a supervision error had been detected before the step became active, step i is deactivated.

0.0 to 65535.7

V1 OFF S_ALL As soon as a supervision

error occurs while the step is active or a supervision error had been detected before the step became active, all steps are deactivated except for the step in which the action is located.

0.0 to 65535.7

V1 NC Q,I,M,D* m.n 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 signal state of the address is 1.

0.0 to 65535.7

V1 SC Q,I,M,D* m.n 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 address is set to 1 and then remains set to 1.

0.0 to 65535.7

V1 RC Q,I,M,D* m.n 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 address is set to 0 and then remains set to 0.

0.0 to

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

Action Explanation Address range Event Instruction Address

Area

Location

V1 ONC S i 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, step i is activated.

0.0 to 65535.7

V1 OFFC S i 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, step i is deactivated.

0.0 to 65535.7

V1 OFFC S_ALL 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, all steps are deactivated except for the step in which the action is located.

0.0 to 65535.7

V0: Actions linked with supervision errors leaving the state

V0 N Q,I,M,D* m.n As soon as a supervision

error leaves the state (is eliminated or acknowledged), the signal state of the address is 1.

0.0 to 65535.7

V0 S Q,I,M,D* m.n As soon as a supervision

error leaves the state (is eliminated or acknowledged), the address is set to 1 and then remains set to 1.

0.0 to 65535.7

V0 R Q,I,M,D* m.n As soon as a supervision

error leaves the state (is eliminated or acknowledged),

0.0 to 65535.7

Action Explanation Address

error leaves the state (is eliminated or acknowledged), step i is activated.

i = step number

V0 OFF S i As soon as a supervision

error leaves the state (is eliminated or acknowledged), step i is also deactivated.

i = step number

L0: Actions linked with interlocks entering the state

L0 N Q,I,M,D* m.n As soon as the interlock

condition is satisfied (enters state) when the step is active, the signal state of the address is 1.

0.0 to 65535.7

L0 S Q,I,M,D* m.n As soon as the interlock

condition is satisfied when the step is active (enters state), the address is set to 1 and then remains set to 1.

0.0 to 65535.7

L0 R Q,I,M,D* m.n As soon as the interlock

condition is satisfied when the step is active (enters state), the address is set to 0 and then remains set to 0.

0.0 to

As soon as the interlock condition is satisfied when the step is active (enters state), the specified block is called.

L0 ON S i As soon as the interlock

condition is satisfied when the step is active (enters state), step i is activated.

i = step number

L0 OFF S i As soon as the interlock

condition is satisfied when the step is active (enters state), step i is deactivated.

i = step number

Action Explanation Address range Event Instruction Address

Area

Location

L1: Actions linked with interlocks leaving state

L1 N Q,I,M,D* m.n 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 signal state of the address is 1.

0.0 to 65535.7

L1 S Q,I,M,D* m.n As soon as the interlock

condition is satisfied when the step 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 address is set to 1 and then remains set to 1.

0.0 to 65535.7

L1 R Q,I,M,D*

m.n

As soon as the interlock condition is satisfied when the step 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 address is set to 0 and then remains set to 0.

0.0 to

As soon as the interlock condition is satisfied when the step 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 specified block is called.

L1 ON S i As soon as the interlock

condition is satisfied when the step is no longer satisfied

i = step number

Action Explanation Address range Event Instruction Address

Area

Location

L1 OFF S i As soon as the interlock

condition is satisfied when the step is no longer satisfied (leaves state) while the step is active or if the interlock condition is not satisfied when the step becomes active, step i is also deactivated.

i = step number

L1 OFF S_ALL As soon as the interlock

condition is satisfied when the step is no longer satisfied (leaves state) while the step is active or if the interlock condition is not satisfied when the step becomes active, all steps are deactivated except for the step in which the action is located.

A1: Actions linked to a message acknowledgment

A1 N Q,I,M,D* m.n If a message is

acknowledged, the address is set to 1 and then remains set to 1.

0.0 to 65535.7

A1 R Q,I,M,D* m.n As soon as a message is

acknowledged, the address is set to 0 and then remains set to 0.

As soon as a message is acknowledged, the specified block is called.

A1 ON S i As soon as a message is

acknowledged, step i is activated.

i = step number

A1 OFF S i As soon as a message is

acknowledged, step i is deactivated.

i = step number

Action Explanation Address satisfied, the address has signal state 1. satisfied, the address is set to 1 and then remains set to 1.

0.0 to 65535.7

A1 RC Q,I,M,D* m.n As soon as a message is

acknowledged and the condition (interlock) is satisfied, the address is set to 0 and then remains set to 0.

0.0 to

As soon as a message is acknowledged and the condition (interlock) is satisfied, the specified block is called.

A1 ONC S i As soon as a message is

acknowledged and the condition (interlock) is satisfied, step i is activated.

i = step number

A1 OFFC S i As soon as a message is

acknowledged and the condition (interlock) is satisfied, step i is deactivated.

i = step number

R1: Actions linked to setting a registration

R1 N Q,I,M,D* m.n As soon as a registration is

set, the address has signal state = 1.

0.0 to 65535.7

R1 S Q,I,M,D* m.n As soon as a registration is

set, the address is set to 1 and then remains set to 1.

0.0 to 65535.7

Action Explanation Address

set, step i is activated.

i = step number

R1 OFF S i As soon as a registration is

set, step i is deactivated.

i = step number

R1 NC Q,I,M,D* m.n As soon as a registration is

set and the condition (interlock) is satisfied, the signal state of the address is 1.

0.0 to 65535.7

R1 SC Q,I,M,D* m.n As soon as a registration is

set and the condition (interlock) is satisfied, the address is set to 1 and then remains set to 1.

0.0 to 65535.7

R1 RC Q,I,M,D* m.n As soon as a registration is

set and the condition (interlock) is satisfied, the address is set to 0 and then remains set to 0.

0.0 to

As soon as a registration is set and the condition (interlock) is satisfied, the specified block is called.

R1 ONC S i As soon as a registration is

set and the condition

(interlock) is satisfied, step i is activated.

i = step number

R1 OFFC S i As soon as a registration is

set and the condition

(interlock) is satisfied, step i is deactivated.

i = step number

Address D: Format: DBi.DBXm.n (i = block number, m = byte address, n = bit address) For CALL[C] FB/SFB, an instance DB is required.