linuxcnc-ethercat

Wecon VD3E Servo Drives

The wecon driver supports Wecon’s VD3E single-axis EtherCAT servo drive.

Setup

In your XML file, you should have an entry somewhat like this:

<masters>
  <master idx="0" appTimePeriod="1000000" refClockSyncCycles="-1">
    <slave idx="0" type="VD3E" name="s"/>
  </master>
</masters>

See the CiA 402 documentation for additional details about how to configure CiA 402 devices in LinuxCNC. At a minimum, you will need to include the cia402 HAL component.

Note the refClockSyncCycles="-1"; see the distributed-clocks caveat below before changing it.

Devices

The identity was read from live hardware and matches the vendor ESI “Wecon VD3E EtherCAT Servo V1.15.0.xml” (revision 0x00000073).

The related VD5 and VD5L drives share one product code (0x0d510001) and differ only by revision, so supporting them needs revision matching, not just another product code. Neither is supported yet.

Testing status

The VD3E has been tested on live hardware: driven to OP on a five-slave bus (three Inovance IS620N axes, the VD3E, and an Omron NX-ECC202 coupler), where it runs the spindle of a 3-axis mill in cyclic velocity mode. Object 0x6502 reads 0x3AD (pp, pv, tq, hm, csp, csv, cst), and position, velocity, torque and following-error feedback are live.

Caveats

Configuration

There are no Wecon-specific <modParam> options; the standard cia402 modParams apply. The driver enables the following cia402 features on top of the base set: opmode selection, CSP, CSV, CST, target torque, actual torque, actual following error, and the error code (0x603F ships in the factory TxPDO, so exporting it costs nothing).

To override the default distributed-clock settings, use a <dcConf> element on the slave as usual.

Pins

The driver exports the standard cia402 pin set, prefixed with lcec.<master>.<slave-name>.srv-, for example:

See the CiA 402 documentation for the full list and semantics.