Requested and commanded user data
Initial operating mode | |
Description | Operating mode from which the operating mode is to be changed. |
ST path | Commanded value pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateCommand Requested value pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateRequest |
Commanded, requested value | |
ST element | . X_McmCommandFromMode |
Data type | UDINT |
Value range | 0 = don't care 1 = GCW_250_HLIImcmStandbyMode 2 = GCW_250_HLIImcmAutomaticMode 3 = GCW_250_HLIImcmMDIMode 4 = GCW_250_HLIImcmManualMode 5 = GCW_250_HLIImcmReferenceMode |
Characteristics | This element does not need to be programmed when changing the operating mode. If, however, a value is specified, a check is conducted when changing the operating mode in order to establish whether the CNC actually is in the specified operating mode. A warning is issued if this is not the case. |
Initial state of the operating mode in the case of operating mode change | |
Description | State within the operating mode from which the state switchover is to occur. |
ST path | Commanded value pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateCommand Requested value pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateRequest.X_McmCommandFromState |
Commanded, requested value | |
ST element | . X_McmCommandFromState |
Data type | UDINT |
Value range | 0 = don't care 1 = GCW_250_HLIImcmProcessDeselected 2 = GCW_250_HLIImcmProcessSelected 3 = GCW_250_HLIImcmProcessReady 4 = GCW_250_HLIImcmProcessActive 5 = GCW_250_HLIImcmProcessHold 6 = GCW_250_HLIImcmProcessError |
Characteristics | This element does not need to be programmed when changing the operating mode. If, however, a value is specified, a check is conducted when changing the operating mode in order to establish whether the CNC actually is in the specified operating mode. A warning is issued if this is not the case. |
Target operating mode in the case of operating mode switchover | |
Description | Operating mode to which the system is to switch. |
ST path | Commanded value pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateCommand. Requested value pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateRequest. |
Commanded, requested value | |
ST element | . X_McmCommandToMode |
Data type | UDINT |
Value range | See Operating mode actual value in the case of operating mode change → value range |
Target state in the case of operating mode change | |
Description | Target state within the target operating mode. |
ST path | Commanded value pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateCommand Requested value pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateRequest |
Commanded, requested value | |
ST element | . X_McmCommandToState |
Data type | UDINT |
Value range | See States actual value of the operating mode in the case of operating mode change → value range |
![]() | If the destination state = RESETTING = 15 is commanded, an reset of the CNC is forced.This functionality is available up from version :V2.10.1033.01 and higherV2.10.1507.02 and higherV2.10.1800.04 and higher |
Parameters in the case of operating mode change | |
Description | Parameters in the case of operating mode change. It may be necessary to state parameters when commanding the operating mode change for a successful change to a specific state of an operating mode. These parameters are saved in this element. |
ST path | pParameter : POINTER TO STRING; Parameter : STRING; Commanded value pParameter := ADR(pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateCommand.AB_Data[1]); Requested value pParameter := pMC[channel_idx]^.addr^.MCControlChannel_Data.MCControlMCMMode_State_Unit.HLIProcTransTo_Mode_StateRequest.AB_Data[1] Parameter := pParameter^; |
Data type | ARRAY[1..GCW_250_HLIImCmProcModeStateParaSize] OF BYTE |
Value range |
|
If an operating mode change is commanded, it may be necessary to state a parameter so that commanding can be executed successfully. The table below indicates for what cases this is necessary and what type of parameter needs to be transferred. If one of the listed state transitions is involved in the operating mode and state change, the corresponding parameter must be stated. Consider the "states graph further operating modes" in order to determine whether one of the state transitions listed below is executed in the case of a commanded operating mode change.
Operating mode setpoint | State transition | Parameter |
---|---|---|
Automatic | prepare | The NC program name as character string. |
Manual-Block | prepare | NC block (blocks) |
Manual mode | prepare |
|
Homing | prepare |
|
Channel number | |
Description | Number of the channel whose operating mode is to be switched over. |
ST path | Commanded value pMC[channel_idx]^.addr^.MCControlHB_Data.HBActivationControlUnit_Activation.HBActivation_Command.X_McmCommandChannelNo Requested value pMC[channel_idx]^.addr^.MCControlHB_Data.HBActivationControlUnit_Activation.HBActivation_Request.X_McmCommandChannelNo |
Data type | UDINT |
Characteristics | Not used (only for compatibility with the HÜMNOS Standard). |