Commands and display via PLC interface

Channel mode

Description

Selection of a special channel mode such as syntax check or production time calculation

Commands and display via PLC interface 1:
Data type

MCControlSGN32Unit, see description Control Unit

Peculiarities

-

Access

PLC reads Request + State and writes Command + Enable

ST path

pMC[channel_idx]^.addr^.MCControlDecoder_Data.MCControlSGN32Unit_ExecutionMode

Commanded, requested, and return values

ST element

.D_Command

.D_Request

. D_State

Data type

DINT

Value range

0x0000 ISG_STANDARD Normal operation

0x0008 SYNCHK Syntax check simulation

Remark:

The following settings are being prepared:

0x0002 SOLLKON Simulation of nominal contour visualization

0x0004 ON_LINE Simulation of online visualization

0x0010 PROD_TIME Simulation of production time calculation

0x0020 ONLINE_PROD_TIME Simulation of online production time
calculation

0x0040 MACHINE_LOCK Dry run without axis movement

0x0080 TECHNO_FILTER Dry run TECHNO filter

0x0100 KIN_TRAFO_OFF Overwrites automatic enabling for
kinematic transformations by a
characteristic quantity defined in the
channel parameters (sda_mds*.lis).

Diversion

ST element

. X_Enable

Display

Parameter

Description

X_SyntaxCheck

Display: syntax check active

X_WaitAfterError

Display: decoder waiting for enabling to continue

X_SyntaxCheckWaitContinueCleared

Display: decoder waiting for cancellation of enabling to continue

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 operating in the syntax check, FALSE]

Access

PLC reads

Peculiarities

-

Error has occurred during syntax check – waiting for external input

Description

In the 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 has occurred in the syntax check – decoder waits, FALSE]

Access

PLC reads

Peculiarities

-

Syntax check active

Description

Decoder is currently operating in the syntax check and, after an error and enabling, waits until enabling is cancelled again.

Signal flow

CNC→PLC

ST path

pMC[channel_idx]^.addr^.StateDecoder_Data.X_SyntaxCheckReleaseNextBlockCleared

Data type

BOOL

Value range

[TRUE = Decoder waits for deletion of enabling, FALSE]

Access

PLC reads

Peculiarities

-

Commands and display via PLC interface 2:
Figure 1-1: Implicit handshake during interactive syntax check between decoder and Mcm/PLC

Decoding interrupted

Description

Decoding has been interrupted and waits for enabling 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 reads

Peculiarities

-

Decoding interrupted

Description

Decoding has been interrupted and the decoder waits until enabling is cancelled again before 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 reads

Peculiarities

-