Using 7i76 to control spindle reverse with Danfoss DC150 DC controller

More
8 years 1 month ago - 8 years 1 month ago #117938 by Grotius
Hi Alan,

Ai... That sound painfull. I always use Delta, they have around 8 parameter's of ca 200 that are usefull for me.
I alway's turn of the fan sound for the noise as first.

But okey. With braking you need separate device. I don't know how it's called, i think resistor or brake device to catch up the brake heat.

If i switched from m3 to m4 today several times, the program was not looking at spindle rpm. In my postgui there was also no
comment : spindle at speed. I think you have to connect the encoder and try it. But i think the code will be looking at your current rpm, only for thread milling i think it will look at the rpm.
But if you want to be sure and there is no other option...

If you have a simple led-indicator or rpm indicator, you can use a user defined macro to make your wishes.
In macro i think M101 and above you can say what you want to do. If it is too difficult for you.
I can help you with writing some code.

In the User Defined Macro code, you have a input, this is your encoder rpm or led indicator that say's we are zero.
After that state. On or Off bit input / state. You can say start spindle M3 or M4.
It's quite easy to do.
A other option is to make a wait command. You clock your spindle down time and use it as wait function.
In hal a time function is available. If not, i have a good one. Source Rodw.
Last edit: 8 years 1 month ago by Grotius.

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

More
3 years 7 months ago #267944 by romafede
Hi, let me introduce myself, I'm Federico from Argentina, I'm building a cnc lathe with a Danfoss variator for spindle control, and I have the same problem. I am using Mesa 7i96S. I am new to Linuxcnc, I was reading many topics in this forum and I got here. How can I solve the change of direction M3 - M4? I appreciate any information...

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

Moderators: cmorley
Time to create page: 0.142 seconds
Powered by Kunena Forum