I_MTP_ServiceMode

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

I_MTP_ServiceMode 1: Methods

Name

Type

Description

IsOffline

BOOL

Returns TRUE if the current operation mode is Offline.

IsOperator

BOOL

Returns TRUE if the current operation mode is Operator.

IsAutomaticInternal

BOOL

Returns TRUE if the current operation mode is Automatic and the current source is Internal.

IsAutomaticExternal

BOOL

Returns TRUE if the current operation mode is Automatic and the current source is External.

SetOffline

BOOL

Sets the Service Mode's operation mode to the state Offline.

Returns TRUE if the current operation mode is Offline.

SetOperator

BOOL

Sets the Service Mode's operation mode to the state Operator.

Returns TRUE if the current operation mode is Operator.

SetAutomaticInternal

BOOL

Sets the Service Mode's operation state to Automatic and selects the source Internal from.

Returns TRUE if the current operation mode is Automatic and the current source is Internal.

SetAutomaticExternal

BOOL

Sets the Service Mode's operation state to Automatic and selects the source External from.

Returns TRUE if the current operation mode is Automatic and the current source is External.

I_MTP_ServiceMode 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.

bSrcChannel

BOOL

Get

Reads the value of the variable StateChannel.

bSrcIntOpAut

BOOL

Get/Set

Reads/writes the value of the variable SrcInt*.

bSrcExtOpAut

BOOL

Get/Set

Reads/writes the value of the variable SrcExt*.

bSrcIntAct

BOOL

Get

Reads the value of the variable SrcIntAct.

bSrcExtAct

BOOL

Get

Reads the value of the variable SrcExtAct.

I_MTP_ServiceMode 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.

I_MTP_ServiceMode 4:

Reading and writing the properties bSrcIntOpAut and bSrcExtOpAut depend on the type of function block:

Function blocks for local modules read and write the variables SrcIntAut and SrcExtAut.