[etherlab-users] Problem setting up Etherlab Master with Wago 750-354
BOESEL Diego Fernandes
Diego.BOESEL at csem.ch
Fri Jan 25 09:47:06 CET 2013
Hello,
1 - PROBLEM:
I am trying to set-up a Ethercat fieldbus using Etherlab as master and a Wago 750-354 as a slave. However, all info I get from the Wago slave is null. I am almost sure there is something wrong here.
Here are some screenshoots:
#sudo /etc/init.d/ethercat start
Starting EtherCAT master 1.5.1 done
#sudo /etc/init.d/ethercat status
Checking for EtherCAT master 1.5.1
Master0 running
#/opt/etherlab/bin/ethercat slave
0 0:0 INIT E 0x00000000:0x00000000
#/opt/etherlab/bin/ethercat xml
<?xml version="1.0" ?>
<EtherCATInfo>
<!-- Slave 0 -->
<Vendor>
<Id>0</Id>
</Vendor>
<Descriptions>
<Devices>
<Device>
<Type ProductCode="#x00000000" RevisionNo="#x00000000"></Type>
</Device>
</Devices>
</Descriptions>
</EtherCATInfo>
2 - SYSTEM
#uname -a
Linux dfb-laptop 2.6.31-11-rt #154-Ubuntu SMP PREEMPT RT Wed Jun 9 12:28:53 UTC 2010 i686 GNU/Linux
3 - INSTALLATION
#./configure --enable-cycles --enable-generic
#make
#make modules
# sudo make install
# sudo make modules install
# sudo depmod
#cd /opt/etherlab
#cp etc/sysconfig/ethercat /etc/sysconfig/
#ln -s /opt/etherlab/etc/init.d/ethercat /etc/init.d/
#insserv ethercat
Then, I configure /etc/sysconfig/ethercat with
MASTER0_DEVICE="00:15:58:31:5e:7c
DEVICE_MODULES="generic"
Does anyone know what I am doing wrong that I can not read correctly my slave device?
More information about the Etherlab-users
mailing list