Citect Timer ?????

jimtech67

Member
Join Date
Jun 2002
Location
New Jersey
Posts
505
Is there a timer function in Citect or CiCode ?

I would like to do the following:
Press a button have a timer start. When the timer is done I would like to set memory tag This tag will cause another button to appear.

I am using a OPC server that is comminicating to our custom product. No PLC so there are no timers available that way. The OPC part is working

GO JETS
 
lots of solutions for this problem:

you could store the time when you press button 1, then if current time > (stored time + x) show button 2

you could use the sleep or sleepMs function

...

regards,

marsupilami
 
thanks Marsupilami

the sleep was what I was looking for, something clean and easy. I figured there was funtion I just could not find what I needed in the CiCode manual.


GO JETS
 
Be careful of sleep - it can adversely affect the performance of Citect if used often and for a longer time period. Even sleep for 2 seconds can slow things down.
 

Similar Topics

Is there a way to created a countdown timer that would display when a trigger becomes true and go away when the timer reaches zero?
Replies
5
Views
3,419
Can anyone help me with making a display timer such as a stop watch display that starts from a button (and counts up) perhaps using timer(). My...
Replies
1
Views
1,385
Hello everyone! I would want to add a TIMER that it counts the time from the start to the end of a process. I don't know how to do it! Could...
Replies
9
Views
3,244
Is it possible to automatic set a output high during a period of time. For example: When its 10pm i want to set a output high , and when its 2am...
Replies
4
Views
2,636
When I try to use a Timer with a Mitsubishi Q series PLC and Citect SCADA it wont compile it gives Bad IO Device Variable Have used this to view...
Replies
2
Views
2,154
Back
Top Bottom