Page 1 of 1

Toggle function

Posted: Thu 12. May 2022, 17:22
by Gelby
Hello, on the MicroMod is it possible to transform a pushbutton (momentary switch) connected to a digital input into a toggle switch and transmit its state via CAN?
In other words, when I press the pushbutton, the state on CAN output message must change and remain in that state even when I release the pushbutton, then when I press again the pushbutton, the state must toggle and remain on that state until the next push and so on, like a toggle function.

Thank you,
regards.

Re: Toggle function

Posted: Fri 13. May 2022, 12:28
by G.Bohlen
Hello,

unfortunately this function is not implemented.

Re: Toggle function

Posted: Fri 7. Oct 2022, 18:18
by parkinson
I implemented a toggle using several function blocks in the PCAN-Micromod FD Configuration software. It was for a Micromod FD Digital 2 module. attached is a block diagram of the logic that was implemented. Seems to work ok so far.

Re: Toggle function

Posted: Fri 7. Oct 2022, 18:49
by PEAK-Support
Thank you - but this is possible only for the new MicroMod FD Generation, not for the MicroMod Generation 1.