ItpGetHskMFunc

ItpGetHskMFunc 1:

The function ItpGetHskMFunc supplies the number of the M-function of type handshake.

ItpGetHskMFunc 2:/ItpGetHskMFunc 3: 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).

ItpGetHskMFunc 4: Return value

Name

Type

Description

ItpGetHskMFunc

INT

Number of the M-function

ItpGetHskMFunc 5:

ItpGetHskMFunc evaluates the variable 'nHskMFuncNo' from the cyclic interface.

Requirements

Development environment

Target platform

PLC libraries to be linked

TwinCAT v3.1.0

PC or CX (x86 or x64)

Tc2_NCI