hal functions
- Z3rni3
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 3
I'm currently working on configuring different setups using various Mesa boards (7i96S and 7i95T).
For creating the configurations, I’ve been using either the pncconf Wizard or Mesact. Unfortunately, neither tool seems to produce fully working configurations for my particular setup.That’s why I’m now trying to better understand which HAL functions are actually necessary.
Specifically, I’d like to learn what the different pins mean and how they should be connected in a way that makes sense.Could you point me toward some resources or documentation that would help me learn these basics?
Thanks a lot for your time!
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
- Posts: 4342
- Thank you received: 1938
Please Log in or Create an account to join the conversation.
- Z3rni3
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 3
That's already the right direction, but I'm more interested in the commands like:
"net joint.0-pos-cmd <= joint.0.motor-pos-cmd"
These are the commands I would like to understand!
Next, I would like to understand which pins I can connect to which.
I often get a message like:
"you cannot connect this pin since PinX has already been connected to PinY"
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
- Posts: 4342
- Thank you received: 1938
That's already the right direction, but I'm more interested in the commands like:
"net joint.0-pos-cmd <= joint.0.motor-pos-cmd"
These are the commands I would like to understand!
Have you actually looked at the linked document?
You need to understand the difference between a 'signal-neme' and a 'pin-name' See section 1.4.
Please Log in or Create an account to join the conversation.
- Z3rni3
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 3
I’m sorry I didn’t explain my problem clearly before.
My main issue is figuring out how to correctly connect the components to, for example, make a motor turn.
I’d like to understand which signals and pins are needed and what their actual roles are.
Take the position signal, for example — in my setup, I’m using encoders, so they should be providing that signal.
What I’m looking for is a resource that explains where these signals come into play and what their specific purpose is in the system.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Away
- Administrator
-
- Posts: 4342
- Thank you received: 1938
linuxcnc.org/docs/html/man/man9/
For example the 'motion' component:
linuxcnc.org/docs/html/man/man9/motion.9.html
or the 'pid' component
linuxcnc.org/docs/html/man/man9/pid.9.html
Please Log in or Create an account to join the conversation.
- Z3rni3
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 3
Thank you very much!
I'll take a closer look at these pages and the related ones.
Hopefully, you'll have some time to answer a few questions if I’m still unclear afterwards.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
- Posts: 18582
- Thank you received: 5106
(and MesaCT can make working configurations for the 7I95T AFAIK)
What actual issue do you have?
Please Log in or Create an account to join the conversation.
- Z3rni3
- Offline
- Junior Member
-
- Posts: 27
- Thank you received: 3
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
- Posts: 20232
- Thank you received: 6880
Please Log in or Create an account to join the conversation.