CNC objects

Name

mc_active_execution_mode_r

Description

This object reads the active channel operation mode.
See value range Channel operation modes

Task

COM (Port 553)

Index group

0x120101

Index offset

0x41

Data type

SGN32

Length/byte

4

Attributes

read

Unit

 

Remarks

 

Name

mc_command_execution_mode_r

Description

This object reads the commanded channel operation mode.
See value range Channel operation modes

Task

COM (Port 553)

Index group

0x120101

Index offset

0x40

Data type

SGN32

Length/byte

4

Attributes

read

Unit

[-]

Remarks

 

Name

mc_command_execution_mode_w

Description

This object defines and enables the channel operation mode.
See value range Channel operation modes

Task

COM (Port 553)

Index group

0x120101

Index offset

0x3F

Data type

SGN32

Length/byte

4

Attributes

write

Unit

[-]

Remarks

 

Channel operation mode

Description

Selects a special channel operation mode, e.g. 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

SV

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

0x10000

SUPPRESS_POSITION_REQUEST

Fast program start without position request at program start

0x20000

SUPPRESS_PROG_START_INIT

Suppress program start sequence for machining on the belt

Redirection

ST element

.enable_w