ASCII Programming
MI3 Rev. G Nov/2015 117
Setting a parameter (Poll Mode)
The parameter will be stored into the device EEPROM.
E=0.975<CR> “E“ is the parameter to be set
“=“ is the command for “set a parameter“
“0.975“ is the value for the parameter
<CR> (carriage return, 0Dh) is closing the request
Remark: It is possible to close with <CR> <LF>, 0Dh, 0Ah, but not necessary.
Device response format:
!E0.975<CR><LF> “!“ is the parameter for “Answer“
“E“ is the parameter
“0.975“ is the value for the parameter
<CR> <LF> (0Dh 0Ah) is closing the answer.
Error message
*Syntax Error “*“ is the character for “Error“
18.3 Addressing
The communication boxes support up to 8 heads. To direct a command to one head among the 8
possible, it is necessary to “address” the head command. Therefore, a number between 1 and 8 is set
prior to the head command.
Up to 32 communication boxes can be connected within an RS485 network. To direct a command to
one box among the 32 possible, it is necessary to „address“ a command. Therefore, a 3-digit number is
set prior the box command.
The common command structure to address heads and boxes is described as the following:
Requesting a parameter
[BOX_ADDRESS]?[HEAD_ADDRESS]COMMAND
Setting a parameter
[BOX_ADDRESS][HEAD_ADDRESS]COMMAND=VALUE
Device response
[BOX_ADDRESS]![HEAD_ADDRESS]COMMANDVALUE
Where:
[BOX_ADDRESS] can be:
1. NOT PRESENT (in case of a system with one or multiple heads connected to a single box).
The command acts on the single box.
2. 0XX (in case of a system with one or multiple heads connected to multiple boxes), where XX
can be from 01 up to 32 as box address.
3. 000 (in case of a system with one or multiple heads connected to multiple boxes), “all-call”
address for all boxes, only for setting parameters (no requests)
[HEAD_ADDRESS] can be:
1. NOT PRESENT (in case of a system with one or multiple heads connected to a single or
multiple boxes). The command acts on the head #1.
2. X, where X can be from 1 up to 8 as address of a head. The command acts on the head #X.
3. NOT PRESENT (in case if a command acts on the box only and not on the head)
e.g. ?XR (system with one box) or 002?XR (multiple boxes, box #2).