FB_TempCtrlCallback_TcPfw()
This function block checks the type of the linked terminal once and parameterizes it according to the specified sensor type.
Syntax
VAR_INPUT
tCycle: LREAL;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
tCycle | LREAL | Cycle time |
Behavior of the function block:
By means of aaaPfwTempMparamFromHmi[..].TempSensTerm the function block detects whether the I/O electronics used support register communication or acyclic CoE communication. If this is the case, the terminal type is read out from the module and checked. If the hardware type matches the software setting, the module is set to the sensor type specified in aaaPfwTempMparamFromHmi[..].SensorType.