Spindel problems in Gmoccapy

More
9 years 6 months ago #92343 by newbynobi
Hallo,
OK we seem to get a signal, but he feedbackbar can only show positive values, so I added a abs component.

Please replace spindle.hal with the new attached one and report.

Norbert

Please Log in to join the conversation.

More
9 years 6 months ago #92350 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Still same problem that is nothing on spindle feedback bar or LED

Bengt

Please Log in to join the conversation.

More
9 years 6 months ago #92353 by newbynobi
Please use Halshow and inform, about the results of all pin related to encoder.0

Norbert

Please Log in to join the conversation.

More
9 years 6 months ago #92354 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
Will go down to shop and you will have report shortly.

Bengt

Please Log in to join the conversation.

More
9 years 6 months ago #92356 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy
I hope I understood what you wanted to see thas pin 10

Attachment not found

Attachment not found



If not please tell me, remember I am new to this!

Bengt

Please Log in to join the conversation.

More
9 years 6 months ago #92357 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy

Attachment not found

Attachment not found



Z and A flickers

Bengt

Please Log in to join the conversation.

More
9 years 6 months ago #92358 by tommylight

newbynobi wrote: Please use Halshow and inform, about the results of all pin related to encoder.0

Norbert

On the left tree view there is encoder under pins, find there encoder.0 and show what is going on while working.

Please Log in to join the conversation.

More
9 years 6 months ago #92359 by tecno
Replied by tecno on topic Spindel problems in Gmoccapy

Attachment not found

Please Log in to join the conversation.

More
9 years 5 months ago #92400 by andypugh
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.

Please Log in to join the conversation.

More
9 years 5 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

Please Log in to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum