ItpIsMovingBackwards

ItpIsMovingBackwards 1:

ItpIsMovingBackwards is a function that determines whether backward movement takes place on the path of the current G-Code program, 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 backward movement takes place on the path. 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