I am trying for almost a week to get Codesys V3 opc server to work with OPCDACOM driver in AdvacnedHmi but no success.
I tried to link the digital meter PLCAdressValue to the variable but the error I get, which appears as a text field on the digital meter is "CoCreateInstanceEx : access is denied" and after few seconds, it turns into "object reference not set to an instance of an object"
I checked with UA EXPERT free OPC client and the server in Codesys is running and I can read the variables.
my settings:
OPCServer in the OpcDaComx is CoDeSys.OPC.DA
OPCServer Patch in the OpcDaComx is opcda://192.168.0.3:4840
PLCAdressValue in digital meter: PLC_GW3..Speed1 where PLC_GW3 is the server name according to Codesys OPC Configurator. Speed1 is the name of the variable.
PLEASE HELP!!!