SM CoE Bench
EtherCAT master tools in one window. The PC is the master: a network adapter and Npcap are all it needs.
CoE Explorer
The object dictionary of the device: read and write any entry, the PDO mapping, the live process data and the emergencies.
SII EEPROM
Read the SII image of the slave to a file, write a file into it, compare the two, show its content.
ESC Registers
The registers of the EtherCAT slave controller: chip, link and AL state, PDI and error counters, EEPROM status.
ESI Generator
The ESI file and the SII image from the object dictionary project.
RTT Terminal
The text of the firmware through SEGGER RTT over an ST-LINK probe, while the device runs on the bus.
Message Viewer
A log of everything the master and the slaves reported: states and AL status codes, SDO aborts, emergencies, working counters.
Get started with SM CoE Bench
- Install Npcap (free, from npcap.com). It is the driver that lets the program speak EtherCAT over an Ethernet adapter. Without it the program says so and gives the address.
- Connect the device to an Ethernet adapter of its own (a USB-to-Ethernet adapter is fine), not to the adapter of the office network. The device needs power and a valid SII EEPROM, else it stays in INIT.
- Start
SM_CoE_Bench.exe. If Npcap was installed with “Restrict to administrators”, start it with right click → Run as administrator. Accept the license at the start. - Choose the adapter in the tool bar (the blue arrow lists the adapters again), press Connect / Scan (green plug): the slaves on the bus appear in Slave, and the CoE Explorer reads the object dictionary.
- Change the state with State, read and write entries in the tree, start the process data on the PDO tabs.
To try the program without hardware, start it with
SM_CoE_Bench.exe --mock(a simulated slave).
If something does not work
No adapter in the list
Npcap is not installed, or the adapter is down. Install Npcap, plug the adapter in, press the blue arrow (Refresh adapters).
“No administrator rights”
Npcap allows the adapter to administrators only. Start the program with Run as administrator.
Connect finds no slave
The cable is on another adapter or port, or the device has no power. Check the cable; the ESC Registers tab shows whether the slave answers.
The slave stays in INIT
The SII EEPROM is empty or wrong. Write a good image on the SII EEPROM tab (administrator rights) and switch the device off and on.
A write is refused (SDO abort)
The entry is read only, writable in PRE-OP only, or protected by the device. See the access column; change the state first.
SmartScreen blocks the start
The files are not code-signed yet. Click More info, then Run anyway. Compare the SHA-256 on the release page if in doubt.
RTT: “Waiting for the connection”
The ST-LINK is not found or another program (a debugger) holds it. Close that program; the other tabs do not need the ST-LINK.
Anything else
Open the Message Viewer tab: it lists every error and warning of the master and the slaves. Save its log and send it to us through the contact page.
SM CoE Studio
Object dictionary projects: one model, many formats.
Editor
Objects, sub-indexes, data types, named bits and descriptions; the profile databases of ETG.1000.6, ETG.5001 and CiA 402.
Formats
Import and export of Excel, EtherCAT ESI, CANopen EDS, SII images and C tables for SOES.
Checks and documents
The ESI checked against the rules of the Conformance Test Tool; an object dictionary document as PDF or HTML.
License
Both programs are free to use, also commercially, and may be passed on unchanged together with their license. They contain components of other authors under their own licenses.
License
The terms of use of SM-Tools.
Third party notices
The components inside the programs and their licenses.
EtherCAT® is a registered trademark and patented technology, licensed by Beckhoff Automation GmbH, Germany.