MCV_AxMFct

This FB signals the output of an M technology function. It is acknowledged by the PLC provided it is a technology function that was parameterised in the channel parameter list as an axis-specific output function.

Block diagram

FB parameters

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Axis reference

VAR_INPUT

Variable name

Data type

Description

Nr

UINT

The number of the spindle technology function handled by the function block is defined via the input.

Ack

BOOL

The spindle technology function is acknowledged on the rising edge.

VAR_OUTPUT

Variable name

Data type

Description

Active

BOOL

The output indicates the value TRUE when the technology function was output to the PLC. The output remains TRUE until a rising edge is applied to the “Ack” input.

SyncMode

DWORD

Synchronisation type of an M technology function.

This is the value used to define the synchronisation type of the M technology functions in the channel parameter list in the P-CHAN-00041 parameter.

AddNr

DINT

A number assigned to an M technology function by programming in the NC program and output when the M technology function is output to the axis-specific interface in addition to the technology function number.

See [PROG//M/H- functions with additional information].

Error

BOOL

Is TRUE if an error occurs in the FB.

ErrorID

WORD

Error code