CANopen:CAN SYNC SEPARATOR

From SoftMC-Wiki
Revision as of 14:41, 26 August 2014 by Lisa (talk | contribs) (Text replace - "Template:CANopen-Firmware-Functions" to "Template:CANopen Firmware Functions")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

See Also