Nehal Trivedi
Nehal Trivedi

Reputation: 45

Connecting to target device in codesys

I want to connect my PLC with Codesys. When i scan for the network in communication settings, the gateway is green but it does not find any device.

When I connect the same PLC with my laptop it works but when i try to connect with the monitor near the PLC Codesys does not find the device.

I also have the SoftPLC which is on, but still no response.

May I know what may be the reason?

Upvotes: 0

Views: 2204

Answers (2)

anilarli
anilarli

Reputation: 1

First of all, the ip of your computer and the ip of the device you are connected to must be the same. For example, 192.168.2.20 (your pc) 192.168.2.10 (device)

You can do this from the network connections.

Then in the connection section, instead of localhost, you must type the ip of the device. If you are sure of your cable connection and your gateway is working correctly, you can connect without any problems.

Upvotes: 0

Jouke Aalvanger
Jouke Aalvanger

Reputation: 1

You can directly fill in the IP-address of the PLC. This way you don't need to use 'scan network' to find the PLC first.

Upvotes: 0

Related Questions