Idx()
Returns the xth step from the procedure.
Syntax:
METHOD Idx : I_AdaptableSeqItf
VAR_INPUT
nIdx: INT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
nIdx | INT | The requested index |
Outputs
Name | Type | Description |
---|---|---|
Idx | I_AdaptableSeqItf | Found step of the procedure |
Invalid indexes To avoid exceptions caused by an invalid value on input nIdx, the function returns the master in case of an error. Therefore, the method should be treated comparable to an array index by considering the total length of the sequence list. |
Requirements
Development environment | Target platform | PLC libraries to include |
---|---|---|
TwinCAT v3.1.4024.35 | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.5.0) |