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 is evaluated at the NC kernel end, 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 is writing

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 is reading

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 is reading

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 is writing

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 is reading

Channel name

Description

Displays the value of the channel parameter P-CHAN-00174 (channel_name) if the value is stored in the channel parameter list and was assigned a value.
Otherwise, a blank string is displayed.

ST path

gpCh[channel_idx]^.head.channel_name_r.zeichen

Data type

STRING(HLI_CHANNEL_NAME_LAENGE)

Access

PLC is reading

Special features

If the value of the parameter P-CHAN-00174 (channel_name) is changed in the channel parameter list, the change in this element is only visible when a command is output to re-interpret the channel parameter list.

channel type

Description

Displays the value of the channel parameter P-CHAN-00175 (channel_type) if the value is stored in the channel parameter list and was assigned a value. Otherwise, 0 is displayed.

ST path

gpCh[channel_idx]^.head.channel_type

Data type

DINT

Value range

[DINT_MIN, DINT_MAX]

Access

PLC is reading

Special features

Available as of CNC Build V3.1.3118

If the value of the parameter P-CHAN-00175 (channel_type) is changed in the channel parameter list, the change in this element is only visible when a command is output to re-interpret the channel parameter list.

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 is reading

Data of channel list parameter P-CHAN-00280

Description

The data configured by the user in the channel list in the parameter P-CHAN-00280 is provided 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 is reading

Enable: Update 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 = update the HLI enabled, FALSE]

Access

PLC is writing

Special features

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

Update 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 = update 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 is writing

Special features

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