Sie sind auf Seite 1von 4

1076347 - 1756-CMS Module API Read and Write Speed https://rockwellautomation.custhelp.

com/app/answers/detail/a_id/1076347

Rockwell Automation Home Support Center Search Knowledgebase

Print

Question
How fast can a Compute module (1756-CMS1B1) read and write values to and from a ControlLogix
controller using the integrated API?

Answer
The Compute module API includes functions that support both RPI scheduled (Class 1) and unscheduled
explicit (Class 3) communication to local and remote Logix controllers.  This AID will cover expected tag
read / write times using each method.  

Class 3 Performance
Example API Function: OCXcip_AccessTagData

Throughput performance is dependent on several variables such as:

Controller Type
Controller Loading
Location

Testing has been performed on a limited number of controllers. It’s important to note that each
controller was responsible for measuring the time delta in each of these tests. Actual wire times may be
slightly different. Additionally, each target controller was lightly loaded. Times may vary depending on
actual controller load and configuration (i.e. Task Structure, SOTS, HMI traffic, etc.). Times will also vary
depending on network architecture. The network architecture used for this test was a star configuration
with a single Stratix 8000 switch.

Note: All times are in milliseconds. The average was taken over 300 samples. Be sure that your
application can tolerate at least the maximum time to ensure proper operation.

Compute Module reading a single value (DINT) in a controller:


Controller Type Maximum Average
Local L85E 9 2

1 of 4 12/10/2019, 11:24 AM
1076347 - 1756-CMS Module API Read and Write Speed https://rockwellautomation.custhelp.com/app/answers/detail/a_id/1076347

Controller Type Maximum Average


Local L75 41 17
Local L63 47 21
Local L55 42 25
Remote L85E w/EN2TR 16 7
Remote L75 w/EN2TR 50 27
Remote L63 w/EN2TR 64 42
Remote L55 w/EN2TR 65 49
Remote L85E w/Front Port 21 6
Remote L340ERM 20 6
Remote L24ER-QB1B 73 62

Compute Module writing a single value (DINT) to a controller:


Controller Type Maximum Average
Local L85E 8 3
Local L75 50 20
Local L63 48 27
Local L55 65 45
Remote L85E w/EN2TR 18 9
Remote L75 w/EN2TR 65 42
Remote L63 w/EN2TR 70 64
Remote L55 w/EN2TR 72 61
Remote L85E w/Front Port 15 8
Remote L340ERM 16 8
Remote L24ER-QB1B 75 69

Compute Module reading a 20 element array (DINT) in a controller:


Controller Type Maximum Average
Local L85E 13 3
Local L75 39 17
Local L63 59 28
Local L55 66 32
Remote L85E w/EN2TR 16 7
Remote L75 w/EN2TR 60 29
Remote L63 w/EN2TR 69 57
Remote L55 w/EN2TR 71 59
Remote L85E w/Front Port 12 7
Remote L340ERM 13 7
Remote L24ER-QB1B 75 62

Compute Module writing a 20 element array (DINT) to a controller:


Controller Type Maximum Average
Local L85E 9 3

2 of 4 12/10/2019, 11:24 AM
1076347 - 1756-CMS Module API Read and Write Speed https://rockwellautomation.custhelp.com/app/answers/detail/a_id/1076347

Controller Type Maximum Average


Local L75 35 20
Local L63 38 29
Local L55 71 41
Remote L85E w/EN2TR 14 9
Remote L75 w/EN2TR 64 60
Remote L63 w/EN2TR 70 64
Remote L55 w/EN2TR 77 67
Remote L85E w/Front Port 12 8
Remote L340ERM 12 8
Remote L24ER-QB1B 75 69

Class 1 Performance
Example API Function: OCXcip_WriteConnected, OCXcip_ReadConnected

The following tests are round-trip times.  This is the amount of time it took to write a value to the
Compute module and have the Compute module write it back to the controller.  This test did not contain
any additional code in the controller or the Compute module.  Additional logic would impact round-trip
times.  Both controllers were using v32.11 firmware.  Each test executed 10,000 cycles.  The Class 1
connection consists of 125 DINTs read from the Compute module and 124 DINTs written to the Compute
module.

 
Compute Module Class 1 connection with 0.2ms RPI:
Controller Type Maximum Average
Local L85E 4 1.744
Local L75 4 1.819
Remote L85E w/EN2TR** 6 1.999
Remote L75 w/EN2TR** 4 2.017
Note: **The fastest RPI supported for the Compute module in a remote rack is 0.3ms. If the RPI is set
below 0.3ms, the connection will fail with module error code 16#0302 Connection Request
Error: Out of communication bandwidth.

Compute Module Class 1 connection with 1.0ms RPI:


Controller Type Maximum Average
Local L85E 4 1.988
Local L75 5 1.953
Remote L85E w/EN2TR 7 2.315
Remote L75 w/EN2TR 10 2.466

Compute Module Class 1 connection with 2.0ms RPI:

3 of 4 12/10/2019, 11:24 AM
1076347 - 1756-CMS Module API Read and Write Speed https://rockwellautomation.custhelp.com/app/answers/detail/a_id/1076347

Controller Type Maximum Average


Local L85E 6 2.692
Local L75 8 2.729
Remote L85E w/EN2TR 5 3.002
Remote L75 w/EN2TR 5 3.167

Compute Module Class 1 connection with 5.0ms RPI:


Controller Type Maximum Average
Local L85E 11 5.654
Local L75 11 5.610
Remote L85E w/EN2TR 11 5.836
Remote L75 w/EN2TR 15 5.891

DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular
subject or subjects and is not an exhaustive treatment of such subjects. Accordingly, the information in
this web site is not intended to constitute application, design, software or other professional
engineering advice or services. Before making any decision or taking any action, which might affect your
equipment, you should consult a qualified professional advisor.

ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF


ANY OF THE DATA CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES THERETO AT ANY TIME IN
ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS
PROVIDED TO USERS "AS IS." IN NO EVENT SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY
KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN IF
ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE POSSIBILITY OF SUCH DAMAGES.

ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN


RESPECT OF THE INFORMATION (INCLUDING SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED
WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-
INFRINGEMENT. Note that certain jurisdictions do not countenance the exclusion of implied warranties;
thus, this disclaimer may not apply to you.

4 of 4 12/10/2019, 11:24 AM