Rpi4 + LinuxCNC +MESA 7c81 + HW356 + HQ-LB60-12A-V1
- pumzele
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
06 Sep 2022 10:49 - 06 Sep 2022 10:53 #251281
by pumzele
Rpi4 + LinuxCNC +MESA 7c81 + HW356 + HQ-LB60-12A-V1 was created by pumzele
Hello Everybody,I am very new to linuxcnc and am having problems understanding it all.I bought a 2nd hand 3040 Frame including steppers drivers and Spindle.I then bought a RPI4, 7c81, screen and Keyboard.Nothing was working and I was scared I might have bricked the MESA card.I recently with the help of
this
thread managed to get the x, y and z Axis working on the RPI4 with the 7c81 and the HW356 (China Board).
But I am still having problems with the following:
I tried to edit the HAL file but I can not find any documentation on how to reference the GPIO pins.
My main question is:
How can I assign pins on the 7c81 to varibles in linux CNC?
How can I chose which pin is responsible for example Spindle PWM?
How can I change the direction of the Z axis in the HAL or INI files?
Is there some documentation with examples on this?
The link to Basic Hal Tutorial in this thread seems to be broken...I tried searching the forum and couldn't find an answer. I would just be happy if someone could point me to some documentation I can read so that I can understand how linux CNC is linked and how to edit these parameters.
Daniel
But I am still having problems with the following:
- PWM signal for Spindle (Spindle just turns on when I start up Linux CNC and am not able to turn off)
- Z axis is going in the wrong direction
- Setting up End stops for XYZ axis.
I tried to edit the HAL file but I can not find any documentation on how to reference the GPIO pins.
My main question is:
How can I assign pins on the 7c81 to varibles in linux CNC?
How can I chose which pin is responsible for example Spindle PWM?
How can I change the direction of the Z axis in the HAL or INI files?
Is there some documentation with examples on this?
The link to Basic Hal Tutorial in this thread seems to be broken...I tried searching the forum and couldn't find an answer. I would just be happy if someone could point me to some documentation I can read so that I can understand how linux CNC is linked and how to edit these parameters.
Daniel
Last edit: 06 Sep 2022 10:53 by pumzele.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19422
- Thank you received: 6516
06 Sep 2022 11:15 #251285
by tommylight
Replied by tommylight on topic Rpi4 + LinuxCNC +MESA 7c81 + HW356 + HQ-LB60-12A-V1
Moved to "driver boards".
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17881
- Thank you received: 4781
06 Sep 2022 14:33 #251299
by PCW
Replied by PCW on topic Rpi4 + LinuxCNC +MESA 7c81 + HW356 + HQ-LB60-12A-V1
How can I assign pins on the 7c81 to varibles in linux CNC?
With a net command
How can I chose which pin is responsible for example Spindle PWM?
This is determined by the firmware (you should use firmware that matches your breakout board)
How can I change the direction of the Z axis in the HAL or INI files?
Either change the sign of the stepgen scale:
setp hm2_7c81.0.stepgen.0N.position-scale XXXX
or invert the Z Axis direction output:
setp hm2_7c81.0.stepgen.00.direction.invert_output true
Is there some documentation with examples on this?
linuxcnc.org/docs/html/hal/tutorial.html
man hostmot2
With a net command
How can I chose which pin is responsible for example Spindle PWM?
This is determined by the firmware (you should use firmware that matches your breakout board)
How can I change the direction of the Z axis in the HAL or INI files?
Either change the sign of the stepgen scale:
setp hm2_7c81.0.stepgen.0N.position-scale XXXX
or invert the Z Axis direction output:
setp hm2_7c81.0.stepgen.00.direction.invert_output true
Is there some documentation with examples on this?
linuxcnc.org/docs/html/hal/tutorial.html
man hostmot2
Please Log in or Create an account to join the conversation.
- pumzele
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
06 Sep 2022 16:33 #251322
by pumzele
Replied by pumzele on topic Rpi4 + LinuxCNC +MESA 7c81 + HW356 + HQ-LB60-12A-V1
Thank you!!!
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.068 seconds