连接到Codesys中的目标设备
我想将我的PLC与Codesys联系起来。当我在通信设置中扫描网络时,网关为绿色,但找不到任何设备。
当我将同一PLC与笔记本电脑连接起来时,它可以工作,但是当我尝试与PLC Codesys附近的显示器连接时,找不到该设备。
我也有SoftPLC,但仍然没有响应。
我可以知道原因是什么吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以直接填写PLC的IP地址。这样,您就不需要使用“扫描网络”首先找到PLC。
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.
首先,计算机的IP和您连接到的设备的IP必须相同。例如,
192.168.2.20(您的PC)
192.168.2.10(设备)
您可以从网络连接中执行此操作。
然后,在连接部分,而不是本地主机,您必须键入设备的IP。如果您确定电缆连接并且网关正常工作,则可以无问题连接。
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.