Sockets; Terminator, Status Byte, And Overload Byte - Ametek 7124 Instruction Manual

Precision lock-in amplifier
Table of Contents

Advertisement

Chapter 6, COMPUTER OPERATION

6.5.04 Sockets

6.5.05 Terminator, Status Byte, and Overload Byte

6-8
The instrument normally accepts commands sent to socket 50000 or socket 50001 on
its IP address. Any response is sent back to the IP address from which the initiating
command was sent.
Clearly, if an instrument is present on a large network then it is possible that several
users may accidentally try to control the same instrument. To prevent this it is
possible to use the Ethernet Settings menu to specify a single IP address, that of the
controlling computer, which then becomes the only one from which commands will
be accepted.
Commands sent to the instrument over the Ethernet interface should be terminated
with a null character (ASCII 0).
Responses from the instrument consist of a string that is terminated with one or three
bytes, depending on which socket the command was sent to.
In the case of commands sent to socket 50000 then three bytes are returned, in the
following order:
1) A null character (ASCII 0)
2) A byte representing the value of the Status Byte (table 6-1)
3) A byte representing the value of the Overload Byte (table 6-1)
In the case of commands sent to socket 50001 then one byte is returned, as follows:
Figure 6-1, Built-in Home Page

Advertisement

Table of Contents
loading

Table of Contents