Professional Documents
Culture Documents
com/app/answers/detail/a_id/1076347
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
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.
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
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
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.
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
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.
4 of 4 12/10/2019, 11:24 AM