AdvancedHMI Software
General Category => Support Questions => Topic started by: smarttrend on October 15, 2013, 04:58:04 AM
-
Hello,
I'm trying to develop an application based on Modbus but I get an error when I try to read any address higher than 40000 with DigitalPanelMeter . Instead I was able to use a button PilotLight well with the address 00001.
I have attached a snapshot of the error.
I tried a simulator and a real environment.
Thank you.
-
Open ModbusTCPCom.vb and go to line 586 and change the 8 to a 3 like this:
Dim BytesPerElement As Integer = Transactions(TNSByte).BitsPerElement >> 3
-
It's working.
Thanks.
I have another question.
I want when modbus slave is not availabe or network is down just to display a error message on the control that read the value not to popup a msg windows like "Failed data receive" or "Tcp connection failed".
Can you help me?
Thanks.
-
The BasicLabel has a property called SuppressErrorDisplay. The other controls do not have this implemented yet.
-
Do you know when you will implement this to all controls?
For my projects the best method to do this is to have every control a connection status led.
Thanks.