I'm trying to use the e1000e driver on kernel 3.2.31 with the PREEMPT_RT
rt47 patches applied, but the driver is giving me an error. I'm using the
latest hg source of the etherlab master (4151f6f4c3e1).
The startup of the normal driver looks like this:
e1000e: Intel(R) PRO/1000 Network Driver -
Quoth Matthias Liermann:
Do we need a new driver patch, or does anyone see another issue here?
I tried repatching (generating a diff between the _orig and the _ethercat
files, then updating the _orig to the ones from my 3.2 kernel, and
reapplying the diff) but it didn't seem to fix this issue.
Quoth Matthias Liermann:
if you applied the changes correctly, the e1000e driver, which is
currently in the 3.2 kernel repository is not the same as the one which
was used for the previous patching.
Correct, they are different. I suspect that the one in the etherlab repository
was from
Just to be extra confusing, output and input are from the perspective of
the master, but RxPDO and TxPDO are from the perspective of the slave.
So output == RxPDO.
This isnt unique to Etherlab, BTW, these are the standard EtherCAT
definitions, which I think may have been inherited
For some odd reason I didn't receive the message below, only the replies.
But in any case:
I haven't tested this myself, but I think you can still use it as read/write
from a single domain. Remember that the EtherCAT main loop consists of:
1. Read previously received incoming packet.
in
response to my message; I havent checked whether it includes the same fix
or not). I havent had a chance to test the new version myself yet but
maybe it will help in your case too?
Regards,
Gavin Lambert
From: etherlab-users-boun...@etherlab.org
[mailto:etherlab-users-boun
, but it'd be good to get
confirmation.)
Regards,
Gavin Lambert
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users
Quoth Florian Pose:
Am 23.01.2013 17:36, schrieb Jun Yuan:
1. I must call ecrt_master_application_time() once somewhere before my
run loop, otherwise I'll get error No app_time received up to now,
and ec_fsm_master_state_dc_read_offset will not be executed. The app
time given to the
Quoth Cor Meijneke:
I ran into some trouble with e1000e driver (I think) while installing
the ethercat master.
I can't see anything in the trace you posted that suggests a driver issue.
[ 6259.203384] EtherCAT ERROR 0-1: Failed to set SAFEOP state, slave
refused state change (PREOP + ERROR).
DESTDIR=/path/to/target/root/fs make install
INSTALL_MOD_PATH=/path/to/target/root/fs make modules_install
depmod -b /path/to/target/root/fs 3.2.46
From: Thomas Bitsky Jr [mailto:t...@automateddesign.com]
Sent: Friday, 28 June 2013 11:04
To: Gavin Lambert; etherlab-users@etherlab.org
I've always specified INSTALL_MOD_PATH prior to the make command name. I
don't know if this actually makes a difference or not though.
From: Thomas Bitsky Jr [mailto:t...@automateddesign.com]
Sent: Saturday, 29 June 2013 10:36
To: Gavin Lambert; etherlab-users@etherlab.org
Subject: RE
requests to improve performance, eg. to exchange SDOs while
waiting for an FoE or EoE transfer to complete. (Though this might need a
per-slave setting to enable/disable, as some slaves might not support
interleaved requests.)
Does that make sense, or have I missed something?
Regards,
Gavin Lambert
Quoth Ian Prochazka:
does anybody figured out how to reset EtherCAT device through EtherCAT
master? The master needs to send 3 consecutive register (0x40) write
frames.
There isn't any way to do that with the current master code. It would need
specific support added for it.
The change to OP seems wrong, but otherwise the procedure below looks about
right.
One thing to note is that the foe_write command takes two filenames the
other youve left unspecified (and so will default to the .efw filename) is
the internal name sent to the device. Youll have to check
(not
model-specific) instructions so you might be able to get away with skipping
that step, or possibly just going to PREOP or something instead.
From: Graeme Foot [mailto:graeme.f...@touchcut.com]
Sent: Wednesday, 6 November 2013 11:39
To: Gavin Lambert
Cc: etherlab-users@etherlab.org
Subject: RE
You can still include the standard one if you want to be able to swap
between them.
But you have to make sure that it's built as a module, not compiled in.
(kernel config set =M, not =Y.)
The service start script will automatically unload the standard module and
replace it with the Etherlab
Quoth Fredrik Viksten:
How would I go about setting the system up so I can A) use NIC eth0 for
normal network traffic and B) use an EtherCAT-optimized kernel driver
for NIC eth1 when they are both using the same chipset?
All you should need to do is to explicitly specify the MAC that you want
On 2 April 2014 22:40, quoth Jun Yuan:
But there is a reason why we all put the ecrt_master_application_time()
outside
the loop. Because we all got burned by the error No app_time received up to
now, but master already active., which is a timing bug in Etherlab. I've
resolved the problem
at close to -1ms). Subsequent runs always
seem to be better, although sometimes it takes 2-5 runs to get it “right”.
Regards,
Gavin Lambert
From: Jun Yuan [mailto:j.y...@rtleaders.com]
Sent: Friday, 4 April 2014 21:00
To: Gavin Lambert
Cc: etherlab-users@etherlab.org
Subject: Re: [etherlab
Lambert
From: Jun Yuan [mailto:j.y...@rtleaders.com]
Sent: Friday, 4 April 2014 21:00
To: Gavin Lambert
Cc: etherlab-users@etherlab.org
Subject: Re: [etherlab-users] DC-Synchronization - Sync signal generation
Hi,
that's all right. I'm using Xenomai. I just want to demonstrate the idea
It also returns an error if something does not byte-align and you provide
NULL for the bit_position argument. So you shouldn't see any overlapping
offsets as a result of this unless you're throwing away data.
From: etherlab-users-boun...@etherlab.org
. The master library will do the right things to get
that data to the slaves and back.
Regards,
Gavin Lambert
From: etherlab-users-boun...@etherlab.org
[mailto:etherlab-users-boun...@etherlab.org] On Behalf Of Steve Hartmann
Sent: Thursday, 10 April 2014 09:52
To: etherlab-users@etherlab.org
hard-code the full mappings, instead of fetching the mappings from the
slave? Or is this something missing from the library at present?
Regards,
Gavin Lambert
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org
of mailbox sizes.
Regards,
Gavin Lambert
___
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users
:40
To: Gavin Lambert
Cc: etherlab-users@etherlab.org
Subject: Re: [etherlab-users] Error reassigning removed PDO
Hello Gavin,
for that specific part of the CoE transfer problem you mentioned, I may have
observed the same problem, and I did some analysis on it. This is actually a
big problem
On 5 June 2014, quoth Javier:
I am a beginer and want start turning on a led in the EP2338 box from
ethercat master command line.
Typically you cannot do that sort of thing from the command line, as without
an application the devices will remain in PREOP state, and outputs are
normally not
the master should already know at that point. (Although that’s an
optimisation missing from the current PDO configuration code as well.)
Regards,
Gavin Lambert
From: Jun Yuan [mailto:j.y...@rtleaders.com]
Sent: Saturday, 31 May 2014 04:24
To: Gavin Lambert
Cc: etherlab-users@etherlab.org
wasn’t expecting stale
replies, a la #26).
Regards,
Gavin Lambert
From: etherlab-users-boun...@etherlab.org
[mailto:etherlab-users-boun...@etherlab.org] On Behalf Of Jun Yuan
Sent: Friday, 6 June 2014 08:56
To: Frank Heckenbach
Cc: etherlab-users@etherlab.org
Subject: Re: [etherlab-users
On 7 July 2014, quoth Dave Page:
On 2014-05-20 22:00, etherlab-users-requ...@etherlab.org wrote:
what is the limit for the maximum supported mailbox size? Either in
EtherCAT in general or in EtherLab in particular?
ETG1000.5 V1i02 page 43 indicates that the mailbox can be from 38
to
On 8 July 2014, quoth Dave Page:
A brief look at the SSC suggests the master is responsible for
specifying the mailbox size each transfer via the Length parameter in
the mailbox header. The FMMU mailbox protocol requires the last mailbox
byte to be accessed to hand over the mailbox
On 26 July 2014, quoth Sebastien Blanchet:
I would like to know which is the right way to get the number of slaves
on the EtherCAT bus in a usespace program.
I have tried 3 ways:
// way #1:
ec_master_info_t masterInfo;
ec_master_t* master = ecrt_request_master(0);
On 3 December 2014 22:38, quoth Luca Ma:
Basically I don't understand how the Master decides to forward a certain
Ethernet frame
to a certain EtherCAT slave.
[...]
How the Master knows to which slave it has to send the EtherCAT datagrams
containing
the EoE fragments?
I haven't used EoE
On 4 December 2014 23:45, quoth WIEGAND Ralf:
we are using the etherlabmaster 1.5.1 with RTAI in our system and we are
searching for an API function or a workaround to check that all object
dictionaries of the slaves are read and the SDOs are fetched. In detail,
during
boot of our system the
On 12 December 2014 11:12, quoth Derrill Vezina:
I have been working with the EL6021 card for some time now with no issues
regarding communications for RS485 using the default PDO/SDO parameters
that come stock with the firmware version 04 (thanks to the communities
help). Beckhoff has
On 12 December 2014 19:01, quoth Peter P:
does anybody know how the master-fsm exactly works? The master
fsm datagram in my program times out/gets skipped even before I
activate the slave. I assume it has something to do with the
ec_fsm_master in the fsm_masater.h, is that correct?
How
Are you using the generic ethernet driver or one of the provided
EtherCAT-enabled drivers? What HZ is your kernel using?
On standard x86 hardware, you’re unlikely to get much better than 4 ms cycle
rates even on Linux+PREEMPT_RT if you’re using the generic driver. Since
you’re using more
Yesterday, I quoth:
Possibly some of this is related to the weird linked-but-not-linked
behaviour
when the backup link is connected but unneeded (described in my prior
email).
Well, I've fixed that now (it was an incorrect assumption in the EtherCAT
driver mods), but it hasn't helped the delay
Yesterday, I quoth:
2. There appear to be a few things that only seem to work on the main
link,
not the backup link (unless I'm missing something). Register requests
(maybe
only some types?) seem to be one of them, and I'm dubious about the DC
sync
behaviour as well -- I don't think the RMW
On 27 February 2015 22:06, quoth Richard Hacker:
I have a question regarding support for cable redundancy in the
stable-1.5 branch.
I know that it has options for enabling a backup network port on the
PC and connecting the end of a single chain to this port. Presumably
this is mostly
On 24 March 2015 06:01, quoth ronaldo.merc...@diamond.ac.uk:
I recently learned that when using Twincat there is the option to separate
sets of slaves to address them in different frames.
Twincat calls these Sync Units.
Is there an analogous facility in etherlab?
They're called domains
On 9 May 2015 02:29, quoth Fredriek Vanneste:
If the same thing occurs when you try to run your application code,
then you
need to check that you're calling ecrt_slave_config_dc and passing it
the correct parameters (as specified by the slave vendor).
I get the same problem as with the
I've posted some patches in the past that make some additional information
available to the master application. But in general to detect errors you
look at the error_flag from ecrt_master_get_slave() or
ecrt_slave_config_state(). There are also some patches (made by others)
that dramatically
FWIW, while I could be wrong about this, as far as I know it’s generally a bad
idea to explicitly set the reference clock slave. It defaults to being the
first DC-capable slave on the network, and you shouldn’t set it to any other
slave because of the way the DC sync datagrams work.
, and
reactivate the master without having to stop the realtime thread (although that
requires some care and another patch, if using the usermode library).
From: Graeme Foot [mailto:graeme.f...@touchcut.com]
Sent: Tuesday, 2 June 2015 13:41
To: Gavin Lambert
Cc: etherlab-users@etherlab.org
It's not that easy - even the read in the example is oversimplified (it
assumes you always want to read), and reads are quite different from writes.
I'm not sure where you got ec_sdo_request_copy_data from, but the correct
way to access the data memory of a request is with
Most likely, there is something invalid in the parameters for the SDO
configuration functions. Youll need to post all of the related code if you
want help in locating it.
From: etherlab-users [mailto:etherlab-users-boun...@etherlab.org] On Behalf
Of David Jiménez Mejías
Sent: Thursday, 29
shouldn’t have that sort of code anyway, since it’s all constant
data in the first place. Change the global definitions from a string to a byte
array.
From: David Jiménez Mejías [mailto:david.jime...@gtc.iac.es]
Sent: Friday, 30 October 2015 23:13
To: Gavin Lambert <gavin.l
Registering 0x6000:11 doesn’t work because the actual value is at 0x6000:0x11.
(Note hex vs. decimal.)
Registering 0x6000:2 doesn’t work because the value is not at bit 0, so you
have to pass a non-NULL pointer as the final parameter to receive the bit
offset of the value, which you must
SDOs are just objects that can be accessed via acyclic (mailbox) transfers.
Typically (if the slave supports CoE) all PDOs can be accessed as SDOs (though
usually there’s little point) but only some SDOs can be accessed as PDOs.
Most of the time SDOs are used purely for configuration –
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
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
ecrt_master_activate and then
immediately release the master and exit if you like, but to actually accomplish
anything useful you need an application loop.)
From: j.sikor...@utwente.nl [mailto:j.sikor...@utwente.nl]
Sent: Thursday, 16 June 2016 00:06
To: Gavin Lambert <gavin.lamb...@compacsort.com&
On 28 January 2016 08:54, quoth Paul Mulligan:
> When using multi-threading, such that the function which calls the
> cyclic_task() is running in a separate detached thread from the main
> thread, the pause function blocks forever and a signal is never
> received as below.
[...]
> Also, I
It is possible to have the master PC connect via standard switch to a standard
Ethernet network, one connection of which is the entire EtherCAT slave network.
(It is not possible to have standard Ethernet devices interleaved with
EtherCAT devices, at least not without dedicated bridge slaves
[Repost to list due to incorrect email address.]
On 9 March 2016 05:09, quoth Thomas Bitsky Jr:
> I have tried this on two pieces of hardware. They run the same
> operating system and configuration, same EtherLAB master version, same
> Ethernet driver.
>
> System 1 (Intel i3 NUC, 1 Intel
That is the AL State (note this is different from the AL Status Code, which
is typically only logged by Etherlab and isn't retrievable by the
application unless you read the registers directly).
The AL State can be read from the al_state field in ec_slave_info_t, via
ecrt_master_get_slave.
On Friday, 15 April 2016 13:49, quoth shouqiang@scbd.com.cn:
> When I use the interface function: ecrt_slave_config_dc(sc1, 0x0730,
> 25, 0, 175, 0);
>
> I can't understand the parameter "SYNC0 shift time" used in the master
> module, in the master modules code , the "SYNC0 shift
On 7 August 2016 00:12, quoth Nir Geller:
> I can supply more details about traffic capture and our thoughts from
> analysing the code, but before that, I would like to know if any one was
able
> to work successfully with the EoE with MTU size larger than 200 bytes? Are
> there any known patches
On Monday, 4 July 2016 15:20, quoth Graeme Foot:
> You could track down if it's a problem with a link between two particular
slaves
> by checking each slaves Link Lost Counter and CRC Bad Counter values.
> - Lost Link Counter Register (0x0310:0x0313)
> - RX Error Counter Register (0x0300:0x0307)
No. That command is used to generate a file containing the PDO structure of an
existing slave on the network for consumption by the EtherLab higher-level
MATLAB/Simulink app (not the master itself). It’s not an input file.
The Etherlab master does not support use of ENI or ESI XML files in
The CU2508 has been brought up a few times - it is definitely not compatible
with Etherlab (or Linux in general, as far as I know). It would be nice if
it were, but nobody has put time in to write a custom driver for it yet.
From: Graeme Foot
Sent: Tuesday, 14 February 2017 10:34
To: Lander
[mailto:eshwarkha...@gmail.com]
Sent: Tuesday, 14 February 2017 06:06
To: Gavin Lambert <gavin.lamb...@compacsort.com>
Subject: Re: [etherlab-users] EtherCAT data size compatibility issue
Hi,
Thanks for your response, yes there are macros available for 64 bit read/write
in ecrt.h.
one qu
64-bit macros are already defined in ecrt.h, so just use them.
In general though, if you want to deal with other data sizes, have a look at
how the macros are defined, and define your own versions. They’re just
wrappers around standard conditional byte-swapping calculations.
Data on
On 14 January 2017 06:02, quoth Jiarui Lian:
> I tried to synchronize master clock to a reference-slave-EK1100 (due to
> Master clock jitter):
> * Based on the example of "examples/rtai_rtdm_dc".
> * I modified the example, since I am using RT-Preempt instead of RTAI.
> * But I got error: "Failed
It sounds like the slave has incorrect SII data and/or defective firmware.
It's claiming to support PDO Configuration (see the output of "ethercat
slaves -v") but the PDO Configuration objects are read-only. It should
either not claim support for that or should tolerate writes where the
written
On 1 September 2016 03:45, quoth Tommaso:
> I am trying to configure the EL9800 board using SSC tool and TwinCAT in
order
> to create an EtherLab application with PIC.
EtherLab is a specific EtherCAT master library, which is different from
TwinCAT or SSC.
Since your question is not related to
Although if slaves actually have SDOs (ie. support CoE) then they’re required
to provide an online CoE dictionary, which “ethercat sdos” will read and
display even if the slave does not define any in its SII. (Although not all
vendors obey the rules.)
If the slave doesn’t support CoE then
On 27 October 2016 01:09, quoth Lucas Spreiter:
> But when I try to run the executable on my linux system I always get the
error
> "could not open library: libmwnetworkdevice.so". I already copied the
> libmwnetworkdevice.so to /lib and used ldconfig, so that linux finds the
library
> now, but
On 20 October 2016 02:57, quoth Mathias Thiele:
DcOn
DC active
#x0300
0
0
…
ecrt_slave_config_dc(sc, 0x0300, 0, 0, 0, 0);
This is not a correct translation of that configuration.
“Factor=1” means that the DC cycle time is expected to match your SM cycle
time, ie. the rate
On 25 November 2016 06:47, quoth Frank Jeschke:
> Hello, we are using the etherlab master 1.5.2 and face a problem when nodes
> restart
> (here: after a firmware update). It looks like the fsm_master statemachine
> hangs while
> waiting for any kind of reply (at least this is what I could figure
On 28 March 2017 23:21, quoth Asier Tamayo:
> After some debug, we have finally got the system working properly. We had
> to define EC_SII_ASSIGN in the config.h file and recompile the EtherLab
> master.
The right way to define this is not to modify config.h directly, but to specify
You’re halfway there. You also need to update the domain1_regs to reflect the
layout of your network (type and position of all slave devices) and to define
variables to receive the offsets into domain memory to use for transferring the
corresponding PDOs.
From: Justin Hunt
Sent: Tuesday, 4
put in there.)
From: Justin Hunt [mailto:jphu...@asu.edu]
Sent: Wednesday, 5 April 2017 13:32
To: Gavin Lambert <gavin.lamb...@compacsort.com>
Cc: etherlab-users@etherlab.org
Subject: Re: [etherlab-users] Beginner: Modifying the example code "user"
Hi Gavin,
Thank you
On 10 March 2017 22:23, quoth Philippe Leuba:
> We can read from documentation that the parameter sync1_shift of
> ecrt_slave_config_dc is ignored.
>
> Does this mean that we can not use terminal like the Beckhoff EL2522 that
> require both SYNC0 and SYNC1 shift times ?
According to the
ch]
Sent: Tuesday, 14 March 2017 01:18
To: Gavin Lambert <gavin.lamb...@compacsort.com>
Cc: etherlab-users@etherlab.org
Subject: Re: [etherlab-users] DC sync1 shift time
Hello,
I probably misunderstood something, but I take these inputs from the Beckhoff
EL2522 XML file:
DC
The "waiting for devices" state means that no network devices are available for
EtherCAT yet.
You need to check your configuration file (if you're using SysV
/etc/init.d/ethercat then the file is /etc/sysconfig/ethercat; if you're using
SystemD ethercat.service then the file is
I have one in a test system (though not using it in production) and it works
fine. As Graeme said it basically just works without configuration, though
if you're specifying devices by network position then you need to be careful
about the ordering, since it will appear at three different places
On 23 August 2017 08:15, quoth Rahul Deshpande:
>
> I wanted to know where I can find the list of all ethercat diagnostic
> commands (ethercat slave, ethercat master, ethercat debug 1 etc).
The usual way:
ethercat --help
___
etherlab-users
This error means that the version of the master kernel module does not agree
with the version of the libethercat library (the library is older). Make sure
that you’ve built and installed all components from the same sources.
From: Syrine Cherif
Sent: Thursday, 25 May 2017 03:29
To:
Basic slaves have a fixed layout of PDOs. Complex slaves sometimes allow
you to select alternate layouts or in rare cases even build your own layout.
Complex slaves require CoE to do that configuration.
The error you are getting indicates that the configuration doesn't match, so
Etherlab
[mailto:crazylinux...@gmail.com]
Sent: Saturday, 6 May 2017 02:53
To: Gavin Lambert <gavin.lamb...@compacsort.com>
Cc: etherlab-users@etherlab.org
Subject: Re: [etherlab-users] how to implement EoE example?
Thanks for your reply.
You mean I no need to write kernel module for EoE, even
May 2017 03:00
To: Gavin Lambert <gavin.lamb...@compacsort.com>
Cc: etherlab-users@etherlab.org
Subject: Re: [etherlab-users] how to implement EoE example?
Thanks!
I read beckhoff EL6614 document carefully again.
As I understood, data is transferred by mailbox. So can I just use SDO t
I don’t use EoE myself, but as I understand it the kernel component of the
master (which exists even if your application is only in userspace) creates
regular Linux ethernet devices for the EoE ports of the slaves, and takes care
of the message relaying itself. So your application doesn’t need
Check which standard kernel module is loaded for that card when using the
generic driver (or without using EtherCAT at all), either with lsmod or lspci
-k.
I don’t know whether this applies to that specific card or not, but some of the
newer gigabit cards require the igb driver rather than
You can see the calculations in fsm_slave_config.c's
ec_fsm_slave_config_state_dc_sync_check. Enabling "ethercat debug 1" will
also print some diagnostic information to the syslog on activation which may
be of interest.
There will always be some jitter in the SM2/SYNC0 timing, as it's subject
First off, note that using printfs inside your cyclic task is going to kill
your latency. By itself this shouldn’t cause any issues with SDOs, unless it’s
sufficient to trigger the timeout.
The master does support a limited number of concurrent SDO requests, provided
that they are always
Sorry, that should have been "make modules_install".
From: Gavin Lambert
Sent: Monday, 4 December 2017 11:49
To: 'Jiarui Lian' <je...@bertec.com>; etherlab-users@etherlab.org
Subject: Re: [etherlab-users] How to make ipk/deb package for IgH EtherCAT
Master?
There isn't any
There isn't any built-in support for this. However it's a fairly standard
autotools package so you can follow generic instructions for building a deb
or whatever from an autotools makefile, for the most part.
Bear in mind that you need to make sure to build against the kernel headers
from the
Don't write to those objects. Not even with ecrt_slave_config_sdoXX. Read
the documentation.
From: Frank, Matthias [mailto:matthias.fr...@tq-group.com]
Sent: Wednesday, 13 December 2017 20:26
To: Gavin Lambert <gavin.lamb...@compacsort.com>;
etherlab-users@etherlab.org
Subject: AW: T
Don't try to write to 0x16xx, 0x1Axx, or 0x1C1x. This is what
ecrt_slave_config_pdos and ecrt_domain_reg_pdos do for you internally (among
other things). See the examples.
From: etherlab-users [mailto:etherlab-users-boun...@etherlab.org] On Behalf
Of Frank, Matthias
Sent: Wednesday, 13
On 28 October 2017 06:00, quoth Greier, Thomas:
> Does the ethercat master stack support a bus-shift mode of
> Distributed Clocks? Our application is currently using a
> master-shift, where the master clock is adjusted to match the
> reference slave device. Is there sample code for the reverse,
The SYNC1 Cycle register (0x09A4) is a little weird; it acts as both a cycle
and shift in one register, depending on the value of the SYNC0 Cycle (0x09A0).
* Where SYNC0 Cycle is X and SYNC1 Cycle is 0, SYNC0 and SYNC1 occur at the
same time – thus same cycle, no shift.
* Where SYNC0
.
In theory (completely untested air code) something like this might be more
correct:
cycle = sync0->cycle_time + sync1->cycle_time – (sync1->cycle_time %
sync0->cycle_time);
From: Philippe Leuba [mailto:ple...@swissonline.ch]
Sent: Friday, 18 May 2018 16:34
To: Gavin Lambert <gavin.la
without a SYNC0 cycle time.
From: Graeme Foot [mailto:graeme.f...@touchcut.com]
Sent: Monday, 21 May 2018 12:36
To: Gavin Lambert <gavin.lamb...@tomra.com>; Philippe Leuba
<ple...@swissonline.ch>
Cc: etherlab-users@etherlab.org
Subject: RE: [etherlab-users] Slave DC start time cal
Why are you adjusting dc_sync[0] from sync1_*? That doesn’t seem like it would
ever be a sensible thing to do, unless I’m missing something.
From: Graeme Foot [mailto:graeme.f...@touchcut.com]
Sent: Monday, 21 May 2018 11:20
To: Philippe Leuba <ple...@swissonline.ch>; Gavin Lambert
<g
On 16 May 2018 4:34 a.m., quoth Michael Ruder:
> Now I want to have the slaves also synchronized to this time frame and have
> the following dilemma:
>
> - normally, I would like to call
>
> // cycle begins
>
> ecrt_master_receive(master);
> ecrt_domain_process(domain1);
>
> // do a lot of
On 12 June 2018 19:33, quoth Joye Laurent:
> Here are my questions:
> - Should it be possible to reboot a slave by writing 3 times in the related
> register? If no, is it possible to reboot a slave by using your library?
It is generally not possible to reboot a slave by using register requests
There are a few different kinds of API to do SDO transfers, depending on how
and when you want to do them. (But in short: no, that code is probably not
correct.)
ecrt_master_sdo_download/upload are blocking APIs; they are intended to be
called before activating the master. It is still
On 12 June 2018 20:41, quoth Joye Laurent:
> And do you have any idea why the command reboot doesn't work in the
> case my own application is running?
As noted, the three register writes must be received on three consecutive
frames, otherwise the ESC will ignore them. (Also, some
urn -1;
cycle_task();
...
-
What could be wrong?
Thanks again!
Jerry
On Mon, Jun 18, 2018 at 7:25 PM, Gavin Lambert
mailto:gavin.lamb...@tomra.com>> wrote:
There are a
1 - 100 of 186 matches
Mail list logo