Skip to content
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

Implementation of Reachable PLC Scanner for TCP/IP #74

Merged
merged 2 commits into from
Jul 21, 2017
Merged

Implementation of Reachable PLC Scanner for TCP/IP #74

merged 2 commits into from
Jul 21, 2017

Conversation

StefanHasensperling
Copy link
Contributor

This is an implementation for an Accesible PLC discovery Mechanism much like "Reachable Devices" in Simatic Manager. Currently this mechanism does only support TCP/IP.

For testing y added an new Menu Option into the Toolbox Project. Everything is implemented in "Communication.Discovery".

The Reachable PLC Scanner basically works the following way:
It gets all local IPV4 addresses from all Interfaces and then builds an list of addresses in each network interface from x.x.x.1 up to x.x.x.255 (This algorithm may not be optimal, but works in a lot of cases)
Then it goes on checking if any of these addresses are accepting connections on port 102, and if so, it tries to access the address via this library by checking the Slots 0 up to 5.
If any IP/Slot combination is found, it uploads the basic Controller Information, so it can be shown to the user.

Stefan Hasensperling added 2 commits July 18, 2017 22:34
…ons.

Also includes an ready to go Discovery Modal Dialog
…s given to the "GetInterface" functions.

This can happen during parsing of FB blocks, that do not have start values to be parsed
@jogibear9988 jogibear9988 merged commit 67ba047 into dotnetprojects:master Jul 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants