ID 40038

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 reference that is assigned to an input of type AXIS_REF, i.e. inputs with the name "Axis", "Master" or "Slave", refers to an axis-specific HLI area that lies outside the specification of the motion controller. The error code isn’t displayed only if the FB is triggered at his input „Execute“, but also at the moment the FB is calculated.

Response

Class

-

The order is dismissed by the FB and not issued to the motion controller. The output “Error” is set to TRUE.

Solution

Class

-

There are 2 matters possible why the error code is notified:

 

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

 

The FB is called without checking if the instance of FB MCV_PlatformBase displays the value TRUE at 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 both described cases apply please contact your motion control supplier refer to the error code.

Error type

-