MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › How do you read CoE parameters from a servo drive in Beckhoff TwinCAT3?
HomeModels
Table of contents

On this page

PLC & Programming (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

How do you read CoE parameters from a servo drive in Beckhoff TwinCAT3?

An EtherCAT servo drive's operating parameters (current loop, encoder, diagnostics) mostly live in the CoE (CANopen over EtherCAT) object dictionary, and TwinCAT3 lets you read, change and persist them straight from the slave in the project tree — no handheld panel or vendor tool needed. Master "view online, modify, persist via the Startup List" and servo commissioning changes character. The sections below cover the path, read/modify, persisting and troubleshooting.

1. Where to find the CoE parameters

In TwinCAT XAE: I/O → Devices → EtherCAT → the drive slave → CoE Online tab. The left pane is the object dictionary tree (from 0x1000), grouped by index: 0x1000~0x1FFF communication, while 0x2000+, 0x6000/0x7000/0x8000 regions typically hold vendor-defined and servo operating parameters (e.g. the 0x8010 block is commonly drive/motor related — follow the vendor manual). Select an index and the right pane lists sub-indexes with current value, type and access rights (ro/rw).

Two sibling tabs matter too: Process Data (real-time mapping) and Online (state machine OP/SAFEOP and counters). CoE is the parameter layer, Process Data the real-time layer — do not mix them up.

2. Reading and online modification

Reading: just expand the tree — current values are read back live from the slave, no special action. Modifying: double-click a writable (rw) sub-index, enter the value, Enter — it lands in the slave's RAM. Three cautions:

CautionDetail
State machine limitsSome parameters require the slave in PreOp or a specific state; writes in OP are refused
Unit encodingMany parameters are integer-coded (e.g. 0.1% steps) — convert per the manual's encoding notes
ActivationSome parameters need a Pause/Restart of the slave or a re-power to take effect

Online writes only reach the slave's RAM — lost at power-off. Which brings the most important step.

3. Persisting: two methods, pick one

Method one: the Startup List (recommended). On the slave's Startup tab, add an Init Command (e.g. Download of that index); on every bus initialisation TwinCAT writes the parameter down automatically. Advantage: parameters live in the master project — a replaced drive or a restored project restores the parameters, and the project file is the backup.

Method two: write to EEPROM / the drive's parameter store. Some drives save to their own non-volatile area (some save automatically after a CoE write, others need a "store parameters" command such as writing a key to the 0x1010-type sub-indexes). Advantage: effective without the master project; drawback: parameters scatter across drives and backups become per-drive manual work.

Engineering practice: double insurance — keep the Startup List in the master project and issue the drive's save command. Teams that do only one will eventually be educated by "the master changed / the drive changed and every parameter vanished".

4. Troubleshooting table

SymptomLikely causeAction
Parameter will not writeSlave state disallows / read-onlySwitch to PreOp or confirm the ro attribute
Parameters gone after restartWritten to RAM only, never persistedAdd to Startup List or issue the save command
Parameter cannot be foundDictionary not expanded / vendor-private undocumentedCheck the drive manual's object dictionary appendix
Value changed but no effectParameter read only at power-upRe-power the slave to verify
Bus will not startStartup List contains a bad valueDelete the entry, restore one by one to locate
Values differ from the manualFirmware version differences / remapped indexesVerify against the manual for that firmware

5. Managing parameters in bulk

For several identical drives: tune the reference axis in CoE, add everything to its Startup List, then apply to the other axes by copying the slave configuration in TwinCAT (or exporting/importing the EtherCAT configuration and parameters), and fine-tune per-axis differences (direction, gear ratio, limits) individually. "One baseline parameter set + a per-axis difference list" beats every axis tuned in isolation, for maintenance and for sanity.

6. Notes

CoE is CANopen's object dictionary carried over EtherCAT: a parameter is an index, reading is reading the index, changing is writing it, and persisting means the value survives power-off. With that model in mind, every vendor's drive manual (all have object dictionary appendices) reads the same way.

7. References

Operation follows the Beckhoff TwinCAT 3 EtherCAT Master User Manual (CoE Online, Startup) and ETG specifications; dictionary index meanings and save-command keys follow the drive vendor's manual; modification of safety-related parameters (limits, SST-type functions) must follow GB 5226.1 / IEC 60204-1 and GB/T 16855.1 (ISO 13849-1) with re-verification.

8. Cautions

⚠️ Three traps to avoid:
① Editing RAM only without persisting — after a restart the parameters revert and "yesterday's tuning is gone";
② A wrong value in the Startup List stops bus initialisation — half a day on hardware that was actually configuration;
③ Editing software limits or safety parameters as ordinary values and shipping without verification.

Export the final parameter list (index + value + meaning) into the machine documentation; every change to safety-related parameters goes through the safety verification process with a signed record.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL