Professional OPC
Development Tools

logos

Problem with reading and writing

More
03 Mar 2015 14:56 #2881 by miron
In KepSerwer during loading coniguration I got information:
Simulation mode is enabled on device 'common2OpcModel.msarna'. In Simulation mode the memory map is based on client update rate(s). Refer to server help for more information.

Please Log in or Create an account to join the conversation.

More
03 Mar 2015 14:36 #2880 by miron
The same result with:
(I have use in reading: DataSource= DADataSource.Device,
but I have problem with writing)
 
  public static void Test2()
  {
	 EasyDAClient c1 = new EasyDAClient();	 
	 EasyDAClient c2 = new EasyDAClient();
 
	 c1.Isolated = true;
	 c2.Isolated = true;	 	 
 
 
    c1.WriteItemValue(new ServerDescriptor (){ ServerClass = "Kepware.KEPServerEX.V5"}, 
	  	              new DAItemDescriptor() { BrowsePath= "/common2OpcModel/msarna/L1/Z1/ZonesCtx/IsJigScanned"},true);		                  
 
	var valB = c2.ReadItemValue(
		new ServerDescriptor (){ ServerClass = "Kepware.KEPServerEX.V5"}, 
		new DAItemDescriptor() { BrowsePath= "/common2OpcModel/msarna/L1/Z1/ZonesCtx/IsJigScanned"},
		new DAReadParameters(){ DataSource= DADataSource.Device }
	);	
 
	Console.WriteLine("val=" + valB.ToString());
 }
 

Please Log in or Create an account to join the conversation.

More
03 Mar 2015 14:21 #2879 by miron
Hi, I have some problem:
  public static void Test2()
  {
	 EasyDAClient c1 = new EasyDAClient();	 
	 EasyDAClient c2 = new EasyDAClient();
 
	 c1.Isolated = true;
	 c2.Isolated = true;	 	 
 
 
    c1.WriteItemValue("",  "Kepware.KEPServerEX.V5", "common2OpcModel.msarna.L1.Z1.ZonesCtx.IsJigScanned", true);	
 
	var valB = c2.ReadItemValue("",  "Kepware.KEPServerEX.V5", "common2OpcModel.msarna.L1.Z1.ZonesCtx.IsJigScanned");	
	Console.WriteLine("val=" + valB.ToString());
 }


case 1:
Isolated don't set = true.
Value is read as true, but I don't see changes in opc by opcclient.


case 2:
Isolated = true
Value is read as false, and I don't see changes in opc by opcclient.

Similar situation is in livemapping.
When I set values I could not see in opc client changes.
And when I set Isolated = true my tests don' pass.

In live mapping all my tags I have marked

[DAItem(Operations = DAItemMappingOperations.ReadAndWrite)]
[DARead(DataSource = DADataSource.Device)]

It looks now like writing is not performed.

Additional information:
* Reading and writing value by opc client is working.
* All tags are read / write.
* It is kepserwer with TCPIP/Simens driver and was marked as simulation

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.199 seconds

      

 Recommend this on Google