Control unit

Operating mode

Description

Control unit for switchover of the operating mode and polling the current state of operating mode management, including flow control of the user data.

Control unit 1:Data type

MCControlMCMMode_State_Unit, see description Control Unit with usage check

ST path

pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit

Commanded, requested data

ST element

.HLIProcTransTo_Mode_StateCommand .HLIProcTransTo_Mode_StateRequest

Data type

HLIProcTransTo_Mode_State

Access

PLC writes Command and reads Request

Return data

ST element

. HLI_EImCmProcState_ModeStateRequest

Data type

HLI_EImCmProcState_ModeState

Access

PLC reads

Usage check commanded, requested data

ST element

.X_McmCommandSemaphor

.X_McmRequestSemaphor

Data type

BOOL

Value range

[TRUE, FALSE]

Access

CNC accepts the commanded data if the command semaphore has the value TRUE and sets this element to the value FALSE after complete acceptance of the data.

PLC can write data for commanding if the command semaphore has the value FALSE. When all commanded data has been written, the PLC sets this element to the value TRUE.

CNC writes the data requested by the GUI if the request semaphore is FALSE and then sets this element to TRUE.

PLC reads the data requested by the GUI if the request semaphore is TRUE. The PLC sets this element to FALSE after the data has all been accepted in the PLC.

Redirection

ST path

MCControlMCMMode_State_Unit.X_McmEnable