Idx()

Idx() 1:

Returns the xth step from the procedure.

Syntax:

METHOD Idx : I_AdaptableSeqItf
VAR_INPUT
    nIdx:        INT;
END_VAR

Idx() 2: Inputs

Name

Type

Description

nIdx

INT

The requested index

Idx() 3: Outputs

Name

Type

Description

Idx

I_AdaptableSeqItf

Found step of the procedure

Idx() 4:

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)