7i33 spindle
- billykid
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 509
- Thank you received: 79
29 Jun 2017 20:08 #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 ..
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 ..
The following user(s) said Thank You: massimodamassa
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23288
- Thank you received: 4937
29 Jun 2017 20:20 #95189
by andypugh
Replied by andypugh on topic 7i33 spindle
Probably a lot too much I gain, or possibly too much P gain.
The following user(s) said Thank You: massimodamassa
Please Log in or Create an account to join the conversation.
- billykid
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 509
- Thank you received: 79
30 Jun 2017 08:46 - 30 Jun 2017 08:49 #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 ?
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 ?
Last edit: 30 Jun 2017 08:49 by billykid.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23288
- Thank you received: 4937
02 Jul 2017 15:39 #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 likeAssuming that the VFD starts to move at 1V commanded.
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
in out
0 0
.01 1
10 10
The following user(s) said Thank You: billykid
Please Log in or Create an account to join the conversation.
- billykid
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 509
- Thank you received: 79
03 Jul 2017 10:29 #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.
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 or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23288
- Thank you received: 4937
03 Jul 2017 12:25 #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
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.075 seconds