Scan Sequence

DeepThought

Member
Join Date
Mar 2008
Location
Norwich
Posts
52
Hi All,
In most older PLC's of all makes the sequence within the PLC was to scan the Inputs then Work the logic out and then set the Outputs. (3 Scan cycle)

Under Rockwell Studio 5000 is this still the case or not if not can you please let me know how the system scans differently.

Thanks very much

Regards Deepthought
 
In ControlLogix, there are two independent processors -- a logic solver and an I/O scanner. With I/O scanning running independent of logic, it is possible that the same input address will solve differently if used in two different places in the logic.

In 99% of the instances, this doesn't make a difference to anything. And with the trend in more object-based programming (UDTs & AOIs), it's common practice to only use any real-world address only once, mapping it into or out of an AOI, and then using internal registers in the remainder of the logic.

Because analogs can change in mid-scan, even in some cases mid-instruction, the CPS variant of COP was created, to ensure that the values at the end of an array of data doesn't change from what it was when the copy started while it is being processed. Again, it's rare that this would make a difference, but it can happen.

Of course, communication between PLCs or HMIs was always asynchronous to scan, and so the same thing sometimes would happen that a bit set by the HMI would evaluate differently on two different rungs in the same scan. That bit a few people a few times, but like I/O being asynchronous to scan, it didn't happen all that often.

IMO, people have made more of a deal about it than it really is, insisting that all I/O be mapped data to internal registers, even if the program only every uses an input in one place in the code.
 

Similar Topics

This should be a pretty easy question, would just like to have it explained a bit so I can understand it. In the attached program, why does the...
Replies
15
Views
4,707
Hi all, I primarily use AB PLC's, and have a reasonable understanding of the way they scan their logic. I've done a few smaller projects on...
Replies
18
Views
5,515
I know that an Allen-Bradley PLC will scan every input first and store them in memory, then solve the ladder, then update the outputs. I'm...
Replies
3
Views
4,546
when scanning program goes from left to right and top to bottom but what happens when there is a branch on the output. Does the top part of a...
Replies
5
Views
3,444
The question revolves around what happens if I have the same output coil on multiple rungs. In a SLC504 PLC, the following code results in the...
Replies
18
Views
6,211
Back
Top Bottom