ItpGetHParam

from library version 4.0

ItpGetHParam 1:

ItpGetHParam 2:

ItpGetHParam is a function that returns the current H-parameter.

Interface

FUNCTION ItpGetHParam

VAR_IN_OUT
sNciToPlc      : NciChannelToPlc;
END_VAR

NciChannelToPlc

Input parameters

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

DINT

H parameter

ItpGetHParam 3:

ItpGetHParam evaluates the variable 'nHFuncValue' from the cyclic interface.

Sample

VAR
nHParam: DINT;
sNciToPlc: NciChannelToPlc;
END_VAR
nHParam := ItpGetHParam( sNciToPlc ); 

Requirements

Development Environment

Target System

PLC libraries to include

TwinCAT v2.7.0

PC (i386)

TcNciItp.lib

TwinCAT v2.8.0

PC (i386)

TcNci.lib