32
MPS4232
Section 5: Software
The MPS4200 is a single user network server that supports connecons from a Telnet Client and Web Browser Client. The
operaon of a MPS module is controlled by sending commands to selected modules by network addressing via the network.
The MPS returns data or informaon over the network to the requesng client/host.
The MPS4200 also supports serial communicaon that can be used to set conguraon variables, diagnoscs and trouble-
shoong, or used when the MPS’s IP address is not known.
The secon on MPS Commands lists each command and explains its funcon.
The MPS soware must run as embedded soware on the MPS pressure scanner hardware. It performs the following
general tasks:
1. Read and lter the raw A/D counts that represent pressure and temperature.
2. Convert the pressure A/D counts to user chosen pressure units.
3. Receive and execute commands from the Ethernet link.
4. Allow conguraons to be saved through power down.
5. Output converted data, status, setup and calibraon data over the Ethernet Link.
6. Set the MPS Physical Ethernet Address (MAC Address).
7. Data transfer protocol to be TCP, UDP, or FTP.
8. Support the user in troubleshoong the MPS hardware and system.
TCP/IP does not guarantee that packet boundaries will be maintained between a host and a MPS module. Therefore, all
commands from a host must be terminated properly with one of four opons. The MPS will detect and adjust to the termi-
naon opon being used by a host.
The three opons are:
• CR (ASCII 13)
• LF-CR (ASCII 10 - ASCII 13)
• CR-LF (ASCII 13 - ASCII 10)
When a MPS module is not in “READY” mode, most commands are disabled or not accepted. Examples of when the MPS
module may not be in “READY” mode could be:
• During CALZ
• During SAVE
• While Scanning
The excepons to this rule are the commands STOP, STATUS, and TRIG. These commands will have a note listed in the
following secons if they are accepted when the MPS is not “READY.”
The maximum string length for commands sent to the MPS4200 is 79 characters. Any command received that is longer than
79 characters will be discarded and an error will be generated.
When a communicaons variable is modied, such as IP, MAC, Gateway, or NAME, the conguraon must be saved, and the
MPS4200 soware must be restarted in order for the changes to take eect.