Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.

More
8 years 10 months ago #103528 by tecno
OK, let's hope that Andy or somebody else chimes in as I would like to get this 'comp' working and also learning how to do this.

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

More
8 years 10 months ago #103530 by Clive S
Tnx Rod I have no need for this but your posts do help a lot as you put comments in as to explain what is going on.
I find this very helpful with my hal leaning experience.
The following user(s) said Thank You: rodw

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

More
8 years 10 months ago #103534 by andypugh

rodw wrote: Sorry but I don't really understand spindles as my plasma cutter does not have one. I suspect that the pin that needs to be connected instead of these setp commands.
setp hm2_7i76e.0.7i76.0.0.spinout-scalemax 2400
setp hm2_7i76e.0.7i76.0.0.spinout-maxlim 2500


The spindle analogue output scale values can not be linked, they are parameters rather than pins.

I am not 100% sure what is required here, but I am assuming that the intention is that LinuxCNC sends the right motor speed to get the required spindle speed.

You could set the scalemax and maxlim to the actual motor speed. Or scale it from 0 to 100% or from 0 to 1.

The best approach probably depends on where the spindle speed feedback is from, is it from a spindle encoder, a motor encoder or from the VFD?

It is possible that the custom component output only needs to connect to the pid.s.ff0

(Having a closed-loop spindle-speed configuration does slightly complicate things, the feedback might need scaling too)

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

More
8 years 10 months ago #103539 by rodw
As I said, I don't know anything about spindles. Maybe this component should return something else than spindle maximum speed. Maybe it should only be used to update the GUI with the gear selection parameters.

It seems that the requirement to use a parameter to set maximum spindle speed is not designed with a gearbox in mind.

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

More
8 years 10 months ago #103540 by tecno

andypugh wrote:
I am not 100% sure what is required here, but I am assuming that the intention is that LinuxCNC sends the right motor speed to get the required spindle speed.

You could set the scalemax and maxlim to the actual motor speed. Or scale it from 0 to 100% or from 0 to 1.

The best approach probably depends on where the spindle speed feedback is from, is it from a spindle encoder, a motor encoder or from the VFD?

It is possible that the custom component output only needs to connect to the pid.s.ff0

(Having a closed-loop spindle-speed configuration does slightly complicate things, the feedback might need scaling too)

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

More
8 years 10 months ago #103541 by tecno

File Attachment:

File Name: combimillx...2-24.hal
File Size:16.8 KB

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

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