Using the Command and Response Table
The PCS4 can be controlled via either a Telnet connection (port 23) or a web browser connection (port 80). The ASCII commands listed in the tables perform the same functions, but they are encoded differently to meet the requirements of each port (Telnet or browser). The ASCII to hexadecimal (HEX) conversion table below is for use with the command and response tables.
ASCII to Hex Conversion Table
Space
•
Figure 36. ASCII to Hex Conversion Table
The command and response table lists valid ASCII (for Telnet) command codes, the corresponding URL (universal resource locator) encoded (for web browsers) command codes, the interface responses to the host, and a description of the command function or the results of executing the command.
•Upper- and lowercase characters can be used interchangeably in the command field unless otherwise specified.
•Commands may be sent
•Numbers can be entered as 1, 2, or 3 digits (for example, 8V = 08V = 008V).
•There are a few differences in how to enter the commands, depending on whether you are using Telnet or a web browser.
•When using these commands through a web browser, you can use the URL reference to shorten the examples. “URL” refers to the full address of the control interface and web page reference, including all path information (that is, http://192.168.100.10/myform.htm).
•To send any of the commands using a web browser you must prefix them with the full URL followed by ?cmd=.
•For control via a web browser, all
as %, +, and the space character must be encoded as hex bytes, or they will be misinterpreted by the interface.
•Some characters differ depending on the method you use to send the commands:
Telnet | Web Browser |
Escape (hex 1B) | W (must not be hex encoded) |
Carriage return (hex 0D) | Pipe character () (must not be hex encoded) |
NOTES: • With Telnet you can use either an Escape command or a W command, and the carriage return or the pipe character. With the web browser,
you are required to use a W command and the pipe character.
• In either method, Data = Data that will be directed to a specified port and must be hex encoded if
IPL T PCS4 • SIS Programming and Control 45