FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
02-23-2023 12:18 AM
I get an error when I try to home an axis through the REST API, and my axis also goes to the error state. I try to home the axis by sending a POST request to the homing command.
I use the following request:
url: https://192.168.0.61/automation/api/v1/motion/axs/Axis_4/cmd/homing
body: {"buffered": false, "newRefPos": 10.0}
The response tells me there is an error:
{"type": "about:blank","title": "General axis command error","status": 500,"detail": "original error: DL_CREATION_FAILED","instance": "motion/axs/Axis_4/cmd/homing","mainDiagnosisCode": "090F2002","detailedDiagnosisCode": "0C570101","dynamicDescription": "cmd:
One problem is that the response is truncated to 256 chars which results into a JSON parse error in Python.
The second problem is that I get an error combination which is not documented (090F2002 0C570101). I am following the homing schema (types/motion/axs/cmd/homing). Why do I get this error?
Additional background information: I am able to home my axis through the PLC application, using the axisinterface. I use the same newRefPos := 10.0, and the _opMode := ModeAxsHoming.
Solved! Go to Solution.
02-23-2023 03:34 AM
Hello Robert,
homing command is cuurently regiested as buffered command therefore, please try to change the payload to:
{"buffered":true, "newRefPos":10.0}
If the command still doesn't works, please contact us.
02-23-2023 09:20 PM
Yes, homing works as a buffered command. Thank you!