multiple motion probe inputs

More
5 years 10 months ago #192167 by Stran_ge
i dont want to change my screenset tho.

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

More
5 years 10 months ago - 5 years 10 months ago #192168 by alkabal
Well

i have do like you, using or2

But after that i have wanted to add a possible deactivation using motion.digital-out-01 and motion.digital-out-02 (using M64 M65 command for make this value 1 or 0)

i have faced the fact this motion pin need to be inverted from 1/0 to 0/1 so i have a a not function allowing to reverse signal.
Last edit: 5 years 10 months ago by alkabal.

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

More
5 years 10 months ago #192169 by alkabal
I have put link if you need to study how i have managed the activation/deactivation for input.

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

More
5 years 10 months ago #192172 by Stran_ge
that would indeed be helpful

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

More
5 years 10 months ago #192175 by tommylight
Why not use the "NOT" hal component on both the inputs?
That way even when you disconnect them, to HAL nothing has changed.

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

More
5 years 10 months ago - 5 years 10 months ago #192181 by Stran_ge
i did use not on both inputs since they are normaly closed switches.
Code:
hm2_7i76e.0.7i76.0.0.input-08-not hm2_7i76e.0.7i76.0.0.input-09-not
Last edit: 5 years 10 months ago by Stran_ge.

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

Time to create page: 0.280 seconds
Powered by Kunena Forum