ID 40040

Axis reference: addresses a HLI section that exceeds HLI definition.

Description

A function block displays this error code at its output "ErrorID" if the axis group reference that is assigned at an input of type AXES_GROUP_REF with the name "AxisGroup" refers to a channel-specific HLI area that lies outside the specification of the motion controller. The error code is not only displayed if the FB is triggered at its input “Execute but also when the FB is called.

Response

Class

-

The job is discarded by the FB and not transferred to the motion controller. The output “Error” is set to TRUE.

Solution

Class

-

There are 2 possible reasons why the error code is displayed:

 

The PLC application overwrites the value specified in the axis group reference during the initialization phase of the motion environment, which is the reference to a channel-specific area of the HLI. Therefore, it must be checked whether the structure element HliIfcIdx is overwritten in the global variable gAxesGroupRef[idx] which is assigned to an input of the FB of type AXES_GROUP_REF. The value of hli_axis_idx must be in the range [0 .. HLI_SYS_CH_MAXIDX].

 

The FB is called without checking if the instance of the FB MCV_PlatformBase displays the value TRUE at the output "Done". Then move the FB to a PLC application area that is only processed when the instance of the FB type MCV_PlatformBase indicates that the motion platform was successfully initialised.

 

If none of the two cases described apply, please contact your motion controller supplier and quote the error code.

Error type

-