Forum Home › Forums › Communicating with Devices › OPC › OPC write value issue-IBH opc server
Tagged: OPC write data
- This topic has 97 replies, 3 voices, and was last updated 4 years, 8 months ago by Mikhail.
-
AuthorPosts
-
October 19, 2018 at 4:21 pm #4453mariodavidParticipant
Hi.
please let me know, I really need to write that tags.
October 21, 2018 at 7:43 am #4454MikhailModeratorHi,
I will send you a test version of KpOpc.dll during the week 22-28 of October.
October 21, 2018 at 3:17 pm #4455mariodavidParticipantOctober 22, 2018 at 2:55 pm #4460MikhailModeratorThank 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.
October 23, 2018 at 3:04 pm #4472October 23, 2018 at 5:10 pm #4475mariodavidParticipantHi, 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 201812:42:40.810 – IOPCItemIO::WriteVQT ————————————————————-
General:
HRESULT: 0x00000001 S_FALSEIn 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.000Out Parameters:
ppErrors:
[000] 0xc0040406 OPC_E_NOTSUPPORTEDOctober 23, 2018 at 5:23 pm #4476mariodavidParticipantOPC_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?October 23, 2018 at 5:56 pm #4477mariodavidParticipant“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
October 23, 2018 at 6:01 pm #4478mariodavidParticipanthttp://www.diit.unict.it/users/scava/dispense/II_270/OPCDACOMOverview.pdf
said that IOPCSyncIO is required in Data Access Server 1,2 and 3.
October 24, 2018 at 5:29 pm #4488MikhailModeratorI 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.October 24, 2018 at 5:59 pm #4489mariodavidParticipantHi, 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.
October 24, 2018 at 11:17 pm #4490mariodavidParticipantI found this in the library OpcComRcw. How do I implement this in the KpOpclogic?
October 25, 2018 at 6:28 pm #4499MikhailModeratorHi,
We can connect by Skype to find the solution together. If you OK with it, write me to info@…
October 29, 2018 at 4:42 pm #4514MikhailModeratorIn 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?
October 29, 2018 at 7:54 pm #4516 -
AuthorPosts
- You must be logged in to reply to this topic.