- Configuring LinuxCNC
- PnCConf Wizard
- No PWM Output for Spindle in openloop test mode - 7i92 w 7i77/7i76
No PWM Output for Spindle in openloop test mode - 7i92 w 7i77/7i76
- B.Reilly01
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 116
- Thank you received: 11
31 Mar 2024 22:59 #297313
by B.Reilly01
So I'm in PNCConf and I have my linear motors moving in open loop test mode, but when I go to open loop test mode on the Spindle tab, I get no DC Voltage output on the 7i77 Analog output 5. HAL shows an output, but the multimeter shows nothing. Attached are my 2 hal files and my ini. Also is there a way to have a different max linear speed for my Z axis? The head is heavy and the motor is tired, doesn't want to move it at 300ipm, but the x and y have no problem.
Please Log in or Create an account to join the conversation.
01 Apr 2024 01:03 #297320
by PCW
Replied by PCW on topic No PWM Output for Spindle in openloop test mode - 7i92 w 7i77/7i76
I would set the spindle speed to 1/2 full scale (3000)
(MDI)
M3S3000
and see if these make sense
hm2_7i92.0.7i77.0.1.analogout5
hm2_7i92.0.7i77.0.1.spinena
Then check the analog 5 output
(MDI)
M3S3000
and see if these make sense
hm2_7i92.0.7i77.0.1.analogout5
hm2_7i92.0.7i77.0.1.spinena
Then check the analog 5 output
The following user(s) said Thank You: B.Reilly01
Please Log in or Create an account to join the conversation.
- B.Reilly01
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 116
- Thank you received: 11
01 Apr 2024 11:24 #297356
by B.Reilly01
Replied by B.Reilly01 on topic No PWM Output for Spindle in openloop test mode - 7i92 w 7i77/7i76
Right now I can't get to MDI as the encoders are giving me fits, I can only move in "Open Loop" test mode in PNCConf. Once I get my encoders sorted, I'll try this, but right now I have zero response in PNCConf.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 17877
- Thank you received: 5942
01 Apr 2024 12:00 #297362
by tommylight
Replied by tommylight on topic No PWM Output for Spindle in openloop test mode - 7i92 w 7i77/7i76
Maybe this helps
forum.linuxcnc.org/10-advanced-configura...ning-detailed-how-to
forum.linuxcnc.org/10-advanced-configura...ning-detailed-how-to
The following user(s) said Thank You: B.Reilly01
Please Log in or Create an account to join the conversation.
01 Apr 2024 14:24 - 01 Apr 2024 14:26 #297373
by PCW
Replied by PCW on topic No PWM Output for Spindle in openloop test mode - 7i92 w 7i77/7i76
Also I'm not sure if pncconf's open loop test can really access much other than
the axis analog outputs. A better test might be a very minimal hal file:
loadrt hostmot2
loadrt hm2_eth board_ip=10.10.10.10
loadrt threads
addf hm2_7i92.0.read thread1
addf hm2_7i92.0.write thread1
start
loadusr halshow
And then run this file with:
halcmd -f testfile.hal
or just
halcmd -kf
and enter the lines by hand or copy-paste
At this point you should be able to set and view pins
with halshow
When done you will need to run:
halrun -U
To unload the drivers.
the axis analog outputs. A better test might be a very minimal hal file:
loadrt hostmot2
loadrt hm2_eth board_ip=10.10.10.10
loadrt threads
addf hm2_7i92.0.read thread1
addf hm2_7i92.0.write thread1
start
loadusr halshow
And then run this file with:
halcmd -f testfile.hal
or just
halcmd -kf
and enter the lines by hand or copy-paste
At this point you should be able to set and view pins
with halshow
When done you will need to run:
halrun -U
To unload the drivers.
Last edit: 01 Apr 2024 14:26 by PCW.
The following user(s) said Thank You: B.Reilly01, besriworld
Please Log in or Create an account to join the conversation.
- B.Reilly01
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 116
- Thank you received: 11
03 Apr 2024 14:09 #297505
by B.Reilly01
Replied by B.Reilly01 on topic No PWM Output for Spindle in openloop test mode - 7i92 w 7i77/7i76
Thanks for all the help - I'm 1 failed encoder away from being able to use MDI to test the spindle. I may try that simple HAL file if I get time.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- Configuring LinuxCNC
- PnCConf Wizard
- No PWM Output for Spindle in openloop test mode - 7i92 w 7i77/7i76
Time to create page: 0.104 seconds