Author Topic: Can I force two separate Modbus TCP read commands  (Read 497 times)

Ronkpa

  • Newbie
  • *
  • Posts: 3
    • View Profile
Can I force two separate Modbus TCP read commands
« on: September 13, 2017, 04:41:26 PM »
I have two Analog Value Display control components, one with PLCAddressValue=40002 and one with PLCAddressValue=40008. AdvancedHMI issues only one read at address 40002 with length 7 registers. Can I force AdvancedHMI to issue two separate read commands, one at address 40002 and one at 40008. I have been able to use a VB button to do it like this:
        Dim V40002() As String = ModbusTCPCom1.Read("40002", 1)
        Dim V40008() As String = ModbusTCPCom1.Read("40008", 1)
but I would like to make the control components do it that way. Is there a property I can set to force two separate reads? Thanks.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5261
    • View Profile
    • AdvancedHMI
Re: Can I force two separate Modbus TCP read commands
« Reply #1 on: September 13, 2017, 04:53:58 PM »
You will lose efficiency and your display will slow down, but you can set MaxGroupReadSize to 1