[etherlab-users] EtherCAT newbie - NXIO 100-RE

Fuchs Clemens Clemens.Fuchs at engel.at
Thu Feb 12 16:19:42 CET 2009


Hi Christian,

the application starts without any error.
ethercat slaves says, my slave is in PREOP state (see slaves.txt - how to get it in operational?).
In debug outputs I see, that frames are sent (containing my data) and received. The received frames mostly look like the sent ones and also contain the sent data (see dmesg.txt).
So I think communication is working fine, maybe the slave is miss-configured. I received a new configuration file from the board vendor but I don't know how to transform the XML to SII format to send it to the slave via the ethercat utility.
Do you have any further suggestions or do you see something strange in the files?

regards,
Clemens

-----Ursprüngliche Nachricht-----
Von: etherlab-users-bounces at etherlab.org [mailto:etherlab-users-bounces at etherlab.org] Im Auftrag von Christian Gieseler
Gesendet: Donnerstag, 12. Februar 2009 14:46
An: etherlab-users at etherlab.org
Betreff: Re: [etherlab-users] EtherCAT newbie - NXIO 100-RE

Hi Clemens,

If you don´t get any error messages when you start your application the master is running. If not check the debug output and make sure the configuration looks the same like "ethercat pods" says. If you get no error you can check in the output of "ethercat slaves" if your NXIO slave is in operational state. If so you can receive and send data in the cyclic task by using the EC_Read and EC_Write macros that the master offers, and do whatever you want with the data. See in the html output of the doxygen documentation how to use the read an write macros.

Regards
Christian


If you want to communicate 
> Hi all,
>  
> I'm a bloody EtherCAT newbie and I'd like to implement a simple
> application, which communicates with the NXIO 100-RE board, which has 16
> digital in-/ and outputs. Via the ethercat utility I exported the slave
> configuration to XML (see attachment) and I tried to adapt the user
> example, to communicate with the board - without any succes right now.
>  
> Could anyony give me some hints, how I have to proceed?
>  
> thanks,
> Clemens
> 
> Important Notice:
> This electronic transmission (including any attachments) is intended
> solely for the use and information
> of the addressee(s). It may contain confidential or legally privileged
> information. Any unauthorized use
> or disclosure of this message is strictly prohibited.If you are not the
> intended recipient, please notify
> the sender immediately and delete the message and its attachments.
> The sender does not guarantee the integrity of this transmission and shall
> therefore never be liable if
> the message is altered or falsified nor for any virus, interception or
> damage to your system.
> 

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
_______________________________________________
etherlab-users mailing list
etherlab-users at etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Important Notice:
This electronic transmission (including any attachments) is intended solely for the use and information
of the addressee(s). It may contain confidential or legally privileged information. Any unauthorized use
or disclosure of this message is strictly prohibited.If you are not the intended recipient, please notify
the sender immediately and delete the message and its attachments.
The sender does not guarantee the integrity of this transmission and shall therefore never be liable if
the message is altered or falsified nor for any virus, interception or damage to your system.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg.txt
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090212/283d96c8/attachment-0008.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: slaves.txt
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20090212/283d96c8/attachment-0009.txt>


More information about the Etherlab-users mailing list