I faced a new parameter for synchronization in CANopen: Synchronous Counter Overflow.
Synchronous Counter Overflow
The synchronous counter overflow object is an object dictionary entry that defines the maximum value of the SYNC counter.
The SYNC counter is an optional part of an SYNC message.
You can enable the SYNC counter by specifying a non-zero value to the synchronous counter overflow object.
The SYNC counter value starts from 1 and increases by 1 with each SYNC message.
An SYNC cycle is the time period between the time when the SYNC counter value is 1 and the time when the SYNC counter value reaches the synchronous counter overflow value.
At the end of an SYNC cycle, the device sends out the SYNC message with a counter value that equals the synchronous counter overflow value.
The device then resets the SYNC counter value to 1 for the next SYNC message.
The next SYNC message starts another SYNC cycle.
Use the synchronous counter overflow object to ensure periodic SYNC events occur in SYNC cycles with the same SYNC counter value.
You can use specific SYNC counter values to trigger multiple periodic SYNC events.
For example, you can set the periods of event A and event B to 3 and the period of event C to 4. You then set the synchronous counter overflow to 12.
When you execute the application, event A and event B occur when the SYNC counter is 3, 6, 9, and 12. Event C occurs when the SYNC counter is 4, 8, and 12.
I know that we can set this object in command 0x1019 to count SYNC messages, and of course, a maximum is set for it, but I don't understand why this is used.