Channel-specific interface

Management data of the channel-specific interface
Management data of the channel-specific interface

Version identifier PLC → CNC

Description

If the version of the HLI at the NC kernel end is evaluated, the PLC stores the agreed version identifier in this element. Evaluation at the NC kernel end must be agreed for a specific application.

ST path

gpCh[channel_idx]^.head.version_w.zeichen

Data type

STRING(HLI_INTF_VERSION_NAME_LAENGE)

Access

PLC writes

Special features

Is currently not evaluated in the NC kernel.

Version identifier CNC → PLC

Description

If the version of the HLI is evaluated at the PLC end, the NC kernel stores the agreed version identifier in this element. Evaluation at the PLC end must be agreed for a specific application.

ST path

gpCh[channel_idx]^.head.version_r.zeichen

Data type

STRING(HLI_INTF_VERSION_NAME_LAENGE)

Access

PLC reads

Size of the HLI

Description

The NC kernel writes the size of the entire channel-specific interface area in this element.

ST path

gpCh[channel_idx]^.head.sizeof_interface_r

Data type

UDINT

Unit

Byte

Access

PLC reads

PLC present

Description

The PLC signals that it is present by setting the value to TRUE.

 

ST path

gpCh[channel_idx]^.head.plc_present_w

Data type

BOOL

Value range

[TRUE = PLC present, FALSE]

Access

PLC writes

Notice

notice

Only if this value is set to TRUE can the PLC influence the NC kernel by channel-specific control units and be supplied with technology commands by the NC kernel.

Channel number

Description

Number of the channel that is assigned to this interface on the HLI.

ST path

gpCh[channel_idx]^.head.channel_nr

Data type

DINT

Value range

[1, gNrCh]

Access

PLC reads

NC kernel start-up completed

Description

By setting this value to TRUE, the NC kernel signals to the PLC that the NC kernel start-up is completed and that the HLI is now supplied cyclically. This means that the display data is valid and the control commands are transferred to the NC kernel.

ST path

gpCh[channel_idx]^.head.hochlauf_quit_r

Data type

BOOL

Value range

[TRUE = Start-up of NC kernel completed, FALSE]

Access

PLC reads

Data of the channel list parameter P-CHAN-00280

Description

The data configured by the user in P-CHAN-00280 in the channel list are available here on the HLI.

Signal flow

CNC → PLC

ST path

gpCh[channel_idx]^.head.customer_val_r[ ]

Data type

ARRAY [0..HLI_CHANNEL_CUSTOM_MAXIDX] OF UDINT

Access

PLC reads

Enable: Updating the HLI

Description

By setting this value to TRUE, the PLC can enable the function to update the entire channel-specific interface area.

ST path

gpCh[channel_idx]^.head.update_request_enable_w

Data type

BOOL

Value range

[TRUE = Updating the HLI enabled, FALSE]

Access

PLC writes

Special features

Currently not supported, i.e. the HLI is updated in every NC cycle.

Updating the HLI

Description

By setting this value to TRUE, the PLC can initiate an update of the entire channel-specific interface area. This value is reset to FALSE by the NC kernel after the update is completed.

ST path

gpCh[channel_idx]^.head.f_update_request_rw

Data type

BOOL

Value range

[TRUE = Updating of the HLI activated, FALSE]

Access

Read/write

Special features

Currently not supported, i.e. the HLI is updated in every NC cycle.

Update cycle of the HLI

Description

Using this element, the PLC informs the NC kernel of the number of interrupt cycles the NC kernel may distribute the updating of the axis-specific interface area. This leads to a reduced load on the interrupt task in particular with multi-channel and multi-axis configurations.

ST path

gpCh[channel_idx]^.head.n_update_tick_count_rw

Data type

UINT

Unit

Number of interpolator cycles

Access

PLC writes

Special features

Currently not supported, i.e. the HLI is updated in every NC cycle.