Commands and display via PLC interface
Channel mode | |||
Description | Selection of a special channel mode such as syntax check or machining time calculation | ||
Data type | MC_CONTROL_SGN32_UNIT, see description of Control Unit | ||
Access | PLC reads request_r + state_r and writes command_w + enable_w | ||
ST Path | gpCh[channel_idx]^.decoder_mc_control.execution_mode | ||
Commanded, requested and return values | |||
ST Element | .command_w .request_r .state_r | ||
Data type | DINT | ||
Value range | Value | Constant | Meaning |
0x0000 | ISG_STANDARD | Normal mode | |
0x0001 | SOLLKON | Block search | |
0x0002 | SOLLKON | Nominal contour visualisation simulation with output of visualisation data | |
0x0802 | SOLLKON_SUPRESS_OUTPUT & SOLLKON | Nominal contour visualisation simulation without output of visualisation data | |
0x0004 | ON_LINE | Online visualisation simulation | |
0x0008 | SYNCHK | Syntax check simulation | |
0x0010 | PROD_TIME | Simulation machining time calculation (in TwinCAT without function) | |
0x0020 | ONLINE_PROD_TIME | Simulation online machining time calculation | |
0x0040 | MACHINE_LOCK | Dry run without axis motion | |
0x0080 | ADD_MDI_BLOCK | Extended manual block mode: the end of a manual block is not evaluated as a program end. It permits the commanding of further manual blocks. | |
0x0100 | KIN_TRAFO_OFF | Overwrites automatic enable for kinematic transformations by a characteristic parameter defined in the channel parameters (sda_mds*.lis). | |
0x1000 | BEARB_MODE_SCENE | When SCENE mode is enabled, the output of #SCENE commands is activated on the interface (see also [FCT-C17// Scene contour visualisation]). An additional client is linked to this output via DataFactory / CORBA. | |
0x2000 | SUPPRESS_TECHNO_OUTPUT | Without output of technology functions (M/H/T). Set implicitly in connection with syntax check. | |
Redirection | |||
ST element | .enable_w |
Display:
Parameter | Description |
X_SyntaxCheck | Display: Syntax check active |
X_WaitAfterError | Display: Decoder waits for enable to resume |
X_SyntaxCheckWaitContinueCleared | Display: Decoder waits for cancellation of enable to resume |
Syntax check active | |
Description | Decoder is currently in the syntax check |
Signal flow | CNC → PLC |
ST path | pMC[channel_idx]^.addr^.StateDecoder_Data.X_SyntaxCheck |
Data type | BOOL |
Value range | [TRUE = decoder operates in the syntax check, FALSE] |
Access | PLC is reading |
Special features | - |
Error occurred during syntax check – waiting for external input | |
Description | In syntax check mode, the decoder waits after an error for an external input (continue, abort) |
Signal flow | CNC → PLC |
ST path | pMC[channel_idx]^.addr^.StateDecoder_Data.X_WaitAfterError |
Data type | BOOL |
Value range | [TRUE = error occurred in the syntax check – decoder waits, FALSE] |
Access | PLC is reading |
Special features | - |
Syntax check active | |
Description | Decoder is currently operating in the syntax check and, after an error and enable, waits until enable is cancelled. |
Signal flow | CNC → PLC |
ST path | pMC[channel_idx]^.addr^.StateDecoder_Data.X_SyntaxCheckReleaseNextBlockCleared |
Data type | BOOL |
Value range | [TRUE = decoder waits for enable to be cancelled, FALSE] |
Access | PLC is reading |
Special features | - |
Decoding interrupted | |
Description | Decoding was interrupted and waits for enable to continue. |
Signal flow | CNC → PLC |
ST path | pMC[channel_idx]^.addr^.StateDecoder_Data.X_WaitContinue |
Data type | BOOL |
Value range | [TRUE = decoder interrupted, FALSE] |
Access | PLC is reading |
Special features | - |
Decoding interrupted | |
Description | Decoding was interrupted and the decoder waits until enable is cancelled again resuming. |
Signal flow | CNC → PLC |
ST path | pMC[channel_idx]^.addr^.StateDecoder_Data.X_WaitReleaseNextBlockCleared |
Data type | BOOL |
Value range | [TRUE = decoder waits, FALSE] |
Access | PLC is reading |
Special features | - |