[etherlab-users] Problem of state machine on OMRON Servo Driver (R88D-KN04H-ECT)
damien
damien at dmp.com.tw
Thu Apr 2 09:31:01 CEST 2015
Hello,
I get stuck in changing state machine to SAFEOP or OP, and my EtherCAT
slave is OMRON G5 Servo Driver. I run EtherCAT Master via RTL8111, and
had already install Realtek driver. First, I download 0x0006 to 0x6040
and 0x08 to 0x6060, it follows CiA402 Drive Profile in OMRON manual.
However, when I type "ethercat state -p0 SAFEOP", the slave display Err
No. 90 (Communications Setting Error).
Here is my error message:
[ 9897.670992] EtherCAT 0: Master debug level set to 1.
[ 9900.352065] EtherCAT DEBUG 0-0: Changing state from PREOP to SAFEOP.
[ 9900.352079] EtherCAT DEBUG 0-0: Configuring...
[ 9900.352346] EtherCAT DEBUG 0-0: Now in INIT.
[ 9900.352355] EtherCAT DEBUG 0-0: Clearing FMMU configurations...
[ 9900.352437] EtherCAT DEBUG 0-0: Clearing sync manager configurations...
[ 9900.352531] EtherCAT DEBUG 0-0: Clearing DC assignment...
[ 9900.352623] EtherCAT DEBUG 0-0: Configuring mailbox sync managers...
[ 9900.352637] EtherCAT DEBUG 0-0: SM0: Addr 0x1800, Size 256, Ctrl
0x26, En 1
[ 9900.352650] EtherCAT DEBUG 0-0: SM1: Addr 0x1C00, Size 256, Ctrl
0x22, En 1
[ 9900.353168] EtherCAT DEBUG 0-0: Now in PREOP.
[ 9900.353181] EtherCAT DEBUG 0-0: SM2: Addr 0x1100, Size 12, Ctrl
0x64, En 1
[ 9900.353193] EtherCAT DEBUG 0-0: SM3: Addr 0x1200, Size 28, Ctrl
0x22, En 1
[ 9900.353722] EtherCAT ERROR 0-0: Failed to set SAFEOP state, slave
refused state change (PREOP + ERROR).
[ 9900.353814] EtherCAT ERROR 0-0: AL status message 0x0028:
"Synchronization not supported".
[ 9900.353997] EtherCAT 0-0: Acknowledged state PREOP.
Currently, I can enter operational mode with TwinCAT via omron's xml. I
see one point in this xml file, that is
<StateMachine>
<Timeout>
<PreopTimeout>3000</PreopTimeout>
<SafeopOpTimeout>10000</SafeopOpTimeout>
<BackToInitTimeout>5000</BackToInitTimeout>
<BackToSafeopTimeout>200</BackToSafeopTimeout>
</Timeout>
_/*<Behavior StartToSafeopNoSync="true" />*/_
</StateMachine>
What is the "StartToSafeopNoSync" means? Where can I set it in EtherCAT
Master? Any help is appreciated.
Regards
Damien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20150402/102217b9/attachment-0002.htm>
-------------- next part --------------
===========================================================================================
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email.
If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately.
Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of DM&P Group is strictly prohibited; and any information in this email irrelevant to the official business of DM&P Group shall be deemed as neither given nor endorsed by DM&P Group.
===========================================================================================
More information about the Etherlab-users
mailing list