-
Notifications
You must be signed in to change notification settings - Fork 104
Description
When connecting Kepware.KEPServerEX.V5 in simulation mode - it works fine, all tags are readable/writable with this component.
But when I create an OPC tag for real hardware (even if set it to "Simulation mode") TitaniumAS.Opc.Client.1.0.2.0 is no longer able to read/write such tags!
First symptom - both properties OpcDaItem.CanonicalDataType and OpcDaItem.RequestedDataType returns null value.
And when try to read such OPC tag it also return null value. So, not possible to read and not possible write. :-(
How to reproduce:
-
start OpcBrowser.exe app (this is my simple demo app with UI - see a link to source code below)
-
ensure Kepware.KEPServerEX.V5 selected, click [Connect] toolbutton (or menu -> File -> Connect)
Note: Kepware.KEPServerEX.V5 should be installed and Kepware-Project-File.opf should be loaded -
in the "Item name" dropdown select "DTNA.RBE1A.OPCTASM1_T05_MERR" click [Read] - it shows correct type and value
-
in the "Item name" dropdown select "EBERHARD.PLC_01.L1FI101.T05_MERR" click [Read] - it shows correct type but wrong value
Symptoms are:
a) this tag not reacting to value changes (no ValuesChanged event occured, so when changing it from other OPC clients -TitaniumAS.Opc.Client do not see that)
b) any changes to this tag from other OPC clients are not visible at all via TitaniumAS.Opc.Client component!
c) any attempts to read always return null or 0
d) any attempt to write seems do nothing
Source code of test app, package on bug and how to reproduce is here - https://drive.google.com/file/d/1--PlikaoWQv1KdzqantUB7CabnUma1iD/view?usp=sharing