ST_TcPfw_xL3403_State

Such a structure contains the results of the power measurement and makes this available to the application.

Syntax

TYPE ST_TcPfw_xL3403_State :
(* location PfwLib_TempControl.PRO *)
(* last modification: 08.09.2010 *)
STRUCT
    Power: ARRAY[1..3] OF LREAL;
    Voltage: ARRAY[1..3] OF LREAL;
    Current: ARRAY[1..3] OF LREAL;
    LineError: ARRAY[1..3] OF BOOL;

    SubType      : INT;
    ErrorID      : INT;
    LatchedErrID : INT;
    LatchedErr   : BOOL;
    Error        : BOOL;
    Ready        : BOOL;
END_STRUCT
END_TYPE

Parameter

Name

Type

Description

Power

ARRAY OF LREAL

Prepared power for further processing.

Voltage

ARRAY OF LREAL

Prepared tension for further processing.

Current

ARRAY OF LREAL

Prepared current for further processing.

LineError

ARRAY OF BOOL

A TRUE indicates that the terminal is in an error state.

SubType

INT

The terminal subtype, which influences the conversion factor.

ErrorID

INT

Detailed information about the error is provided via this ErrorID. The error codes can be consulted in the constants.

LatchedErrID

INT

Here the last active ErrorID is stored even after an error reset.

LatchedErr

BOOL

Latched Error = TRUE remains active even after an error reset. This must be actively reset, i.e. LatchedError = FALSE.

Error

BOOL

A TRUE indicates that the function block is in an error state. By a TRUE at the reset input of the function block FB_xL3403_TcPfw.htm it is possible to reset the function block.

Ready

BOOL

Indicates a completed conversion at a KL terminal.