Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rplink3r

Pages: [1]
1
Support Questions / Re: Writing to OPC server
« on: July 18, 2013, 07:19:27 AM »
Thanks for a fast response, it worked like a charm :).

2
Support Questions / Writing to OPC server
« on: July 18, 2013, 06:46:06 AM »
Hello,

I've managed to read the values from the Matrikon OPC simulation, but when it comes to writing them, if I specify the address in a pushbutton's plcAddress, or tag nothing happens.

I have Tags configured in Matrikon Simulator, when I use the tag as input in the PLCAddress field, it works(Tag is "test_bit" as bucket brigade.boolean). But when I do the same with a button, to write a value/toggle/change, nothing happens?

If I do it with Omron CX server OPC, the server reports that it doesn't find the item.

Is there a different way to address when writing a value to a TAG on a OPC server?




3
Support Questions / Re: Connecting with OPC driver
« on: July 16, 2013, 07:29:18 AM »
Thanks,

That solved the problem, Changed to x86 following with the instructions below:

http://stackoverflow.com/questions/4104228/change-target-cpu-settings-in-visual-studio-2010-express

Now it works and I'm very happy with it, tryed it with Matrikon Simulation OPC and everything works.


4
Support Questions / Re: Connecting with OPC driver
« on: July 15, 2013, 02:18:51 AM »
The messages show in the immediate window, the application doesn't stop.

This is what I found in the documentation of the server:
"For OPC Client that is compliant with OPC Data Access version 2."

I suppose this stands for OPC DA, I have Windows 7 x64.

5
Support Questions / Connecting with OPC driver
« on: July 14, 2013, 04:26:31 PM »
Hello,

 I've tryed to connect to a Omron CX-Server OPC with integrated drivers, in the driver properties field OPC server I've written "OpenDataServer.ODOPCServer", as the server presents itself. Others I've left unchanged . I have set up a test tag named bit_TEST which toggles true/false each second. When I connect with some third party OPC viewer, it connects and works, but if I compile AdvancedHMI, it gives me following errors:

"A first chance exception of type 'System.InvalidCastException' occurred in OpcNetApi.dll"
"A first chance exception of type 'Opc.NotConnectedException' occurred in OpcNetApi.dll"

I'm stuck here, please help, probably I've set up something wrong?


Pages: [1]