TCP (Transmission Control Protocol) Command Examples
Example of Assigning a Variable
This is a TCP example of assigning a numeric value to a variable: a=400.
Output:
80 61 3D 34 30 30 20
Input:
31 31 30 35 0d
TCP Stream*
Prefix
Command
Response
Terminator
Output
80
61 3D 34 30 30
("a=400")
20
Input
N/A - See Input figure below
A table is provided to illustrate the parts of the byte sequence only. The byte sequence must be transmitted as a
stream of bytes shown in the Output/Input strings above the table (i.e., no pause or null for the blank cells).
Output:
Input:
The following figure shows the SmartMotor ACKnowledgement back to the PC/master.
However, it doesn't contain any data to respond to; it is just to keep the TCP connection alive.
Moog Animatics Class 6 SmartMotor™ Ethernet Serial Encapsulation Guide, Rev. B
Page 26 of 32
Summary of Contents for Smart Motor SM23166MT
Page 31: ......
Page 32: ...PN SC80100017 001 Rev B Ethernet Serial Encapsulation ...