- Posts: 62
- Thank you received: 0
help with the or2 command please
6 years 1 week ago #186452
by depronman
help with the or2 command please was created by depronman
I'm struggleing trying to get control panel jog buttons working AND and the job button on a wifi pendant working
I can get either to work on there own (by commenting out one or the other lines in post gui hal)
I was advised to use the or2 command, but I just can figure out how
below are examples of the two hal lines that work in there own right, so what do I do to get either the 'control panel button' or the 'pendent panel button' to jog the axis'
I am using gmoccapy as the GUI and have set up loadrt or2 count 6 addf or2.5 servo-thread
####panel jog button####
net jog-x-plus gmoccapy.jog.axis.jog-x-plus <= parport.1.pin-03-in-not
####pendent jog button####
net joy-xpos-jog gmoccapy.jog.axis.jog-x-plus <= and2.3.out
thanks in advance for any help on this
Paul
I can get either to work on there own (by commenting out one or the other lines in post gui hal)
I was advised to use the or2 command, but I just can figure out how
below are examples of the two hal lines that work in there own right, so what do I do to get either the 'control panel button' or the 'pendent panel button' to jog the axis'
I am using gmoccapy as the GUI and have set up loadrt or2 count 6 addf or2.5 servo-thread
####panel jog button####
net jog-x-plus gmoccapy.jog.axis.jog-x-plus <= parport.1.pin-03-in-not
####pendent jog button####
net joy-xpos-jog gmoccapy.jog.axis.jog-x-plus <= and2.3.out
thanks in advance for any help on this
Paul
Attachment not found
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
6 years 1 week ago #186453
by BeagleBrainz
Replied by BeagleBrainz on topic help with the or2 command please
Please add hal file.
Please Log in to join the conversation.
6 years 1 week ago #186456
by depronman
Replied by depronman on topic help with the or2 command please
all hal and ini files added
Please Log in to join the conversation.
6 years 1 week ago #186460
by Aciera
Replied by Aciera on topic help with the or2 command please
net jog-x-plus-1 <= parport.1.pin-03-in-not => or2.5.in0
net jog-x-plus-2 <= and2.3.out => or2.5.in1
net jog-x-plus <= or2.5.out => gmoccapy.jog.axis.jog-x-plus
net jog-x-plus-2 <= and2.3.out => or2.5.in1
net jog-x-plus <= or2.5.out => gmoccapy.jog.axis.jog-x-plus
Please Log in to join the conversation.
6 years 1 week ago #186468
by depronman
Replied by depronman on topic help with the or2 command please
Absolutely spot on my friends. worked a treat and I have replicated it for the other jog buttons
just about to do the same for the cycle start stop pause buttons
Thankyou so so much for your help
Best regards,
Paul
just about to do the same for the cycle start stop pause buttons
Thankyou so so much for your help
Best regards,
Paul
Please Log in to join the conversation.
Time to create page: 0.097 seconds
