SequenceSwitch (FB)

FUNCTION_BLOCK SequenceSwitch

SequenceSwitch is suppose to be used to switch sequence configuration of SequenceControl depending on process information.

It’s not a lot functionality, basically it’s a type safe multiplexer of type SequenceControlSequences.

InOut:

Scope

Name

Type

Initial

Comment

Input

eSequences1

SequenceControlSequences

SequenceControlSequences.UNUSED

Sequence configuration 1

eSequences2

SequenceControlSequences

SequenceControlSequences.UNUSED

Sequence configuration 2

xSequences1

BOOL

TRUE

Sequence configuration selection - TRUE -> sequence configuration 1, FALSE -> equence configuration 2

Output

eSequences

SequenceControlSequences