![Spectris Particle Measuring Systems LiQuilaz II E Скачать руководство пользователя страница 71](http://html.mh-extra.com/html/spectris/particle-measuring-systems-liquilaz-ii-e/particle-measuring-systems-liquilaz-ii-e_operation-manual_1344043071.webp)
Page C-16
LiQuilaz II E and S Operations Manual
Appendix C Modbus TCP Protocol
Processing of 32-bit Register Value
Some parameters such as particle counts are 32 bit values. Modbus does not natively
support 32 bit data; however, it is common in industry to use two 16 bit registers to
create a single 32 bit value. Here are two methods for doing this:
• Add the value as two unsigned numbers.
Example:
[32-Bit Unsigned Reg] = [16 Bit Low Unsigned] + 65536 * [ 16 Bit High Unsigned]
• Use arithmetic OR and left- shift operation.
Example:
[32-Bit Unsigned Reg] =
([16 Bit High Unsigned] << 16-bit left-shift)
{arithmetic OR} [16 Bit Low Unsigned]
Never combine the values as signed integers or floating point value. If the final value is
signed, convert the 32-Bit Unsigned value to a 32-Bit signed value after combining the
unsigned 16 bit values. If the final value is a floating point value, interpret the final 32-
Bit value as floating point after combining the numbers as unsigned 16 bit integers.
Содержание Particle Measuring Systems LiQuilaz II E
Страница 9: ...viii LiQuilaz II E and S Operations Manual This page is intentionally left blank ...
Страница 15: ...Page 1 4 LiQuilaz II E and S Operations Manual Chapter 1 Getting Started This page is intentionally left blank ...
Страница 105: ...Page H 2 LiQuilaz II E and S Operations Manual Appendix H 㦘㹡㒥㦘 䤓䓸德 侯 This page is intentionally left blank ...