help with the or2 command please
18 Oct 2020 11:04 - 18 Oct 2020 11:24 #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
Attachments:
Last edit: 18 Oct 2020 11:24 by depronman.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Offline
- User is blocked
Less
More
- Posts: 1437
- Thank you received: 570
18 Oct 2020 11:09 #186453
by BeagleBrainz
Replied by BeagleBrainz on topic help with the or2 command please
Please add hal file.
Please Log in or Create an account to join the conversation.
18 Oct 2020 11:24 - 18 Oct 2020 11:28 #186456
by depronman
Replied by depronman on topic help with the or2 command please
all hal and ini files added
Last edit: 18 Oct 2020 11:28 by depronman.
Please Log in or Create an account to join the conversation.
18 Oct 2020 12:37 - 18 Oct 2020 12:37 #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
Last edit: 18 Oct 2020 12:37 by Aciera.
The following user(s) said Thank You: depronman
Please Log in or Create an account to join the conversation.
18 Oct 2020 14:52 #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 or Create an account to join the conversation.
Time to create page: 0.121 seconds