- Posts: 1850
- Thank you received: 127
Spindel problems in Gmoccapy
- tecno
- Offline
- Platinum Member
-
Less
More
9 years 6 months ago #92356
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
9 years 6 months ago #92357
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
9 years 6 months ago #92358
by tommylight
Replied by tommylight on topic Spindel problems in Gmoccapy
On the left tree view there is encoder under pins, find there encoder.0 and show what is going on while working.newbynobi wrote: Please use Halshow and inform, about the results of all pin related to encoder.0
Norbert
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
9 years 6 months ago #92359
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
9 years 6 months ago #92400
by andypugh
Replied by andypugh on topic Spindel problems in Gmoccapy
encoder.0.velocity is showing a value (equivalent to 213 rpm) so it is something wrong in HAL, we can be certain.
You can follow the trail (encoder.0.velocity is shown going to the spindle-rps signal) and see where it breaks.
Probably a component that is not added to a thread, or possibly a hyphen/dash confusion in a signal name somewhere.
You can follow the trail (encoder.0.velocity is shown going to the spindle-rps signal) and see where it breaks.
Probably a component that is not added to a thread, or possibly a hyphen/dash confusion in a signal name somewhere.
Please Log in or Create an account to join the conversation.
- tecno
- Offline
- Platinum Member
-
Less
More
- Posts: 1850
- Thank you received: 127
9 years 6 months ago #92411
by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Just to get clear that I understand this.
Velocity is commanded to 200rpm and you read encoder.0.phase-Z to 213rpm, is this correct?
If so remember there is this LM circuitry converting steps to V that can be off and not tuned in.
If not = I am lost here and can not wrap my head around this.
"You can follow" Do you say that I need to use Halscope and look at the signal flow?
Is it this you want me to follow, I can sure try.
net spindle-rps encoder.0.velocity => scale.0.in
net spindle-rps motion.spindle-speed-in
net spindle-rpm-not_abs abs.0.in <= scale.0.out
net spindle-rpm abs.0.out
net spindle-position encoder.0.position => motion.spindle-revs
net spindle-enable motion.spindle-on => stepgen.2.enable
net spindle-cmd-rpm stepgen.2.velocity-cmd <= motion.spindle-speed-out
net spindle-comanded near.0.in1
net spindle-rev_per_min near.0.in2
net spindle-at-speed near.0.out => motion.spindle-at-speed
Cheers
Bengt
Velocity is commanded to 200rpm and you read encoder.0.phase-Z to 213rpm, is this correct?
If so remember there is this LM circuitry converting steps to V that can be off and not tuned in.
If not = I am lost here and can not wrap my head around this.
"You can follow" Do you say that I need to use Halscope and look at the signal flow?
Is it this you want me to follow, I can sure try.
net spindle-rps encoder.0.velocity => scale.0.in
net spindle-rps motion.spindle-speed-in
net spindle-rpm-not_abs abs.0.in <= scale.0.out
net spindle-rpm abs.0.out
net spindle-position encoder.0.position => motion.spindle-revs
net spindle-enable motion.spindle-on => stepgen.2.enable
net spindle-cmd-rpm stepgen.2.velocity-cmd <= motion.spindle-speed-out
net spindle-comanded near.0.in1
net spindle-rev_per_min near.0.in2
net spindle-at-speed near.0.out => motion.spindle-at-speed
Cheers
Bengt
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.224 seconds