FB_EmPhaseGuarded

FB_EmPhaseGuarded 1:

Defines the extended scope of information for a measured phase.

Syntax:

FUNCTION_BLOCK FB_EmPhaseGuarded EXTENDS FB_EmPhase

FB_EmPhaseGuarded 2: I/O variables

Name

Type

Access

Description

fCurrent

REAL

Input

Current of the phase.

fVoltage

REAL

Input

Voltage of the phase.

bVoltageGuardWarning

BOOL

Input

Voltage guard warning

bVoltageGuardError

BOOL

Input

Voltage guard error

bCurrentGuardWarning

BOOL

Input

Current guard warning

bCurrentGuardError

BOOL

Input

Current guard error

FB_EmPhaseGuarded 3: Properties

Name

Type

Access

Initial value

Description

Current

LREAL

Get

0.0

Current of the phase.

Voltage

LREAL

Get

0.0

Voltage of the phase.

VoltageGuardWarning

BOOL

Get

FALSE

Voltage guard warning

VoltageGuardError

BOOL

Get

FALSE

Voltage guard error

CurrentGuardWarning

BOOL

Get

FALSE

Current guard warning

CurrentGuardError

BOOL

Get

FALSE

Current guard error

FB_EmPhaseGuarded 4: Interfaces

Type

Description

I_EmPhase

Standard interface on FB_EmPhase.

I_EmPhaseGuarded

Standard interface on FB_EmPhaseGuarded.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT >= v3.1.4024.54 (recommended)
TwinCAT >= v3.1.4024.42 (required)

PC or CX (x64, x86)

Tc3_PlasticBaseApplication (>= v3.12.7.0)