HWD_Measurements(FB)

Description

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.

Limitations

The low and high limit parameters for supply voltage must be set within the specified voltage range of the control unit.

 

 

 

Inputs

Input variable name

Data type

Range

Description

i_SupplyVoltage

UINT

0..1023

Supply voltage measured value.

i_Internal2_5V

UINT

0..1023

Internal 2,5V measured value.

i_Internal3_6V

UINT

0..1023

Internal 3,6V measured value.

i_Internal7_3V

UINT

0..1023

Internal 7,3V measured value.

i_Ref5V

UINT

0..1023

Reference 5V measured value.

i_Temperature

UINT

0..1023

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_Internal2_5VHighLimit

UINT

 

High limit of internal 2,5V voltage. 100 = 1,00 volts.

i_Internal2_5VLowLimit

UINT

 

Low limit of internal 2,5V voltage. 100 = 1,00 volts.

i_Internal3_6VHighLimit

UINT

 

High limit of internal 3,6V voltage. 100 = 1,00 volts.

i_Internal3_6VLowLimit

UINT

 

Low limit of internal 3,6V voltage. 100 = 1,00 volts.

i_Internal7_3VHighLimit

UINT

 

High limit of internal 7,3V voltage. 100 = 1,00 volts

i_Internal7_3VLowLimit

UINT

 

Low limit of internal 7,3V 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_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.

Outputs

Output variable name

Data type

Range

Description

o_SupplyVoltage

UINT

0..45,99V

Scaled value of module supply voltage. 100 = 1,00 volts..

o_Internal2_5V

UINT

0..5,00V

Scaled value of internal 2,5V voltage. 100 = 1,00 volts.

o_Internal3_6V

UINT

0..5,00V

Scaled value of internal 3,6V voltage. 100 = 1,00 volts.

o_Internal7_3V

UINT

0..10,00V

Scaled value of internal 7,3V voltage. 100 = 1,00 volts.

o_Ref5V

UINT

0..5,00V

Scaled value of 5V 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_Internal2_5VHigh

BOOL

 

TRUE if internal 2,5V voltage is higher than limit

o_Internal2_5VLow

BOOL

 

TRUE if internal 2,5V voltage is lower than limit

o_Internal3_6VHigh

BOOL

 

TRUE if internal 3,6V voltage is higher than limit

o_Internal3_6VLow

BOOL

 

TRUE if internal 3,6V voltage is lower than limit

o_Internal7_3VHigh

BOOL

 

TRUE if internal 7,3V voltage is higher than limit

o_Internal7_3VLow

BOOL

 

TRUE if internal 7,3V 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_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

 

Example code

See also

-

 

Source file topic000773.htm

Last updated 4-Sep-2025