jeudi 16 juin 2016

OPC UA String from Server to Client

i want to send a string from my underlying system through the server to my client. i have made a Model in OPCModeler(Unified Automation). OPC Model in OPCModeler

And now to connect the underlying system to nodemanager i the following xml code. The variables with Int32 are allright. The strings get the error BadNodeIdUnknown.

I hope someone can help me

Best Regards S.Tek

<UnderlyingSystem.Configuration
xmlns="http://yourcompany.com/underlyingsystem"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
 <GModel>
<Name>GMaschine</Name>
<Type>1</Type>
<Properties>
  <Name>actChannelNo</Name>
  <DataType>i=6</DataType>
  <Value>0</Value>
  <Range>0:10000000</Range>
</Properties>
<Properties>
  <Name>axisName</Name>
  <DataType>i=12</DataType>
  <Value>"0"</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>axisNo</Name>
  <DataType>i=6</DataType>
  <Value>0</Value>
  <Range>0:10000000</Range>
</Properties>
<Properties>
  <Name>axisType</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>cleaningProgramPath</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>connection</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>feed_value</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>guid</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>hardware_SN</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>hardwarePlatform</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>id</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>ipAddress</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>loadUnloadProgramPath</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>location</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>machineReady</Name>
  <DataType>i=1</DataType>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>motionStatus</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>name</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>platformVersion</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>timezone</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
<Properties>
  <Name>type</Name>
  <DataType>i=12</DataType>
  <Value>0</Value>
  <Writeable>false</Writeable>
</Properties>
</GModel>
 </UnderlyingSystem.Configuration>

Aucun commentaire:

Enregistrer un commentaire