beautypg.com

ElmoMC Multi-Axis Motion Controller-Maestro User Manual

Page 25

background image

Function

hbperiod

-

set heartbeat control period

Call Format

hbperiod(int ,int)

Parameters

- the CAN bus number to use to send heartbeat
messages
- the interval between heartbeat messages in milliseconds (0–
for cancel).

Return Value

OK or FAILED: Error message

Example

hbperiod(0,1000) – the system uses bus number 0 to send a heartbeat
message every 1000 ms.


Function

hbrem

-

remove the node from heartbeat control

Call Format

hbrem(int ,int)

Parameters

- CAN bus number
- the CAN node number of the node to remove from
heartbeat control

Return Value

OK or FAILED: Error message

Example

hbrem(0,1)

– on CAN bus 0, remove node 1 from heartbeat control

Function

ipconfig

display the current network configuration type, IP address

and subnet mask

Call Format

ipconfig

Return Value

Displays the network configuration type, IP address and subnet mask

Limitations

Terminal only

Example

ipconfig
EnableDHCP: 1
DhcpIPAddress: 10.10.20.57
DhcpSubnetMask: 255.255.255.0

Function

isok

-

verify the Maestro Multi-Axis Controller status

Call Format

Isok

Return Value

OK: Ok FAILED: Error message

Limitations

Terminal only

Function

kill

- kill all programs

Call Format

Kill

Return Value

OK: the number of killed programs, or FAILED: Error message

Limitations

Terminal only

Maestro

Software Manual

General and Motion Instructions

MAN-MASSW (Ver. Q)

4-6