HWD_Measurements2021 (FB)

Description

This function block monitors voltages of CAN1, CAN2 and RS485.

All the voltages have high and low limits, which are both signaled with a boolean output.

Each measurement limit has it's own input parameter.

 

Limitations

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

 

This function block is for 2021 unit.

 

 

Inputs

Input variable name

Data type

Range

Description

i_RS485HVoltage

UINT

 

RS485 H voltage measured value.

i_RS485LVoltage

UINT

 

RS485 L voltage measured value.

i_CAN1HVoltage

UINT

 

CAN 1 H voltage measured value.

i_CAN1LVoltage

UINT

 

CAN 1 L voltage measured value.

i_CAN2HVoltage

UINT

 

CAN 2 H voltage measured value.

i_CAN2LVoltage

UINT

 

CAN 2 L voltage measured value.

i_RS485HVoltageHighLimit

UINT

 

High limit of RS485 High voltage. 100 = 1.00 volts.

i_RS485HVoltageLowLimit

UINT

 

Low limit of RS485 High voltage. 100 = 1.00 volts.

i_RS485LVoltageHighLimit

UINT

 

High limit of RS485 Low voltage. 100 = 1.00 volts.

i_RS485LVoltageLowLimit

UINT

 

Low limit of RS485 Low voltage. 100 = 1.00 volts.

i_CAN1HVoltageHighLimit

UINT

 

High limit of CAN 1 High voltage. 100 = 1.00 volts.

i_CAN1HVoltageLowLimit

UINT

 

Low limit of  CAN 1 High voltage. 100 = 1.00 volts.

i_CAN1LVoltageHighLimit

UINT

 

High limit of  CAN 1 Low voltage. 100 = 1.00 volts.

i_CAN1LVoltageLowLimit

UINT

 

Low limit of CAN 1 Low voltage. 100 = 1.00 volts.

i_CAN2HVoltageHighLimit

UINT

 

High limit of CAN 2 High voltage. 100 = 1.00 volts.

i_CAN2HVoltageLowLimit

UINT

 

Low limit of  CAN 2 High voltage. 100 = 1.00 volts.

i_CAN2LVoltageHighLimit

UINT

 

High limit of  CAN 2 Low voltage. 100 = 1.00 volts.

i_CAN2LVoltageLowLimit

UINT

 

Low limit of  CAN 2 Low voltage. 100 = 1.00 volts.

Outputs

Output variable name

Data type

Range

Description

o_RS485HVoltage

UINT

 

Scaled value of module RS485 High voltage. 100 = 1.00 volts.

o_RS485LVoltage

UINT

 

Scaled value of module RS485 Low voltage. 100 = 1.00 volts.

o_CAN1HVoltage

UINT

 

Scaled value of module CAN 1 High voltage. 100 = 1.00 volts.

o_CAN1LVoltage

UINT

 

Scaled value of module CAN 1 Low voltage. 100 = 1.00 volts.

o_CAN2HVoltage

UINT

 

Scaled value of module CAN 2 High voltage. 100 = 1.00 volts.

o_CAN2LVoltage

UINT

 

Scaled value of module CAN 2 Low voltage. 100 = 1.00 volts.

o_RS485HVoltageHigh

BOOL

 

TRUE if RS485 H voltage is higher than limit.

o_RS485HVoltageLow

BOOL

 

TRUE if RS485 H voltage is lower than limit.

o_RS485LVoltageHigh

BOOL

 

TRUE if RS485 L voltage is higher than limit.

o_RS485LVoltageLow

BOOL

 

TRUE if RS485 L voltage is lower than limit.

o_CAN1HVoltageHigh

BOOL

 

TRUE if CAN 1 H voltage is higher than limit.

o_CAN1HVoltageLow

BOOL

 

TRUE if CAN 1 H voltage is lower than limit.

o_CAN1LVoltageHigh

BOOL

 

TRUE if CAN 1 L voltage is higher than limit.

o_CAN1LVoltageLow

BOOL

 

TRUE if CAN 1 L voltage is lower than limit.

o_CAN2HVoltageHigh

BOOL

 

TRUE if CAN 2 H voltage is higher than limit.

o_CAN2HVoltageLow

BOOL

 

TRUE if CAN 2 H voltage is lower than limit.

o_CAN2LVoltageHigh

BOOL

 

TRUE if CAN 2 L voltage is higher than limit.

o_CAN2LVoltageLow

BOOL

 

TRUE if CAN 2 L voltage is lower than limit.

 

Example code

See also

HWD_Measurements (FB)

 

Source file Topic000555.htm

Last updated 19-Dec-2024