No PWM Output for Spindle in openloop test mode - 7i92 w 7i77/7i76

More
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.
Attachments:

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

More
01 Apr 2024 01:03 #297320 by PCW
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
The following user(s) said Thank You: B.Reilly01

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

More
01 Apr 2024 11:24 #297356 by B.Reilly01
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.

More
01 Apr 2024 12:00 #297362 by tommylight
The following user(s) said Thank You: B.Reilly01

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

More
01 Apr 2024 14:24 - 01 Apr 2024 14:26 #297373 by PCW
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.




 
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.

More
03 Apr 2024 14:09 #297505 by B.Reilly01
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
Time to create page: 0.104 seconds
Powered by Kunena Forum