From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus Temperature Device (Slave) Display Value different from Labview displayed Value

I have a LabVIEW code that runs as Modbus master and a Temperature Slave device with a display on it. The problem I have is that the temperature device display is usually greater than what the shown Labview value by 1. There is no mathematical calculation involved in the code except to read a 16 bit holding register address and whose value is just connected to a LAbview indicator. Any help please?

0 Kudos
Message 1 of 26
(3,778 Views)

what does "usually greater" mean?
Give a list of values (display, modbus). Rounding errors are also possible.

Labview 4.0, 5.0, 6.1, 8.6, 2009, 2011, 2012, 2014
If you do not know something, ask me.
0 Kudos
Message 2 of 26
(3,775 Views)

I mean that the value on the device display screen is more by 1 than the Labview modbus value. Im using labview 2017. Examples are: 819 (Device Display) Vs  818 (Labview),  767 (Device Display) Vs  766 (Labview), 809 (Device Display) Vs  808 (Labview) 

0 Kudos
Message 3 of 26
(3,767 Views)

What is the device?  Do you have a link to the manual? Are those Kelvins, Deg C or Deg F?

 

Id guess (my magic 8-Ball is pretty good) the device rounds the value and truncates the register- Add 0.5 of whatever unit to the register value and display as integer 


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 26
(3,760 Views)

What does your device manual (BTW: which device, which modbus address) say to this?

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 5 of 26
(3,758 Views)

The device is a Temp controller. Those are Deg F. Link is https://nicontrols.com/media/pdfs/pixsysatr142usermanual.pdf. Im using modbus register address 1000

0 Kudos
Message 6 of 26
(3,756 Views)

You can also read at 3001..3016 🙂 then the data must match exactly. And about the addition of 1 ... Maybe it's just a bug.

Labview 4.0, 5.0, 6.1, 8.6, 2009, 2011, 2012, 2014
If you do not know something, ask me.
0 Kudos
Message 7 of 26
(3,746 Views)

Use reg 1100 instead and set the display to show tenths of a degree per pg 42.

 

You may need to read 1014 as well.


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 26
(3,731 Views)

I read Register 1100 and same Issue existed. Dispay (835)  more than labview value (834) by 1. Register 1104 gave me a different value (382)

0 Kudos
Message 9 of 26
(3,717 Views)

Read the manual again

1104 is setpoint 4

1100 is visualized process (as displayed) 1014 is the CJC temp


"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 26
(3,707 Views)