Switch - Functional Description

Overview

Type:

Function block

Available as of:

V2.0.3.0

G-SE-0075858.2.png

 

 

Functional Description

The function block Switch establishes or interrupts a power line in an electric circuit.

Interface

Input

Data type

Description

iq_TeSysIslandRef

FB_TeSys_island

Reference to the TeSys island device.

i_sAvatarName

STRING(GPL.Gc_uiLengthOfAvatarName)

Reference to the avatar defined in the TeSys island configuration.

i_xEnable

BOOL

A rising edge at the input i_xEnable starts the cyclic data exchange between the function block and the selected avatar. As long as i_xEnable is TRUE the cyclic data is exchanged every controller cycle. A falling edge at the input i_xEnable stops the data exchange. Refer to Behavior of the Function Blocks with the Input i_xEnable.

i_xResetTrip

BOOL

Triggers the trip reset for all configured avatars.

i_xRun1

BOOL

If this input is set to TRUE, the avatar forward switch is closed.

Output

Data type

Description

q_xActive

BOOL

If the function block is active, this output is set to TRUE.

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_xReady

BOOL

Indicates TRUE if the function block is ready to receive an execute command.

q_xUpstreamVltg1

BOOL

If this output is set to TRUE, the avatar has detected that upstream main power of the first device is present (circuit breaker closed).

q_xRun1

BOOL

If this output is set to TRUE, the avatar forward switch is closed.

q_xLoadRunning

BOOL

If this output is set to TRUE, a Run or Close command has been executed and current is flowing in the poles (equivalent to motor running but also for non-motor avatars).

(Unit: mA)

q_udiAvgIRMS

UDINT

Indicates the lifetime average current measured by the device.

(Unit: mA)

q_xAlarm

BOOL

If this output is set to TRUE, a protection event has been detected by the avatar.

q_xTripped

BOOL

If this output is set to TRUE, a protection trip event has been detected by the avatar.

q_xReadyToReset

BOOL

If this output is set to TRUE, the avatar meets the trip reset conditions and can be reset with a trip reset command.

q_xAssetAlarm

BOOL

If this output is set to TRUE, a power device or SIL Interface Module within the avatar have reached or exceeded 90% of the rated number of operations (per avatar parameter).