General Discussions
Modbus zero-based one-based

Sir

My sensor has a modbus address like this, how do i set it in the datataker

Channel Registers Using Standard Addressing
Zero-Based One-Based +40,001 +400,001
Pressure 0 1 40001 400001
Temperature 2 3. 40003 400003
Power Supply Voltage 4 5 40005 400005

Sir My sensor has a modbus address like this, how do i set it in the datataker Channel Registers Using Standard Addressing Zero-Based One-Based +40,001 +400,001 Pressure 0 1 40001 400001 Temperature 2 3. 40003 400003 Power Supply Voltage 4 5 40005 400005

Hi Lan,

You can try to use the following:
1MODBUS(AD1,R3:1,MBF)

Assuming you have a sensor address 1 (not shown in your message).

Pressure parameters use register addresses 0 and 1 (or 40001 and 40002); we assume the 4 represents MODBUS type 4, which can be declared as R3.

Because there is a shift between the MODBUS register and the DT register, if the address starts at 0, the declaration needs to start at 1. In combination with the above R3, you get R3:1.

The MBF indicates the value is a floating point 32-bit, thus using two registers, 0 and 1.

Best regards,
dataTaker Expert

Hi Lan, You can try to use the following: 1MODBUS(AD1,R3:1,MBF) Assuming you have a sensor address 1 (not shown in your message). Pressure parameters use register addresses 0 and 1 (or 40001 and 40002); we assume the 4 represents MODBUS type 4, which can be declared as R3. Because there is a shift between the MODBUS register and the DT register, if the address starts at 0, the declaration needs to start at 1. In combination with the above R3, you get R3:1. The MBF indicates the value is a floating point 32-bit, thus using two registers, 0 and 1. Best regards, dataTaker Expert
35
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft