Mask View - SYNC Settings

Kind of Sync
General SYNC Settings

Kind of Sync

This setting specifies the used SYNC services and the default value of object 0x1005 as follow:

Kind of Sync Default Value
of bit 30
active compiler define
Producer 1 CONFIG_SYNC_PRODUCER
Consumer 0 CONFIG_SYNC_CONSUMER
Enable both services unchanged CONFIG_SYNC_PRODUCER and CONFIG_SYNC_CONSUMER

If the SYNC Producer and SYNC Consumer service are used the default value of object 0x1005 can be set about tab Structure.
Please note, that any change of the default value does NOT change the Kind of Sync.

General SYNC Settings

- Enable User Function after SYNC Message - CONFIG_SYNC_CMD -
This setting activates the compiler define CONFIG_SYNC_CMD, so that the indication function syncCommand is called at the receiving of the SYNC message. The indication function is called after the RPDO data is written into the object dictionary or after TPDOs has been transmitted.

- Enable User Function immediately at SYNC Message - CONFIG_SYNC_PRE_CMD -
This setting activates the compiler define CONFIG_SYNC_PRE_CMD, so that the indication function syncPreCommand is called at the receiving of the SYNC message. The indication function is called immediately after the reception of the SYNC message and before the RPDO data is written into the object dictionary or before TPDOs has been transmitted.

For detailed information please have a look into the user manual of the CANopen Library.



Copyright port GmbH