# ID 40039

Axis reference: addressed HLI section doesn't exist.
Description | A function block notifies this error code at its output “ErrorID”, if an axis reference that is assigned to an input of type AXIS_REF, means at an input named by identifier “Axis”, “Master” or “Slave”points to an axis specific area that haven’t an axis assigned by the start-up list 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: In fact, the controller startup list contains no entry for the axis. In the start-up list for the axis, make an entry for P-STUP-00015 and then adjust P-STUP-00014 accordingly. The order of axes in the startup list reflects the order of axis-specific HLI areas. Check whether the axis list specified in parameter P-STUP-00015 exists. If this is not the case, create the axle list.

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 has to be in range [0 .. gNrAx (number of all configured axes in the motion system)].

Error type | -