Toggle Machine ON OFF ps3 controller

More
27 Dec 2021 14:14 #230066 by Kasper-001
hello and happy new year !
i need a hand to make my MODE button on the ps3 controller to turn machine on and off
i already have a extern button for that function,
the line is 406 with the ps3 controller input (MODE Button)
my hal file i attached
 

File Attachment:

File Name: test2_2021-12-27.hal
File Size:14 KB
Attachments:

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

More
29 Dec 2021 17:11 #230256 by BigJohnT
Use an or2 between the two inputs and connect the output of the or2 to your toggle function.
linuxcnc.org/docs/2.8/html/man/man9/or2.9.html

JT

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

More
29 Dec 2021 19:48 #230270 by Kasper-001
i have tried to mess around to make it work whit this 

net signal-a input-a => or2.0.in0
net signal-b input-b => or2.0.in1
net or-out or2.0.out => input

i can´t figure out where i have to place these inputs
hm2_7i92.0.7i76.0.0.input-24
input.0.btn-mode 


 
Attachments:

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

Time to create page: 0.094 seconds
Powered by Kunena Forum