motion.enable and motion.motion-enable - direction

More
01 Apr 2011 12:02 #8372 by aike
Hi!
I adjust the emc now (lathe).
In HAL parameters (build in menu window in EMC) all signals are IN direction
But in documentation motion.motion-enables is OUT and motion.enable is IN.
What is right?
The HAL string
net enable <= motion.motion-enabled
is right?

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

More
01 Apr 2011 14:29 #8373 by BigJohnT
The man page shows both as IN, are you looking at another document?

www.linuxcnc.org/docview/html/man/man9/motion.9.html

also a good read on HAL

www.linuxcnc.org/docview/html/hal_basic_hal.html

John

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

More
02 Apr 2011 04:17 #8381 by aike
BigJohnT wrote:

The man page shows both as IN, are you looking at another document?

www.linuxcnc.org/docview/html/man/man9/motion.9.html

also a good read on HAL

www.linuxcnc.org/docview/html/hal_basic_hal.html

John

Hi!
Please read:
www.linuxcnc.org/docs/EMC2_Integrator_Manual.pdf
the page 29. and you will see that one is in, other is out.
The string net enable <= motion.motion-enabled
has the point only in one thing - if this pin is out.
In pncconf the exampled hal file create this pin as out!

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

More
02 Apr 2011 11:33 #8392 by BigJohnT
Thanks, that is a typo in the manual.

You cannot create a pin as in or out, they are what they are. The arrow equal sign is meaningless and is only there to confuse/help humans.

John

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

Time to create page: 0.132 seconds
Powered by Kunena Forum