Tcp/Ip Communication - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
2.0
EDH0373En1023 — 01/18

TCP/IP Communication

XPS is based on a 10/100/1000 Base-T Ethernet communication link with TCP/IP
protocol and uses a web site as the Graphical User Interface (GUI) to access all the
software tools and an FTP server for file transfer. This makes the XPS controller
independent of the user's operating system. When networked, Unix, Linux or Windows
users can access the same controller from any place in the world for remote control,
code development, file transfer or diagnostics. The completely object oriented approach
of the XPS firmware with powerful, multi-parameter Functions (commands) is also
much more consistent and intuitive to use than old-style mnemonic commands.
To connect to the XPS controller you must open a socketThe XPS allows up to 100
open sockets with 30 sockets communicating simultaneously.
Each Function returns a complete or error code. If successful, the return is 0 (zero). In
case of an error, the returned error code can be used for diagnosing the.
The function call is blocked until a reply is sent by the XPS, or until the timeout value is
reached. Running several processes in parallel (for instance getting the position while a
stage is moving), several sockets can be used in parallel. When using the XPS controller
with programming languages that do not support multiple sockets, the timeout value of
the function can be set to a low value (20 ms), in that case you cannot capture errors.
When a communication ends with a time out fault, it could be caused by some
hardware failure or the timeout value is lower than the time needed by the
controller to execute the requested function.
For example, setting a timeout of one second and requesting a motion that requires
2 seconds will end with a timeout. In this situation the controller will continue the
move and when accomplished will send the response back to the host.
It is the host responsibility to take the appropriate actions to handle properly these
situations.
TCP / IP
2
Programmer's Manual
NOTE
XPS controller 2
XPS controller 1
QNX
TCP / IP
Kernel
MainController
WebServer
TCL
script
file
TCL
Task
TCL (API driver)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents