motion.misc-error-NN does not work

More
1 year 8 months ago #321452 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 to join the conversation.

More
1 year 8 months ago #321456 by Aciera
Seems to work for me:
 

Attachment not found

Please Log in to join the conversation.

More
1 year 8 months ago #321509 by michaeln
 

Attachment not found

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 

Please Log in to join the conversation.

More
1 year 8 months ago #321511 by Aciera
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

Please Log in to join the conversation.

More
1 year 8 months ago #321513 by michaeln
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 to join the conversation.

More
1 year 8 months ago #321532 by rodw
You learn new features of Linuxcnc all the time! Well I did. Thanks

Please Log in to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum