hotwires Posted February 18, 2017 Report Share Posted February 18, 2017 Dear Community, How does one link an HMI element to a bit in a manner where the bit is only true for the duration that the HMI element is held to touch? In visilogic I used the HMI link to bit and then linked that bit to a TON timer. To reset an hour meter numeric element the operator would press and hold the HMI element for 5 seconds, the timer would go true, a PTC contact would trigger a RESET NUMERIC coil; then Happy, happy, happy. Now not so much. Is this achievable in UniL? Actions seem to be latch oriented. Thanks All. Sincerely, Hotwires Quote Link to comment Share on other sites More sharing options...
Saragani Posted February 18, 2017 Report Share Posted February 18, 2017 You can have on the same button: Set bit on Pressed Reset bit on Release 1 Quote Link to comment Share on other sites More sharing options...
hotwires Posted February 20, 2017 Author Report Share Posted February 20, 2017 OK, did not realize the two opposing forces could work together as a "bit true for duration of touch". Setting up two lines on actions: set bit pressed, reset bit released works exactly as desired. Thank you Saragani! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.