ItpIsFirstSegmentReached
The function ItpIsFirstSegmentReached determines whether the program start position is reached during retracing, based on the cyclic channel interface.
/ Inputs/Outputs
VAR_IN_OUT
sNciToPlc : NCTOPLC_NCICHANNEL_REF;
END_VAR
Name | Type | Description |
---|---|---|
sNciToPlc | NCTOPLC_NCICHANNEL_REF | The structure of the cyclic channel interface from the NCI to the PLC. This structure is read-only (type: NCTOPLC_NCICHANNEL_REF). |
Return value
Name | Type | Description |
---|---|---|
ItpIsFirstSegmentReached | BOOL | 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 |