Documente Academic
Documente Profesional
Documente Cultură
Topics
Performance overview Rockwell Automation reference manuals RA Logix Design recommendations Queuing data in a controller RA EtherNet/IP recommendations OLDI tManager performance optimization recommendations tManager EtherNet/IP Communication options Database communication
tManager
Trigger Scan Times OLDI Best Practices
Triggers/Endpoints gg p /Maps Use of Transaction Logs Use of Store & Forward Use of Status Tags System Log configuration Handshaking
Business Ethernet
Network Configuration
Transaction rates Firewalls g Network Loading # of hops etc
Database
Database Maintenance & Design
Table Design -contains i d /k index/keys on th the appropriate columns Stored Procedure design -- consider impact of locks on h heavily il used d tables, views, etc.
The Th tManager tM uses CIP Cl Class 3 ( (unconnected) t d) messaging, i processed d iin th the time ti slice li The SOTS only affects messaging performance if a continuous task exists
The default value is 20% Raising the SOTS increases the scan time of the continuous task, but should increase the number of messages per second that are sent between the tManager and Logix processor The recommended SOTS setting for a data concentrator is 50% or greater. Suggest starting with 50%. If everything is working well, you can see if raising it higher improves performance further
2013 Online Development Inc. All Rights Reserved. 5 June 27, 2013
For more information on how Logix processors handle different types of tasks, and to see graphical examples of the effects of changing the SOTS and other task p parameters, , reference Chapter p 2 in the RA Logix g 5000 Controllers Design g Considerations manual
The information on this slide is from the Rockwell Automation Optimizing Control System Performance presentation, presented at various Automation Fairs. The information is also contained in the Logix5000 Controllers Design Considerations manual.
2013 Online Development Inc. All Rights Reserved. 6 June 27, 2013
INT
4 Bytes
2 Bytes (16 Bit aligned)
DINT
4 Bytes
4 Bytes (32 Bit aligned)
REAL
4 Bytes
4 Bytes (32 Bit aligned)
236 Bytes
260 Bytes
28 Bytes
44 Bytes
The information on this slide is from the Rockwell Automation Optimizing Control System Performance presentation, presented at various Automation Fairs. The information is also contained in Chapter 3 of the Logix5000 Controllers Design Considerations manual.
2013 Online Development Inc. All Rights Reserved. 8 June 27, 2013
DATATYPE Sample1 BOOL Bit1; SINT Tiny_Value BOOL Bit2; INT Small_Value DINT Big_Value REAL Float_Value END_TYPE
DATATYPE Sample1 BOOL Bit1; BOOL Bit2; SINT Tiny y_Value INT Small_Value DINT Big_Value REAL Float_Value END_TYPE
User defined structures allow you to combine multiple data types (atomic, predefined or user defined) into a new data type
All elements in a structure are located on a byte (8 bit) boundary You can optimize the layout for readability or memory usage usage. Optimized memory usually yields better performance Reduces the amount of memory used and reduces communications time
Group all bits adjacent to each other when creating a user defined structure
The information on this slide is from the Rockwell Automation Optimizing Control System Performance presentation, presented at various Automation Fairs. The information is also contained in Chapter 3 of the Logix5000 Controllers Design Considerations manual.
2013 Online Development Inc. All Rights Reserved. 9 June 27, 2013
data periodically changing faster than the minimum scan times (250 ms)
With the method described on the next slide, you cannot sustain data changing faster than the minimum scan time for long periods of time just short periods
10
2. Configure a Status Tag for the message path (in the Trigger Configuration g screen of the associated trigger) gg ) 3. Advance the data from the controller queue to the mapped tags by monitoring the status tag for values >=20 and <100. Then, fire the trigger
20 = the message reached either the Store & Forward queue or its destination >100 = an error has occurred Reference KB answer 153 to read about handshaking and the trigger/message path status tags
2013 Online Development Inc. All Rights Reserved. 11 June 27, 2013
The information on this slide is from Chapter 6 of the Logix5000 Controllers Design Considerations manual.
For additional control network g guidelines, , reference the RA Logix g 5000 Controllers Design Considerations manual and the RA EtherNet/IP Performance Guide
12 June 27, 2013
Status Tags
Since they y will add loading g on the controller and could affect p performance, , only y define Status Tags for the projects, triggers and endpoints where they are needed and will be used by the controllers application program
13
14
15
Separate endpoints are recommended if you have a transaction message which you might expect to be more time-consuming (x-sec vs. <1-sec to complete).
The use of a separate p endpoint p will allow faster transactions to continue while the slower transactions wait in the queue for their completion
16
If you need tags from multiple controllers mapped into a single database table at the same time
Recommend mapping all the tags into a data concentrator controller Map p tags g from the data collector PLC to the database table in a single g map p
17
Reference Rockwell Automation Knowledgebase document 40784 for a comparison of the different Logix EtherNet/IP Bridge modules http://rockwellautomation.custhelp.com/app/answers/detail/a_id/40784 http://rockwellautomation.custhelp.com/app/answers/detail/a id/40784
18
Database Communication
Configuring several database adapters versus having everything go to/from the same database has no impact on performance The size of the transactions & speed of the databases response to the tManagers tManager s transactions, which can be affected by the databases database s configuration and maintenance, do have an impact on throughput
19