Author Topic: Help with reading Analog card Modbus Reg on a P2000  (Read 943 times)

MelvinC

  • Newbie
  • *
  • Posts: 2
    • View Profile
Help with reading Analog card Modbus Reg on a P2000
« on: August 21, 2020, 04:27:44 PM »
Hello,
I have searched for an answer but could not find one.

I have just started working with AdvanceHMI and have a simple screen that is reading the temperature of 7 thermocouples it is working fine and the data is coming from a Yokogawa MW100 and a GX10.  When I attempted to read the temperature from an Automation Direct P2000 with a P2-08THMs analog input card I realize that it uses a 6 digit Modbus register address.  With Auto assign the address given is 300001 for the first channel.  When I attempt to read this address, I get no data. The other devices I am working with all have address with only 5 digits such as 30001 and work fine.  I know I am connected to the P2-550 and I can read the value of Boolean bits with an address such as 0001 and I know the analog card is working because I can see the temperature of the thermocouple in dataview. 
If I use a modbus scanner such as “Modbus TCP Master” I can see the data coming from the Yokogawa’s but when I make the modbus address 6 digits to read the P2000 @ 300001 I only get errors.
Is there a way to read the P2000 modbus 6 digit registers from an analog input card using AdvanceHMI?

Thank You
Mel

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: Help with reading Analog card Modbus Reg on a P2000
« Reply #1 on: August 21, 2020, 05:37:37 PM »
AdvancedHMI allows you to enter 6 digit addresses.

The data format for your card is listed as floating point.

Put several BasicLabels on the form and try bunch of different addresses, like 300000, 300001, 300002, ... , F300000, F300001, F300002 to see if you will get a response on any of the labels.

MelvinC

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Help with reading Analog card Modbus Reg on a P2000
« Reply #2 on: August 21, 2020, 06:23:24 PM »
That answers my main question.  At least I now know that it is not related to 6 digits in modbus so I can eliminate that as an problem and dig into the real problem.

Thank you
Mel