ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 27

Advertising
background image

Function

message

- post a message to the host computer (no timestamp)

Call Format

message(msgID, wParam, lParam) – posts a message without a
timestamp

Parameters

msgID – user-defined message ID
wParam, lParam – user’s message data (Unsigned integer type)

Example

message ( 0, a1.px, a2.px )

Function

messageex

- post a message to the host computer (with time stamp)

Call Format

messageex(msgID, wParam, lParam) – posts a time-stamped message

Parameters

msgID – user-defined message ID
wParam, lParam – user’s message data (Unsigned integer type)

Example

messageex( 0, a1.px, a2.px )

Function

name

-

get (or set) the logical device name

Call Format

name – gets the device name
name <device_name> - sets the device name

Return Value

Device name

Limitations

Terminal only

Function

nodeguard

set the nodeguard control period

Call Format

nodeguard(int <bus_number>,int <node number>,int<period>)
bus_number - CAN bus ID
node number – CAN node ID
period - the interval between nodeguard messages in milliseconds (0–to
cancel).

Example

nodeguard (0,1,500) – On CAN bus 0, sets the interval between
nodeguard messages arriving at CAN node 1 to 500 milliseconds.

Function

nodeinfo

gets the CAN node information

Call Format

nodeinfo(int <bus_number>,int < node number >)
bus_number - CAN bus ID
node number – CAN node ID

Limitations

Terminal only.

Example

nodeinfo(0,1)

Function

property

- gets the help text for the

motion object property

Call Format

? property

Limitations

Terminal only

Maestro

Software Manual

General and Motion Instructions

MAN-MASSW (Ver. Q)

4-8

Advertising