[etherlab-users] Unable to write servo drive control word
Mohsen Alizadeh Noghani
m.alizad3h at gmail.com
Tue Oct 23 07:18:30 CEST 2018
Hi Jan.
I don't think requesting OP mode is a good idea. Drive configuration (e.g.
setting the control word) is often done in the PRE-OP state, which, if the
master module is active, is automatically requested.
Additionally, even if you do enter OP mode, you have to continually send
frames in order to "sustain" it. We only enter OP mode when we start giving
position command to drives.
Therefore, I suggest you try writing the controlword, with subindex, after
loading the master module (/etc/init.d/ethercat start). No additional
commands should be necessary.
Best,
Mohsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20181023/533999cd/attachment-0004.htm>
More information about the Etherlab-users
mailing list