Retrofitting a 1986 Maho MH400E

More
7 years 10 months ago #121800 by RotarySMP
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E
Thanks Christian. I guess that explains the difference in the wiring diagrams between mP and MP.

How is your MHx00C retrofit coming along?
Mark

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

More
7 years 10 months ago - 7 years 10 months ago #121853 by RotarySMP
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E
I have an couple of question for Andy Pugh, and anyone else who have done any gearbox.comps.

Do you have any suggestions how we can deal with Linuxcnc reacting to a spindle stop, by not only setting motion.spindle-on to false, but also setting motion.spindle.speed.out.abs to zero?

Example:
Spindle running at S500 , change to S1000 encountered in a gcode program:
- linuxcnc parses the change in S, sets motion.spindle.speed.out.abs1000
- gearbox.comp reacts to the change in S. Detects spindle running, commands a stop through halui.spindle.stop # see second issue below.
- gearbox is waiting for spindle.is.stopped to go high
- linuxcnc detects requested change in spindle state , sets motion.spindle-on false but also resets motion.spindle.speed.out.ab 0
- spindle.is.stoppped goes high
- gearbox.comp continues with gearchange, sets gearbox to match motion.spindle.speed.out.abs
- gearbox goes into neutral.

Linuxcnc is remembering last user commanded speed with an internal variable, as M3 not only restarts the spindle, but also resets motion.spindle.speed.out.abs back to that user last commanded speed. Can gearbox.comp get access to that variable? If we could have the gearbox finish the gear change to that, it would fix our problem.

2/ In the halshow's command line, we tried setp motion.spindle-on false but linuxcnc does not appear to let you set one if its internal output pins in this way. Does anyone else have a suggestion how we could give the gearbox.comp a means of stopping the spindle, without netting to halui.spindle.stop?
Mark
Last edit: 7 years 10 months ago by RotarySMP.

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

More
7 years 10 months ago - 7 years 10 months ago #121859 by drimaropoylos
Replied by drimaropoylos on topic Retrofitting a 1986 Maho MH400E
I thing that the logic should be like this. The gearchange.comp file should directly control spindle and gearbox and not by the Halui.
John

Attachments:
Last edit: 7 years 10 months ago by drimaropoylos.

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

More
7 years 10 months ago - 7 years 10 months ago #121861 by drimaropoylos
Replied by drimaropoylos on topic Retrofitting a 1986 Maho MH400E
The default behavior of motion.spindle.speed.out.abs is to go to 0 rpm when motion.spindle-on goes false (0).
John
Last edit: 7 years 10 months ago by drimaropoylos.

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

More
7 years 10 months ago - 7 years 10 months ago #121862 by RotarySMP
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E

The default behavior of motion.spindle.speed.out.abs is to go to 0 when motion.spindle-on goes false (0).
John


Thanks John,
Yes. That is the problem :( .On a gearbox machine, it makes no sense to command zero speed when you actually want off. Even on a VFD this makes little sense, as the stop/start function is normally separate from the speed function. On a gearbox machine, it would be best to simply display current gearbox speed, and leave it alone when the machine stops. So what we now need is a work around the default behavour.

Your block diagram almost exactly captures what we have, except that the gearbox.comp can not set motion.spindle-on as it is an out pin from the core.comp of linuxcnc.

I thing that the logic should like this. The gearchange.comp file should directly controls spindle and gearbox and not by the Halui.
John

Agreed, we want the gearbox disconnected from the halui, but we haven't been able to identify any other way of stopping the spindle than to go through halui.spindle.stop.
Attachments:
Last edit: 7 years 10 months ago by RotarySMP.

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

More
7 years 10 months ago #121863 by drimaropoylos
Replied by drimaropoylos on topic Retrofitting a 1986 Maho MH400E
This is what I meant with the diagram
John

Attachments:

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

Moderators: piasdom
Time to create page: 1.412 seconds
Powered by Kunena Forum