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_Ref5V

UINT

0..1023

Reference 5V measured value.

i_Ref12V

UINT

0..1023

Reference 12V 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_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.

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_Ref5V

UINT

0..5,00V

Scaled value of 5 volt reference voltage. 100 = 1.00 volts.

o_Ref12V

UINT

0..23,63V

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

 

Example code

 

This example is from Epec 3724 control unit. Measured analog inputs may vary in different hardware.

See also

-

 

Source file Topic000534.htm

Last updated 19-Dec-2024