ItpIsFirstSegmentReached

ItpIsFirstSegmentReached 1:

ItpIsFirstSegmentReached is a function that determines whether the program start position is reached during retracing, based on the cyclic channel interface.

VAR_IN_OUT

VAR_IN_OUT
    sNciToPlc           : NCTOPLC_NCICHANNEL_REF;
END_VAR

sNciToPlc: The structure of the cyclic channel interface from the NCI to the PLC. This structure is only accessed for reading. (type: NCTOPLC_NCICHANNEL_REF)

Return value

The function returns TRUE when the start position of the G-Code program is reached. If the version number of the cyclic channel interface is less than 6, the return value is always FALSE.

Voraussetzungen

Entwicklungsumgebung

Zielplattform

Einzubindende SPS-Bibliotheken

TwinCAT V3.1.0 Classic Interpreter

TwinCAT V3.1.4024.40 GST Interpreter

PC oder CX (x86 oder x64)

Tc2_NCI