EnBOX User’s Manual
Software Commands
19
2.3
Command description
2.3.1
GET Command
The purpose of the GET command is to read back a single snapshot of the
values for the active channels. The “G
\r\n
” command is a useful shortcut fully
equivalent to the “GET:?
\r\n
” command.
Get will return “GET:” string and two decimal numbers, separated by colon
(“:”) which represent encoder counts. In case of absolute encoders this are values read
from the encoders, in case of relative encoders this are values of accumulators.
The data returned from GET command is dependent on ENC_SEL value.
Examples:
GET example:
GET:?
\r\n
GET
:
10027
:
20218
\r\n
or:
G
\r\n
GET
:
10027
:
20218
\r\n