Page 32
7.3
Commands
The communication between decade and computer consists of a flow of the two command types
command-response and query-response.
A command is always a letter followed by a parameter and ended by control sign <cr> or <lf>.
The response is always ended with the control signs “<cr><lf>”.
If an unknown command is received the 1427 returns the string "? <cr><lf>“. A correct executed
command is confirmed by the string "Ok <cr><lf>.
If a correct query is received the 1427 returns the response in the format described above.
All commands have to contain the sign <cr> or <lf> at the end. Both small and large letters can be used.
7.3.1 Syntax description
<DNPD>
Decimal Numeric Program Data, this format is used to express decimal number with or without exponent.
<CPD>
Character Program Data. Usually this format represents a group of alternative character parameters
e.g. {0 | 1 | 2 | 3}.
?
A flag indicating a request for the value of the parameter specified by the command. No other parameter
than the question mark can be used.
(?)
A flag indicating a request for the parameter specified by the command. This command permits a value to
be set as well as requested.
<cr>
„carriage return“. ASCII code 13. This code executes the program “line”.
<lf>
„line feed“. ASCII code 10. This code executes the program “line”.
Summary of Contents for 1427
Page 4: ...Page 4...