Modulo-10000 point item names
- Last UpdatedAug 29, 2024
- 1 minute read
The MBTCP OI Server uses the Modulo-10000 Points naming convention, where the item name is two registers separated by a dash, with no spaces and no letters following the registers.
Two or three consecutive registers may be interpreted as a single numeric quantity, and each of the component registers must be in the range of 0-9999.
|
Item Name |
Description |
|---|---|
|
400001-400002 |
Can represent numbers between 0 and 99,999,999. |
|
400005-400007 |
Can represent numbers between 0 and 2,147,483,646. |
-
When grouping three consecutive registers for interpretation as a single numeric quantity, overflow becomes a possibility.
-
The largest number that may be represented in the PLC with three consecutive Modulo-10000 registers is 999,999,999,999; however, the largest number that can be contained in an integer-type variable is 2,147,483,647. The latter number is used by the OI Server to represent an overflow condition.
-
Therefore, the maximum usable value represented in three Modulo-10000 registers is 2,147,483,646 or (<21><4748><3646>). Any number larger than this will be clamped at 2,147,483,647.