MesaCT problems with 7i96 pwm spindle
- oddwick
-
Topic Author
- Away
- Premium Member
-
Less
More
- Posts: 140
- Thank you received: 18
18 May 2025 03:37 #328665
by oddwick
MesaCT problems with 7i96 pwm spindle was created by oddwick
Having ome slight problems here and was looking to see if someone could give me a hand. I am finishing up a build and the last piece of the puzzle is the spindle and some of the outputs.
I am using a 7i96 that was reused from another machine and was set up for 4 step 1 pwm. not sure the version of the firmware, but it should not need to be changed. The computer is a clean install of 2.9 and the original configs from the previous machine doesn't work. It was made using jt's 7i96 tool and then heavily modified. so as of right now, I have most everything set up using mesaCT with some generic general values just to make sure that i can move and home each axis. so far so good.
The spindle is 2.2kw 220v using a huanyang ec01 vfd which takes a 10v pwm signal so i have it ran through a small analog converter from the mesa board. Now when i try and add the spindle to the config in mesaCT, all of the spindle controls are greyed out even though in options i have it set as 4 step 1 spindle and in axis, there is no spindle option right now.
also, for some reason i can not get axis to turn on my relays either using mesaCT. I have them set as mist/flood right now for testing, but i get nothing. are these some bugs with mesaCT or am i just missing something obvious? Thanks!
I am using a 7i96 that was reused from another machine and was set up for 4 step 1 pwm. not sure the version of the firmware, but it should not need to be changed. The computer is a clean install of 2.9 and the original configs from the previous machine doesn't work. It was made using jt's 7i96 tool and then heavily modified. so as of right now, I have most everything set up using mesaCT with some generic general values just to make sure that i can move and home each axis. so far so good.
The spindle is 2.2kw 220v using a huanyang ec01 vfd which takes a 10v pwm signal so i have it ran through a small analog converter from the mesa board. Now when i try and add the spindle to the config in mesaCT, all of the spindle controls are greyed out even though in options i have it set as 4 step 1 spindle and in axis, there is no spindle option right now.
also, for some reason i can not get axis to turn on my relays either using mesaCT. I have them set as mist/flood right now for testing, but i get nothing. are these some bugs with mesaCT or am i just missing something obvious? Thanks!
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 962
- Thank you received: 503
18 May 2025 11:57 #328686
by JT
Replied by JT on topic MesaCT problems with 7i96 pwm spindle
For a 7i96 spindle you have to add that manually at this point. Now that the 7i96 is back in stock I might work on adding a spindle to it in MesaCT.
Watch the output pins as you toggle flood and mist in the halshow program.
JT
Watch the output pins as you toggle flood and mist in the halshow program.
JT
The following user(s) said Thank You: oddwick
Please Log in or Create an account to join the conversation.
- oddwick
-
Topic Author
- Away
- Premium Member
-
Less
More
- Posts: 140
- Thank you received: 18
18 May 2025 14:24 #328695
by oddwick
Replied by oddwick on topic MesaCT problems with 7i96 pwm spindle
ok thanks jt, soon as i get to the shop i will check the pins.
btw, do you have some boilerplate code for a pwm spindle? if not i will dig in my archives and see if i can get the old spindle code working
btw, do you have some boilerplate code for a pwm spindle? if not i will dig in my archives and see if i can get the old spindle code working
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18606
- Thank you received: 5120
18 May 2025 14:38 #328697
by PCW
Replied by PCW on topic MesaCT problems with 7i96 pwm spindle
You could use a 7I96S spindle configuration as an example.
The following user(s) said Thank You: JT
Please Log in or Create an account to join the conversation.
- oddwick
-
Topic Author
- Away
- Premium Member
-
Less
More
- Posts: 140
- Thank you received: 18
20 May 2025 01:56 #328771
by oddwick
Replied by oddwick on topic MesaCT problems with 7i96 pwm spindle
ok so i made it out to the shop and have a rudimentary pwm signal running. but i am sill having some problems with it. it works ok from the mesa to the pwm module, i get 2.5v-4.5v when i run the spindle. my min speed is 12k and my max is 24k, so those numbers make sense, although is there a way to get closer to 5v out for max speed?
on my module, i get a constant 8.5v out which i think might be a bad module so i have one on the he way, supposed to be here to tomorrow.
but i still cant get either the spindle on, flood, or mist pins to work. in hal meter, it shows the pins toggling, but physically nothing happens. out of curiosity the three of them map to gpio.00.out etc, which gpio.[00-09].in are all of my inputs. is this right on a mesa? when i changed all of them to 10-12, i get error saying pin not found.
on my module, i get a constant 8.5v out which i think might be a bad module so i have one on the he way, supposed to be here to tomorrow.
but i still cant get either the spindle on, flood, or mist pins to work. in hal meter, it shows the pins toggling, but physically nothing happens. out of curiosity the three of them map to gpio.00.out etc, which gpio.[00-09].in are all of my inputs. is this right on a mesa? when i changed all of them to 10-12, i get error saying pin not found.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18606
- Thank you received: 5120
20 May 2025 02:29 #328774
by PCW
Replied by PCW on topic MesaCT problems with 7i96 pwm spindle
No outputs are GPIO
7I96 isolated output hal pins are:
hm2_7i96s.0.ssr.00.out-00
hm2_7i96s.0.ssr.00.out-01
hm2_7i96s.0.ssr.00.out-02
hm2_7i96s.0.ssr.00.out-03
hm2_7i96s.0.ssr.00.out-04
hm2_7i96s.0.ssr.00.out-05
7I96 isolated output hal pins are:
hm2_7i96s.0.ssr.00.out-00
hm2_7i96s.0.ssr.00.out-01
hm2_7i96s.0.ssr.00.out-02
hm2_7i96s.0.ssr.00.out-03
hm2_7i96s.0.ssr.00.out-04
hm2_7i96s.0.ssr.00.out-05
The following user(s) said Thank You: oddwick
Please Log in or Create an account to join the conversation.
- oddwick
-
Topic Author
- Away
- Premium Member
-
Less
More
- Posts: 140
- Thank you received: 18
20 May 2025 03:03 #328777
by oddwick
Replied by oddwick on topic MesaCT problems with 7i96 pwm spindle
ahhh thanks pete! i just came across that just a few minutes ago. i thought that looked suspect. must be a bug in jt’s config tool because thats straight out of mesaCT.
quick question, any reason i cant get more than 4.45v out of my pwm? ive checked everything on the hardware side and its all good there. no matter what i do, i cant get more than 4.45v max from the pwm
quick question, any reason i cant get more than 4.45v out of my pwm? ive checked everything on the hardware side and its all good there. no matter what i do, i cant get more than 4.45v max from the pwm
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18606
- Thank you received: 5120
20 May 2025 04:57 #328779
by PCW
Replied by PCW on topic MesaCT problems with 7i96 pwm spindle
The STEP/DIR output voltage will be the 7I96 5V supply voltage
if there is no load. Any load will lower the output voltage.
So it could be low supply voltage, or a load on the output
The output resistance is around 50 Ohms so a 10 mA load will drop
the output voltage by about 0.5V
if there is no load. Any load will lower the output voltage.
So it could be low supply voltage, or a load on the output
The output resistance is around 50 Ohms so a 10 mA load will drop
the output voltage by about 0.5V
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 962
- Thank you received: 503
20 May 2025 11:11 #328795
by JT
These are 7i96 output pins
7 bit IN FALSE hm2_7i96.0.ssr.00.out-00
7 bit IN FALSE hm2_7i96.0.ssr.00.out-01
7 bit IN FALSE hm2_7i96.0.ssr.00.out-02
7 bit IN FALSE hm2_7i96.0.ssr.00.out-03
7 bit IN FALSE hm2_7i96.0.ssr.00.out-04
7 bit IN FALSE hm2_7i96.0.ssr.00.out-05
and up the 7i96 outputs are using the wrong pins in MesaCT.
I'll fix that.
JT
Replied by JT on topic MesaCT problems with 7i96 pwm spindle
Those are 7i96s output pins...No outputs are GPIO
7I96 isolated output hal pins are:
hm2_7i96s.0.ssr.00.out-00
hm2_7i96s.0.ssr.00.out-01
hm2_7i96s.0.ssr.00.out-02
hm2_7i96s.0.ssr.00.out-03
hm2_7i96s.0.ssr.00.out-04
hm2_7i96s.0.ssr.00.out-05
These are 7i96 output pins
7 bit IN FALSE hm2_7i96.0.ssr.00.out-00
7 bit IN FALSE hm2_7i96.0.ssr.00.out-01
7 bit IN FALSE hm2_7i96.0.ssr.00.out-02
7 bit IN FALSE hm2_7i96.0.ssr.00.out-03
7 bit IN FALSE hm2_7i96.0.ssr.00.out-04
7 bit IN FALSE hm2_7i96.0.ssr.00.out-05
and up the 7i96 outputs are using the wrong pins in MesaCT.
I'll fix that.
JT
The following user(s) said Thank You: oddwick
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 962
- Thank you received: 503
20 May 2025 12:07 #328805
by JT
Replied by JT on topic MesaCT problems with 7i96 pwm spindle
Fixed the outputs and inverts for 7i95t, 7i96, 7i96s, 7i97 and 7i97t.
JT
JT
The following user(s) said Thank You: tommylight, oddwick
Please Log in or Create an account to join the conversation.
Time to create page: 0.278 seconds