[etherlab-users] Detect the loss of EtherCAT communication

2016-06-20 Thread Christoph Schroeder
Hi All, is there any other way for a slave to detect a failure of EtherCAT communication besides the syncmanager watchdogs e.g. connection loss between 2 slaves or a failure of the user application? The syncmanager watchdog only works for buffered mode but not for mailbox mode which has acyclic

[etherlab-users] Generate SII binaries from ESI file?

2016-04-21 Thread Christoph Schroeder
Hi All, we need to generate a binary file for the SII from an existing ESI xml file. I read that TwinCAT is capable of doing this, but we would prefer to use free software under Linux. Is there any tool you would suggest? Background: we are evaluating the Microchip LAN9252 which can be operated

Re: [etherlab-users] EL9820 configuration issue

2016-07-06 Thread Christoph Schroeder
Hi Tommaso, you can find some good documentation here: http://www.beckhoff.de/default.asp?download/ethercat_development_products.htm Download the following documents: EtherCAT Technology (Section I) - General EtherCAT

Re: [etherlab-users] etherlab-users Digest, Vol 115, Issue 11

2017-01-25 Thread Christoph Schroeder
Hello, just a side question related to this topic: Is there anyone working on a newer version of the ec_e1000e driver or did anyone patch the Intel Igb driver which is used for more recent dual-port network adapter? Best regards, Christoph On 01/24/2017 11:47 PM, Gavin Lambert wrote: If you

Re: [etherlab-users] ethercat : modules_install error

2016-12-13 Thread Christoph Schroeder
Hi Roman, the modules are installed into "/lib/modules/${version}". Your kernel doesn't match the configured kernel (4.4.0-21-generic) so all you might have to do is to call ./configure (with all options needed by your application) and make again. The directory "/etc/sysconfig" is where the

Re: [etherlab-users] DC sync1 shift time

2017-03-10 Thread Christoph Schroeder
Hi Philippe, not sure about the ecrt_slave_config_dc function, but you could always do things like this 'manually' by using the ecrt_slave_config_create_reg_request and the functions for direct register access if it doesn't do what you want. It's stated that it's for debugging and monitoring

Re: [etherlab-users] ec_e1000e not compatible with Intel I218-LM NIC

2017-09-18 Thread Christoph Schroeder
Hi everyone, here is what I observed with the predecessor I217-LM on Debian 7: It uses the e1000e driver, not the Intel igb driver which is more common for server adapters. The ec_e1000e didn't work for me too on the default kernel 3.2.xx, but it worked with the backported 3.16.xx kernel.

[etherlab-users] Question about DC synchronization in rtai_rtdm_dc example

2017-11-15 Thread Christoph Schroeder
Hi Folks, I stumbled upon a question regarding the dc example which is part of the EtherCAT master release. The Example mentions: "The initial application time is also used for phase calculation for the SYNC0/1 interrupts. Please be sure to call it at the correct phase to the realtime cycle"

Re: [etherlab-users] How to make ipk/deb package for IgH EtherCAT Master?

2017-12-04 Thread Christoph Schroeder
use to start building dkms packages based on the 1.5.2 release of the EtherCAT master. Best regards, Christoph On 12/04/2017 11:50 AM, Christoph Schroeder wrote: Hi, the komaxgroup did debianize the master as dkms packages (see: http://lists.etherlab.org/pipermail/etherlab-users/2014/002650.html

Re: [etherlab-users] How to make ipk/deb package for IgH EtherCAT Master?

2017-12-04 Thread Christoph Schroeder
Hi, the komaxgroup did debianize the master as dkms packages (see: http://lists.etherlab.org/pipermail/etherlab-users/2014/002650.html). Unfortunately the links from 2014 are already down. Best regards, Christoph On 12/04/2017 01:52 AM, Mike O'Connor wrote: On 2/12/2017 6:13 AM, Jiarui Lian

Re: [etherlab-users] yet another datagrams UNMATCHED - DC 0.2ms / 5kHz // igb kernel 3.18

2018-02-13 Thread Christoph Schroeder
Hi Jürgen, On 02/13/2018 10:01 AM, Jürgen Walter • DATATRONiQ wrote: I see- will get another Intel card (although compatible ones (kernel driver e1000, e1000e) seem to be hard to come by these days) and try with anther kernel driver. I also did some tests with the EtherCAT master, Xenomai and

Re: [etherlab-users] Απ: AL status message 0x0036: "DC Sync0 Cycle Time"

2018-04-11 Thread Christoph Schroeder
Hello Mike, reffering to the last question on this list regarding a driver for the RasPi 3 and kernel 4.x, which driver are you actually using? I thought the native drivers don't work with newer kernels. I am currently using the native driver for e1000e Intel cards on Debian Jessie (kernel 3.16)

Re: [etherlab-users] How to check if all slaves have reached operational state?

2018-10-05 Thread Christoph Schroeder
Hi Mohsen, additionally you can use ecrt_slave_config_state in your application. I call this function plus ecrt_master_state and ecrt_domain_state every other second to check the status of the whole setup. Best regards, Christoph On 10/4/18 11:15 PM, Ian Prochazka wrote: Would user command

Re: [etherlab-users] Debian Stretch

2019-01-07 Thread Christoph Schroeder
Hi all, you need to copy or link the script to /usr/local/sbin what is the reason for this? According to man systemd-sysv-generator all you have to do is to install the SysV script into /etc/init.d as usually and reload the config: $ sudo systemctl daemon-reload This will create a service