Laser beta lasermike LS8000-3 Manuale Utente

Pagina di 221
LaserSpeed 8000-3 Instruction Handbook
 
Ethernet Communication 
 
 
Part No. 93463 / Drawing No. 0921-01561 
Page 173 of 221 
Revision A (Sep 2007) 
TCP Communications 
The LS8000-3 accepts TCP (Transfer Control Protocol) connections on port 23 
(Telnet) and port 1002.  The Telnet port (Port 23) can be used by a telnet 
client such as the one included with Windows to manually type commands.  
On this port, commands can be sent a single character at a time, and must be 
terminated with a carriage return.  Port 1002 is designed to interface to a 
computer or PLC.  This port accepts whole commands (not a single character 
at a time) and does not require a carriage return at the end of each command. 
The commands entered on the Telnet port are identical to the RS-232/RS-422 
commands.  See the 
Communication Protocol
 section for a complete listing of 
commands. 
UDP Communications 
UDP is a connectionless protocol that has much less overhead than TCP.  
This allows a much higher data rate for measurements.  There are two ports 
used in UDP communications, ports 1001 and 1002.  Port 1001 is used to 
receive commands and send responses to commands, and port 1002 is used 
to send real-time measurement data. 
The destination port for UDP messages (responses or real-time data) from the 
LS8000-3 is the same as the source port of the message that initiated the 
response.  All responses to commands, such as responses to settings request 
messages, are received on and sent from port 1001.  All real-time data is sent 
from port 1002.  This separation allows you to create two separate sockets on 
the host, one socket to send and receive commands, and a separate socket to 
receive real-time data.