1
Open Discussion / Re: combining different registers of a modbus device
« on: April 23, 2014, 03:26:52 PM »Try this to see if it works for you:Thanks, it seems to work, but I have two new questions:Code: [Select]Private Sub DataSubscriber1_DataChanged(sender As System.Object, e As MfgControl.AdvancedHMI.Drivers.Common.PlcComEventArgs) Handles DataSubscriber1.DataChanged, DataSubscriber2.DataChanged
DigitalPanelMeter1.Value = CInt(DataSubscriber1.Value) + CInt(DataSubscriber2.Value)
End Sub
1) in the property windows of DigitalPanel I have to set up the PLCAddressValue and the CommComponent. Is it possible to set a dummy values for these fields? Sometimes the program launches an exception if I leave the PLCAddress empty.
2) The DigitalPanel shows only integer value but I'm interested to display also the fractionary part
Thanks, again, Vittorio