Tcp & Udp Control Port (# 8010) - FiveCo FMod-IPAXESCTRL User Manual

3 axes ethernet control board
Hide thumbs Also See for FMod-IPAXESCTRL:
Table of Contents

Advertisement

All manuals and user guides at all-guides.com
TCP & UDP Control port (# 8010)
Note: If you plan to configure all registers only using the onboard
Webpage, you can skip this section and go to Java-Applet section.
(The Java-Applet also uses this port to read and write the different
settings!)
Structure of each packet:
1) Function ID (2 bytes) ..........................................
2) Transaction ID (2 bytes).......................................
3) Length of the parameters (2 bytes).....................
4) Parameters (X Byte) ...........................................
5) Checksum (2 bytes) .............................................
Function ID
Transaction ID
Length of the parameters
Parameters
Checksum
This port is used to access the registers described in the
chapter "Registers management" of this manual.
TCP/IP works in big endian: most significant byte first,
followed by least significant byte(s). The access is done by
sending a packet, that follows a simple (6 byte header)
protocol.
The specific code for each function can be found on the
next page of this manual.
The user defines himself the values of the Transaction ID.
Normally
each
packet/transaction
request) should have a different ID (even if this is not
mandatory). When the FMod-IPAXESCTRL receives a
command/packet, it sends back an answer (at each
request). This answer contains the same Transaction ID
than the corresponding command previously sent. In that
way the user is able to check the execution of each
command.
This 2byte value corresponds to the length (in bytes) of
the next section of the packet (parameters only).
This part of the packet contains all the parameters (mainly
the data that are sent).
This 2 bytes value is the Check Sum of all the bytes of the
packet. (more information on next pages).
21 / 71
Code of the function that has to be executed.
Number that defines this packet
Number of the parameters+data bytes
Parameters + Data
Control Sum of packet's bytes
(communication
FMod-IPAXESCTRL User Manual v.1.1

Advertisement

Table of Contents
loading

Table of Contents