Re: [etherlab-users] slave not change to op state

2015-11-22 Thread Gavin Lambert
Have you called ecrt_master_activate? Note that it may take a few cycles before the slave actually transitions to OP after calling this. Otherwise, check the syslog (possibly with ethercat debug 1) to see if there are any errors reported by the slave. It may be refusing to transition from PRE

Re: [etherlab-users] puzzle about check slave configuration

2015-11-22 Thread Gavin Lambert
The ecrt_master_slave_config* family of functions are for defining what you are expecting to see on the network. You only get errors if you define something inconsistent with itself �C eg. if you say that device 0:5 has two different product ids. You do not get any errors at this point if you spe

[etherlab-users] slave not change to op state

2015-11-22 Thread 殷士龙
Hey, I am tring to use igh ethercat master but meeting a trouble. My slave is a servo drive and it supports ethercat communication. I set my slave information and pdos from early and in cycle task just read data from TPDO. But when I run it, I find the WC recevied was always zero and the AL state