- Posts: 1931
- Thank you received: 394
Gmoccapy - A new screen for linuxcnc
- newbynobi
- Offline
- Moderator
-
Less
More
12 years 7 months ago #44885
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Just pusher 1.0.9,
it solves a "Ignore Limit" bug.
Norbert
it solves a "Ignore Limit" bug.
Norbert
Please Log in or Create an account to join the conversation.
- jbunch
- Offline
- Senior Member
-
Less
More
- Posts: 79
- Thank you received: 3
12 years 7 months ago #44909
by jbunch
Replied by jbunch on topic Gmoccapy - A new screen for linuxcnc
Hi Norbert,
I went to use Gmoccapy today to turn some parts and the spindle readout is not the same.
In Forward I get the spindle speed of 500 rpm and a spindle at speed light.
In reverse I now get a negitive spindle speed -500 rpm with no spindle at speed light.
I have a back tool lathe it spends most of it's time in reverse.
Is this a change you have made?
Is this the way it will be from now on?
I have changed nothing in my config files except the disply section and
changes to posthui.hal required for Gmoccapy.
Jim
I went to use Gmoccapy today to turn some parts and the spindle readout is not the same.
In Forward I get the spindle speed of 500 rpm and a spindle at speed light.
In reverse I now get a negitive spindle speed -500 rpm with no spindle at speed light.
I have a back tool lathe it spends most of it's time in reverse.
Is this a change you have made?
Is this the way it will be from now on?
I have changed nothing in my config files except the disply section and
changes to posthui.hal required for Gmoccapy.
Jim
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
Less
More
- Posts: 1931
- Thank you received: 394
12 years 7 months ago #44929
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Hallo Jim,
I checked the spindle stuff and found some "strange" behavior, but nothing should have influence to spindle at speed, as this is linuxcnc internal, we just lit the LED when the spindle is at speed, I do not control that in gmoccapy again.
But I had several complains about the spindle bar changing its direction for reverse. So I took the opportunity to rework the spindle stuff.
Gmoccapy will from 1.0.10 (just pushed) only work with absolute spindle revs, as physically rpm is an abs value and should not be negative!
I needed to introduce a rt_component in postgui hal for that purpose.
Check and keep me informed.
Norbert
I checked the spindle stuff and found some "strange" behavior, but nothing should have influence to spindle at speed, as this is linuxcnc internal, we just lit the LED when the spindle is at speed, I do not control that in gmoccapy again.
But I had several complains about the spindle bar changing its direction for reverse. So I took the opportunity to rework the spindle stuff.
Gmoccapy will from 1.0.10 (just pushed) only work with absolute spindle revs, as physically rpm is an abs value and should not be negative!
I needed to introduce a rt_component in postgui hal for that purpose.
Check and keep me informed.
Norbert
Please Log in or Create an account to join the conversation.
- jbunch
- Offline
- Senior Member
-
Less
More
- Posts: 79
- Thank you received: 3
12 years 7 months ago - 12 years 7 months ago #44939
by jbunch
Replied by jbunch on topic Gmoccapy - A new screen for linuxcnc
Hi Norbert,
I did a reload and complete rebuild and I am still seeing negitive numbers.
Make clean etc.
When in MIDI mode I can set forward and reverse and I get a spindle at speed.
When in Auto mode I the spindle rotates but no spindle at speed light.
I am using the facingTOOL in NGCGUI with a surface speed of 500.
# ---setup spindle control signals---
net spindle-enable <= motion.spindle-on
net spindle-cw <= motion.spindle-forward
net spindle-ccw <= motion.spindle-reverse
net spindle-brake <= motion.spindle-brake
net spindle-revs => motion.spindle-revs
net spindle-index-enable <=> motion.spindle-index-enable
net spindle-speed-out abs.2.in <= motion.spindle-speed-out
# *** Spindle speed control
# PWM Generator signals/setup
setp hm2_5i20.0.pwmgen.02.output-type 1
setp hm2_5i20.0.pwmgen.02.scale 0.00094
net spindle-enable hm2_5i20.0.pwmgen.02.enable <= pid.2.enable
net spindle-vel-cmd pid.2.command <= abs.2.out
net spin-pid-out pid.2.output hm2_5i20.0.pwmgen.02.value
net spindle-rpm => abs.1.in
net spindle-speed-abs <= abs.1.out
# *** spindle at speed
setp near.0.scale 1.2
net spindle_speed_reqst_scaled near.0.in1 abs.6.in <= motion.spindle-speed-cmd-rps
#net spindle_speed_reqst_pos near.0.in1 <= abs.6.out
net spindle_ena_spindle_spd and2.12.in1 <= near.0.out
net spindle_for_rev and2.12.in0 and2.3.in1 <= or2.5.out
Jim
I did a reload and complete rebuild and I am still seeing negitive numbers.
Make clean etc.
When in MIDI mode I can set forward and reverse and I get a spindle at speed.
When in Auto mode I the spindle rotates but no spindle at speed light.
I am using the facingTOOL in NGCGUI with a surface speed of 500.
# ---setup spindle control signals---
net spindle-enable <= motion.spindle-on
net spindle-cw <= motion.spindle-forward
net spindle-ccw <= motion.spindle-reverse
net spindle-brake <= motion.spindle-brake
net spindle-revs => motion.spindle-revs
net spindle-index-enable <=> motion.spindle-index-enable
net spindle-speed-out abs.2.in <= motion.spindle-speed-out
# *** Spindle speed control
# PWM Generator signals/setup
setp hm2_5i20.0.pwmgen.02.output-type 1
setp hm2_5i20.0.pwmgen.02.scale 0.00094
net spindle-enable hm2_5i20.0.pwmgen.02.enable <= pid.2.enable
net spindle-vel-cmd pid.2.command <= abs.2.out
net spin-pid-out pid.2.output hm2_5i20.0.pwmgen.02.value
net spindle-rpm => abs.1.in
net spindle-speed-abs <= abs.1.out
# *** spindle at speed
setp near.0.scale 1.2
net spindle_speed_reqst_scaled near.0.in1 abs.6.in <= motion.spindle-speed-cmd-rps
#net spindle_speed_reqst_pos near.0.in1 <= abs.6.out
net spindle_ena_spindle_spd and2.12.in1 <= near.0.out
net spindle_for_rev and2.12.in0 and2.3.in1 <= or2.5.out
Jim
Last edit: 12 years 7 months ago by jbunch.
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
Less
More
- Posts: 1931
- Thank you received: 394
12 years 7 months ago #44953
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Hallo Jim,
where are the negative numbers? In the feedback bar? If so, this has influence also on the rest of the display, but not on the spindle_at_speed led. You must feed the spindle feedback bar with an absolut value.
Unfortunately your "hal snipped" of your post does not see all connections, as some abs are not connected and some signals seemed to be created on other parts.
Norbert
where are the negative numbers? In the feedback bar? If so, this has influence also on the rest of the display, but not on the spindle_at_speed led. You must feed the spindle feedback bar with an absolut value.
Unfortunately your "hal snipped" of your post does not see all connections, as some abs are not connected and some signals seemed to be created on other parts.
Norbert
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
Less
More
- Posts: 1931
- Thank you received: 394
12 years 7 months ago #44954
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
gmoccapy 1.0.2
please update!!!!
- solved a bug in getting active gcodes, because I took also the first
element of linuxcnc.stat.gcodes, but that seems not to be a gcode, but
some kind of control number or something like that, so it causes wrong
code and changed gmoccapy behavior in an erroneous way, may also
result in wrong parts!
- In this bug finding I also needed to change the gladevcp widget combiDRO
to get the correct results
Sorry this was my bug!
Norbert
please update!!!!
- solved a bug in getting active gcodes, because I took also the first
element of linuxcnc.stat.gcodes, but that seems not to be a gcode, but
some kind of control number or something like that, so it causes wrong
code and changed gmoccapy behavior in an erroneous way, may also
result in wrong parts!
- In this bug finding I also needed to change the gladevcp widget combiDRO
to get the correct results
Sorry this was my bug!
Norbert
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.716 seconds