Commit Graph

72 Commits

Author SHA1 Message Date
Florian Pose 9d733cb1a9 Renamed app_start_time to dc_ref_time; output via command-line tool. 2021-08-24 16:48:07 +02:00
Florian Pose 0b91af9bb2 Use SYNC0 + SYNC1 cycle times for cyclic start time generation. 2016-09-16 12:35:09 +02:00
Florian Pose 4d70145d53 merge 2016-01-22 13:09:43 +01:00
Florian Pose 0011332fd8 Typo. 2016-01-22 10:10:02 +01:00
Florian Pose 99418519bd Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
Dave Page f9dfaf3f9b Reduce frequency of DC Sync debug messages 2015-03-16 14:18:55 -04:00
Florian Pose 605d25eec9 Replaced all mangled hg keywords. 2012-09-06 14:17:21 +02:00
Florian Pose c84e2aa8c2 Always enable a sync manager, if there are registered PDOs conatined (and it
is not virtual)
2011-10-24 10:47:36 +02:00
Martin Troxler ae09c143c9 Reduced frame size when sending to mailbox, uses 2 datagrams. Enabled with configure option --enable-mboxframesize 2011-03-14 16:55:09 +01:00
Martin Troxler f405ebef0a fixed race condition when comparing datagram state
EC_DATAGRAM_QUEUED must be compared before EC_DATAGRAM_SENT because it might change in between
2011-03-14 16:08:25 +01:00
Martin Troxler fedec244d8 replaced injection_seq mechanism with fsm datagram queue 2010-12-16 09:49:17 +01:00
Martin Troxler ed04e7e886 Re-enabled waiting for clock synchronity before setting dc offsets. (changeset b0dcdfbd4238) 2010-11-26 11:23:19 +01:00
Martin Troxler a55d77d7ed merged 2010-10-18 10:45:07 +02:00
Florian Pose 26d4687d0e Added state parameter to ecrt_slave_config_idn(). 2010-06-06 22:40:22 +02:00
Florian Pose 6d354de9c0 Fixed format specifiers. 2010-05-20 12:46:09 +02:00
Martin Troxler d70f805a10 Disabled waiting for clock synchronity before setting dc offsets 2010-05-12 15:07:13 +02:00
Florian Pose 9c91630351 Write DC system time offsets right after slave scan / config change. Wait for DC clock discipline. 2010-05-06 11:42:52 +02:00
Florian Pose 62b722ab33 Improved syslog macros. 2010-05-03 18:07:57 +02:00
Florian Pose 68cbcacb95 Moved ABS() macro to globals. 2010-04-19 21:52:46 +02:00
Florian Pose 1a373c1c59 Use ec_datagram_zero() wherever possible. 2010-04-15 20:15:48 +02:00
Florian Pose 1aa6122534 Improved DC tome offset calculation:
- Only write time offset, if absolute difference to application time is
      more than 100 ms.
    - Separate handling for 32 bit and 64 bit time registers.
2010-03-29 18:04:17 +02:00
Florian Pose bf2bffdcf5 Added missing queue_external_datagram(); removed tabs. 2010-03-19 10:48:16 +01:00
Florian Pose 541a6e145c Fixed segfault - Initialize SoE request properly. 2010-03-07 23:08:07 +01:00
Florian Pose fc4ee4d699 Added ecrt_slave_config_idn() method to store SoE IDN configurations. 2010-03-05 18:05:35 +01:00
Florian Pose f5a2a4167d Introduced ec_datagram_print_state() method and used it at all places where
the datagram state is output.
2010-02-23 15:13:56 +01:00
Florian Pose c2cf92f9ec Fixed setting watchdog intervals. 2009-08-06 12:52:53 +00:00
Florian Pose 4f4ac6e4fa Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
Florian Pose 735f1efbc1 Removed unwanted tabulators. 2009-07-27 10:37:47 +00:00
Florian Pose 18d3eb982e Configure PDO sync managers even if no configuration has been applied. 2009-07-09 12:54:49 +00:00
Florian Pose 534c605e4f Fixed mailbox usage for slaves that do not provide sync manager
configurations.
2009-06-15 15:46:04 +00:00
Florian Pose 8e9761b1e2 Debugging output. 2009-05-07 12:25:10 +00:00
Florian Pose c39919e6cc Replaced ecrt_slave_config_dc_cycle_times() and ecrt_slave_config_dc_shift_times() by ecrt_slave_config_dc_sync_signals(). 2009-05-04 12:46:30 +00:00
Florian Pose 6935cbb247 Use application start time as a common reference for cyclic generation
start times.
2009-05-04 12:11:00 +00:00
Florian Pose 5401cb1a6d Set system time transmission delay during config. 2009-04-30 16:04:44 +00:00
Florian Pose 69da9e5524 Determine type of DC implementation (full or delay meas. only); update scan FSM graph. 2009-04-27 11:38:03 +00:00
Florian Pose 4b4dc8a5b5 DC shift time working. 2009-04-23 12:25:09 +00:00
Florian Pose 59a9094b2a Improved DC configuration. 2009-04-20 13:43:57 +00:00
Florian Pose 2395d3a876 Clear DC assignment after going to INIT. 2009-04-20 11:53:17 +00:00
Florian Pose 5ed436bb6a Minor changes. 2009-04-20 10:27:36 +00:00
Florian Pose 0dd5ec3567 DC sync reference clock to application time. TBC... 2009-04-09 18:21:18 +00:00
Florian Pose e3b1d8e573 DC cyclic operation and slave configuration. TBC... 2009-04-09 09:17:41 +00:00
Florian Pose 478a0f2a69 Warn if going to SAFEOP without configuration. 2009-03-19 08:44:48 +00:00
Florian Pose 12c12b1bab Improved and added license headers. 2009-02-24 12:51:39 +00:00
Florian Pose 6a5e90c4b1 Allow the slave to not respond to the mailbox sync manager configuration
datagram for a certain time.
2009-01-27 14:14:37 +00:00
Florian Pose d137632ae4 TODO. 2009-01-26 16:38:39 +00:00
Florian Pose 50abafdb1f Debug message. 2009-01-26 16:35:50 +00:00
Florian Pose fa17bbb5a8 Clear sync managers before configuration. 2009-01-26 16:01:13 +00:00
Florian Pose 40ee89a77f merge -c1621 branches/1.4-foe: Introduced configured_[tr]x_mailbox(size|offset) members of slave. 2009-01-26 13:28:19 +00:00
Florian Pose 5d4b915317 merge -c1619 branches/1.4-foe: Implemented going to bootstrap state BOOT. 2009-01-26 13:22:05 +00:00
Florian Pose 826ae37b26 merge -c1604 branches/stable-1.4: Fixed spelling of EtherCAT terms. 2009-01-26 11:45:30 +00:00