RPT 301 User Manual | 13 |
3.3General Command Format
The instrument is controlled by a sequence of single letter commands. Some commands require one or more numeric values to follow the letter, the correct number of parameters must be sent with this type of command. All command fields must be separated by a comma. The instrument accepts
Single commands
Single commands should be of the form:
Command, P1, P2, ,Pn<CT>
Where, Command is a single ASCII character, P1 to Pn are numbers in
the form: | |
| or |
| |
| e.g. 123.456 or 1.23456E02 |
Example: |
|
Single Command
<CT> is the command terminator (CR or CRLF)
A,3<CR> selects
a,3<CRLF> has the same effect
Command Strings
Commands can be strung together with a separating semicolon. The whole command string is only interpreted and actioned when a valid terminator is received.
Example:
Multiple Commands (Command String)
1.O, PIN, address, baud, data bits, stop bits, parity, handshake; U, units; P, PIN, New PIN
Reply: None
This command string sets: port address (00), baud rate, units and new PIN.