Skip to content

Some of OPC Tags are not readable/writable at all! #62

@dmitrybond173

Description

@dmitrybond173

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:

  1. start OpcBrowser.exe app (this is my simple demo app with UI - see a link to source code below)

  2. 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

  3. in the "Item name" dropdown select "DTNA.RBE1A.OPCTASM1_T05_MERR" click [Read] - it shows correct type and value

  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions