An optional CANopen SYNC counter gives consumers an explicit cycle number. Its configured overflow value determines when the one-byte count wraps back to one. That helps group synchronous PDO activity, but the counter is not a timestamp, stopwatch, or measurement of CAN-bus delay.
Reading counter differences as elapsed time hides arbitration, producer jitter, clock drift, and missed frames. The cycle label and the physical arrival time must be recorded separately.
What the counter represents
The SYNC producer periodically transmits the synchronization object. In CANopen CC the default identifier is 80h. A basic SYNC can have no data; implementations supporting the counter option can include a one-byte current cycle value.
CAN in Automation documents an initial count of one. The producer increments the value for each SYNC transmission. Object 1019h configures the maximum; after the maximum, the next transmitted count is one. Consumers can use the value with a TPDO SYNC start value to create an explicit relationship between cycle number and synchronous PDO transmission.
The sequence 1, 2, 3, 4, 1 is therefore an ordinal pattern when overflow is four. It does not say that the four intervals were equal or that a frame labeled four experienced more latency than a frame labeled two.
Keep period and counter separate
The communication cycle period defines the intended spacing of SYNC production. The counter labels the cycles. A network capture should store both the received count and the hardware or host timestamp.
If a nominal period is 10 milliseconds, count three is expected three cycles after count one, subject to start and wrap interpretation. Actual elapsed time comes from timestamps. Producer scheduling, transmission queues, arbitration, error recovery, and capture-clock accuracy can alter the observed interval.
A consumer that only records count values cannot calculate one-way latency because it lacks the producer's transmission time and a synchronized time base. Even with producer timestamps from another source, clock offset and capture location must be addressed.
Use modular sequence arithmetic
At wrap, a numerically smaller value can be the correct next cycle. Configure the expected maximum and evaluate progression modulo that range.
For an overflow value of four, the transition 4 to 1 is normal. The transition 2 to 4 may indicate a missed SYNC, a capture loss, a consumer that was not scheduled, or producer behavior that needs investigation. A repeated value can indicate duplication, capture artifacts, or a restart, depending on system evidence.
Do not subtract raw unsigned values across a wrap. Convert each observation into a modular sequence delta and retain a separate epoch or restart marker if the application needs a monotonic cycle index.
Detect restart and state changes
The CANopen FD SYNC description states that the counter resets to one when the device leaves NMT stopped. Other resets and configuration changes can also affect the observed sequence according to the device and profile.
Pair counter discontinuities with heartbeat, boot-up, NMT commands, configuration logs, and producer identity. A one after four is normal wrap; a one after two may reflect a restart or a capture gap. The value alone cannot distinguish them.
Verify all consumers share the contract
Every synchronous participant must agree on identifier, presence of the counter byte, overflow value, communication cycle period, and any SYNC start values. A consumer expecting an empty SYNC frame cannot interpret a counter without compatible configuration.
Record the released object-dictionary settings from the actual producer and each consumer. Do not infer support merely because a configuration tool displays the parameter.
Test cycle grouping
Configure a small overflow value in a bench network where supported. Capture several wraps and verify the exact count sequence. Associate synchronous TPDO transmissions with the specified cycle or start value and confirm that each consumer acts on the intended groups.
Then suppress one SYNC frame at the consumer or remove it from the capture. The sequence gap should be detectable, but the resulting device action is profile- and application-specific. Verify whether the consumer holds outputs, raises an error, continues, or resynchronizes.
Repeat with a late SYNC that still carries the expected next count. The ordinal sequence remains correct while the timestamp reveals the timing fault. This test demonstrates why both dimensions are required.
Measure jitter and latency correctly
For period jitter, timestamp consecutive SYNC frames at a defined observation point and compare intervals with the declared communication cycle period. State the clock source and capture resolution.
For bus access delay, instrument the producer's request-to-transmit time and actual start-of-frame time. CAN arbitration and higher-priority traffic affect that path. A downstream capture alone cannot reconstruct the producer queue.
For consumer reaction delay, timestamp frame reception, PDO processing, application task execution, and physical output. These stages can be longer than bus transmission and are not encoded in the counter.
Plan bus load around grouped PDOs
Cycle labels can intentionally distribute synchronous TPDOs across different SYNC counts. This can reduce bursts when not every device transmits in every cycle. Model the actual group membership and identifiers.
A counter plan that looks balanced by frame count may still create arbitration hot spots if high-priority frames cluster or if asynchronous EMCY and SDO traffic overlaps. Validate under representative traffic and error recovery.
Avoid timekeeping claims
The SYNC counter is not the CANopen TIME protocol and does not provide time of day. It also does not establish UTC traceability or synchronize oscillator phase by itself. It coordinates application events around received SYNC messages.
If the robot needs traceable timestamps, use a defined time-synchronization architecture and verify its accuracy. Keep that evidence separate from cycle-number continuity.
State results precisely
A defensible report says that a named producer emitted the configured counter sequence, consumers associated PDO actions with specified counts, and measured timestamps met stated jitter and reaction bounds. It does not call counter value a latency measurement.
The optional counter makes synchronous cycles easier to identify. Object 1019h defines the wrap pattern. Only timestamps and instrumentation can show how long transmission and reaction actually took.