MaintenanceData - Functional Description

Overview

Type:

Function block

Available as of:

V2.0.3.0

Functional Description

The function block MaintenanceData returns the maintenance information of the devices.

Interface

Input

Data type

Description

iq_TeSysIslandRef

FB_TeSys_island

Reference to the TeSys island device.

i_xExecute

BOOL

Upon a rising edge of this input, the function block starts the execution. The outputs q_xDone, q_xError, q_etResult, and q_etResultMsg are reset with the falling edge of i_xExecute. Refer to Behavior of Function Blocks with the Input i_xExecute.

i_sDeviceName

STRING(GPL.Gc_uiLengthOfDeviceName)

Reference to the device defined in the TeSys island configuration.

Output

Data type

Description

q_xError

BOOL

If this output is set to TRUE, an error has been detected. For details, refer to q_etResult and q_etResultMsg.

q_etResult

ET_Result

Provides diagnostic and status information as a numeric value.

q_sResultMsg

STRING[30}

Provides additional diagnostic and status information as a text message.

q_xBusy

BOOL

If this output is set to TRUE, the function block execution is in progress.

q_xDone

BOOL

If this output is set to TRUE, the execution has been completed successfully.

q_udiTimeModuleOn

UDINT

This output indicates the elapsed time that the module has been powered on in its lifetime (Unit: h).

q_udiTimeSwitchOn

UDINT

This output indicates the elapsed time the contactor has been in the closed state

(Unit: h).

q_uiEventCntr

UINT

This output indicates how many times this module has detected a device event. This value does not include device events which prevent the saving or corruption of the non-volatile memory.

q_udiContacterCycleCntr

UDINT

This output indicates how many times the contactor has been commanded to the closed state from the open state.

udiDevicePowerCycleCntr

UDINT

This output indicates how many times the device has been powered on.

q_udiSILStopCntr

UDINT

This output indicates the number of mirror relay operations.

q_uiMaxIRMS

UINT

This output indicates the maximum current the device has measured in its lifetime.

(Unit: 0.1A)

q_udiAvgIRMS

UDINT

Indicates the lifetime average current measured by the device.

(Unit: mA)

q_uiMaxAvgVltg

UINT

This output indicates the lifetime average current measured by the device.

(Unit: V)

q_uiAvgVltg

UINT

Average RMS voltage on three phases (Unit: V).