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.


Topics - Rplink3r

Pages: [1]
1
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?




2
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]