Writing once a single value to a register
-
I"m trying to communicate with a Beckhoff BK9000 bus coupler and to reset the watchdog timer I need to send consecutively the values 0xBECF and 0xAFFE to a single register.
I only want to send this reset command when the watchdog timer elapsed due to some problem....
I'm not sure if this is possible with Rexygen......
-
Hi Scoobsalamander,
thanks for your question. If I understand correctly the solution can look like:
Sample source file: Beckhoff_resetWatchdog.mdl
Hope it helps.
Cheers, Tomas
-
Hi Tomas,
Thanks, this is indeed a working solution. I only needed to slow down the messages to 1 per second, which is still fine.
-
Hi Scoobsalamander,
glad I could help. You are right, I didn't take to count the timing. Good luck with your project!
Cheers, Tomas