SetChannelValue
Set channel specific input value. The input value is not processed until the Call() method has been invoked.
Syntax
Definition:
METHOD SetChannelValue : BOOL
VAR_INPUT
nChannel : UDINT;
input : ANY;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
nChannel | UDINT | Channel index 1: Scheduled Time: The operating time is calculated from the calendar time minus the scheduled non-production. 2: Operating Time: The running time is calculated from the operating time minus the downtimes. 3: Units Produced: Corresponds to the number of units produced including defective units. 4: Defective Units: Corresponds to the number of defective units. |
Input | ANY | Input value of any data type. |
Return value
Name | Type | Description |
---|---|---|
SetChannelValue | BOOL | Returns |