• MESSAGE FORMAT FROM INSTRUMENT
The format of a message as sent from the instrument in response to a command from the master device is the
following:
1. In case of commands that ask for transmission of a value (data request type):
One byte S0H of start of message [ASCII 01].
Two address bytes.
One byte STX of start of text [ASCII 02].
N bytes corresponding to the requested value (including the sign and decimal point).
One byte ETX of end of text [ASCII 03].
One control byte BCC calculated with the method described in page 92.
2. In case of commands that do not imply the return of a value (command type or changing parameter):
The instrument sends a confirmation when it receives a message.
If the message has been correctly received and interpreted, the response will consist of two address bytes and one
"ACK" [ASCII 06]
If the received message has not been well interpreted or it has been detected as to have errors, the response will be
two address bytes and a "NAK" [ASCII 21].
List of Commands
REQUEST OF DATA
ASCII
P
V
T
D
I
L1
L2
L3
L4
KOSMOS SERIE
SOH
D
d
STX
X .................. X
D
d
ACK
ISO
Information
0P
Peak value
0V
Valley value
0T
Tare value
0D
Display value
0I
Alarm "status" byte
L1
Setpoint 1 value
L2
Setpoint 2 value
L3
Setpoint 3 value
L4
Setpoint 4 value
Cards installed
Returns:
"04": RS2
"05": RS2, 2RE
"06": RS2, 4OP
"08": RS4
"09": RS4, 2RE
NB
"0:": RS4, 4 Setpoints(4RE, 4OP ó 4OPP)
"44": NMA or NMV, RS2
"45": NMA or NMV, RS2, 2RE
"46": NMA or NMV, RS2, 4 Setpoints(4RE, 4OP ó 4OPP)
"48": NMA or NMV, RS4
"49": NMA or NMV, RS4, 2RE
"4:": NMA or NMV, RS4, 4 Setpoints(4RE, 4OP ó 4OPP)
TT
Model + Version
www.ditel.es
ETX
BCC
or
D
d
NAK
MICRA-M
93