cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RS232-Connection via OPC - TagQuery

Former Member
0 Likes
487

Hey Guys,

here is what I did:

- Installed a OPC-Server and connected it to MII (a ph-Meter is connected via OPC/RS232)

- Created a TagQuery

- Chose the OPC-Server

Now the problems start:

If I choose Modus "Current" I get the results when I do a test with the RxD-Data. That´s fine.

But when I choose "CurrentWrite" and do a test, sending a query to the ph-Meter with the TxD-Data, the message "Fatal Error: Error occurred while processing data stream, Connection reset".

The strange thing is that on the MII-Server in the UDS-Admin my UDS of the ph-Meter is stopped. I´ve to start it again.

And when I check the ph-Meter the query is done.

So it seems that I can read data from the ph-Meter. I can also send, but I can´t receive the answer. After restarting the UDS I can see that the query was done.

Any ideas, suggestions, helps?? Need more information?

Edited by: Martin Zipp on Aug 7, 2008 9:34 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Hi Martin,

are you able to to set the UDS to debug and post the log?

The log is located beneath the UDS installation directory. Which UDS are you using?

Ciao,

Matthias

agentry_src
Active Contributor
0 Likes

Which version of xMII and which version of UDS are you using? What operating system are you operating under?

Former Member
0 Likes

Hey!

Thanks for replying.

- MII 11.5.1 b54

- UDS Administration 2.5.0.4

- Windows Server 2003 RS2

I the UDS I set "Debug" to True but there is no file saved.

Can I upload the screenshot somehow?

Edited by: Martin Zipp on Aug 7, 2008 1:43 PM

Edited by: Martin Zipp on Aug 7, 2008 1:44 PM

I found .mdmp and .hdmp file after a test (LUDS.exe.20080807-114956-00.mdmp) These?? How can i open them?

Edited by: Martin Zipp on Aug 7, 2008 1:53 PM

Former Member
0 Likes

Ok, then it is not that easy. My instruction was for UDS 4.

The only debugging you can do now is using OPCsniffer or Wireshark.

OPCsniffer would give more easily details related to DCOM. Please sniff

the communication and post the result here.

Regards,

Mattias

Former Member
0 Likes

I think the problem is between OPC-UDS or UDS-MII.

When I use the OPC-Client, I can write values and I get results from the ph-Meter without a breaking connection.

So my guess: OPC with machine works fine.

When I want to write from MII, it´s sending the value to the machine but after that the UDS Stopps and I´ve to restart it.

Connection from OPC-Server to machine is working all the time and without errors.

Former Member
0 Likes

Exactly. There are lots of interoperability issues with OPC Servers and clients, though

the products itself can communicate via their client to their server

So it is very likely that there is a problem / misconfiguration between UDS and OPC server.

To drill down the problem it is vital to have valuable data. So therefore provide a log

of the OPC communication.

Former Member
0 Likes

Thanks a lot so far.

I downloaded it but I´m not allowed to install it on the server.

Have to wait.

I´ll post the results later on. Please don´t close this thread.

Martin

agentry_src
Active Contributor
0 Likes

Martin,

It is your thread. You decide whether to close it.

Mike

Former Member
0 Likes