Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-97
System Parameters and Commands
Example 1:
Set the IP address for the Ethernet daughter board in slot 0.
ETHERNET(1,0,0,192,200,185,2)
Example 2:
Read the firmware version number in the Ethernet daughter board in slot 2.
ETHERNET(0,2,6)
EX
Type:
System Command
Description:
Software reset. Resets the controller as if it were being powered up again.
Note:
On
EX
the following actions occur:
• The global numbered (
VR
) variables remain in memory.
• The base axis array is reset to 0,1,2... on all processes
• Axis following errors are cleared
•Watchdog is set OFF
• Programs may be run depending on
POWER_UP
and
RUNTYPE
settings
• ALL axis parameters are reset.
function:
Function number must be one of the following values.
0 = IP Address
1 = Static(1) or dynamic(0) addressing. (Only static address-
ing is supported.)
2 = Subnet Mask
3 = MAC address
4 = Default Port Number (initialised to 23)
5 = Token Port Number (initialised to 3240)
6 = Ethernet daughter board firmware version (read only)
7 = Modbus TCP mode. Integer (0) or Floating point (1). (R)
8 = Default Gateway
9 = Data configuration. VR() variables (0) or TABLE (1). (R)
data:
The optional data is used when changing a parameter value.
When writing to the EPROM on the Ethernet daughter board,
the new value will only be used after power has been cycled
to the controller. Any data written to RAM (R) is used straight
away.