Arthur Ketels
92ff466357
Fix ecx_pushindex, remove DCtO and DCl from ecx_context
2019-11-13 21:03:56 +01:00
Arthur Ketels
9ec8635943
Fix tx/rx processdata functions
2019-11-12 17:03:48 +01:00
nakarlsson
abbf0d42e3
Fix doxygen build warnings for SOEM 1.4.0 ( #312 )
...
Trvial non-code changes
2019-06-13 08:06:41 +02:00
Andreas Karlsson
817435066f
Add support to choose if manual or automatic state change is done by config functions, fixes #189
2019-06-10 11:48:41 +02:00
Andreas Karlsson
cc417d4c0c
Add PO2SO hook including context, fixes #230
2019-06-10 09:23:02 +02:00
Andreas Karlsson
8c1e83ee8e
Add extra ERROR on mailbox receive timeout to improv diagnostics possibilities
2019-05-24 14:28:29 +02:00
Andreas Karlsson
9c921d8d4e
Make ERROR slave count exceeded unique
2019-05-24 14:05:53 +02:00
Andreas Karlsson
7b1ea32343
Make it possible to set EC_VER from osal layer
2019-05-24 14:02:46 +02:00
Andreas Karlsson
c892921d7e
Add ec_error to string print function, fixes #227 and fixes #232
2019-05-24 14:01:40 +02:00
Schlumpf
787cf82d7d
Add possibiliy to set endian target by hardware layer
...
Now it is possible to set a EC_LITTLE_ENDIAN or EC_BIG_ENDIAN in the
osal_defs.h file or by compile option. If no endian is defined, the default
EC_LITTLE_ENDIAN is used.
2019-05-10 10:19:25 +02:00
jopado1
537145f6bf
Fixes for big-endian hosts
2019-05-10 10:17:46 +02:00
andreas karlsson
a37a8c733e
Fix to enable building the SOEM library VER 2 with -werror
2019-04-08 10:02:03 +02:00
Andreas Karlsson
930d6e07c8
improve groups, make memory usage more efficient, fix erroneous byte calculations and dc frame handling
2019-03-11 10:34:21 +01:00
Claudio Scordino
e0d880d7bd
Avoid OSAL_THREAD usage when EC_MAX_MAPT=1
...
Rationale : allow SOEM to be used in a OS that does not support threads.
2019-02-14 10:56:50 +01:00
Claudio Scordino
7beba91c62
Fix typos in comments.
...
No functional changes.
2019-02-04 13:56:11 +01:00
Claudio Scordino
26cde1dc94
Introduce platform-specific EC_PRINT
...
Rationale: not all operating systems use function printf for printing
console messages. This commits allows to define platform-specific
functions.
2019-02-04 13:56:00 +01:00
nakarlsson
037a629839
Fixed un-used parameter and variable warnings for EoE ( #248 )
...
Trivial fix, no review
2019-02-01 10:42:18 +01:00
nakarlsson
86a2584e47
Impelmented EoE filter function in mailbox receive ( #244 )
2019-01-31 14:57:16 +01:00
ArthurKetels
4427684cc5
ethercatconfig : Set SM enable flag if SM length > 0
2019-01-31 10:07:18 +01:00
Schlumpf
8f2b233837
Endian fixes ( #222 )
...
This patch fixes some bugs on big-endian systems.
- Use temp variables for etohs() and etohl() at function calls to avoid
multiple function calls for one value.
- Fix and add use of etohs(), etohl(), htoes() and htoel().
- Fix use of 32bit values in 64bit variables.
2018-11-14 11:56:57 +01:00
Zihan Chen
462464ee37
Fixed windows x64 warning C4267 conversion from size_t to uint16
2018-02-22 15:01:44 -08:00
rtlaka
2b339a135b
When broadcast read the state,it is OK if the WKC is higher
2018-02-02 08:27:19 +01:00
rtlaka
28d82fa8fd
Add functions to configure and send an overlapping IOmap
2018-02-01 13:01:35 +01:00
rtlaka
f329d2fc3a
Add check that all slaves are present
2018-01-31 10:18:56 +01:00
Nick Tsiogkas
3cc1e9739e
Integrate SOEM with RTEMS
2018-01-23 17:07:59 +01:00
mizoguch-ken
1903d1ff54
fix warnings and fix error ( #128 )
2017-09-18 08:06:12 +02:00
Hans-Erik Floryd
3daefaea61
Normalize line endings ( #126 )
...
* add .gitattributes
* normalize line-endings
2017-08-16 20:07:39 +02:00
Hans-Erik Floryd
0ece3165a0
name all exported structs ( #125 )
2017-08-15 19:02:00 +02:00
Hans-Erik Floryd
59a87a36c1
Merge pull request #112 from nakarlsson/master
...
Use only one config thread default, multiple threads is an advanced feature for people who know their system
2017-07-14 17:10:40 +02:00
nakarlsson
db5d3eb769
Use only one config thread default, multiple threads is an advanced feature for people who know their system
2017-06-01 06:42:13 +02:00
Mikael Heden
15e7748198
Move license information to LICENSE file ( #95 )
...
OK
2017-03-29 07:16:44 +02:00
Albert Hofkamp
6c37e949e0
Improve tutorial and documentation
2017-02-09 12:19:58 +01:00
Apollo3zehn
d7a3b608b3
- reset activation register in ecx_set_slaves_to_default
2016-12-19 12:05:55 +01:00
MagnaboscoL
c97e92e4ec
revert ecx_statecheck() to original
2016-10-25 20:25:10 +02:00
MagnaboscoAndrea
298397bcc3
improve both ecx_statecheck and ecx_readstate
...
- in ecx_statecheck only one iteration is done through the slave list if needed
- in ecx_readstate only one datagram is used if possible
2016-10-23 13:18:34 +02:00
Luca
3be652a0e0
Bug fix
2016-10-20 15:21:29 +02:00
Luca
47d2845861
tabs removes
2016-10-18 18:00:31 +02:00
Luca
74b76da668
fixed for pr
2016-10-18 17:54:58 +02:00
Luca
28927aab87
minor_improvement/ ecx_statecheck() improved
...
ecx_statecheck() when called with the first argument set to 0 automatically updates the state of all the slaves in the slavelist structure when possible,
2016-10-18 00:35:54 +02:00
nakarlsson
03601959b6
Make PDO CA access thread safe ( #51 )
2016-08-18 17:28:02 +02:00
stefan.poeter@cloud-automation.de
9cc335ef33
Refactored stack reset to ecx_clearindex.
2016-05-25 09:27:47 +02:00
stefan.poeter@cloud-automation.de
e4d625bf5a
Fixed grouping problem.
2016-05-23 11:50:19 +02:00
Jeffrey Gorchynski
44b7340c2c
Minor D.C. cleanup
...
- When enabling or disabling D.C., SOEM internal ec_slavet attributes
will be updated to reflect the new settings
- Changed CyclShift parameter to a signed integer to conform with the
rest of code
- Corrected some spelling mistakes
2016-03-29 12:03:38 -04:00
Mikael Heden
aaab1b38b1
Merge pull request #31 from hefloryd/master
...
Documentation fixes
2016-02-17 14:40:56 +01:00
Hans-Erik Floryd
07f4cd108d
Merge pull request #25 from mheden/master
...
Minor fixes
2016-02-17 14:28:59 +01:00
Mikael Heden
ec1cc7a4ed
Fix possible SM overwrite
2016-02-17 11:01:46 +01:00
Mikael Heden
918a6bad97
DC: change to EtherCAT epoch
2016-02-17 10:54:50 +01:00
Mikael Heden
82edc9a033
Fix type mismatches
2016-02-17 10:54:49 +01:00
Mikael Heden
59e2164410
Fix return value of ecx_writestate
2016-02-17 10:54:48 +01:00
Mikael Heden
d5fa11630d
Lowest state should not contain error flag
2016-02-17 10:54:48 +01:00