MWD Posted December 12, 2017 Report Share Posted December 12, 2017 I have a V130 and was going to use "TOGGLE COIL" to toggle memory bit 1/0. Using a PNP input and when I closed the switch, I could see the COIL flash on/off under debug and I can watch the MB toggle state as well. Thought I might have a bad power supply but its clean and other inputs do the same. This is on a test board so all wires are very short and have no RF floating around. Ideas? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted December 12, 2017 MVP 2022 Report Share Posted December 12, 2017 Are you using a positive transition contact for your input? Quote Link to comment Share on other sites More sharing options...
MWD Posted December 12, 2017 Author Report Share Posted December 12, 2017 Thats correct.a 0 to 1. Very simple net with a n/o input to a X coil. Hold input high and I can watch the coil 1 to 0 randomly. I have no issue with a regular coil or set coil. Quote Link to comment Share on other sites More sharing options...
hotwires Posted December 12, 2017 Report Share Posted December 12, 2017 agree with Flex, you need to "one shot" the toggle coil (per event). otherwise it will toggle every scan for the durtion of the event. Quote Link to comment Share on other sites More sharing options...
MWD Posted December 12, 2017 Author Report Share Posted December 12, 2017 Thanks IF I use a positive transition, the coil will toggle only on when a "on" meaning it will take two on transitions to go low. I thought I could use the "X" to toggle a bit to log a time stamp when a input when high and then when it goes low. Must not be the right method. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted December 12, 2017 MVP 2022 Report Share Posted December 12, 2017 You can use both a positive transition contact and a negative transition contact to activate your toggle bit. However, it sounds like you don't need the toggle bit at all. Just use the positive and negative transitions of your input to log your time stamps. 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.