7i76EU Hal and Ini File

More
17 Jul 2025 22:47 - 17 Jul 2025 23:11 #331955 by rocket6delta
7i76EU Hal and Ini File was created by rocket6delta
I've went through the pncconf wizard to set up a 7i76eu board. I can get the x-axis to job in Linuxcnc but the motors are not moving.  All wiring is connected correctly to the board and driver.  I know this because it was moving at one point and then i made the mistake of trying to swap from Axis to Probe Basic and ChatGpt was telling me to do some stuff that obviously messed it up.  So my files here are the result of going through the set up wizard a second time.  It's not the originals.  I'm essentially trying to get back to where i was.  I have communication with the board.  DMM Dyn4 drivers has a solid green light on the front of each.  The only thing of note worthy is the Z-Axis pins from the driver are connected to the Step 0 pins on TB2, X axis on Step 1 pins, and Y axis on Step 2 pins.  This is due to short cables and i don't want to move them.  I made these changes in the wizard too.Can anyone take a look at my Hal and Ini files to see any issues?  I'm attaching the files and TXT files for reading.
Attachments:
Last edit: 17 Jul 2025 23:11 by rocket6delta. Reason: Adding Txt files for reading

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

More
17 Jul 2025 23:13 - 17 Jul 2025 23:14 #331956 by PCW
Replied by PCW on topic 7i76EU Hal and Ini File
I would change these in the ini file
from:

DIRSETUP = 100
DIRHOLD = 1000
STEPLEN = 2500
STEPSPACE = 2500

to:

DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000

also:

P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0

should be:

P = 1000
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0 

These changes apply to all joints.
 
Last edit: 17 Jul 2025 23:14 by PCW.

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

More
18 Jul 2025 20:43 #331999 by rocket6delta
Replied by rocket6delta on topic 7i76EU Hal and Ini File
Thanks.  I've made those corrections. I've made some progress today.  When i remove my physical estop button i can now hear the Z-axis brake release but still no motor movement on any axis. I took the step of putting a volt meter across the Dir and Step pins on the Mesa board.  I initially see 5V on all pins. Then i ran the MDI command 
G91 G0 X0.1.  I see values changing in Halmeter for pid.x.command, pid.x.output, stepgen.01.velocity-cmd and a voltage drop on the Dir Pins.  But no voltage drop on the Step pins.  This is the case for all axis.I feel like I'm close to getting this to work again.  My wiring has not been changed since it was last fully operational on all 3 servos.  I can't get them to move in the DMM software either.I'm attaching my Hal and Ini files.  For some reason it's not letting me load the Text files.  Any help is appreciated.Thanks Therman Simmons Fort Mill, SC 
Attachments:

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

More
18 Jul 2025 20:52 #332000 by rocket6delta
Replied by rocket6delta on topic 7i76EU Hal and Ini File
let me correct what i seen on the Step pins. I seen a very small drop from 5.08V to 5.06. Seems like something was holding it back.

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

More
18 Jul 2025 22:37 - 18 Jul 2025 22:58 #332003 by PCW
Replied by PCW on topic 7i76EU Hal and Ini File
You would not normally see much of a change in STEP
pin outputs as the STEP pulses are short and do not change
the average voltage ( what a voltmeter reads ) very much.

You should see a change in the voltage on the DIR
pins when jogging in different directions.
 
It this possibly an issue with the motor drive enables?
Last edit: 18 Jul 2025 22:58 by PCW.

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

More
19 Jul 2025 13:16 #332011 by rocket6delta
Replied by rocket6delta on topic 7i76EU Hal and Ini File
it's possible...i measured 24V on the output pins.....these lines look different then when the machine was last operational but i had ChatGPT produce these...they don't seem right to me but i don't know enough...my board is a 7i76EU so i was thinking of replacing 7i76 with 7i76EU......if i comment these lines out the z axis brake doesn't release...

therman@Debian-LinuxCNC:~$ halcmd getp hm2_7i76.0.7i76.0.0.output-01
TRUE
therman@Debian-LinuxCNC:~$ halcmd getp hm2_7i76.0.7i76.0.0.output-00
TRUE
therman@Debian-LinuxCNC:~$ halcmd getp hm2_7i76.0.7i76.0.0.output-02
TRUE

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

More
19 Jul 2025 16:09 - 19 Jul 2025 20:44 #332025 by PCW
Replied by PCW on topic 7i76EU Hal and Ini File
7I76EU pin names are identical to 7I76E names

Can you post your current hal/ini files?
Last edit: 19 Jul 2025 20:44 by PCW.

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

More
19 Jul 2025 18:57 #332031 by rocket6delta
Replied by rocket6delta on topic 7i76EU Hal and Ini File
current Hal and Ini files attached.  i attempted to replace 7i76 with 7i76e or 7i76eu but it didn't like that either so i've kept everything as is.
Thanks
 
Attachments:

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

More
19 Jul 2025 20:03 #332033 by PCW
Replied by PCW on topic 7i76EU Hal and Ini File
OK that's not going to work as most of the pin names are wrong.

I would suggest using pncconf (choosing 7I76e) and starting over making a new configuration.
(7I76E hal/ini configurations are identical to 7I76EU hal/ini configuration)

pncconfs default values are correct for most things 

Do not use AI for this as its just a huge time sink

 

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

More
19 Jul 2025 20:44 #332035 by rocket6delta
Replied by rocket6delta on topic 7i76EU Hal and Ini File
I did a complete uninstall and reinstall of LinuxCNC. After I went through the wizard and selected 7i76e, I ran LinuxCNC again and i got this error message;

./PM833TV.hal:10: parameter or pin 'hm2_7i76e.0.watchdog.timeout_ns' not found
Shutting down and cleaning up LinuxCNC...

The only way to get rid of this error is to change 7i76e back to 7i76 in the Hal and Ini files.  It doesn't like any references to 7i76e.

Is this the source of the issues?

Attaching my current Hal and Ini files.
Attachments:

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

Time to create page: 0.139 seconds
Powered by Kunena Forum