Mesa Firmware - 7i96s + 7i85S 1PWM
14 Jan 2024 00:37 #290599
by spumco
Mesa Firmware - 7i96s + 7i85S 1PWM was created by spumco
I think I'd like to try switching my spindle drive from step-dir to PWM.
I see 7i96s_7i85sd.bin in the hostmot2 folder. Is this the right firmware file for the above combo?
If not, can I get a firmware file with one PWM generator instead of stepgen 06 (on the 7i85)?
I see 7i96s_7i85sd.bin in the hostmot2 folder. Is this the right firmware file for the above combo?
If not, can I get a firmware file with one PWM generator instead of stepgen 06 (on the 7i85)?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
14 Jan 2024 00:55 - 14 Jan 2024 03:27 #290600
by tommylight
Replied by tommylight on topic Mesa Firmware - 7i96s + 7i85S 1PWM
Just to be sure, does the drive take PWM only or can it run on analog 5V, although pretty much everything will work with both, granted they are not counting pulses or duration or frequency.
7i96S has an analog output that can be made in hal to never output over 5V (or anything between 0-10V), or you can just supply 5-6V to spindle+ on the Mesa, so should work as is.
Easy way to check, yank two batteries from any remote control and wire one to spindle input (mind polarity), notice roughly the speed then wire both batteries and see if it spins faster. If it does spin faster with two batteries, analog will work.
Edit:
PWM drives will not spin the motor at all with 1 battery and will run full speed with 2 batteries in series at the input.
7i96S has an analog output that can be made in hal to never output over 5V (or anything between 0-10V), or you can just supply 5-6V to spindle+ on the Mesa, so should work as is.
Easy way to check, yank two batteries from any remote control and wire one to spindle input (mind polarity), notice roughly the speed then wire both batteries and see if it spins faster. If it does spin faster with two batteries, analog will work.
Edit:
PWM drives will not spin the motor at all with 1 battery and will run full speed with 2 batteries in series at the input.
Last edit: 14 Jan 2024 03:27 by tommylight. Reason: more info
Please Log in or Create an account to join the conversation.
14 Jan 2024 01:11 #290603
by PCW
Replied by PCW on topic Mesa Firmware - 7i96s + 7i85S 1PWM
I can make firmware with a PWM output on the 7I85S
What firmware are you using currently?
What firmware are you using currently?
Please Log in or Create an account to join the conversation.
14 Jan 2024 01:47 #290604
by spumco
I realize now (after looking through the folder again) that my question was a bit dumb, since that's the firmware I'm using.
So yes, please. Firmware for 7i96s with a 7i85s and a PWM output on the 7i85s.
After that's flashed, what are the pin assignments for the PWM output?
Replied by spumco on topic Mesa Firmware - 7i96s + 7i85S 1PWM
I think I'm using 7i96s_7i85sd.bin. That was the first one I saw in the folder with "7i85s" and all expected pins showed up when I flashed it.I can make firmware with a PWM output on the 7I85S
What firmware are you using currently?
I realize now (after looking through the folder again) that my question was a bit dumb, since that's the firmware I'm using.
So yes, please. Firmware for 7i96s with a 7i85s and a PWM output on the 7i85s.
After that's flashed, what are the pin assignments for the PWM output?
Please Log in or Create an account to join the conversation.
14 Jan 2024 01:52 #290605
by spumco
It'll take -10/+10v, PWM, step-dir, quad, and CAN. No analog 5v.
The reason I want to try PWM is that I'm using Andy's caxis.comp to automatically switch between spindle mode and axis mode. And I've recently realized the units between the two modes (revs vs. degrees) is playing havoc with my brain since there are two PID outputs to manage.
My theory is that putting the drive in PWM velocity mode means everything is in revs and I don't have to figure out how to scale the input of one of the PID's.
Replied by spumco on topic Mesa Firmware - 7i96s + 7i85S 1PWM
Tommy,Just to be sure, does the drive take PWM only or can it run on analog 5V, although pretty much everything will work with both, granted they are not counting pulses or duration or frequency.
7i96S has an analog output that can be made in hal to never output over 5V (or anything between 0-10V), or you can just supply 5-6V to spindle+ on the Mesa, so should work as is.
Easy way to check, yank two batteries from any remote control and wire one to spindle output (mind polarity), notice roughly the speed then wire both batteries and see if it spins faster. If it does spin faster with two batteries, analog will work.
It'll take -10/+10v, PWM, step-dir, quad, and CAN. No analog 5v.
The reason I want to try PWM is that I'm using Andy's caxis.comp to automatically switch between spindle mode and axis mode. And I've recently realized the units between the two modes (revs vs. degrees) is playing havoc with my brain since there are two PID outputs to manage.
My theory is that putting the drive in PWM velocity mode means everything is in revs and I don't have to figure out how to scale the input of one of the PID's.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
14 Jan 2024 02:17 #290606
by PCW
Replied by PCW on topic Mesa Firmware - 7i96s + 7i85S 1PWM
Here is firmware with a PWM output replacing the last stepgen on the 7I85S:
Attachments:
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19196
- Thank you received: 6434
14 Jan 2024 03:24 #290607
by tommylight
Replied by tommylight on topic Mesa Firmware - 7i96s + 7i85S 1PWM
Spummy, i am aware of why as i read almost everything here, it was just something you could try while waiting for the Grand Master PCW.
Keep on grinding, i am rooting quietly for you.
Keep on grinding, i am rooting quietly for you.
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
14 Jan 2024 03:32 #290608
by spumco
Which pins are PWM+/- and which are DIR+/-? Right now I've got TX2+/- as step and TX3+/- as direction.
Replied by spumco on topic Mesa Firmware - 7i96s + 7i85S 1PWM
PCW - thanks much.Here is firmware with a PWM output replacing the last stepgen on the 7I85S:
Which pins are PWM+/- and which are DIR+/-? Right now I've got TX2+/- as step and TX3+/- as direction.
Please Log in or Create an account to join the conversation.
14 Jan 2024 05:02 #290611
by PCW
Replied by PCW on topic Mesa Firmware - 7i96s + 7i85S 1PWM
The included .pin file lists the 7I85S pinout
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds