ST_StandardModuleInterface - General Information

Overview

Type:

Data structure

Available as of:

V1.0.4.0

Inherits from:

-

Description

The structure contains the data of the default interface of an equipment module.

Structure Elements

Variable

Data type

Description

i_xEnable

BOOL

A rising edge FALSE -> TRUE activates the module, a falling edge TRUE -> FALSE disables the module.

A disabled module does not execute any actions.

i_udiModuleId

UDINT

The number of the module in terms of the hierarchy tree of the machine.

i_sModuleName

STRING[80]

The name of the module.

i_stReaction

ST_Reaction

The active reactions to the exceptions of the machines which the module shall execute.

i_xDiagQuit

BOOL

The rising edge FALSE -> TRUE acknowledges the active exceptions of the module.

i_xLogEnable

BOOL

TRUE: The logger of the module is activated. The module issues messages in the logging list.

i_wLogDataFilter

WORD

Filter for the module logger according to the priority of the message.

iq_diCmd

DINT

Transfer of the command to the module.

iq_diStartStep

DINT

Step as of which the command table shall be processed.

iq_stExt

ST_StandardModuleInterfaceExt

Additional parameterization data of the module.

q_xActive

BOOL

TRUE: The module is active and must be executed further

FALSE: The module is inactive

q_xReady

BOOL

TRUE: The module is ready and can accept user commands.

FALSE: The module is not ready to accept user commands.

q_xCmdActive

BOOL

TRUE: The module executes a command.

q_diCmdActive

DINT

The number of the command which is currently being executed or which was executed last.

q_xCmdDone

BOOL

TRUE: The module has successfully executed the command.

q_etDiag

GD.ET_Diag

General, library-independent statement on the diagnostic.

A value unequal GD.ET_Diag.Ok equates an error message.

q_udiDiagExt

UDINT

POU-specific output on the diagnostic.

q_etDiag = GD.ET_Diag.Ok -> status message

q_etDiag <> GD.ET_Diag.Ok -> error message

q_sDiagExt

STRING[80]

The name of the respective enumeration of q_udiDiagExt as plain text.

q_sMsg

STRING[80]

Event-triggered message which gives more detailed information on the diagnostic state.

q_dwModuleType

DWORD

The number of the type of the equipment module. The type number for Schneider Electric equipment modules are managed in ET_ModuleType.

q_sModuleTypeName

STRING[25]

The type of the equipment module as text.

q_udiModuleVersion

UDINT

The version of the equipment module.

q_udiActiveSubModule

UDINT

The number of the first active submodule which is subordinate to this equipment module.

The numbering starts with 1 and ends with the number of the submodules which are subordinate to this equipment module. The number does not match the module ID of the submodule.

q_udiSubModuleInException

UDINT

The number of the first submodule with an active exception which is subordinate to this equipment module.

The numbering starts with 1 and ends with the number of the submodules which are subordinate to this equipment module. The number does not match the module ID of the submodule.

q_xException

BOOL

TRUE: The module has added an exception to the exception list (regardless which reaction). Exceptions thrown by a SubModule have no effect to this output.

FALSE: The module has not added an exception to the exception list, or the exceptions from this module are reset via diag quit.