Please get the attachment appropriate for R2012b and install it. The newest ET9000 produces a config file that doesn't work with the older version of EtherCAT that ships with R2012b and earlier.
If you're still having trouble after installing the patch, please contact MathWorks tech support about it.
Gordon Weast xPC Target Development MathWorks
Stuart Fallon wrote: > I'm trying to set up a Simulink model (in 2012b) for Ethercat > communications. I've managed to establish communications with the > Beckhoff slaves (the LEDS are indicating OP mode and wireshark is > showing Ethercat packets on the bus). The slaves are an EP4174 DAC and > an EP3174 ADC and Im trying to send a test signal from the master to the > DAC and then back to the master via the ADC.The EthercatInit block > returns [0,0,8,5] but it is not documented what this vector is. I'm > guessing that the 8 is the state of the slaves (?) and I can get > [0,0,8,0] and [0,0,8,4] by playing around with various distrubuted clock > settings on the ET9000 side. However, I've still had no success in > stimulating the outputs of the slaves yet. > Any suggestions would be welcome.