OPCFoundation / UA-.NETStandard

OPC Unified Architecture .NET Standard
Other
1.96k stars 948 forks source link

Connect issue from S7 1500 Client to Reference Server #1023

Closed kamishuki76 closed 4 years ago

kamishuki76 commented 4 years ago

Hi guy. Is anyone researching OPC UA Client in Tia Portal??? I'm testing the connection of S7-1500 OPC UA Client (using TIA Portal) and PLCSIM Advanced to Reference Server. It's not has certificate when using Simulation PLC. So I choose "No security". But when I Use "Connect DB" to connect Server, Nothing happens. (ConnectionHdl = 16#0). image image

image

Maybe there are 2 situations for this. Case 1: Server is busy. Status code is 16#0700_0200. Case 2: Server is not receive the session from TIA Portal. Can you help me Solve this problem? And how can I make this server is not busy when Client get connection to It?? Thanks a lot.

TimoTielens commented 4 years ago

I am using a S7-1500 as well. The PLC is the server and I use C# to create a client. I can connect and all. As soon As I'm messing around with the trusted clients certificate thingy I'm in trouble. SO I think I'm further on then you. If needed you can contact me :) Please let me know if you still have issues

kamishuki76 commented 4 years ago

Hi. Thank you for contacting me. I have a problem about configuration. Do you try to change OPC UA Server when it is running? I've tried to change the config and save this to an config.xml file. But when I reload the config.xml file, it has error could not load the configuration file. you can see the issue #1054 to see my code. I see the error but i can't repair it. Hope you help me to solve this problem. Thank you

Vào Th 2, 13 thg 7, 2020 vào lúc 15:26 FlyinDutchMen < notifications@github.com> đã viết:

I am using a S7-1500 as well. The PLC is the server and I use C# to create a client. I can connect and all. As soon As I'm messing around with the trusted clients certificate thingy I'm in trouble. SO I think I'm further on then you. If needed you can contact me :) Please let me know if you still have issues

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OPCFoundation/UA-.NETStandard/issues/1023#issuecomment-657404424, or unsubscribe https://github.com/notifications/unsubscribe-auth/AL7CK2RANMCC3LXFO737HALR3LALLANCNFSM4OCLDA5A .

TimoTielens commented 4 years ago

Based on Issue #1044 It seems like you're already on the way. I have read it wrongly. I thought that you were trying to connect from a client to the server PLC. My bad. I'm using the PLC as the server and have written my own client. If you like I try to run that program against my client and see if I get it up and running. Sorry I cannot be more of a help:(

TNAKiet commented 3 years ago

Hi @kamishuki76 , I meet same problem with you? Did you find the way to fix it? Can you help me?