help with the or2 command please

More
18 Oct 2020 11:04 - 18 Oct 2020 11:24 #186452 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

File Attachment:

File Name: vmc190latest.zip
File Size:8 KB
Attachments:
Last edit: 18 Oct 2020 11:24 by depronman.

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

More
18 Oct 2020 11:09 #186453 by BeagleBrainz
Please add hal file.

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

More
18 Oct 2020 11:24 - 18 Oct 2020 11:28 #186456 by depronman
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.

More
18 Oct 2020 12:37 - 18 Oct 2020 12:37 #186460 by Aciera
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
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.

More
18 Oct 2020 14:52 #186468 by depronman
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

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

Time to create page: 0.118 seconds
Powered by Kunena Forum