Resistor - Functional Description

Overview

Type:

Function block

Available as of:

V2.0.3.0

Functional Description

The function block Resistor is used to manage a resistive load.

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_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 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_xRun1

BOOL

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

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.

q_xAssetAlarm

BOOL

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