...
' Modbus datapoint configuration file
' DeviceName;ModbusType;Address;SubDataType;Size;Description;PollingInterval;Persistent;Historical;Synchronize; Wordswap;DWordswap;Bitswap
ModbusController1;discrete input;12416;bool;1;DI 1;10;F;F;F;F;T;F
ModbusController1;coil;12417;bool;1;DO 1;10;F;F;F;;;;;
ModbusController1;input register;12418;uint16;1;AI 1;10;F;F;F;F;;;;;
ModbusController1;holding register;12419;uint16;1;AO 1;10;F;F;F;F;;;;;
Each line – except comment lines that start with ' – defines a single Modbus datapoint.
Parameter | Description | ||
---|---|---|---|
1 | DeviceName | This attribute refers to the name of the device which holds the datapoint. This name must match the device name used in the Modbus device configuration. | |
2 | ModbusType | This parameter refers to the datapoint type. | |
3 | Address | This attribute defines the memory address of the Modbus datapoint. | |
4 | SubDataType | This identifier specifies the data type of Server Item that shall represent the Modbus datapoint. | |
5 | Size | This identifier specifies the size of the Modbus datapoint (only considered if DataType is set to "string" or "wstring". | |
6 | Description | This attribute can be used to specify a human-readable text that further describes the datapoint. | |
7 | PollingInterval | This parameter specifies the interval that is used to poll the value of the datapoint. | |
8 | Persistent | This parameter specifies whether the value of the datapoint is persistent (restored from the database after server start up ) or not. | |
9 | Historical | This parameter specifies whether historical values of the datapoint are stored within the database or not. | |
10 | Synchronize | If this parameter is set to "T", the value is synchronized between the main and backup server (if present). This will work only if synchronize is enabled in the NMESH configuration of the NETx BMS Core Server. | |
11 | Wordswap | This parameter can be used to overwrite the Word Swap parameter of the Modbus device. If this parameter is set to "T" ("TRUE") or "F" ("FALSE"), the word swapping for this datapoint is overwritten. If this parameter is empty (or set to a value unequal to "T" or "F"), the word swapping specified in the device definition is used. | |
12 | DWordswap | This parameter can be used to overwrite the Double Word Swap parameter of the Modbus device. If this parameter is set to "T" ("TRUE") or "F" ("FALSE"), the double word swapping for this datapoint is overwritten. If this parameter is empty (or set to a value unequal to "T" or "F"), the double word swapping specified in the device definition is used. | |
13 | Bitswap | This parameter can be used to overwrite the Bit Swap parameter of the Modbus device. If this parameter is set to "T" ("TRUE") or "F" ("FALSE"), the bit swapping for this datapoint is overwritten. If this parameter is empty (or set to a value unequal to "T" or "F"), the bit swap specified in the device definition is used. | |
14 | Read on Reconnect | If this parameter is set to "T", a read request is sent The default value is "T". | |
15 | Write Mode | If not specified, the write mode that is defined within the Modbus Device Definition is used. |
...