(Solved) Use already connected Buttons twice

More
26 Sep 2016 15:54 - 26 Sep 2016 16:58 #80936 by DaPeace
Hey Guys,
another day another question...

I want to use my Arrow-Buttons that i use for moving the mill as a shortcut.
I want to press x+ and x- same time to switch to gmoccapy.jog-inc-0-PIN.
I dont have enough buttons to add that separatly.
Can someone give me a hint how i can do that?

i have added the x+ and x- with the following code:
net jogx-plus gmoccapy.jog-x-plus <= lcec.0.2.din-6
net jogx-minus gmoccapy.jog-x-minus <= lcec.0.2.din-1

I tried to use and2 but the problem is that the pins are already connected and i cant figure out how i could reuse them later.

Regards, Jan
Last edit: 26 Sep 2016 16:58 by DaPeace. Reason: Solved by myself, Wrong direction Signal -> Pin used...

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

More
27 Sep 2016 12:30 #80988 by andypugh
Just re-use the signals in more "net" commands.

net jogx-plus gmoccapy.jog-x-plus <= lcec.0.2.din-6
net jogx-minus gmoccapy.jog-x-minus <= lcec.0.2.din-1

net jogx-plus => parport.0.pin-57-out (for example)

And note that the => are only for human readability, and invsible to the computer.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum