Spindle Speed Settings only from file, no MDI possible?
- Muftijaja
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 3
27 May 2025 12:23 #329213
by Muftijaja
Spindle Speed Settings only from file, no MDI possible? was created by Muftijaja
Hello Community,
many things are working nowadays with Linuxcnc 2.9.2 with Probe Basic on a MESA 7i76e. But:
A few weeks ago I had to change my Hitachi VFD because it had no 10V output for spindle supply from the beginning. I sent it to service in April and I had to get the 10V from a separated power supply, this worked fine with a chinese VFD for the time the Hitachi VFD was in service.
Last week the Hitachi came back from service, the 10V Out was working, but surprisingly I cannot make MDI speed commands any more. I set S6000 or S12000, press Enter, in the spindle display on the right side 22000 occurs and I can press FWD Button but nothing happens.
IN the HALSHOW there is
0 at spindle-out
0 at spindle.0.speed.out
0 at spindle.0.on
0 at spindle.0.forward. Tested with S6000, S12000 S24000.
All this worked fine with the chinese VFD before.
So, I thought my 7i76e card is burnt up (I did not change any of my HAL or INI files since I sent my Hitachi away), but surprisingly further experiments could deny that.
Speed instructions from a file are working as they should. E.g. my warmup file - spindle turns in the right direction, right speed, right display down right.
Parameters are the same in the Hitachi as before.
Do you have any idea what could have happened here? I'm totally clueless...
Thanks for any hint and help!
Hanno
HAL and INI Files:
many things are working nowadays with Linuxcnc 2.9.2 with Probe Basic on a MESA 7i76e. But:
A few weeks ago I had to change my Hitachi VFD because it had no 10V output for spindle supply from the beginning. I sent it to service in April and I had to get the 10V from a separated power supply, this worked fine with a chinese VFD for the time the Hitachi VFD was in service.
Last week the Hitachi came back from service, the 10V Out was working, but surprisingly I cannot make MDI speed commands any more. I set S6000 or S12000, press Enter, in the spindle display on the right side 22000 occurs and I can press FWD Button but nothing happens.
IN the HALSHOW there is
0 at spindle-out
0 at spindle.0.speed.out
0 at spindle.0.on
0 at spindle.0.forward. Tested with S6000, S12000 S24000.
All this worked fine with the chinese VFD before.
So, I thought my 7i76e card is burnt up (I did not change any of my HAL or INI files since I sent my Hitachi away), but surprisingly further experiments could deny that.
Speed instructions from a file are working as they should. E.g. my warmup file - spindle turns in the right direction, right speed, right display down right.
Parameters are the same in the Hitachi as before.
Do you have any idea what could have happened here? I'm totally clueless...
Thanks for any hint and help!
Hanno
HAL and INI Files:
Attachments:
Please Log in or Create an account to join the conversation.
- Muftijaja
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 3
27 May 2025 14:29 - 27 May 2025 14:39 #329223
by Muftijaja
Replied by Muftijaja on topic Spindle Speed Settings only from file, no MDI possible?
Hi langdons,
yes the chinese has only 1,5kW instead of 2,2, just 320 Hz, no vector, no safety settings and outputs, no rs232 programming, it's cost is only 1/4 of the Hitachi. It is 3 years old, mostly layd in stock, has had 7 hours this year since built in, mostly parametring and testing time, but the 10V problem was from the beginning and sucked. Hitachi made a costless repair on it. I think, there's nothing wrong with the VFD itself, but sth has changed in Linuxcnc. But where?
(Hitachi is founded in 1910 and in the US since 1959, Hitachi VFD's are very common here in Europe and I have no doubt about their quality)
yes the chinese has only 1,5kW instead of 2,2, just 320 Hz, no vector, no safety settings and outputs, no rs232 programming, it's cost is only 1/4 of the Hitachi. It is 3 years old, mostly layd in stock, has had 7 hours this year since built in, mostly parametring and testing time, but the 10V problem was from the beginning and sucked. Hitachi made a costless repair on it. I think, there's nothing wrong with the VFD itself, but sth has changed in Linuxcnc. But where?
(Hitachi is founded in 1910 and in the US since 1959, Hitachi VFD's are very common here in Europe and I have no doubt about their quality)
Last edit: 27 May 2025 14:39 by Muftijaja.
Please Log in or Create an account to join the conversation.
- Muftijaja
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 3
27 May 2025 18:42 - 27 May 2025 18:43 #329254
by Muftijaja
Replied by Muftijaja on topic Spindle Speed Settings only from file, no MDI possible?
www.hitachi-iesa.com/sites/default/files...struction_NT325X.pdf Its a WJ200-022SE
Well, I had such an external 10v source before. It worked with both Hitachi and Chinese VFD. The voltage now is correct too, if LCNC gives it out to the Inverter.
What I want to mention again - just my opinion - the error seems to be in Linuxcnc - FWD and Speed signals are not sent out from LCNC just in MDI/Manual mode. My logic says - if the VFD works fine out of a file, what could be a failure in the inverter? I think theres sth wrong in the outputs of LCNC/Probe Basic. Maybe I'm wrong.
Well, I had such an external 10v source before. It worked with both Hitachi and Chinese VFD. The voltage now is correct too, if LCNC gives it out to the Inverter.
What I want to mention again - just my opinion - the error seems to be in Linuxcnc - FWD and Speed signals are not sent out from LCNC just in MDI/Manual mode. My logic says - if the VFD works fine out of a file, what could be a failure in the inverter? I think theres sth wrong in the outputs of LCNC/Probe Basic. Maybe I'm wrong.
Last edit: 27 May 2025 18:43 by Muftijaja.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17502
- Thank you received: 5116
27 May 2025 22:44 - 28 May 2025 00:27 #329280
by PCW
Replied by PCW on topic Spindle Speed Settings only from file, no MDI possible?
So you are saying that if you enter:
s12000 m3
(in the MDI tab)
That spindle.0.on remains false?
s12000 m3
(in the MDI tab)
That spindle.0.on remains false?
Last edit: 28 May 2025 00:27 by PCW.
The following user(s) said Thank You: Muftijaja
Please Log in or Create an account to join the conversation.
- Muftijaja
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 3
27 May 2025 23:26 - 27 May 2025 23:28 #329281
by Muftijaja
Replied by Muftijaja on topic Spindle Speed Settings only from file, no MDI possible?
Thanks langdons, that would be the last step if others fails. There are a lot of things i would have to setup again, such as wireless Handwheel, Probe basic, the TooTall18T probing routine and others that work fine at the moment, so I am a little afraid that i get more problems as today. I'm not a coder and not very familiar with all that stuff.
Thanks PCW, I will try that tomorrow and give you feedback.
This file works and let the spindle turn:
M03 S6000 G04 P120
S12000 G04 P120
S18000 G04 P120
S22000 G04 P120
M05
M30
Kind regards!
Thanks PCW, I will try that tomorrow and give you feedback.
This file works and let the spindle turn:
M03 S6000 G04 P120
S12000 G04 P120
S18000 G04 P120
S22000 G04 P120
M05
M30
Kind regards!
Last edit: 27 May 2025 23:28 by Muftijaja.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17502
- Thank you received: 5116
28 May 2025 00:28 #329282
by PCW
Replied by PCW on topic Spindle Speed Settings only from file, no MDI possible?
What I meant of course was
s12000 m3
s12000 m3
The following user(s) said Thank You: Muftijaja
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
Less
More
- Posts: 21088
- Thank you received: 7201
28 May 2025 09:27 #329303
by tommylight
Replied by tommylight on topic Spindle Speed Settings only from file, no MDI possible?
Might also need $0 for the first spindle, so
M3 $0 S12000
M3 $0 S12000
The following user(s) said Thank You: Muftijaja
Please Log in or Create an account to join the conversation.
- Muftijaja
- Offline
- Premium Member
-
Less
More
- Posts: 100
- Thank you received: 3
29 May 2025 19:37 - 29 May 2025 19:44 #329382
by Muftijaja
Replied by Muftijaja on topic Spindle Speed Settings only from file, no MDI possible?
Hi langdons! Thanks for your question!
Yes the VFD has more than one output. One +24V for maybe switches or relays, two relay outputs and one +10v output that puts voltage to the electronic potentiometer on the 7i76e. The mesa doesn't have such a voltage output on board, so you have to give that from an external source (eg the VFD 10V out) to the spindle+ input. The spindle-output then gives the 0-10V voltage correspondingly to the set rpms back to the VFD's analog input and, if the FWD signal is on, the spindle turns.
In my case, the rpm output voltage AND the spindle.enable = spindle.on signal is only given out from LCNC if I do this from a file. Normally - and any time before, this works even with any MDI speed command.
So - the VFD (now) works as it should but LCNC has problems to give the right MDI Commands as ordered to the outputs of the MESA card.
The VFD had no +10V on its H output as it came to me, from the dealer, new product, no NOS, freshly produced 3 years ago. I wasn't ready to build that thing in because I was busy with the mechanic part of my CNC. I put some parameters in the first weeks, but no real testing with any controller, so I didn't mention that problem. I found that few weeks ago, as I installed the VFD and tried to get the spindle turning. And found that there is no +10V at Out H. Then, the external 10V source, but I wanted the VFD beeing allright, so I sent it to Hitachi for Service.
I wasn't able to go down to my machine the last days, but I will make a video of that process the next days.
Kind regards!
Yes the VFD has more than one output. One +24V for maybe switches or relays, two relay outputs and one +10v output that puts voltage to the electronic potentiometer on the 7i76e. The mesa doesn't have such a voltage output on board, so you have to give that from an external source (eg the VFD 10V out) to the spindle+ input. The spindle-output then gives the 0-10V voltage correspondingly to the set rpms back to the VFD's analog input and, if the FWD signal is on, the spindle turns.
In my case, the rpm output voltage AND the spindle.enable = spindle.on signal is only given out from LCNC if I do this from a file. Normally - and any time before, this works even with any MDI speed command.
So - the VFD (now) works as it should but LCNC has problems to give the right MDI Commands as ordered to the outputs of the MESA card.
The VFD had no +10V on its H output as it came to me, from the dealer, new product, no NOS, freshly produced 3 years ago. I wasn't ready to build that thing in because I was busy with the mechanic part of my CNC. I put some parameters in the first weeks, but no real testing with any controller, so I didn't mention that problem. I found that few weeks ago, as I installed the VFD and tried to get the spindle turning. And found that there is no +10V at Out H. Then, the external 10V source, but I wanted the VFD beeing allright, so I sent it to Hitachi for Service.
I wasn't able to go down to my machine the last days, but I will make a video of that process the next days.
Kind regards!
Last edit: 29 May 2025 19:44 by Muftijaja.
Please Log in or Create an account to join the conversation.
Time to create page: 0.061 seconds