Electromechanical30
Industrial
- Sep 15, 2004
- 45
I'm am in the process of creating an HMI using Basic.
I do have it up and running!
I'd like to add a function that will update the PLC every second or so.
OnTimer... I need to write to a PLC register automatically. I have never really employed timers in my code before (fairly new to this type of programming).
Can anyone provide a simple code example. I should be able to pick it up from there.
Thanks!!
I do have it up and running!
I'd like to add a function that will update the PLC every second or so.
OnTimer... I need to write to a PLC register automatically. I have never really employed timers in my code before (fairly new to this type of programming).
Can anyone provide a simple code example. I should be able to pick it up from there.
Thanks!!