PowerInterfaceIO - Functional Description

Overview

Type:

Function block

Available as of:

V2.0.3.0

Functional Description

The function block PowerInterfaceIO is used to monitor current and control an external power device, such as a solid-state relay, soft starter, or variable speed drive.

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 at 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

If this input is set to TRUE, an avatar trip event is reset.

i_xLQ1

BOOL

If this input is set to TRUE, the logical output 1 is set to TRUE.

i_xLQ2

BOOL

If this input is set to TRUE, the logical output 2 is set to TRUE.

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 avatar is ready to receive commands.

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_xLQ1

BOOL

If this output is set to TRUE, the logical output 1 is set to TRUE.

q_xLQ2

BOOL

If this output is set to TRUE, the logical output 2 is set to TRUE.

q_xLI1

BOOL

If this output is set to TRUE, the logical input 1 of the avatar is set to TRUE.

q_xLI2

BOOL

If this output is set to TRUE, the logical input 2 of the avatar is set to TRUE.

q_xLoadStarting

BOOL

If this output is set to TRUE, the motor is in start phase.

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).

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.