Pull data from iStat6 (ControlCore compatible) device via Modbus
-
Here are the settings as they are programmed into the iStat6.
Node Name for Device: USB COM
Modbus Addresses for Device: 22HallFan(07)
Address, Blk Name, Format
00101, LowWaterTemp, (0)Off/(1)On
00102, HeatingMode, (0)Off/(1)On
40001, TwaterO, F
40002, Tintake, F X100
40003, Toutlet, F X100
40004, Setpoint, F
40005, BDC, %
40006, CDC, %EXAMPLE:
I wanna get the point for 40003 Toutlet. Here is the setting for it in controlcore:
I think that's a 16bit integer,
Here is the setting in Mango:
I tried both 2 byte signed and unsigned integers. I also tried offset 3 and 4. Either way I keep getting values of 0 or 255.
Any thoughts?
-
PS: I also tried offset of 2.
-
This post is deleted! -
Your address in Control Core should not be 40003, it should just be 3. Then try 2 or 4 but it's probably 2.
-
Once again you come to my rescue! You are quite correct.
It appears that the iStat automatically assumes holding registers and so if you want an address of 40023, you need to put 23 in the modbus address for the data block. That information is not available in the documentation =(
Then when reading from Mango, the offset needs to be -1, so you'd be pulling with offset 22 to get the right data point.
So far so good!