DC — distributed clocks
DC (Distributed Clocks) provides high-precision clock synchronization between slaves and is essential for coordinated multi-axis motion.
Feature overview
| Capability | Description |
|---|---|
| DcSyncMode drop-down | Four synchronization modes to choose from: FreeRun / SmSynchron / DcSynchron / DcSynchron01 |
| ESI detection | The tool detects DC capability from the ESI description automatically; slaves that support it have DC enabled by default |
| SYNC0/SYNC1 configuration | Set the cycle of each of the two synchronization signals separately |
| Phase shift | Set it manually, or let it be resolved automatically by precedence |
| Master clock drift compensation | When enabled, the master continuously compensates the drift between the master and slave clocks |
| Master clock time display | A 64-bit nanosecond count, refreshed in real time |
| Reference clock slave index | The slave currently chosen as the reference clock, shown in real time |
| Sync window monitoring | Watch the synchronization deviation statistics in real time |
| Propagation delay | Inspect the receive time of each port |
DC is standard: slaves with DC enabled automatically include the synchronization configuration in the generated code, with no box to tick.
Quick start
- Open the DC tab in the configuration tool
- Choose a mode from the DcSyncMode drop-down (the common choice is DcSynchron, SYNC0 single pulse)
- Set the SYNC0 cycle (for example 1 ms = 1000000 ns) and leave the phase shift empty so the tool computes it
- Enable DriftCompensation (master clock drift compensation) in the right-hand panel
- Check the Reference clock slave index and the Master clock time in the top status bar to confirm that a reference clock has been selected
- Switch to the SYNC monitoring panel and check that the synchronization deviation stays inside the allowed window
Synchronization modes
| Mode | Meaning |
|---|---|
| FreeRun | Free running; DC is not used |
| SmSynchron | Triggered by SyncManager; DC is not used |
| DcSynchron | DC SYNC0 synchronization |
| DcSynchron01 | DC SYNC0 + SYNC1 dual-signal synchronization |
Phase and propagation delay
The phase (shift) is the displacement of SYNC0 relative to the local cycle; it is resolved in a fixed order of precedence:
- The
ShiftTimeSync0declared in the ESI (used as-is when it is other than 0) - A phase entered explicitly by the user (
0and negative values both take effect as given) - The default: 1 × SYNC0 cycle + 70%
Propagation delay is not folded into the phase: the master measures it slave by slave and writes it to 0x0928 in the ESC, which applies the correction in hardware when it generates SYNC0.
Leaving the phase empty in the tool means not specified, and it is resolved by the three steps above; entering 0 is the literal 0 phase (SYNC0 falls on the cycle boundary) and does not fall back to 70%.
Sync window monitoring
The right-hand panel of the DC tab shows each slave's synchronization status in real time:
- InSync — whether the slave is inside the sync window (true/false)
- DiffNs — current deviation (ns)
- MinDiffNs / MaxDiffNs — smallest / largest deviation seen
- OutOfSyncCount — cumulative out-of-sync count
With DC enabled, switch to the Diagnostics tab → DC subpage to see the sync window summary across slaves.