A program that tells you which axis an error is occurring on (python)


#1

Hello, I am currently creating a program using Python to operate the Dobot Magician.

One feature I would like to add is something that, for example, when j2 goes out of its range of motion, will notify j2 that an abnormal status has occurred, just like the official app (Dobot Studio). However, the program provided by the official API can detect that an error has occurred using GetAlarmState(), but is unable to identify the axis.

How can I identify the axis that is out of its range of motion?

(Sorry, if it’s hard to read because it’s been translated.)