#ethercat #ads #plc #beckhoff #automation #command-line-tool

app ethercat-device-control

A command line utility to control Ethercat devices

1 stable release

1.0.0 Feb 3, 2025

#316 in Asynchronous

Download history 90/week @ 2025-01-30 25/week @ 2025-02-06

115 downloads per month

MIT license

19KB
383 lines

EtherCAT Device Control

A command line utility to control Ethercat devices.

Functions

Setstate

Set the EtherCAT state of devices.

Example

Set the EtherCAT device with EtherCAT addresse 1001 on EtherCAT Master with AmsNetId 172.57.56.160.2.1to state PreOp.

.\ethercat-device-control.exe 172.17.56.160.2.1 1001 setstate preop

FwUpdate

Perform an firmware update.

Example

Load the local firmware file C:\TwinCAT\Functions\TE5950-Drive-Manager-2\Firmware\AX8000 AMP8000\AX8620-0000_v01.03_b0009_0103.efw on the device with the EtherCAT address 1001 on EtherCAT Master with AmsNetId 172.57.56.160.2.1.

.\ethercat-device-control.exe 172.17.56.160.2.1 1001 warn fwupdate "C:\TwinCAT\Functions\TE5950-Drive-Manager-2\Firmware\AX8000 AMP8000\AX8620-0000_v01.03_b0009_0103.efw"

Dependencies

~6–16MB
~196K SLoC