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 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 reference during the initialisation 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 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 | - | ||
|