motion.misc-error-NN does not work

More
13 Feb 2025 17:18 #321452 by michaeln
motion.misc-error-NN does not work was created by michaeln
Hello,

i have a question:
How is the way to get  motion.misc-error-00 working?
I connected it in the hal with an input. I can see it in the halscope that the input for this signal is working.

The manual means "If driven TRUE this will disable a machine", but in my case nothing happen.

How does it work?

Thanks!

Michael

Please Log in or Create an account to join the conversation.

More
13 Feb 2025 18:21 #321456 by Aciera
Replied by Aciera on topic motion.misc-error-NN does not work
Seems to work for me:
 
Attachments:

Please Log in or Create an account to join the conversation.

More
14 Feb 2025 06:31 - 14 Feb 2025 06:38 #321509 by michaeln
Replied by michaeln on topic motion.misc-error-NN does not work
  Hello Aciera,

thanks for your reply.
I see the difference. In my machine the motion.misc-error-00 i see only as signal, not as pin like in your picture.
It is not in my pin-list and i see in the documentation that it is not standard-list (linuxcnc.org/docs/stable/html/config/core-components.html).

In which way can i get this pin? (Sorry, it's my first machine with LinuxCNC).

Thanks
Michael 
Attachments:
Last edit: 14 Feb 2025 06:38 by michaeln.

Please Log in or Create an account to join the conversation.

More
14 Feb 2025 06:55 #321511 by Aciera
Replied by Aciera on topic motion.misc-error-NN does not work
The error pins are optional and need to be set in the 'loadrt modmod .....' line in the hal file using, for example, 'num_misc_error=2' which should give you two error pins:
linuxcnc.org/docs/stable/html/man/man9/motion.9.html
The following user(s) said Thank You: michaeln

Please Log in or Create an account to join the conversation.

More
14 Feb 2025 07:11 #321513 by michaeln
Replied by michaeln on topic motion.misc-error-NN does not work
Hello Aciera,
thank you.
Now i see the pin with adding num_misc_error=2 in the line with emcmot.
It is not so good to see for beginners because PNCconf from 2.9.4 take the old command emcmot and not the new motmod that you see in the manual .
Thanks!
Michael
 

Please Log in or Create an account to join the conversation.

  • rodw
  • rodw's Avatar
  • Away
  • Platinum Member
  • Platinum Member
More
14 Feb 2025 10:31 #321532 by rodw
Replied by rodw on topic motion.misc-error-NN does not work
You learn new features of Linuxcnc all the time! Well I did. Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum