Author Topic: 3.89&3.90 Modbus TCP comm error-999  (Read 5229 times)

MrPike

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Re: 3.89&3.90 Modbus TCP comm error-999
« Reply #15 on: December 14, 2014, 12:01:00 AM »
Comm error screenshot.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.89&3.90 Modbus TCP comm error-999
« Reply #16 on: December 14, 2014, 04:19:20 AM »
OK great.  I did some more testing and found a reason for the second item that displays incorrect data when I connect all devices to the 172.16.0.3 Ip address.  If you look at the screenshot "ID error" you will see the driver settings in the upper right corner set to ID 245.  There is in fact only one device that is ID 1.  You can see modscan reading data in the bottom right which is set to ID 1.  Modscan data matches the data seen by the BasicLabels on the left.  I does not matter what ID I use, i get the same data returned.  So it looks like the AdvHMI modbus driver is not using the device ID to distinguish devices. 
I think you are on to something. I checked the UnitID and it never passed through to the packet, so every packet used an ID of 1. The Modbus simulator that I am using does not care about the UnitID, no matter what it gets passed, it will respond with data.
« Last Edit: December 14, 2014, 04:24:44 AM by Archie »

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: 3.89&3.90 Modbus TCP comm error-999
« Reply #17 on: December 17, 2014, 02:39:39 AM »
Version 3.94 is now posted. This version implements the UnitID in the packets.