There was indeed a problem in my Simulink model. The EK1100 and the
EL2008 were both 0:1 (master:slave). Now its possible to run with the sudo
command.

Thanks,
Ralph Oosterveld



> Am 04/04/2014 03:34 PM, schrieb Ralph Oosterveld:
> > hello,
> >
> > I can make and compile my own model with EtherLab and Simulink. But when
> > I run the created executable file I get the following error:
> >
> >      > ctw-arms@ctw-arms-pc ~/Matlab/Documents/Simulink $ sudo ethercat
> >     slaves
> >      > 0  0:0  PREOP  +  EK1100 EtherCAT-Koppler (2A E-Bus)
> >      > 1  0:1  PREOP  +  EL2008 8K. Dig. Ausgang 24V, 0.5A
> >      > 2  0:2  PREOP  +  EL1819 16K. Dig. Eingang 24V, 10?s
> >
> >      > ctw-arms@ctw-arms-pc ~/Matlab/Documents/Simulink $ ./test_3_4
> >      > mlockall() failed: Cannot allocate memory
> >      > Setting SCHED_FIFO with priority 99 failed: Operation not
> permitted
> >      > Failed to create slave config: No such file or directory
> >      > Fatal error: Starting EtherCAT subsystem failed:
> >     ecrt_master_slave_config() failed while configuring slave 0:1
> >      > [1]ctw-arms@ctw-arms-pc ~/Matlab/Documents/Simulink $ sudo
> ./test_3_4
> Yes, you need sudo, or check out
> http://lists.etherlab.org/pipermail/etherlab-users/2014/002455.html
> >      > Failed to create slave config: No such file or directory
> >      > Fatal error: Starting EtherCAT subsystem failed:
> >     ecrt_master_slave_config() failed while configuring slave 0:1
> Are you sure you configured an EL2008 in your simulink block? Try
> starting the application with the network cable detached from the
> network port. When the application is running, put the cable in and then
> list the slaves again. 0:1 should be in PREOP with a couple of
> complaints in dmesg
> - Richard
_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to