AdvancedHMI Software

General Category => Support Questions => Topic started by: Ronkpa on September 13, 2017, 04:41:26 PM

Title: Can I force two separate Modbus TCP read commands
Post by: Ronkpa 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.
Title: Re: Can I force two separate Modbus TCP read commands
Post by: Archie 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