Ethernet Serial Encapsulation Description
Ethernet Serial Encapsulation Description
Ethernet Serial Encapsulation is a protocol developed by Moog Animatics that allows host
software, such as SMI, to communicate via serial commands over Ethernet. The Moog
Animatics Class 6 EtherNet/IP (EIP) SmartMotor supports communication with a PLC, HMI, or
other host device over Ethernet.
Unlike Modbus RTU serial communication, the OCHN command is not needed or used for
Ethernet Serial Encapsulation communication. In fact, once the motors are connected to the
Ethernet network, they will be able to communicate with the Ethernet Serial Encapsulation
master if DHCP is used, or they will simply need a static IP address if DHCP is not being used.
TCP Port
There is a single instance of the TCP port that acts like a serial command parser. Note that a
second concurrent attempt to connect will be rejected. However, if the first connection is
closed by the client, then the motor will accept another connection.
CAUTION:
There is no security check or other method available to disable the
TCP port. Therefore, the network is assumed to be "friendly" (i.e., secure,
ready and safe to connect to).
TCP Port 10001
The TCP port uses ASCII commands to create a "pipeline" to the same handling as a serial
port, as follows:
l
Prepend with a byte of the value: 0x80
l
Terminate with a byte of the value: 0x20 (a space)
l
Responses terminate with 0x0d
Example:
l
Command: 0x80RPA0x20 = "0x80RPA " (note there is a space at the end).
l
Response: 102330x0d = the number 10233 with the byte value 0x0d at the end.
UDP Port
Optionally, and unrelated to the TCP connection, a broadcast to port 30718 over UDP can be
used to discover the SmartMotor(s).
UDP port 30718
Send a UDP packet broadcast:
To address 255.255.255.255, port 30718 with the BCAST flag:
Moog Animatics Class 6 SmartMotor™ Ethernet Serial Encapsulation Guide, Rev. B
Page 17 of 32
Содержание Smart Motor SM23166MT
Страница 31: ......
Страница 32: ...PN SC80100017 001 Rev B Ethernet Serial Encapsulation ...