SetChannelInitial
Initialization of the output values of a channel, for example with persistent data.
Syntax
Definition:
METHOD SetChannelValue : BOOL
VAR_INPUT
nChannel : UDINT;
pArrayIn : POINTER TO LREAL;
nArrayInSize : UDINT;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
nChannel | UDINT | Channel index (1 to nChannels) |
pArrayIn | POINTER TO LREAL | Pointer to an array from which the trend results are to be initialized. Dim: 10080 elements |
nArrayInSize | UDINT | Array size. |
Return value
Name | Type | Description |
---|---|---|
SetChannelInitial | BOOL | Returns |