Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Problem with reading and writing

  • miron
  • Topic Author
  • Visitor
  • Visitor
03 Mar 2015 14:56 #2881 by miron
Replied by miron on topic Problem with reading and writing
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.

  • miron
  • Topic Author
  • Visitor
  • Visitor
03 Mar 2015 14:36 #2880 by miron
Replied by miron on topic Problem with reading and writing
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.

  • miron
  • Topic Author
  • Visitor
  • Visitor
03 Mar 2015 14:21 #2879 by miron
Problem with reading and writing was created 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.080 seconds