MesaCT and 7i76eu Issues with generated configuration
- LearningLinuxCNC
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 223
- Thank you received: 39
04 Dec 2025 02:06 #339710
by LearningLinuxCNC
MesaCT and 7i76eu Issues with generated configuration was created by LearningLinuxCNC
It could be that I am an imbecile. However when I used MesaCT as installed per the instructions here using apt gnipsel.com/linuxcnc/mesact/install.html#install-with-apt. I did not get an anywhere near working configuration out of the tool. The stepper configurations were very incomplete. The feedback loop was not closed in fact the PID output was not even sent to the mesa stepper driver.
I will post up my configuration files from the output shortly.
I will post up my configuration files from the output shortly.
Please Log in or Create an account to join the conversation.
- LearningLinuxCNC
-
Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 223
- Thank you received: 39
04 Dec 2025 22:57 #339748
by LearningLinuxCNC
Replied by LearningLinuxCNC on topic MesaCT and 7i76eu Issues with generated configuration
Here is a generated HAL file X axis configuration.
This is what I had to change it to in order to make it work properly.
# Axis: X Joint: 0 Output: 2
# PID Setup
setp pid.x.Pgain [JOINT_0](P)
setp pid.x.Igain [JOINT_0](I)
setp pid.x.Dgain [JOINT_0](D)
setp pid.x.bias [JOINT_0](BIAS)
setp pid.x.FF0 [JOINT_0](FF0)
setp pid.x.FF1 [JOINT_0](FF1)
setp pid.x.FF2 [JOINT_0](FF2)
setp pid.x.deadband [JOINT_0](DEADBAND)
setp pid.x.maxoutput [JOINT_0](MAX_OUTPUT)
setp pid.x.error-previous-target True
# joint-0 enable chain
net joint-0-index-enable <=> pid.x.index-enable
net joint-0-index-enable <=> joint.0.index-enable
net joint-0-enable <= joint.0.amp-enable-out
net joint-0-enable => pid.x.enable
# position command and feedback
net joint-0-pos-cmd <= joint.0.motor-pos-cmd
net joint-0-pos-cmd => pid.x.command
net joint-0-pos-fb <= hm2_[MESA](BOARD).0.stepgen.00.position-fb
net joint-0-pos-fb => joint.0.motor-pos-fb
net joint-0-pos-fb => pid.x.feedback
# PID Output
net joint.0.output <= pid.x.output
# Axis: Z Joint: 1 Output: 3This is what I had to change it to in order to make it work properly.
# Axis: X Joint: 0 Output: 2
# PID Setup
setp pid.x.Pgain [JOINT_0](P)
setp pid.x.Igain [JOINT_0](I)
setp pid.x.Dgain [JOINT_0](D)
setp pid.x.bias [JOINT_0](BIAS)
setp pid.x.FF0 [JOINT_0](FF0)
setp pid.x.FF1 [JOINT_0](FF1)
setp pid.x.FF2 [JOINT_0](FF2)
setp pid.x.deadband [JOINT_0](DEADBAND)
setp pid.x.maxoutput [JOINT_0](MAX_OUTPUT)
setp pid.x.error-previous-target True
setp pid.x.maxerror 0.0005
# joint-0 enable chain
net joint-0-index-enable <=> pid.x.index-enable
net joint-0-index-enable <=> joint.0.index-enable
net joint-0-enable <= joint.0.amp-enable-out
net joint-0-enable => pid.x.enable
net joint-0-enable => hm2_[MESA](BOARD).0.stepgen.02.enable
# position command and feedback
net joint-0-pos-cmd <= joint.0.motor-pos-cmd
net joint-0-pos-cmd => pid.x.command
net joint-0-vel-cmd <= joint.0.vel-cmd
net joint-0-pos-fb <= hm2_[MESA](BOARD).0.stepgen.02.position-fb
net joint-0-pos-fb => joint.0.motor-pos-fb
net joint-0-pos-fb => pid.x.feedback
# PID Output
net joint.0.output <= pid.x.output
net joint.0.output => hm2_[MESA](BOARD).0.stepgen.02.velocity-cmd
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17479
- Thank you received: 5107
05 Dec 2025 17:26 #339763
by PCW
Replied by PCW on topic MesaCT and 7i76eu Issues with generated configuration
You might post a link to this thread on the MesaCT topic
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 1045
- Thank you received: 541
09 Dec 2025 12:07 - 09 Dec 2025 12:16 #339909
by JT
Replied by JT on topic MesaCT and 7i76eu Issues with generated configuration
Can you attach your ini file?
Did you skip Drive 0 and Drive 1?
JT
Did you skip Drive 0 and Drive 1?
JT
Last edit: 09 Dec 2025 12:16 by JT.
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds