MMG
TQI-021/1
18
Info byte = item number
STATUS byte:
bit(7..4) =
0010
B
bit(3) = 1, if any of bits of item
000:
Err
is 1
bit(2) = 1, while batching is in progress
bit(1) = 1, while zero calibration is in progress
bit(0) =
0
STATUS
byte is followed by info bytes depending on the received command.
"V"
command: the identifier of the device
1. info byte:
00H
2 - 15. info byte:
"
cMASS v6.97
x
"
x
= version number of the device
16. info byte:
00H
"D"
command: the definition of the item
1.info byte:
number of the item
2.info byte:
item type designator:
= 1 :
one byte integer
= 2 :
selector
= 3 :
series of bits
= 4 :
character string
= 5 :
pointer
= 6 :
remote data
(floating point types:)
= 100 : proportion, unit: [%]
= 101 : number of pulses, unit: [imp]
= 102 : time, unit: [s]
= 103 : volume, unit: [m
3
]
= 104 : mass, unit: [kg]
= 105 : volumetric flow, unit: [m
3
/s]
= 106 : mass flow, unit: [kg/s]
= 107 : frequency, unit: [Hz]
= 110 : no unit: [-]
= 111 :
temperature, unit: [°C]
= 112 : (not used)
= 113 : density, unit: [g/l]
= 119 : voltage, unit: [V]
= 120 : angle, unit: [rad]
= 121 : resistance, unit: [
]
= 150 : relative, unit: [-]
= 151 : no unit .
3.info byte:
bits signing the right for modification
if the value is 0, the item is read only
4,5,6.info byte: three characters identifier
The identifier appearing on the display with the difference that
the info bytes contain underline (_) characters instead of
space
From 7. info byte...
- In case the item type is selector (2) then from the 7. info
byte the character string of pattern text give the meaning of
each data. The patterns are separated by character "$"
and at the end of the string is 00H byte.
The 7. info byte contains the first character of the string
dedicated to the 00 value of the item.
- in case of bit string (3) type item then the 7 - 14. info bytes
contain the eight characters dedicated to the bits. 7th . info
byte contains the character code dedicated to the most
significant bit.