连接到Codesys中的目标设备

发布于 2025-02-10 07:33:02 字数 173 浏览 1 评论 0原文

我想将我的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

坚持沉默 2025-02-17 07:33:02

您可以直接填写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.

甜警司 2025-02-17 07:33:02

首先,计算机的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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文