beautypg.com

10 upload sdo - 8 bit, 11 upload sdo - 16 bit, Upload sdo - 8 bit – ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 246: Upload sdo - 16 bit

background image

13.10

13.11

Maestro

Software Manual

Node DS301 Command Reference

MAN-MASSW (Ver. Q)

Upload SDO - 8 bit

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

Syntax:

data8 = .rsdo8(index, subindex)

Input Parameters:

index

CAN

object

index

subindex

– CAN object sub index

Return Value:

Integer with 8 bits SDO data.

Example:

int data

data = node1. rsdo8 (0x100B,0)

Upload SDO - 16 bit

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

Syntax:

data8 = .rsdo16(index, subindex)

Input Parameters:

index

CAN

object

index

subindex

– CAN object sub index

Return Value:

Integer with 16 bits SDO data.

Example:

int data

data = node1. rsdo16 (0x2040,0)

13-6