phone: +49 (3641) 66880 • fax: +49 (3641) 668866 • [email protected] • http://www.piezojena.com
Drawings
20
8.3 Power Supply Connector
The nano box USB needs 24V DC and a power supply that provides a current of 1A is recommended. The
2.1mm barrel connector has the following layout. A wide range power supply adapter (100 ... 240V AC) is
included in the shipment
.
9 Appendix
9.1 Command Description
General definitions:
·
LF is a single line feed character (ASCII 10).
·
CRLF is a single carriage return character (ASCII 13) followed by a single line feed character (ASCII 10).
·
A request is terminated by LF. The command interpretation starts after receiving the terminating LF.
·
A response is terminated by CRLF.
·
Command identifiers are case-sensitive.
·
Command identifiers and parameters/values are separated by comma (",").
·
If the request is not a query then the response is "ok" on success and "nok" on failure.
·
If the request is a query then the response is the command identifier followed by the queried values on
success and "nok" on failure.
·
If the nano box USB receives the empty request (only a single LF) then the response is "nanobox>".
Command-independent errors:
The command interpretation starts with parsing the request into the command identifier and the parameters.
The following errors will be detected, result in a response that is "nok" and are not mentioned in the
command-specific descriptions:
·
error-bit 24
- Command identifier too long
·
error-bit 25
- Too many parameters
·
error-bit 26
- Parameter too long
If a command identifier is not defined then the response is "command not found".
Command-specific errors:
The next step of the command interpretation is the command-specific evaluation of the parameters. If an error
is detected then no changes are made to the flow of execution nor to the EEPROM. The following errors will
be detected, result in a response that is "nok" and are described further in the command-specific descriptions:
·
error-bit 27
- No parameter expected
·
error-bit 28
- Parameter count mismatch
·
error-bit 29
- Parameter out of range
·
error-bit 30
- Floating point format violation
·
error-bit 31
- Integer format violation
Data types:
The following data types are used: