This function block monitors voltages, temperatures and the program cycle time of the control unit. All the voltages and temperatures have high and low limits, both signaled with a boolean output when exceeded. Each measurement limit has it's own parameter. Only the high limit of the program cycle time can be set and monitored.
|
The low and high limit parameters for supply voltage must be set within the specified voltage range of the control unit.
|
Input variable name |
Data type |
Range |
Description |
i_SupplyVoltage |
UINT |
|
Supply voltage measured value. |
i_Ref5V |
UINT |
|
Reference 5V measured value. |
i_Ref12V |
UINT |
|
Reference 12V measured value. |
i_Temperature |
UINT |
|
Temperature measured value. |
i_SupplyVoltageHighLimit |
UINT |
|
High limit of supply voltage. 100 = 1.00 volts. |
i_SupplyVoltageLowLimit |
UINT |
|
Low limit of supply voltage. 100 = 1.00 volts. |
i_Ref5VHighLimit |
UINT |
|
High limit of 5V reference voltage. 100 = 1.00 volts. |
i_Ref5VLowLimit |
UINT |
|
Low limit of 5V reference voltage. 100 = 1.00 volts. |
i_Ref12VHighLimit |
UINT |
|
High limit of 12V reference voltage. 100 = 1.00 volts. |
i_Ref12VLowLimit |
UINT |
|
Low limit of 12V reference voltage. 100 = 1.00 volts. |
i_TempHighLimit |
INT |
|
High limit of temperature 1. 10 = 1 °C. |
i_TempLowLimit |
INT |
|
Low limit of temperature 1. 10 = 1 °C. |
i_CycleTimeHighLimit |
UINT |
|
High limit of application cycle time in milliseconds. |
Output variable name |
Data type |
Range |
Description |
o_SupplyVoltage |
UINT |
|
Scaled value of module supply voltage. 100 = 1.00 volts.. |
o_Ref5V |
UINT |
|
Scaled value of 5 volt reference voltage. 100 = 1.00 volts. |
o_Ref12V |
UINT |
|
Scaled value of 12 volt reference voltage. 100 = 1.00 volts. |
o_Temperature |
INT |
|
Calculated value of temperature 1. 10 = 1 °C |
o_CycleTime |
UINT |
|
Latest application cycle time in milliseconds |
o_CycleTimeAverage |
UINT |
|
Average application cycle time in milliseconds. |
o_SupplyVoltageHigh |
BOOL |
|
TRUE if supply voltage is higher than limit |
o_SupplyVoltageLow |
BOOL |
|
TRUE if supply voltage is lower than limit |
o_Ref5VHigh |
BOOL |
|
TRUE if 5V reference voltage is higher than limit |
o_Ref5VLow |
BOOL |
|
TRUE if 5V reference voltage is lower than limit |
o_Ref12VHigh |
BOOL |
|
TRUE if 12V reference voltage is higher than limit |
o_Ref12VLow |
BOOL |
|
TRUE if 12V reference voltage is lower than limit |
o_TemperatureHigh |
BOOL |
|
TRUE if temperature 1 is higher than limit |
o_TemperatureLow |
BOOL |
|
TRUE if temperature 1 is lower than limit |
o_CycleTimeHigh |
BOOL |
|
TRUE if application cycle time is higher than limit |

This example is generic for all c167 control units. Measured analog inputs may vary in different hardware.
-
Source file Topic000462.htm
Last updated 4-Sep-2025