Forum Replies Created
-
AuthorPosts
-
December 26, 2025 at 8:42 am in reply to: OPC DA to OPC UA pipeline: “uncertain” tags are becoming “BAD” #17493
_FIreDemon_
ParticipantI’ve changed condition in DevOpcClassicLogic.cs from
/// <summary> /// Gets the tag status corresponding to the item quality. /// </summary> private static int GetTagStatus(Opc.Da.ItemValueResult itemValue) { return itemValue.QualitySpecified && itemValue.Quality.QualityBits == Opc.Da.qualityBits.good ? CnlStatusID.Defined : CnlStatusID.Undefined; }to
private static int GetTagStatus(Opc.Da.ItemValueResult itemValue) { return itemValue.QualitySpecified && itemValue.Quality.QualityBits == Opc.Da.qualityBits.good || itemValue.QualitySpecified && itemValue.Quality.QualityBits == Opc.Da.qualityBits.uncertain ? CnlStatusID.Defined : CnlStatusID.Undefined; }Then I’ve compiled DrvOpcClassic.Logic.csproj and swapped the driver logic DLL. Now “uncertain” tags are showing in OPC UA. Hope this is a somewhat safe change.
Thanks a lot for the help!-
This reply was modified 2 weeks, 2 days ago by
_FIreDemon_.
December 24, 2025 at 8:30 am in reply to: OPC DA to OPC UA pipeline: “uncertain” tags are becoming “BAD” #17462_FIreDemon_
ParticipantOk, I’ve compiled everything using those DLLs
December 23, 2025 at 9:24 am in reply to: OPC DA to OPC UA pipeline: “uncertain” tags are becoming “BAD” #17451_FIreDemon_
ParticipantSo, I’ve built everything. The only problem was that my NuGet couldn’t find
<PackageReference Include=”OpcComRcw” Version=”2.1.108″ />
<PackageReference Include=”OpcNetApi” Version=”2.1.108″ />
<PackageReference Include=”OpcNetApi.Com” Version=”2.1.108″ />
and I had to use “Quick.” version of these packagesDecember 22, 2025 at 6:43 am in reply to: OPC DA to OPC UA pipeline: “uncertain” tags are becoming “BAD” #17441_FIreDemon_
ParticipantAs far as I know, this is an expected behavior for tags in manual mode.
Anyways, do you mind sharing a guide or a link for the already existing solution on how to compile a new driver with this bypass?December 19, 2025 at 6:29 am in reply to: OPC DA to OPC UA pipeline: “uncertain” tags are becoming “BAD” #17430_FIreDemon_
ParticipantThank you for your answer, Mikhail. Is there any way to bypass this?
December 18, 2025 at 12:36 pm in reply to: OPC DA to OPC UA pipeline: “uncertain” tags are becoming “BAD” #17424_FIreDemon_
ParticipantSorry, don’t know why the images were not properly loaded, here is the link on imgur:
ImagesDecember 18, 2025 at 11:17 am in reply to: OPC DA to OPC UA pipeline: “uncertain” tags are becoming “BAD” #17423_FIreDemon_
ParticipantOPC DA
https://drive.google.com/file/d/1y8m5wg-oXUFpGq9bavAB-_p8a24wRZ0s/view?usp=sharingRapid-Scada
https://drive.google.com/file/d/1TCACIux7n7zkb4oDHjWiY51Z_hrItb5O/view?usp=sharingOPC UA
https://drive.google.com/file/d/11GEcDLJRHR_lI0dfSCKKMhj1ejalNUvv/view?usp=sharing-
This reply was modified 3 weeks, 3 days ago by
Mikhail.
-
This reply was modified 2 weeks, 2 days ago by
-
AuthorPosts