37
6. RS-232 Command
6-1. RS-232 command introduction
6-1-1. RS-232 command:
Command format:
This unit uses high-level language commands with a CR (0DH) and LF (0AH) as
the end of the command.
The system would interpret and execute the command only after these two
characters are received. After the unit execute the command, it would send a
response string to the computer. The response string is as follows:
= > CR LF:Command executed successfully ? > CR LF:Command error, not
accepted ! > CR LF:Command correct but execution error (e.g. parameters out
of range).
If the command needs any information from the unit, the unit would send the
information back to the computer (with CR and LF) and then send the response
string to the computer.
6-1-2. RS-232 Command format:
This unit supports the following command format.
There should always be a CR (0DH) and a LF (0AH) appended to the command
while sending the command to this unit.
Table 27. RS-232 command table
Note:A space (ASCII code 20H) is needed between Power and <value>
Example:Command to query the Functions No:Format:FUNC?
After “Enter”, the unit’s “Function Code” appears on the PC screen
6-1-3. Command for accessing Setup Menus and adjusting values: