Data of an axis-specific technology control unit

Data of a technology function, axis

Description

A technology control unit contains elements for commanding, acknowledging and transferring any required parameters.

Data type

TECHNO_UNIT_AX

ST path

Default synchronisation:

gpAx[axis_idx]^.techno_unit_std_sync[tech_unit_idx]

Cross-block synchronisation:

gpAx[axis_idx]^.techno_unit_late_sync[tech_unit_idx]

Job

ST element

.please_rw

Description

By setting please_rw, the CNC signals to the PLC that the technology control unit is to be executed.

Data type

BOOL

Value range

[TRUE, FALSE]

Special features

Consumption data item

Access

The CNC refreshes the data of the technology function only if this element is FALSE. After updating, the CNC sets this element to TRUE and so element done_w is set to FALSE.

The PLC reads the data of the technology function if this element has the value TRUE. After the data is transferred, the PLC sets the value to FALSE.

Function type

ST element

.fkt_ctrl_r

Description

The type of technology function is transferred in fkt_ctrl_r.

Data type

UINT

Wertebereich2 (value range 2)

Value

Constant

Meaning

1

HLI_INTF_M_FKT

M function

2

HLI_INTF_H_FKT

H function

3

HLI_INTF_SPINDEL

S function

Access

PLC reads

Parameter

ST element

.attribut_r.data

Description

Depending on the content of the element fkt_ctrl_r this element contains the parameters of an

M function/H function if the technology function type is HLI_INTF_M_FKT or HLI_INTF_H_FKT

S function (spindle) if the technology function type is HLI_INTF_SPINDEL

Data type

ARRAY [0.. HLI_TECH_UNIT_AX_MAXIDX] OF BYTE

Access

PLC reads

Acknowledgement

ST element

.done_w

Description

By setting element done_w to TRUE, the PLC signals to the CNC that the technology information was executed.

Data type

BOOL

Value range

[TRUE, FALSE]

Special features

Consumption data item

Access

PLC sets the value to TRUE when the technology function was executed.

The CNC sets the value to a FALSE before a new command.