7i33 spindle

More
9 years 4 months ago #95188 by billykid
Replied by billykid on topic 7i33 spindle
Thanks Andy,
I added a couple of "or2" and now i have gpio 19 and pwmgen-enable on
I will have to adjust something because now in the orient half-way forward and half turn back faster and faster without stopping.
Tomorrow I feel better ..

Please Log in to join the conversation.

More
9 years 4 months ago #95189 by andypugh
Replied by andypugh on topic 7i33 spindle
Probably a lot too much I gain, or possibly too much P gain.

Please Log in to join the conversation.

More
9 years 4 months ago #95201 by billykid
Replied by billykid on topic 7i33 spindle
Thanks Andy,
I did not realize that the motor and inverter I'm testing with does not work at very low speeds, so it accumulates error then changes to the minimum voltage to run.
the brushless AC fanuc where it goes will surely behave well.
I can not understand why it does not use the encoder index ... it needs proximity for homing spindle ?

Please Log in to join the conversation.

More
9 years 3 months ago #95280 by andypugh
Replied by andypugh on topic 7i33 spindle
You probably want to use the index once at start-up to zero the encoder to a fixed position, but you won't need to do it again. (But, if there is a risk that the encoder loses counts at high speed, then you could zero to index again)

To make a VFD work with a PID you probably need a gain curve to modify the output of the PID. I would use a lincurve component set up something like
Code:
in out 0 0 .01 1 10 10
Assuming that the VFD starts to move at 1V commanded.

Please Log in to join the conversation.

More
9 years 3 months ago #95298 by billykid
Replied by billykid on topic 7i33 spindle
Thanks Andy,
I used "lincurve" and set the pid, now working much better.
The signal "is oriented" is missing and does not stop the cycle but I'm trying.

Please Log in to join the conversation.

More
9 years 3 months ago #95301 by andypugh
Replied by andypugh on topic 7i33 spindle
motion.spindle-is-oriented should be there:
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html

Please Log in to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum