Want to test MPG

More
03 Mar 2021 01:07 - 03 Mar 2021 01:08 #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.
#******************************
# 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
Last edit: 03 Mar 2021 01:08 by alkabal.

Please Log in or Create an account to join the conversation.

More
03 Mar 2021 11:06 #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
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



Below snippet from pendant hal
# On/Off signals
net machine.is-on                         whb.halui.machine.is-on



So, I get no error message starting LCNC. What is wrong here?
Attachments:

Please Log in or Create an account to join the conversation.

More
03 Mar 2021 11:14 #200886 by phillc54
Replied by phillc54 on topic Want to test MPG
Try changing the pendant.hal line to:
net machine-is-on                         whb.halui.machine.is-on

Please Log in or Create an account to join the conversation.

More
03 Mar 2021 11:21 #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

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.100 seconds
Powered by Kunena Forum