processing speed, PLC

The PLC manufacturers sometimes print tables of execution speeds for each function. To try to calculate scan time from these is a cumbersome process and not particularly accurate. The only was to increase processor speed is to buy a faster processor (if the PLC manufacturer offers one).

To reduce scan time, you have to look closely at the application for opportunities to save time. Can some functions be placed in subroutines and only called when necessary rather than every scan? Can you perform mathematical functions with integers instead of floating-point numbers? Integer math is faster. Can you get away with reducing the frequency of communications with external devices?
 
It also depends on the PLC manufacturers scheme for scanning the logic and the programming techniques you employ. For instance I believe Allen Bradley scans left to right for each rung of logic but will stop scanning that rung once an open contact is reached and start scanning the next rung. For that you would want to put your contact that is most likely to be open as the first element in that rung. Modicon on the other hand scans up and down each network and checks the state of each contact, but functions aren't solved unless power flows through all contacts leading to it. You can also use the 'end of scan' or 'skips' if your scan rate is critical. The PLC manufactures can give you the nominal scan rate per k of memory used but your programming techniques will also have an effect.
 

Similar Topics

A local factory will be closing its door soon and offered be at rock bottom prices six of their “MultiHead Weigher”. (see link below). All the...
Replies
7
Views
4,355
Can someone please tell me the CPU processing speed of ControlLogix L61 and CpmpactLogix L27ER??
Replies
14
Views
12,156
Hello, I was hoping that someone could help with a PLC application that I am working on. I have an application in which I need to measure the...
Replies
13
Views
3,363
Regarding Processing speed, Is there any difference between bit operation speed and Boolean Execution Speed. I am new in PLC Programming: Please...
Replies
2
Views
2,037
I need assistance in the form of some example programs pertaining to analog read and write. Thanks in advance. Sangli
Replies
1
Views
175
Back
Top Bottom