MM4006
R
( % )
N e v v p o r t
3
e
m
3.4.1 C o m m a n d Syntax
Command format
yy — Controller address: 0 to 31.
Use the "yy" controller address only in RS-485 communication mode.
xx — Optional or required preceding.
AA — Command code.
nn — Parameter can be represented by:
• A value
or
• A n interrogation "?" (for certain commands);
O r
• A variable: $Ypp or $Saa (for certain commands).
pp [int]: value variable number
as [int]: String variable number
The general format of a command is a two character mnemonic (AA). Both
upper and lower case are accepted. Depending on the command, it could
also have optional o r required preceding ( x x ) and/or following (nn)
parameters.
Blank spaces
Blank spaces are allowed and ignored in any position, including inside a
numerical value. For the c l a r i t y of the program and m e m o r y saving
considerations, use blank spaces w i t h restraint. The following t w o
commands are equivalent:
2P A1.43 6
2PA1.436
but the first example is very confusing and uses more than twice the
memory.
Command line
Commands are executed line by line. A line can consist of one or a number
of commands. The controller will interpret the commands in the order they
are r e c e i v e d a n d t h e n t h e y a r e e x e c u t e d , u s u a l l y w i t h i n a f e w
microseconds. This means that commands issued on the same line are
executed significantly closer to each other than if they would be if issued
on separate lines. The maximum number of characters allowed on a
command line is 110.
.
1
7
o
t
AA nn
YY:
x x
NOTE
1 to 100
:
integers
101 to 120 : floats
1 to 8
:
strings
E
D
1
1
e
Mode
0
1
8
I En ION — 03/03