I_MTP_OperationMode

This interface defines the properties and methods for the Operation Mode.

I_MTP_OperationMode 1: Methods

Name

Type

Description

IsOffline

BOOL

Returns TRUE if the current state is Offline.

IsOperator

BOOL

Returns TRUE if the current state is Operator.

IsAutomatic

BOOL

Returns TRUE if the current state is Automatic.

SetOffline

BOOL

Sets the state machine OperationMode of the interface to the state Offline.

Returns TRUE if the current state is Offline.

SetOperator

BOOL

Sets the state machine OperationMode of the interface to the state Operator.

Returns TRUE if the current state is Operator.

SetAutomatic

BOOL

Sets the state machine OperationMode of the interface to the state Automatic.

Returns TRUE if the current state is Automatic.

I_MTP_OperationMode 2: Properties

Name

Type

Access

Description

bStateChannel

BOOL

Get

Reads the value of the variable StateChannel.

bStateOffOpAut

BOOL

Get/Set

Reads/writes the value of the variable StateOff*.

bStateOpOpAut

BOOL

Get/Set

Reads/writes the value of the variable StateOp*.

bStateAutOpAut

BOOL

Get/Set

Reads/writes the value of the variable StateAut*.

bStateOffAct

BOOL

Get

Reads the value of the variable StateOffAct.

bStateOpAct

BOOL

Get

Reads the value of the variable StateOpAct.

bStateAutAct

BOOL

Get

Reads the value of the variable StateAutAct.

I_MTP_OperationMode 3:

Reading and writing the properties bStateOffOpAut, bStateOpOpAut, and bStateAutOpAut depend on the type of function block:

Function blocks for local modules read and write the variables StateOffAut, StateOpAut, and StateAutAut.