ControlLogix Scan Times?

skyfox

Lifetime Supporting Member
Join Date
Nov 2006
Location
CA
Posts
276
Can someone tell me where to find the scan time info on a ControlLogix CPU. Looking for last and current scan times similar to that of PLC-5

Thanks
 
You can monitor the scantime in the program by using the GSV instruction, not in work at the mo, so can't remember the parameters, but if you look at the instruction help it will show. You can only access the last scantime and the maximum scantime. You can reset the max using the SSV instruction.

You can also monitor these and reset the max by right clicking on the CPU and selecting properties, one of the tabs brings them up.

Sorry not specific, but I don't have the package in front of me.
 
Unfortunately, it's a bit more complicated than the PLC5. Each task has it's own scan time. The monitor tab of the task properties page will have the information. You can get it progammatically by the GSV instruction as PeterW said.

However, interpreting what it means can be more complicated. For instance, if your main task reports a scan time of 20ms you may think that means it executes 50 times each second. Well, not quite. If you don't have much in the way of other tasks and communications, it will be very close to true. The communications and overhead shares the lowest priority with the main task. The more comms you do, the more impact. All other tasks are always higher priority and will interrupt the main task to execute. Obviously, the longer their scan times are and the more often they execute the more impact they have on the main task. You can see this difference on the main task property page. Interval time is the elapsed time between the main task getting to the top of the program.

The good news is that if you have a fast processor like a 1756-L6x the difference doesn't usually become a problem. I have a L61 here with a fairly large program in it with 3 periodic tasks (relatively small) executing at 100ms, 500ms and 1000ms. My max scan is 75.842000ms and my max interval is 75.886000ms. The only comms at the moment are to my RSlogix5000 pc. If you are using an older L1 processor or a CompactLogix, this can be a lot more dramatic.
 
As Mellis pointed out you can find your scan times for each task. You can also right-click on a "program" (like the default MainProgram) and in the Properties you can view the Program scan time. Be aware that THIS value is in microseconds.

The Task scan time however is probably more meaningful though.

OG
 

Similar Topics

Hi everyone: I have a doubt about postscan in RSLogix 5k, for example in help file for OTE instruction, says that in Postscan The rung...
Replies
2
Views
1,191
Hi Gents, I am here with an 1756-L73 with a partner 1756-L7SP. This is for an hydraulic press machine, with an very critical scan. I need your...
Replies
2
Views
2,937
My new friend Ron Beaufort got me thinking about the issues with using OTL's in regards to a power cycle. While you can use a first scan bit...
Replies
10
Views
4,637
Hi Guys, Quick Question... Is there a method or instruction to purposely delay the scan time of a ControlLogix processor? We're looking at...
Replies
12
Views
4,042
Let's say... A_DINT = 100 In some subroutine: rung 1 : A_DINT = A_DINT + 1 rung 2 : A_DINT = A_DINT + 2 rung 3 : A_DINT = A_DINT + 3 After a...
Replies
2
Views
1,417
Back
Top Bottom