Modulo-10000 items, BCD register type, and concept data structures
- Last UpdatedAug 29, 2024
- 2 minute read
All the integer holding registers, 16- and 32-bit, signed and unsigned, and Modulo-10000 item types honor the configuration parameters Register type and Concept data structures.
When the Register type parameter is BCD and the Use Concept data structures (Longs) parameter is selected, the data is displayed in BCD and written to the PLC in the BCD format. In addition, data that takes up two registers (Longs), except Reals, is displayed and written in the Concept-data-structure format.
The same applies when the Register type parameter is Binary and the Use Concept data structures (Longs) parameter is selected; the data is displayed in Binary and written to the PLC in the Binary format. In addition, data that takes up two registers (Longs), except Reals, are displayed and written in the Concept-data-structure format.
When the Register type parameter is BCD and the Use Concept data structures (Longs) parameter is not selected, the data is displayed in BCD and written to the PLC in the BCD format. In addition, data that takes up two registers (Longs), except Reals, is displayed and written in the non-Concept-data-structure format.
The same applies when the Register type parameter is Binary and the Use Concept data structures (Longs) parameter is not selected; the data is displayed in Binary and written to the PLC in the Binary format. In addition, data that takes up two registers (Longs), except Reals, is displayed and written in the non-Concept-data-structure format.
The Concept-data-structure format implies that data is displayed and written the same way that the Concept program handles data.
Concept-data-structure format is where the data is displayed and written in the last-register-to-first-register
order.
For example:
When writing the value 2147483646 to the Modulo-10000 item 400001-400003, the value
21 is written first to register 400003, then the value 4748 is written to register
400002, and then the value 3646 is written to register 400001.
The non-Concept-data-structure format is the opposite of the Concept-data-structure
format.
The value 21 is written first to register 400001, then the value 4748 is written to
register 400002, and then the value 3646 is written to register 400003.
Modulo-10000 items can be displayed and written in the BCD and Binary formats. When the Modulo-10000 item occupies two registers, the maximum value that can be displayed and written is 99999999. When the Modulo-10000 item occupies three registers, the maximum value that can be displayed and written is 2147483646.
Warning messages are logged and the client value status is updated when data is clamped high when reading or writing data. Warning messages will also be displayed when the PLC data does not convert to BCD correctly.