ST_AdditionalMode

 

ST_AdditionalMode - General Information

Overview

Type:

data structure

Available as of:

V1.0.2.0

Inherits from:

-

Versions:

current version

Description

In this structure, the parameters and the return values of the operation mode Additional of the FB_CrankModule are summarized.

Structure Elements

Variable

Data type

Description

i_etDiag

GD.ET_Diag

This parameter must be linked to the q_etDiag output of the external POU.

i_udiDiagExt

DINT

This parameter must be linked to the q_etDiagExt output of the external POU.

i_sDiagExt

STRING[80]

This parameter must be wired to the name of the enum which was transferred to i_udiDiagExt. In the case of an error detection, this string is specified in the diagnostic message.

i_sMsg

STRING[80]

This parameter must be linked to the q_sMsg output of the external POU.

i_xActive

BOOL

This parameter must be linked to the q_xActive output of the external POU. The bit reports to the CrankModule that the function block was activated.

i_xReady

BOOL

This parameter must be linked to the q_xReady output of the external POU. The bit reports to the CrankModule that the function block was activated and successfully initialized.

i_xActionCmdDone

BOOL

A TRUE at this variable reports to the CrankModule that the commands Hold, Start and WsStart have triggered and completely executed the respectively desired action of the external POU.

q_xEnable

BOOL

This parameter must be linked to the i_xEnable input of the external POU. This bit changes form FALSE to TRUE if the corresponding operation mode command was performed successfully. When leaving the operation mode the bit is set to FALSE.

q_xStart

BOOL

This parameter must be linked to the i_xStart input of the external POU. TRUE is set when the Start command is received.

q_xWsSelect

BOOL

This parameter must be linked to the i_xWsSelect input of the external POU. TRUE is set when the AdditionalWs command is received.

q_xWsStart

BOOL

This parameter must be linked to the i_xWsStart input of the external POU. TRUE is set when the WsStart command is received.