User Tools

Site Tools


SCADA software LAquis FAQ | SCADA software

Question: How to create timer?


Timers can come from PLC. But can be created by SCADA itself. Create a tag with driver TIMERFORMAT. If possible use a different virtual port, the system will use a new windows thread.

Associate this tag with a displaytext with Format property hh:nn:ss clocke1.jpg

This tag is in windows double date time format like 1/24/60/60/1000 per milisseconds.

To start timer counting type in a script event (ex: button OnClick):

tagname = 1

To pause

tagname = 2

To stop

tagname = 0

In reports use cell format hh:nn:ss there.

if you want its possible to use internal script timer in milisseconds like:

x = timer
x = timer.test1

SCADA software

faq19.txt · Last modified: 2018/01/23 14:35 (external edit)

Page Tools

Tags: SCADA software , SCADA systems.