Servo Driver Plasma Retrofit

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
27 Jul 2025 17:02 #332432 by tommylight
Replied by tommylight on topic Servo Driver Plasma Retrofit

Is it possible to use stall force tolerance for z axis home and detecting the sheet metal in qtplasmac? 

Yes for a DC motor, no (at least not easy at all) for steppers.
For a DC motor you would need a reed switch and wind some 5-10 times one of the motor cables around it (not both), wire the reed switch to any input and set it in hal as limit switch or probe.
The following user(s) said Thank You: kn612

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

More
27 Jul 2025 23:41 - 27 Jul 2025 23:42 #332450 by kn612
Replied by kn612 on topic Servo Driver Plasma Retrofit
 

File Attachment:

File Name: HornetPlasma.hal
File Size:10 KB
 

File Attachment:

File Name: HornetPlasma.ini
File Size:4 KB


In the hypertherm microedge software that currently controls the table has encoder polarity and dac polarity set to negative for one of the y axis and x axis.  Would I need to change the wiring I have going to the 7i97t to reflect that and would that be causing some of my issues?
Attachments:
Last edit: 27 Jul 2025 23:42 by kn612.

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

More
28 Jul 2025 00:27 #332452 by PCW
Replied by PCW on topic Servo Driver Plasma Retrofit
There is a basic setup error in the hal file: all PWMgens must be set to use offset mode
for the 7I97/7I97T. Here is an example from the basic7I97 configuration:


   

File Attachment:

File Name: basic7i97.hal
File Size:11 KB
Attachments:

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

More
20 Nov 2025 01:46 #338765 by kn612
Replied by kn612 on topic Servo Driver Plasma Retrofit
I don't see an option anywhere in pnnconf to set pwmgens to offset mode. Is that something I would have to manually add to hal?

Also what are some tuning settings to use for the servos to get started?

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

More
20 Nov 2025 16:54 #338806 by PCW
Replied by PCW on topic Servo Driver Plasma Retrofit
Yes, you would have to set it manually in HAL, something like:

setp hm2_7i97.0.pwmgen.00.offset-mode true
The following user(s) said Thank You: kn612

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

More
20 Nov 2025 17:08 #338809 by kn612
Replied by kn612 on topic Servo Driver Plasma Retrofit
I am getting an error on startup after adding the lines about offset mode.  I attached error report and current hal.

Machine jogs around well.  Its when I hit the power button in qtplasmac that enables the motors that they move/jump a little bit.  Offset mode would  correct/dampen that I assume?
Attachments:

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
20 Nov 2025 17:43 #338815 by tommylight
Replied by tommylight on topic Servo Driver Plasma Retrofit
At the very top of your hal file, there is some symbol that does not belong there, seem like '
The following user(s) said Thank You: kn612

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

More
20 Nov 2025 18:09 #338818 by kn612
Replied by kn612 on topic Servo Driver Plasma Retrofit
You guys rock. Thank you so much for pointing that out. I was editing hal with libre office instead of text editor. Added the line about offset mode and now the servos are quiet and don't move or jump when enabled.
The following user(s) said Thank You: tommylight

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
20 Nov 2025 20:28 #338829 by tommylight
Replied by tommylight on topic Servo Driver Plasma Retrofit

You guys rock.

Not much lately, to old ! :)
You are welcomed, always.
And as a general rule, edit machine files only with simple text editors, anything else will add special characters to the files making a mess.
The following user(s) said Thank You: kn612

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

More
21 Nov 2025 01:43 #338844 by kn612
Replied by kn612 on topic Servo Driver Plasma Retrofit
Great info as always. Thank you.

Setting up inputs now, getting an error on startup again related to inputs.  It states input pins do not exist.  Is this a common problem? Did I miss a simple step on configuring the 7i97t?
Attachments:

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

Moderators: snowgoer540
Time to create page: 0.079 seconds
Powered by Kunena Forum