beautypg.com

12 upload sdo - 32 bit, 13 heartbeat handling, Upload sdo - 32 bit – ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 247: Heartbeat handling

background image

13.12

13.13

Maestro

Software Manual

Node DS301 Command Reference

MAN-MASSW (Ver. Q)

Upload SDO - 32 bit

This function implements SDO upload data (32 bits) from the CAN node.

Syntax:

data8 = .rsdo32(index, subindex)

Input Parameters:

index

CAN

object

index

subindex

– CAN object sub index

Return Value:

Integer with 32 bits SDO data.

Example:

int data

data

=

node1.

rsdo32 (0x1000,0)

Heartbeat Handling

This function is common to other protocols besides DS301. See section 5.6.3 Callback
(interrupt) Functions.

13-7