[etherlab-dev] foe_write result

Gavin Lambert gavinl at compacsort.com
Fri Sep 15 00:51:50 CEST 2017


The "foe_write" ethercat command will print an error on stderr and return a
non-zero exit code in case of error.  It's intended to be used interactively
by whoever is commissioning the system, although it can be used in a script.

 

Alternatively if you want to call it programmatically you could use the
equivalent master ioctl call directly, which provides the specific FoE error
code.

 

The unofficial patchset also adds some additional ecrt.h APIs that you can
call for FoE, although these require more "plumbing" to use.

 

From: Lingjie_Kong at amat.com
Sent: Friday, 15 September 2017 10:25
To: etherlab-dev at etherlab.org
Subject: [etherlab-dev] foe_write result

 

Hi,

 

I am working on file over ethercat (FOE) to send motor driver's
configuration file. From the ethercat 1.5.2 document, it looks like I can
use foe_write to send the file. However, I am just wondering that what I can
check to see whether the file transfer is successfully or not. 

 

Best regards,

 

Lingjie (Kimi) Kong

Software Engineer - Servo Control Engineering || Common Solution Group ||
Applied Materials

lingjie_kong at amat.com <mailto:lingjie_kong at amat.com>  || Office:
(408)563-4400

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20170915/7e01e5a8/attachment-0002.htm>


More information about the Etherlab-dev mailing list