general best practice

Scope

Use this page for host-level and startup-level recommendations that apply across many ecmc systems.

EtherCAT rate (EC_RATE)

The default EtherCAT frame rate in ecmc is 1 kHz. For many systems this is higher than necessary and can therefore be reduced.

Reducing the rate lowers controller load. Typical practical ranges are:

  • 100 Hz to 500 Hz for many motion systems
  • up to 1 kHz when the application really needs it

Rates outside 100 Hz to 1 kHz are unusual and should only be used when the hardware and application have been checked carefully.

Example:

require ecmccfg "EC_RATE=500"

For startup details, see startup.cmd.

As a rough comparison, common TwinCAT defaults are:

  • 100 Hz for PLC
  • 500 Hz for motion

See host / ecmc server for more host-side guidance.

EPICS PVs update at a lower rate than the EtherCAT master rate. See PV Processing Rate for details.

Host setup

  • If possible, make sure the native igb EtherCAT driver is used.

For more information, see: