Difference between revisions of "CANopen:CAN SYNC SEPARATOR"

From SoftMC-Wiki
Jump to: navigation, search
m (Lisa moved page CANOpen:CAN SYNC SEPARATOR to CANopen:CAN SYNC SEPARATOR: correction of CANopen)
m (Text replace - "Template:CANopen-Firmware-Functions" to "Template:CANopen Firmware Functions")
 
Line 1: Line 1:
{{Template:CANopen-Firmware-Functions
+
{{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

See Also