
Liquidew I.S. User Manual
42
97092 Issue 6, July 2022
APPENDIX B
Register Configuration A
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
A1: Unsigned Short. Range = 0...65535
A2: Unsigned Short /10. Range = 0...6553.5
A3: Unsigned Short /100. Range = 0...655.35
Conversion: float*x = unsigned integer
Unsigned integer/x = float
Or cast:
float value to read= ((float) (value))/x;
unsigned short value to write= (unsigned short) (value*x)
Register Configuration B
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
B1: Signed Short. Range -32768...+32767
B2: Signed Short /10. Range -3276.8...+3276.7
B3: Signed Short /100. Range -327.68...+327.67
Most languages will cast from one type to another
Values to write into register manually:
if value is a negative number: (value*x) +65536
if value is 0 or a positive number: value*x
e.g. for type B3
(-5.39*100) + 65536 = 64997
(2.01*100) = 201
Or Cast:
(unsigned short) (value*x)
Reading values from register manually:
If value in register is greater than 32767: (value-65536)/x
If value in register is less than or equal to 32767: value/x
e.g. for type B3
(64997-65536)/100 = -5.39
201/100 = 2.01
Or Cast:
((float) ((signed short)value))/x;
Содержание Liquidew I.S.
Страница 1: ...97092 Issue 6 July 2022 Liquidew I S Process Moisture Analyzer User Manual...
Страница 41: ...Liquidew I S User Manual Michell Instruments 33 APPENDIX A Appendix A Technical Specifications...
Страница 44: ...Liquidew I S User Manual 36 97092 Issue 6 July 2022 APPENDIX B Appendix B Serial Communications...
Страница 55: ...Liquidew I S User Manual Michell Instruments 47 APPENDIX C Appendix C Hazardous Area Certification...
Страница 58: ...Liquidew I S User Manual 50 97092 Issue 6 July 2022 APPENDIX D Appendix D System Drawings...
Страница 61: ...Liquidew I S User Manual Michell Instruments 53 APPENDIX E Appendix E Quality Recycling Warranty Information...
Страница 65: ...Liquidew I S User Manual Michell Instruments 57 NOTES...
Страница 66: ...http www michell com www ProcessSensing com...