Detecting the Motors in SMI
1. Send the packet from your port 30718
2. Send this data:
l
Datagram length: four bytes
l
Content (from first to last): 0x00, 0x00, 0x00, 0xf6
Listen for response back to your port 30718:
1. Check that data length received is 30 bytes.
2. Check that the first four bytes (0-3) are:
0x00, 0x00, 0x00, 0xf7
3. For the remaining bytes:
l
Bytes 4-23 should all be 0
l
Bytes 24-29 represent the MAC ID of the motor
Detecting the Motors in SMI
When using the Detect Motors feature in SMI to detect the SmartMotor(s), they will be
detected as "Ethernet". Note the following:
l
The ability to change the SmartMotor IP address through the SMI menus and dialogs will
not function. However, you can use SMI software's Terminal window to issue commands
that set the IP address. See the SMI software's online help for details on the Terminal
window.
l
The SmartMotor "webpage" feature, also used to set the IP address, will not function.
Therefore, the IP address must be set through either:
l
The IP Control command (IPCTL), or
l
The SmartMotor's USB port
For details, refer to the following section.
Setting the IP Address
As mentioned previously, for Ethernet Serial Encapsulation on the SmartMotor, the IP address
can be either static or dynamic (DHCP). The default operation is dynamic addressing. For
applications requiring a fixed IP address, it must be set using the IP control command (IPCTL)
through either:
l
The Ethernet port, or
l
The SmartMotor's USB port
The IPCTL command allows you to change the IP address of the SmartMotor. The default
setting is "0.0.0.0" for IP address, subnet mask, and gateway disabled/automatic. Three
function codes (0, 1, and 2) are available for setting a specific IP address, a specific subnet
mask, and/or a specific gateway address, respectively. It uses the form:
IPCTL(function,"string")
Moog Animatics Class 6 SmartMotor™ Ethernet Serial Encapsulation Guide, Rev. B
Page 18 of 32
Summary of Contents for Smart Motor SM23166MT
Page 31: ......
Page 32: ...PN SC80100017 001 Rev B Ethernet Serial Encapsulation ...