ItpGetHskMFunc
from library version 4.0
ItpGetHskMFunc supplies the number of the M function of type handshake.
Interface
FUNCTION ItpGetHskMFunc
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. This structure is only accessed for reading. |
Return value
Data type | Description |
|---|---|
INT | Number of the M-function |
![]() | ItpGetHskMFunc evaluates the variable 'nHskMFuncNo' from the cyclic interface. |
Prerequisites
|
Development environment |
Target platform |
PLC libraries to be linked |
|---|---|---|
|
TwinCAT v2.7.0 |
PC (i386) |
TcNciItp.lib |
|
TwinCAT v2.8.0 |
PC (i386) |
TcNci.lib |
