- Posts: 265
- Thank you received: 40
Retrofitting a 1986 Maho MH400E
- drimaropoylos
- Offline
- Elite Member
-
Less
More
7 years 11 months ago #121549
by drimaropoylos
Replied by drimaropoylos on topic Retrofitting a 1986 Maho MH400E
Hi, I think that you should connect hal and not halui pins to gearbox COMP for machine control. I thing halui pins intended use is for the user interface, hardware and software.
John
John
The following user(s) said Thank You: RotarySMP
Please Log in or Create an account to join the conversation.
- drimaropoylos
- Offline
- Elite Member
-
Less
More
- Posts: 265
- Thank you received: 40
7 years 11 months ago #121551
by drimaropoylos
Replied by drimaropoylos on topic Retrofitting a 1986 Maho MH400E
Controlling the spindle from an independent bouton and from the rest of the software with or statement needs more thought.
John
John
Please Log in or Create an account to join the conversation.
- drimaropoylos
- Offline
- Elite Member
-
Less
More
- Posts: 265
- Thank you received: 40
7 years 11 months ago - 7 years 11 months ago #121582
by drimaropoylos
Replied by drimaropoylos on topic Retrofitting a 1986 Maho MH400E
Last edit: 7 years 11 months ago by drimaropoylos.
Please Log in or Create an account to join the conversation.
- drimaropoylos
- Offline
- Elite Member
-
Less
More
- Posts: 265
- Thank you received: 40
7 years 11 months ago #121583
by drimaropoylos
Replied by drimaropoylos on topic Retrofitting a 1986 Maho MH400E
Can you take a close photo to transformers connections?
Please Log in or Create an account to join the conversation.
- RotarySMP
- Offline
- Platinum Member
-
Less
More
- Posts: 1635
- Thank you received: 595
7 years 11 months ago #121584
by RotarySMP
Hi John, thanks for your input, you are right about that. The relevant spindle control nets which I currently have are these:
And here are the functions which I have had to comment out due to conflicts.
I used the halui.spindle.stop to give the gearbox control of stopping the spindle. Since there is no motion.spindle-stop pin, should I have the gearbox net to the motion.spindle-on pin and setp false to stop it? Or just have the gearbox comp setp motion.spindle-on false, from within it's code without going through a net?
Mark
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E
drimaropoylos wrote: Hi, I think that you should connect hal and not halui pins to gearbox COMP for machine control. I thing halui pins intended use is for the user interface, hardware and software.
Controlling the spindle from an independent bouton and from the rest of the software with or statement needs more thought.
John
Hi John, thanks for your input, you are right about that. The relevant spindle control nets which I currently have are these:
Code:
net sig_get_commanded_speed mh400e-gearbox.spindle-speed-in-abs <= motion.spindle-speed-out-abs
net sig_return_actual_speed mh400e-gearbox.spindle-speed-out => motion.spindle-speed-in
net sig_return_spindle-at-speed mh400e-gearbox.spindle-at-speed => motion.spindle-at-speed
net sig_stop_spindle mh400e-gearbox.stop-spindle => halui.spindle.stop
net spindle-on motion.spindle-on => hm2_5i25.0.7i84.0.2.output-13
net spindle-cw motion.spindle-forward => hm2_5i25.0.7i84.0.2.output-12
net spindle-ccw motion.spindle-reverse => hm2_5i25.0.7i84.0.2.output-11
And here are the functions which I have had to comment out due to conflicts.
Code:
#net maho_panel.r0c3_sig-out maho_panel.key.r0c3 => halui.spindle.stop
#net maho_panel.r2c4_sig-out maho_panel.key.r2c4 => halui.spindle.reverse
#net maho_panel.r4c1_sig-out maho_panel.key.r4c1 => halui.spindle.forward
I used the halui.spindle.stop to give the gearbox control of stopping the spindle. Since there is no motion.spindle-stop pin, should I have the gearbox net to the motion.spindle-on pin and setp false to stop it? Or just have the gearbox comp setp motion.spindle-on false, from within it's code without going through a net?
Mark
Please Log in or Create an account to join the conversation.
- RotarySMP
- Offline
- Platinum Member
-
Less
More
- Posts: 1635
- Thank you received: 595
7 years 11 months ago #121586
by RotarySMP
Replied by RotarySMP on topic Retrofitting a 1986 Maho MH400E
Hi John,
Lucky my new bellows have not yet arrived, so I still have the guards off and can easily remove the cover and photograph the transformers. Will probably have to wait for the weekend though.
Mark
Lucky my new bellows have not yet arrived, so I still have the guards off and can easily remove the cover and photograph the transformers. Will probably have to wait for the weekend though.
Mark
The following user(s) said Thank You: drimaropoylos
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.272 seconds