
B-2 Command Set
MN1276
Upon receiving a command, the controller answers by sending the function
parameter and variable list. General purpose commands are not prefixed. These
commands only consist of the command identifier and therefore need the general
structure
“Command Identifier” [“Delimiter”]“Parameter list” [CR]
With the non--prefixed commands, no delimiter is mandatory, but the blank space
can be inserted optional.
Parameters and Units
The parameters used within the ASCII commands are integers of different sizes:
INTEGER:
16 bit value ranged 8000.. 7FFF hex ( --2
15
.. +2
15
--1 dec. )
UNSIGNED INT:
16 bit value ranged 0.. FFFF hex (0..2
16
dec.)
LONG:
32 bit value ranged 80000000.. 7FFFFFFF hex ( --2
31
.. +2
31--1
dec.)
UNSIGNED LONG:
32 bit value ranged 0.. FFFFFFFF hex ( 0.. +2
32--1
dec.)
STRINGS:
Strings of ASCII characters (0 .. FF hex).
A string parameter is preceded and terminated with double quote character (
'
)!
Commands, which accept or require more than one parameter, use parameter lists
which are composed of the sequence of parameters necessary, with the delimiters
blank space or comma between.
The number of the parameter can be given as decimal value or as hexadecimal
value. Hexadecimal values are preceded by one or more 0--character (30 hex),
while decimal values are taken as default without indicator.
The ASCII command set description below, also shows the units of the parameters
respectively indicate parameters with no units. For best resolution within the
accepted range, the units of the parameters are not chosen according to SI, but
most of the units used are SI units multiplied with potentials of 10.
In some cases, units are related to system properties and can therefore not be
same for all applications. The following is an example of how to calculate Counts
and Limits, used with positioning and homing:
Resolver
max.
RPM Resolution
Counts/rev.
Limits
< 1500
216
216
"
229--1
< 6100
214
216
"
229--1
< 6100
212
216
"
229--1
Encoder
Pulses/rev.
Resolution
Counts/rev.
Limits
1000
4000
64000
225--1
1500
6000
48000
226--1
2000
8000
64000
226--1
2500
10000
40000
227--1
5000
20000
40000
228--1
6000
24000
48000
228--1
The resolution of all (Resolver or Encoder) is between
"
2
13
and
"
2
14
.