MWD Posted December 12, 2017 Report 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?
MVP 2023 Flex727 Posted December 12, 2017 MVP 2023 Report Posted December 12, 2017 Are you using a positive transition contact for your input?
MWD Posted December 12, 2017 Author Report 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.
hotwires Posted December 12, 2017 Report 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.
MWD Posted December 12, 2017 Author Report 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.
MVP 2023 Flex727 Posted December 12, 2017 MVP 2023 Report 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now