FB_EmPhaseGuarded
Defines the extended scope of information for a measured phase.
Syntax:
FUNCTION_BLOCK FB_EmPhaseGuarded EXTENDS FB_EmPhase
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 |
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 |
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) | PC or CX (x64, x86) | Tc3_PlasticBaseApplication (>= v3.12.7.0) |