ItpIsFirstSegmentReached
from version 6 of the cyclic channel interface

ItpIsFirstSegmentReached is a function that determines whether the program starting position is reached during reversing, based on the cyclic channel interface.
Function ItpIsFirstSegmentReached: BOOL
VAR_IN_OUT
sNciToPlc : NciChannelToPlc;
END_VAR
Input & output |
Data type |
Description |
---|---|---|
sNciToPlc |
NciChannelToPlc |
The structure of the cyclic channel interface from the NCI to the PLC. |
Return value
The function returns TRUE when the starting 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.