on 03-08-2010 5:11 PM
Hi,
I am on MII 12.1.4 Build(53). I am connecting to a remote OPC Server (1) via a UDS installed on a local OPC Server (2). The list of the available tags is not complete. Moreover, the names of the available tags look different, like the following -
"<array_tag> / <string length> String
<array_tag> [<d1>, <d2>] BCD
<array_tag> [<d1>, <d2>] Byte
<array_tag> [<d1>, <d2>] Char
<array_tag> {<rows>}{<cols>} Word...
<atomic_tag> BCD
<atomic_tag> Boolean
<atomic_tag> Byte
<atomic_tag> Char...
Program:<prog_name>.<array_tag> [<d1>, <d2>] Byte
Program:<prog_name>.<array_tag> [<d1>, <d2>] Char
Program:<prog_name>.<array_tag> [<d1>, <d2>] Date
Program:<prog_name>.<array_tag> [<d1>, <d2>] Double
Program:<prog_name>.<array_tag> [<d1>, <d2>] DWord..."
Also, when I try to execute the 'Tag Query', it comes back with a 'java.io.EOFException' error message. Below are the log details. Can somebody explain whats going on here?
Regards,
Chanti.
"com.sap.xmii.Illuminator.logging.LHException: com.sap.xmii.Illuminator.logging.LHException: java.io.EOFException
[EXCEPTION]
com.sap.xmii.Illuminator.logging.LHException: com.sap.xmii.Illuminator.logging.LHException: com.sap.xmii.Illuminator.logging.LHException: java.io.EOFException
at com.sap.xmii.Illuminator.services.handlers.IlluminatorService.processRequest(IlluminatorService.java:84)
at com.sap.xmii.Illuminator.services.ServiceManager.run(ServiceManager.java:68)
at com.sap.xmii.servlet.Illuminator.service(Illuminator.java:68)
....
... 41 more
Caused by: com.sap.xmii.Illuminator.logging.LHException: java.io.EOFException
at com.sap.xmii.Illuminator.connectors.UDC.UDCQuery.doQuery(UDCQuery.java:131)
at com.sap.xmii.Illuminator.connectors.UDC.UDC.doProcessRequest(UDC.java:87)
at com.sap.xmii.Illuminator.connectors.AbstractConnector.processRequest(AbstractConnector.java:90)
... 43 more
Caused by: java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:358)
at com.sap.xmii.Illuminator.tools.lisa.DataReader.read(DataReader.java:20)
at com.sap.xmii.Illuminator.connectors.UDC.UDCQuery.doQuery(UDCQuery.java:128)
... 45 more"
Which OPC Server? This list looks like a "hints" list that describes the different ways to define an OPC tag.
- Steve
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I recall something about that, seems like it is possible to browse the tag list but not actually read/write them if DCOM not configured, has to to with OPCEnum service in Windows.
Bottm line: If you want to read/write remote OPC Server tag data from MII, you will need to do one of the following:
1. Install UDS or PCo 2.1 on remote server and configure on both ends for MII connectivity
2. Configure DCOM on all servers and clients that use OPC
3. Use an OPC Tunneling application to avoid DCOM issues
4. Use OPC UA OPC server and client with PCo as they become available for general release.
Hope this help!
- Steve
Try adding the tags manually as show and also the full qualified name. Sometimes MII is able to browse but only selects the last
suffix of the tag when adding it to the selection. So add the tags manually in the line below the selection tag with its full qualified
name like "group1.group2.tagname".
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.