Data of a channel-specific technology control unit

Data of a technology function, channel

Description

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

Data type

TECHNO_UNIT_CH

ST path

Default synchronisation:

gpCh[channel_idx]^.techno_unit_std_sync[tech_unit_idx]

Cross-block synchronisation:

gpCh[channel_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

Value range

Value

Constant

Function

1

HLI_INTF_M_FKT

M function

2

HLI_INTF_H_FKT

H function

3

HLI_INTF_SPINDEL

S function

4

HLI_INTF_TOOL

T 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

T function if the technology function type is HLI_INTF_TOOL

Data type

ARRAY [0.. HLI_TECH_UNIT_CH_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.