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

Siemens S7-1200 connection problem #22

Open
ertankucukoglu opened this issue Oct 2, 2017 · 1 comment
Open

Siemens S7-1200 connection problem #22

ertankucukoglu opened this issue Oct 2, 2017 · 1 comment

Comments

@ertankucukoglu
Copy link

Hello,

Using Delphi 10.2 with 1.6.7 version of the library. I have Indy 10.6.2.5366 installed.

I am using Indy10 ModbusMaster demo application to test a connection and I constantly receive socket error 10061 connection refused.

I have installed Modbus Slave application of Witte Software in demo mode to make a test connection and that application can connect to PLC device just fine on same computer and apparently same settings.

Is there any known issues with siemens PLC devices?

Thanks.

@ertankucukoglu
Copy link
Author

After working on the problem. It turns out that I need to set TIdModbusClient.BoundPort to 502 for connection to be established fine. However, when I do that, I start to receive Address already in use error messages if I am to close and open the demo application.

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

No branches or pull requests

1 participant