Need help with C41 PWM HAL

More
10 years 7 months ago #71090 by rreddy2go
Sorry, should have done that from the start. Here it is

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

More
10 years 7 months ago #71110 by Rick G
Replied by Rick G on topic Need help with C41 PWM HAL
Did you have a configuration that did work before you added the spindle control?
If so try commenting out what was added for the spindle control to make sure you have a good basic configuration.
You can then start uncommenting the lines to see where the stumbling block is.

Rick G
The following user(s) said Thank You: rreddy2go

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

More
10 years 7 months ago #71126 by rreddy2go
Rick, I do have the configutation that was generated by stepgen after I installed a 2nd parallel port & did a clean install of LinuxCNC 2.7.4 Debian. I had to modify it to get a C6 working. The modified config is the one I use as the "keeper" to fall back on when my C41 modifications don't work.
-Jon

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

More
10 years 7 months ago #71127 by dgarrett
Replied by dgarrett on topic Need help with C41 PWM HAL
In your file X2.hal, you have removed critical lines:
Code:
addf motion-command-handler servo-thread addf motion-controller servo-thread
This omission alone will cause the fault indicated by

waiting for s.axes
...
USRMOT: ERROR: command timeout

Note that when restoring these lines, the sequencing of the addf lines is important.
The following user(s) said Thank You: rreddy2go

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

More
10 years 7 months ago #71131 by rreddy2go
Thanks a ton. It will now start without any error messages. I can issue an M3S5000 & the relay lights up & the output shows 10 volts. However, there is no change in the output voltage when I change the spindle speed. It stays the same until I issue an M5 then the relay shuts off & the output voltage drops to .71 I'm sure I've left something out that controls this.

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

More
10 years 7 months ago #71153 by andypugh
Replied by andypugh on topic Need help with C41 PWM HAL
You don't appear to be setting the pwm frequency?
The following user(s) said Thank You: rreddy2go

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

Time to create page: 0.078 seconds
Powered by Kunena Forum