FB_AdaptableSequence
Allows variable extension of implemented procedures of a class. The class itself is used to manage all sequences and to indicate the state of a single sequence with reference to the management (master).
Syntax:
FUNCTION_BLOCK FB_AdaptableSequence
Properties
Name | Type | Access | Initial value | Description |
---|---|---|---|---|
ActiveSeq | I_AdaptableSeqItf | Get | THIS^ | Interface to the current step of the procedure. |
Done | BOOL | Get, Set | FALSE | Indicates successful processing of a procedure step. |
Failed | BOOL | Get, Set | FALSE | Indicates the failed execution of a procedure step. |
Index | BOOL | Get | 0 | Index of the class in relation to the overall procedure. |
IsActive | BOOL | Get | FALSE | The class is active as the current sequence. |
IsMaster | BOOL | Get | TRUE | The class is the management object of a procedure. |
Length | INT | Get | 0 | Length of the list of appended procedure steps. |
Next | I_AdaptableSeqItf | Get | NULL | Interface to the next step of the procedure. |
Tag | Get | <Local> | Arbitrary value for saving user-defined information. |
Methods
Name | Description |
---|---|
Append( | Appends a step to the procedure. |
Checks whether the current step of the procedure has been processed. | |
Deletes all sequences from the master. | |
Checks whether a sequence is included in the master. | |
Returns the xth step from the procedure. | |
Inserts a step in the procedure. | |
Requests jumping to a sequence that does not follow. | |
Reset() | Slave: Resets the state of the procedure step. |
[ | Assigns a master to the procedure step. |
Interfaces
Type | Description |
---|---|
I_AdaptableSeqItf | Interface for implementation as slave. |
I_AdaptableSeqState | Interface for reading the sequence state. |
I_AdaptableSeqQuery | Advanced interface for editing by the master. |
I_AdaptableSeqMaster | Interface for implementation as master. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT >= v3.1.4024.54 (recommended) | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.7.0) |