
6
CARLO GAVAZZI
CONTROLS
SERIAL COMMUNICATION PROTOCOL
UDM - USC
V1 R1
Page
2 RAM VARIABLES MAP
2.1 VARIABLES MAP
Tab. 2-1
Word
ADDRESS
BYTE
VARIABLE
1 3001h 2 Measured value
2 3002h 2 Max value
3 3003h 2 Min value
4 3004h 2 Modules
5 3005h 2 I/O status
6 3006h 2 Firmware revision
NOTE:
- All the variables in this table are contiguous. It is possible to read the whole area with a
single command sending, in the request frame, 3001h as data address and 0006h as
number of words.
- The data are sent in 2-byte groups in the following order: MSB, LSB.
2.2 VARIABLES FORMAT
2.2.1 Measured, max and min values
The value of the measured, max and min are stored as a 2-byte (1 word) integer value with sign (2’s
complement).
The decimal point have to be set according to the Decimal Point word coding (see Tab. 3-10).
2.2.1.1 Reset of the Max and Min values
The value of max and min values can be reset by the following commands:
Max reset request frame (8 byte):
01h
06h
30h
02h
D8h
F1h
5Ch
8Fh
Min reset request frame (8 byte):
01h
06h
30h
03h
27h
0Fh
3Dh
3Fh
Comentarios a estos manuales