OPC write value issue-IBH opc server

Forum Home Forums Communicating with Devices OPC OPC write value issue-IBH opc server

This topic contains 95 replies, has 2 voices, and was last updated by Mikhail Mikhail 2 weeks, 4 days ago.

Viewing 15 posts - 31 through 45 (of 96 total)
  • Author
    Posts
  • #4453

    mariodavid
    Participant

    Hi.

    please let me know, I really need to write that tags.

    #4454
    Mikhail
    Mikhail
    Moderator

    Hi,

    I will send you a test version of KpOpc.dll during the week 22-28 of October.

    #4455

    mariodavid
    Participant
    #4460
    Mikhail
    Mikhail
    Moderator

    Thank you for the screenshots. I will send you a special version of the OPC driver and we can check again and compare info from OPC analyzer.

    #4472
    Mikhail
    Mikhail
    Moderator

    Try this dll.

    #4475

    mariodavid
    Participant

    Hi, I replaced the new file with the previous one in the folder SCADA/ScadaComm/KP.

    opc analyzer:

    OPC Analyzer Trace – Application Version 1.2.1012
    saved on mar 23. oct 12:43:06 2018

    12:42:40.810 – IOPCItemIO::WriteVQT ————————————————————-
    General:
    HRESULT: 0x00000001 S_FALSE

    In Parameters:
    pszItemIDs:
    [0] = PLC1.Generic.ACTIVAR_VALVULA_T1
    dwCount: 1
    pItemVQT:
    Item 0:
    vDataValue = VT_BOOL -1
    bQualitySpecified = TRUE
    wQuality = 0x00c0 OPC_QUALITY_GOOD
    bTimeStampSpecified = FALSE
    ftTimeStamp = 1601-01-01T00:00:00.000

    Out Parameters:
    ppErrors:
    [000] 0xc0040406 OPC_E_NOTSUPPORTED

    #4476

    mariodavid
    Participant

    OPC_E_NOTSUPPORTED 0xC0040406 If a client attempts to write any value, quality,
    timestamp combination and the server does not
    support the requested combination (which could
    be a single quantity such as just timestamp), then
    the server will not perform any write and will
    return this error code.

    I found it here: https://digitalsupport.ge.com/servlet/fileField?id=0BE1A000000TPEf

    the opc libraries are paid,
    Is there any other way to use other libraries to use another method?

    #4477

    mariodavid
    Participant

    “In the source code I just use daServer.Write(new Opc.Da.ItemValue[] { itemVal }); and the library made by OPC Foundation choose lo-level method WriteVQT”.

    the library made by OPC Foundation are not free but, Is there another method using the same library?

    I am sure that I can write with this method: IOPCSyncIO::Write

    #4478

    mariodavid
    Participant

    http://www.diit.unict.it/users/scava/dispense/II_270/OPCDACOMOverview.pdf

    said that IOPCSyncIO is required in Data Access Server 1,2 and 3.

    #4488
    Mikhail
    Mikhail
    Moderator

    I am sure that I can write with this method: IOPCSyncIO::Write

    To do this, the OPC driver have to be redesigned using another OPC client library.
    This is possible. However, I suppose that it would be much cheaper if the OPC server developer supports WriteVQT.

    What communication protocol do you use?
    Are there alternative OPC servers?
    Can you find OPC UA server? OPC UA .NET API is officially free.

    #4489

    mariodavid
    Participant

    Hi, I am using mpi/usb protocol to connect to plc s7-300. I have not found another server that is compatible with mpi / usb. There is SIMATIC NET but is paid.

    #4490

    mariodavid
    Participant

    View post on imgur.com

    View post on imgur.com

    I found this in the library OpcComRcw. How do I implement this in the KpOpclogic?

    #4499
    Mikhail
    Mikhail
    Moderator

    Hi,

    We can connect by Skype to find the solution together. If you OK with it, write me to info@…

    #4514
    Mikhail
    Mikhail
    Moderator

    In the above screenshot the method Group.Write is shown. It uses the Wrive method of a subscription. Can you navigate to Subscription.Write and check what is going there?

    #4516

    mariodavid
    Participant
Viewing 15 posts - 31 through 45 (of 96 total)

You must be logged in to reply to this topic.