Problem in timer

joey@Rajesh

Member
Join Date
Dec 2013
Location
Theni
Posts
1
Hey guys am using Allenbradley Micrologix 1200. Programming it by RSlogix500. in a program i use to take the time and do mathematical calculations. while using like that i got a problem :mad: i will reset the counter when it reaches 40mS and again it timer runs for the first 3 times i will be getting untoggled value but in the fourth time my timer value will be toggled to 39. i don't understand why? while i use free running clock also this problem araissed. i think this is occurring by scanning process.. how to rectify this:oops:
 
Because of scan time....The Timer is evaluated each scan..at 40ms, it's very likely that such evaluation is not going to happen at precisely 40ms, especially when you're talking about a 1ms difference.
 
A PLC timer is a computer instruction that operates on a location in memory. It is not a device. Since it is a computer instruction its precision is subject to when the computer instruction is executed.
 

Similar Topics

i been at this for 2 days. The code for the traffic light works great. The problem is the programming of the crosswalk button. Im so close or so...
Replies
1
Views
1,294
Dear All, I have a problem with the Simatic Timer. I'm writing a program to check the pulse signal input, if the input signal is keep changing...
Replies
12
Views
2,839
Hello everyone, I am newer on Siemens PLC 1200. From HMI, I set timer value and place in MW20(120) like 120 second How to input MW20 to timer PV...
Replies
17
Views
3,568
I did not create the program but I have a weird countdown timer problem. it is user input, say it is set for 5 minutes; it will countdown to...
Replies
9
Views
4,453
Greeatings . I have some problem whit my maschine for plastic bags . I buy maschine but i didint know is it correct. When I turn on maschine i...
Replies
2
Views
1,360
Back
Top Bottom