-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection to TC-BDS fails with Error 1827 #136
Comments
What's different to #128 ? |
Oh and the addresses in the diagram doesn't match your wireshark dump. In the dump 192.168.215.138 tries to access "GvlVisu.tstVisuStruct", which is your workstation, not the VM |
What's different to #128 ? Wireshark dump ws_export_error1827.zip Here's how the example is looking currently:
|
In your diagram 192.168.215.138 is the workstation not the the Ubuntu VM. Are you sure your routing setting on the BSD machine is matching? |
Oh, I made a mistake there. The IP addresses are reversed in the diagram. |
The most interesting part of your edit is that you had the PLC in CONFIG mode. That means you should have received ErrorCode 0x6 and not 0x723. |
@tillmanott did you see #148. The problem there was they configured their route as "unidirectional". Could it be your issue, too? |
Hello,
my attempt to use the ADS-lib to connect to Twincat on a CX with TC-BSD fails with error 1827. The readStateExample() and a custom implementation of the library were executed:
The route between TC-BSD and the Ubuntu machine running the ADS-lib was created. IP address conflicts do not exist. All Ip-addresses were assigned statically in the Class C area within a subnet:
Edit: The IP addresses are reversed in the diagram. Workstation: 192.168.215.137; ubuntu VM: 192.168.215.138
In TC-BSD, TCP port 48898 was whitelisted in pf.conf and both the firewall and the overall system were restarted.
The following entry was added to pf.conf:
Disabling the firewall completely did not work either.
I have attached a Wireshark dump, maybe it helps.
ws_export_adsconnection.zip
Greetings
The text was updated successfully, but these errors were encountered: