Difference between revisions of "CANopen:CAN SYNC SEPARATOR"
m (Text replace - "CANOpen" to "CANopen") |
m (Text replace - "Template:CANopen-Firmware-Functions" to "Template:CANopen Firmware Functions") |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Template:CANopen | + | {{Template:CANopen Firmware Functions |
|DESCRIPTION= | |DESCRIPTION= |
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