[etherlab-users] Trouble with SDB-40-100
Gavin Lambert
gavinl at compacsort.com
Wed Dec 13 08:09:17 CET 2017
Don't try to write to 0x16xx, 0x1Axx, or 0x1C1x. This is what
ecrt_slave_config_pdos and ecrt_domain_reg_pdos do for you internally (among
other things). See the examples.
From: etherlab-users [mailto:etherlab-users-bounces at etherlab.org] On Behalf
Of Frank, Matthias
Sent: Wednesday, 13 December 2017 19:32
To: etherlab-users at etherlab.org
Subject: [etherlab-users] Trouble with SDB-40-100
Hi all,
I'm trying to use a SDB-40-100 servo drive with CoE.
I can read and write Cia402 and EtherCAT registers manually using the
ethercat cli program. But when I start the program position.c the master
don't switch the slave device to SAFEOP/OP. The slave is still in PREOP.
By tracing the EtherCAT communication, writing to CiA registers (e.g.
0x1c12, 0x1c13, 0x1a01, 0x6060 ) is repeated.
After changing the slave's state manually to SAFEOP a lot of errors occur in
the kernel log.
What is going wrong? The device will work with other masters like Twincat.
System configuration
Linux 3.4.69-rt85
EtherCAT 1.5.2 with generic Ethernet (tg3)
Thanks for your advice,
Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20171213/1e538c9f/attachment-0003.htm>
More information about the Etherlab-users
mailing list