Application Response Time
Original instructions
Introduction
In a Quantum system, the CPU schedules the CRP directly over the backplane.
In an M580 system, the CRP communicates with the 140CRA31908 module that is scheduled by the CPU over Ethernet/IP.
Quantum and M580 systems, therefore, use different methods to manage I/O points and the application response time:
NOTE:
  • For more information, refer to the description of application response time in the Modicon M580 Hot Standby, System Planning Guide for Frequently Used Architectures.
  • When you import a Quantum application that includes section schedulers and segment schedulers, the order of the logic may not conform to the MAST task. Contact Schneider Electric for more information.
  • The local I/O modules are managed in the Quantum S908 remote drop, but the worst-case ART can be increased by 40ms when the 140CRA31908 module is not the I/O master in an S908 remote redundancy configuration.
Quantum S908 ART
From this illustration of the S908 Quantum ART, we can deduce a simple formula to quickly estimate the maximum ART in a Quantum S908 system:
Mode
Formula
cyclic
Max ART (ms)= (2*CPU_cycle) + 8.8ms
periodic
Max ART (ms)= CPU_period + CPU_cycle + 8.8ms
Values:
M580 S908 ART
From this illustration of the S908 M580 ART, we can deduce a simple formula to quickly estimate the maximum ART in an M580 system:
Mode
Formula
cyclic
Max ART (ms)= CRA->Scanner RPI + 2*CPU_cycle + 8.8ms + 2*S908_scan
periodic
Max ART (ms)= CRA->Scanner RPI + (CPU_cycle + CPU_period) + 8.8ms + (2*S908_scan)
Values:
Thanks to M580 additional processing power, we estimate that the cycle execution can be reduced from three to five times compared to Quantum and then compensate in most realistic use cases the Ethernet/IP additional network layer compared to pure S908 network performance. Indeed, in a periodic execution mode, the user will be able in most case to set a period at least three times shorter on an M580 CPU compared to Quantum CPU for the same application. Some exceptions could yet exist for complex systems (especially redundant systems) and could require finer analysis of the application to get the expected performance factor between M580 and Quantum.
Examples
The following tables show sample ART calculation formulas.
Periodic mode example:
System
Characteristics
Maximum ART Formula
Quantum
  • remote drops: 16 normal remote drops (periodic mode)
  • CPU_scan: 150ms max. (including the S908_scan)
  • CPU_cycle: 120ms
CPU_period + CPU_cycle + 8.8 = 150 + 120 + 8.8 = 278.8ms
M580
Same as above, using an M580 CPU in optimized periodic mode (period = 1/3 of Quantum period, with the worst case being 50ms and the cycle time value being 80 percent of the period, which is the recommended cycle time)
CRA->Scanner RPI + CPU_period + CPU_cycle + 8.8ms + 2*S908_scan = 25 + 50 + 40 + 8.8 + 2*(16*3) = 219.8ms
Cyclic mode example:
System
Characteristics
Formula
Quantum
  • remote drops: 6 normal remote drops (cyclic mode)
  • CPU_cycle: 93ms max. (75 + 3*6 =93ms due to the S908 scan time)
2*CPU_cycle + 8.8ms = 2*93 + 8.8 = 194.8ms
M580
Same as above, using an M580 CPU in cyclic mode, the cycle time becomes 25ms (75 = 25ms), with a watchdog time of 40ms (=> RPI = WDT/4 = 10ms).
CRA->Scanner RPI + 2*CPU_cycle + 8.8ms + 2*S908_scan = 10 + 2*25 + 8.8 + 2*(6*3) = 104.8ms
NOTE: In the case of a CPU or 140CRA31908/CRP switchover, the ART can increase by two PLC scans.