[etherlab-users] Beckhoff 6731-0010 initialization

Dr.-Ing. Wilhelm Hagemeister hm at igh-essen.com
Mon Sep 17 17:02:15 CEST 2012

Hello Thomas,

Am 17.09.2012 10:17, schrieb Thomas Paoloni:

> Another question ...
> How did you get the piece of code below ?
> I have it for my slave, but I followed a bad way, I've detached the RJ45
> cable after the node has been started from twincat and quickly plugged
> it on my master and read the config with "ethercat cstruct" command.
> Which is the right way to have it ?

Two ways:

or you write the SDO's for configuration with the "ethercat" command and
after configuring the slave manually you can "ethercat cstruct"

or you do the configuration in your "C" programm compile and run and
read the config. If you have the config you can add it to your programm.

regards Wilhelm.

More information about the Etherlab-users mailing list