Example: PCMM2G Heavily Loaded CPU

This example shows an application that is heavily loading a PCMM2G with the EtherCATClosed ***EtherCAT is an open, high-performance Ethernet-based fieldbus system. The development goal of EtherCAT was to apply Ethernet to automation applications which require short data update times (also called cycle times) with low communication jitter (for synchronization purposes) and low hardware costs Cycle Time = 250 microseconds.

Specifically, this example looks at:

1. MotionExec and PLCProgExec Times

Using the techniques described in Practical Application: Using Trace Time To Measure CPU Load, examine the MotionExec and PLCProgExec times:

Figure 5-76: MotionExec and PLCProgExec Times

2. PLCProgExec Peaks

Figure 5-77: PLCProgExec Peaks

This shows there is not much time left over:

  • PLCProgExec = 212.

3. PLCMarginTime

Figure 5-78: PLCMarginTime

  • The PLCMarginTime is between 0 and 25 microseconds (0% to 10%).
  • This is not a comfortable margin for deterministic PLC performance.

4. Controller Log

The Controller log confirms the occasionally missing PLC execution cycles:

Figure 5-79: Controller Log

See Also