The recommended method to configure TP100 is by using the Configuration Wizard available online at the following link.
[
{
"id": 1,
"enable": 1,
"name": "First_register",
"unit": "V",
"modbusType": 2,
"modbusAdr": 1,
"modbusRegister": 0,
"modbusCmdRead": 3,
"modbusCmdWrite": 6,
"bitPosition": 0,
"viewMin": 0,
"viewMax": 0,
"min": 0,
"max": 0,
"decimalNum": 0,
"readOnly": 0,
"alarm": 0,
"thresholdAlarm": 0,
"passwd": ""
},
{
"id": 20,
"enable": 1,
"name": "Last_register",
"unit": "mA",
"modbusType": 2,
"modbusAdr": 1,
"modbusRegister": 19,
"modbusCmdRead": 3,
"modbusCmdWrite": 6,
"bitPosition": 0,
"viewMin": 0,
"viewMax": 0,
"min": 0,
"max": 0,
"decimalNum": 0,
"readOnly": 0,
"alarm": 0,
"thresholdAlarm": 0,
"passwd": ""
}
]
There are several websites/tools available online to verify the correct formatting of a JSON file. However, the quickest method to obtain one compatible with TP100 is by connecting the device to your PC or by using the Configuration Wizard.
EXAMPLE
Any additional third variable (with “id”: 3) would be displayed on the third row, following the Totalizer variable.
Value to Enter | Variable Type | Tile Size | Minimum | Maximum |
---|---|---|---|---|
0 | 1bit - Boolean | Half (half row) | 0 | 1 |
1 | 8bit - Byte | Half (half row) | 0 | 255 |
2 | 16bit - Half signed | Half (half row) | -32768 | 32767 |
3 | 16bit - Half unsigned | Half (half row) | 0 | 65535 |
4 | 32bit - Int signed | Full (full row) | -2147483648 | 2147483648 |
5 | 32bit - Int unsigned | Full (full row) | 0 | 4294967295 |
6 | 32bit - Int signed inv | Full (full row) | -2147483648 | 2147483648 |
7 | 32bit - Int unsigned inv | Full (full row) | 0 | 4294967295 |
8 | 32bit - Float | Full (full row) | 0 | 4294967295 |
9 | 32bit - Float inv | Full (full row) | 0 | 4294967295 |
Further information about each variable type can be found in the dedicated chapter of the online configurator manual (3.2. Variable Type).
In the modbusCmdRead field, you can enter values corresponding to the decimal code of the Modbus read function to be used for accessing the register:
Value to Enter | Modbus Function |
---|---|
1 | 0x01 - Read Coil Status |
2 | 0x02 - Read Input Status |
3 | 0x03 - Read Holding Registers |
4 | 0x04 - Read Input Registers |
Further information about each read function can be found in the dedicated chapter of the online configurator manual (3.1.1. Read Functions).
In the modbusCmdWrite field, you can enter values corresponding to the decimal code of the Modbus write function to be used for modifying the value of a register:
Value to Enter | Modbus Function |
---|---|
5 | 0x05 - Force Single Coil |
6 | 0x06 - Preset Single Register |
15 | 0x15 - Force Multiple Coils |
16 | 0x16 - Preset Multiple Registers |
Further information about each write function can be found in the dedicated chapter of the online configurator manual (3.1.2. Write Functions).
Value to Enter | Alarm Condition |
---|---|
0 | No alarm |
1 | Alarm if equal to thresholdAlarm |
2 | Alarm if less than thresholdAlarm |
3 | Alarm if greater than thresholdAlarm |