Possible to program a Timed Event in a FT SE Display

sanger

Member
Join Date
Nov 2005
Location
Toronto
Posts
172
In a standard VBA form you can have a Form_Timer event that executes periodically. Is it possible to configure the same thing in SE? We want to create a form with VB code that interfaces to an external communication module in a DLL and need to poll the DLL periodically for processing messages.
 
Found my own answer.

- On the display create a NumericDisplay control named say "Update" and assign it the tag {system\Second}
- On the properties panel for the NumericDisplay set Expose To VBA to "VBA Control"
- Right-click on the control and select VBA Code. This will create a subroutine named Update_Change() that will be called once per second.
 

Similar Topics

I will be designing an automated hydrostatic system. The system on paper works like this, a plc like the click will get information from an hmi...
Replies
227
Views
42,823
Hello. I have been trying to crack this one without success and could not find any hint after several search attempts. I wonder if any CODESYS...
Replies
4
Views
3,920
Hello, I'm pretty sure I know the answer to this, but wanted to verify with the experts. Am I able to write a program using the Micro Starter...
Replies
7
Views
3,152
First off, i am new to ladder logic. I do have some experience programming microcontrollers in C. I will try and give a short version and if more...
Replies
7
Views
2,012
This is a CompactLogix L33ERM, version 30 (31 is too unstable on my machine to work with), with a Kinetix 5500 drive. I have a program where...
Replies
2
Views
2,001
Back
Top Bottom