Difference between revisions of "CANopen:CAN SYNC SEPARATOR"
(Created page with "{{Template:CANOpen-Firmware-Functions |DESCRIPTION= softMC sends SYNC message immediately after its TXPDO. In some cases drive requires to allow some time between master TXPD...") |
m (Text replace - "Template:CANopen-Firmware-Functions" to "Template:CANopen Firmware Functions") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Template: | + | {{Template:CANopen Firmware Functions |
|DESCRIPTION= | |DESCRIPTION= | ||
Line 29: | Line 29: | ||
CAN_SYNC_SEPARATOR(1) ' 1 separating message between TXPDO and SYNC <br> | CAN_SYNC_SEPARATOR(1) ' 1 separating message between TXPDO and SYNC <br> | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[CANopen:CAN SYNC SEPARATOR COB|CAN_SYNC_SEPARATOR_COB]] |
− | * [[ | + | * [[CANopen:CAN SYNC SEPARATOR|CAN_SYNC_SEPARATOR]] |
− | * [[ | + | * [[CANopen:Configuration Example|Configuration_Example]] |
}} | }} |
Latest revision as of 14:41, 26 August 2014
softMC sends SYNC message immediately after its TXPDO. In some cases drive requires to allow some time between master TXPDO and SYNC.
it is possible to insert a number of dummy CAN messages between TXPDO and SYNC. By default controller sends 2 dummy separating messages.
Input
number: number of dummy separating messages sent between TXPDO and SYNC
0 - no separating messages
Output
None
Return Value
None
Declaration
import_c CAN_SYNC_SEPARATOR(byval as long)
Syntax
CAN_SYNC_SEPARATOR(<number>)
Exceptions
None
Examples
CAN_SYNC_SEPARATOR(0) ' no separating messages
CAN_SYNC_SEPARATOR(1) ' 1 separating message between TXPDO and SYNC