- Posts: 476
- Thank you received: 0
Want to test MPG
5 years 7 months ago #200863
by alkabal
Replied by alkabal on topic Want to test MPG
To crowloy :
If you try to add many or2 because the signal are already linked i suggest to comment out these whole section in your hal, they are not really used and can cause trouble with pendant.
If you try to add many or2 because the signal are already linked i suggest to comment out these whole section in your hal, they are not really used and can cause trouble with pendant.
Code:
#******************************
# connect miscellaneous signals
#******************************
# ---HALUI signals---
# net axis-select-x halui.axis.x.select
net jog-x-pos halui.axis.x.plus
net jog-x-neg halui.axis.x.minus
net jog-x-analog halui.axis.x.analog
net x-is-homed halui.joint.0.is-homed
# net axis-select-y halui.axis.y.select
net jog-y-pos halui.axis.y.plus
net jog-y-neg halui.axis.y.minus
net jog-y-analog halui.axis.y.analog
net y-is-homed halui.joint.1.is-homed
# net axis-select-z halui.axis.z.select
net jog-z-pos halui.axis.z.plus
net jog-z-neg halui.axis.z.minus
net jog-z-analog halui.axis.z.analog
net z-is-homed halui.joint.2.is-homed
# net axis-select-a halui.axis.a.select
net jog-a-pos halui.axis.a.plus
net jog-a-neg halui.axis.a.minus
net jog-a-analog halui.axis.a.analog
net a-is-homed halui.joint.3.is-homed
# net axis-select-b halui.axis.b.select
net jog-b-pos halui.axis.b.plus
net jog-b-neg halui.axis.b.minus
net jog-b-analog halui.axis.b.analog
net b-is-homed halui.joint.4.is-homed
net jog-selected-pos halui.axis.selected.plus
net jog-selected-neg halui.axis.selected.minus
# net spindle-manual-cw halui.spindle.0.forward
# net spindle-manual-ccw halui.spindle.0.reverse
# net spindle-manual-stop halui.spindle.0.stop
# net machine-is-on halui.machine.is-on
net jog-speed halui.axis.jog-speed
# net MDI-mode halui.mode.is-mdi
Please Log in to join the conversation.
5 years 7 months ago #200885
by tecno
Replied by tecno on topic Want to test MPG
Done some tests and found following that I can not solve.
Below snippet from plasmac.tcl
So far all is well
Below snippet from pendant hal
So, I get no error message starting LCNC. What is wrong here?
Below snippet from plasmac.tcl
Code:
if {[hal list sig machine-is-on] != {}} {
net machine-is-on => plasmac.machine-is-on
} else {
net machine-is-on halui.machine.is-on => plasmac.machine-is-on
}
So far all is well
Attachment not found
Below snippet from pendant hal
Code:
# On/Off signals
net machine.is-on whb.halui.machine.is-on
Attachment not found
So, I get no error message starting LCNC. What is wrong here?
Please Log in to join the conversation.
5 years 7 months ago #200886
by phillc54
Replied by phillc54 on topic Want to test MPG
Try changing the pendant.hal line to:
Code:
net machine-is-on whb.halui.machine.is-on
Please Log in to join the conversation.
5 years 7 months ago #200889
by tecno
Replied by tecno on topic Want to test MPG
YOU ARE THE MAN !! I owe you a pint or two Phil.
At last I have axis moving via the wheel.
Cheers from a happy camper.
Bengt
At last I have axis moving via the wheel.
Cheers from a happy camper.
Bengt
Please Log in to join the conversation.
Time to create page: 0.129 seconds
