1756-rm087j-en-p, logix5000 controllers execution logix 5000 controllers execution time and memory...

166
Logix 5000 Controllers Execution Time and Memory Use Reference Manual - Introduction Tab Reference Manual Important Summary of Changes The paper clip looks like this. Important SoftLogix5800 controllers are part of the Logix5000 family of programmable automation controllers but are not included in this publication. This publication provides execution times and memory usage data for hard Logix5000 controllers. For SoftLogix5800 controllers, the following applies: - Execution times for instructions used in a SoftLogix5800 program are dependent on the computer running the SoftLogix application. That is, the faster the computer, the faster the instructions execute. - Computer memory is dependant on multiple items. Use RSLogix 5000 programming software's memory estimation tool if you require memory estimations. Important About This Manual The numbers in these worksheets are based on using RSLogix 5000 programming software, version 18.00 with these firmware revisions: - 1756 ControlLogix controllers, 1756-L6x , firmware revision 18.11 - 1756 ControlLogix controllers, 1756-L7x , firmware revision 18.12 - 1756 GuardLogix controllers, firmware revision 18.11 - 1768 CompactLogix controllers, firmware revision 18.11 - 1768 Compact GuardLogix controllers, firmware revision 18.11 - 1769 CompactLogix controllers, that is 1769-L2x and 1769-L3x , firmware revision 18.11 - PowerFlex 700S AC drive with DriveLogix controllers, firmware revision 18.11 Actual results may vary because of the configuration of your project and the software version and firmware revision. This PDF file was generated with a paper size of 11" x 17" that is landscape oriented. When printing this PDF file, remember that this paper size and orientation is different from most other Rockwell Automation documentation. This PDF file, that is, 1756-RM087J-EN-P.pdf, contains information for all Logix5000 controller types with each section. However, you may only need instruction execution times or memory usage information for one specific Logix controller type. You can find PDF files and Excel files in the Attachments area for specific Logix controller types. For example, if you only need information for ControlLogix controllers in Excel format, click the file named 1756-RM087J-EN-P - ControlLogix_GuardLogix.xls. To access the content from this PDF file in a Microsoft Excel file, click the attachment named 1756-RM087J-EN-P.xls in the Attachments area of the window. To open the Attachments section of this window, click the paper clip icon in the lower left area of the window. This revision of the manual includes execution time and memory use information for ControlLogix 1756-L73 and 1756-L75 controllers. See the individual tabs for specific information on these controllers. Logix5000 Controllers Execution Time and Memory Use Catalog Numbers 1756 ControlLogix, 1756 GuardLogix, 1768 CompactLogix, 1768 Compact GuardLogix, 1769 CompactLogix, 20D PowerFlex 700S with DriveLogix This PDF file provides a complete listing of all instruction execution time and memory usage information for Logix5000 controllers, firmware revision 18.11 (except ControlLogix 1756-L7x controllers that use firmware revision 18.12), in your RSLogix 5000 programming software, version 18.00, program. The worksheets assist you when estimating the execution times and memory usage of the logic in your program. Use this information to select from different programming options. f f ff f f f Logix5000 controllers use a cache mechanism to enhance the performance of instructions. Actual performance depends on how sequentially the data is laid out and how frequently it is accessed. Caching has a significant impact on the execution times of bit instructions (XIC, XIO, OTE, OTU, OTL). Logix5000 controllers sometimes execute instructions directly out of cache. At other times, Logix5000 controllers do not execute instructions directly out of cache. For example, instructions may execute based on such functionality as cache swapping. Execution times are optimal when execution occurs directly out of cache. The times provided in this publication represent optimal times. When your instructions do not execute directly out of cache, you will experience times slower than provided here. When you download your project, the controller optimizes memory usage, which could reduce your calculated memory usage by as much as 10% from the values presented in this worksheet. 1756-RM087J-EN-P - August 2010 Supersedes Publication 1756-RM087I-EN-P - April 2010

Upload: dangkhue

Post on 31-Jan-2018

240 views

Category:

Documents


0 download

TRANSCRIPT

  • Logix 5000 Controllers Execution Time and Memory Use Reference Manual - Introduction Tab

    Reference Manual

    Important

    Summary of

    Changes

    The paper clip looks like this.

    Important

    SoftLogix5800 controllers are part of the Logix5000 family of programmable automation controllers but are not included in this publication.

    This publication provides execution times and memory usage data for hard Logix5000 controllers. For SoftLogix5800 controllers, the following applies:

    - Execution times for instructions used in a SoftLogix5800 program are dependent on the computer running the SoftLogix application. That is, the faster the computer, the faster the instructions execute.

    - Computer memory is dependant on multiple items. Use RSLogix 5000 programming software's memory estimation tool if you require memory estimations.

    Important

    About This Manual

    The numbers in these worksheets are based on using RSLogix 5000 programming software, version 18.00 with these firmware revisions:

    - 1756 ControlLogix controllers, 1756-L6x , firmware revision 18.11

    - 1756 ControlLogix controllers, 1756-L7x , firmware revision 18.12

    - 1756 GuardLogix controllers, firmware revision 18.11

    - 1768 CompactLogix controllers, firmware revision 18.11

    - 1768 Compact GuardLogix controllers, firmware revision 18.11

    - 1769 CompactLogix controllers, that is 1769-L2x and 1769-L3x , firmware revision 18.11

    - PowerFlex 700S AC drive with DriveLogix controllers, firmware revision 18.11

    Actual results may vary because of the configuration of your project and the software version and firmware revision.

    This PDF file was generated with a paper size of 11" x 17" that is landscape oriented. When printing this PDF file, remember that this paper size and orientation is different from most other Rockwell Automation

    documentation.

    This PDF file, that is, 1756-RM087J-EN-P.pdf, contains information for all Logix5000 controller types with each section. However, you may only need instruction execution times or memory usage information for one specific Logix controller

    type. You can find PDF files and Excel files in the Attachments area for specific Logix controller types. For example, if you only need information for ControlLogix controllers in Excel format, click the file named 1756-RM087J-EN-P -

    ControlLogix_GuardLogix.xls.

    To access the content from this PDF file in a Microsoft Excel file, click the attachment named 1756-RM087J-EN-P.xls in the Attachments area of the window.

    To open the Attachments section of this window, click the paper clip icon in the lower left area of the

    window.

    This revision of the manual includes execution time and memory use information for ControlLogix 1756-L73 and 1756-L75 controllers. See the individual tabs for specific information on these controllers.

    Logix5000 Controllers Execution Time and Memory Use

    Catalog Numbers 1756 ControlLogix, 1756 GuardLogix, 1768 CompactLogix, 1768 Compact GuardLogix, 1769 CompactLogix, 20D PowerFlex 700S with DriveLogix

    This PDF file provides a complete listing of all instruction execution time and memory usage information for Logix5000 controllers, firmware revision 18.11 (except ControlLogix 1756-L7x controllers that use firmware revision 18.12), in your

    RSLogix 5000 programming software, version 18.00, program. The worksheets assist you when estimating the execution times and memory usage of the logic in your program. Use this information to select from different programming

    options.

    f f ff f f f

    Logix5000 controllers use a cache mechanism to enhance the performance of instructions. Actual performance depends on how sequentially the data is laid out and how frequently it is accessed.

    Caching has a significant impact on the execution times of bit instructions (XIC, XIO, OTE, OTU, OTL). Logix5000 controllers sometimes execute instructions directly out of cache. At other times, Logix5000 controllers

    do not execute instructions directly out of cache. For example, instructions may execute based on such functionality as cache swapping. Execution times are optimal when execution occurs directly out of cache. The

    times provided in this publication represent optimal times. When your instructions do not execute directly out of cache, you will experience times slower than provided here.

    When you download your project, the controller optimizes memory usage, which could reduce your calculated memory usage by as much as 10% from the values presented in this worksheet.

    1756-RM087J-EN-P - August 2010Supersedes Publication 1756-RM087I-EN-P - April 2010

  • Logix 5000 Controllers Execution Time and Memory Use Reference Manual - Introduction Tab

    Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation, Inc. is prohibited.

    In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment.

    The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or

    liability for actual use based on the examples and diagrams.

    No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or software described in this manual.

    Allen-Bradley, CompactLogix, ControlLogix, DriveLogix, GuardLogix, Logix5000, PowerFlex, Rockwell Automation, RSLogix 5000, and SoftLogix are trademarks of Rockwell Automation, Inc.

    Trademarks not belonging to Rockwell Automation are property of their respective companies.

    Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (publication SGI-1.1, available from your

    local Rockwell Automation sales office or online at http://www.rockwellautomation.com/literature) describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference,

    and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable.

    Important User Information

    1756-RM087J-EN-P - August 2010Supersedes Publication 1756-RM087I-EN-P - April 2010

    http://literature.rockwellautomation.com/idc/groups/literature/documents/in/sgi-in001_-en-p.pdf

  • Logix 5000 Controllers Execution Time and Memory Use Reference Manual - Examples Tab

    Examples

    Ladder Instructions

    Example Data Type Memory

    (bytes)

    Execution

    Time (s)

    Description

    ADD DINT 28 0.26 ADD instruction

    Source A DINT

    Source B DINT

    Destination DINT

    28 0.26 Total

    Array subscripts

    Example Data Type Memory

    (bytes)

    Execution

    Time (s)

    Description

    ADD DINT 28 0.26 ADD instruction

    Source A DINT[DINT] 84 0.69 array subscript

    Source B DINT

    Destination DINT

    112 0.95 Total

    Expressions

    Example Data Type Memory

    (bytes)

    Execution

    Time (s)

    Description

    CPT (tag_a + tag_b) 80 1.66 CPT instruction

    ADD (+) DINT 28 0.26 ADD operator

    108 1.92 Total

    Here are some examples for a 1756-L63 controller:

    Here is an example for a 1756-L63 controller:

    When an array uses a tag for one of its subscripts (e.g., Array_A[Tag_B]), additional memory

    and execution time is required, depending on the number of dimensions in the array.

    Memory use and execution time for an instruction increases for each parameter that

    references an array.

    If an instruction contains an expression (CMP, CPT, FAL, FSC), then add memory and time

    for each operator in the expression. For each operator, use the values for the corresponding

    instruction.

    1756-RM087J-EN-P - August 2010Supersedes Publication 1756-RM087I-EN-P - April 2010

  • Logix 5000 Controllers Execution Time and Memory Use Reference Manual - Examples Tab

    Ladder Instructions

    (continued)

    Data Conversions

    Example Data Type Memory

    (bytes)

    Execution

    Time (s)

    Description

    ADD REAL 44 1.53 ADD instruction

    Source A DINT 96 2.51 DINT to REAL

    conversion

    Source B REAL

    Destination REAL

    140 4.04 Total

    ADD REAL 44 1.53 ADD instruction

    Source A DINT 96 2.51 DINT to REAL

    conversion

    Source B REAL

    Destination DINT 92 3.62 REAL to DINT

    conversion

    232 7.66 Total

    ADD DINT 28 0.26 ADD instruction

    Source A INT 80 0.52 INT to DINT

    conversion

    Source B INT 80 0.52 INT to DINT

    conversion

    Destination INT 72 2.35 DINT to INT

    conversion

    260 3.65 Total

    If you use a data type that is not an optimal data type or if you mix data types, you must

    add memory and execution time for data conversion.

    Logix5000 controllers typically compare or manipulate values as DINTs or REALs (optimal

    data type).

    If you use mix integers and REALs in an instruction, the controller converts the values to

    REALs and then back to the destination data type.

    1756-RM087J-EN-P - August 2010Supersedes Publication 1756-RM087I-EN-P - April 2010

  • Logix 5000 Controllers Execution Time and Memory Use Reference Manual - Examples Tab

    Function Block

    Elements

    Function