
Function
rsauto
- get (or set) the RS-232 autorun parameter
Call Format
rsauto() – to get the current autorun parameter
rsauto(val) – to set the current autorun parameter
val can be 0 or1
Limitations
Terminal only
Example
rsauto(1) – allows the RS-232 bus to access the Command Interpreter
rsauto(0) – does not allow the RS-232 bus to access the Command
Interpreter
Function
save
- to save the values of all the global variables and arrays
Call Format
save()
Limitations
Program only
Function
staticip
– configures the Maestro Network parameters to work with
a static IP address
Call Format
staticip(ip_address, subnet_mask)
ip_address - new IP Address of Maestro device
subnet_mask - new Subnet Mask of Maestro device
Return Value
IP Address and Subnet Mask, Network configuration type,
Limitations
Terminal only. Restart (power off/on ) Maestro to apply Static IP
address.
Example
staticip (10.10.20.57, 255.255.255.0)
IPAddress: 10.10.20.57
SubnetMask: 255.255.255.0
EnableDHCP: 0
Function
sync
- begin sending SYNC messages to a CAN bus
Call Format
sync (int <bus_number>,float<sync_period>)
Parameters
<bus_number> - which CAN bus to send the SYNC messages to
<sync_period> - the value of the SYNC period, in milliseconds
Return Value
OK or FAILED: Error message
Example
sync(0,20) – for bus number 0 activate the send sync every 20
milliseconds.
Function
systime
- returns the system-defined time in milliseconds
Call Format
systime()
Function
systimex
- returns the CAN bus time in microseconds
Call Format
systimex()
Maestro Software Manual General and Motion Instructions
MAN-MASSW (Ver. Q)
4-10
Comentarios a estos manuales