cycle timer

stvsas

Member
Join Date
Feb 2004
Location
leominster, Ma
Posts
75
I have amachine controlled by a SLC 5/03 and we program it with RSlogix 500. I woulld like to check the cycle times with my laptop. I have no screens. I was thinkingof using a self resetting timer set for one tenth of a second and then counting the number of times it timed out and then one shotting the counter accumulator. Is this feasible? Or is there a better way?
As usual, thank you guys for the answer in advance. PLCS has never let me down. I always get a good answer here.
 
I would start a timer with the start of the cycle. Then Mov the Accumulator value into a storage file and reset the timer at the end of the cycle.

Easier the better. Of course you may be off by 5-10ms or so depending on your scan times, but do you really need to be that accurate in cycle time?
 
Using the 0.01S timebase, the timer will only time up to 327.67 seconds (nearly 5 and a half minutes). Is this enough ?

Also, can the "cycle" be halted or paused ? If so, use a retentive timer RTO.

Depending on how much code you have in the PLC, and if you want to be more accurate, consider using an STI file, and counting STI intervals while the "cycle" is "active".
 

Similar Topics

How to start / stop a cycle timer using the same signal
Replies
1
Views
1,297
I am having trouble building a cycle timer to turn on outputs one at a time and to descend turning them off from highest output to first output...
Replies
9
Views
2,065
Hello all, I am brand new to this stuff and have no clue what to do. I was asked to write a program to run a pulse signal and solenoids on an...
Replies
8
Views
2,320
Hi there, I have an SLC503 that I'd like to control an external contact with. Basically I'd like to assert my local contact on the 503 every 12...
Replies
14
Views
7,176
Hello all, First off, I'm a "self-taught programmer", and I use the phrase "programmer" VERY loosely. I've been charged with incorporating a...
Replies
3
Views
5,542
Back
Top Bottom