工控网首页
>

应用设计

>

PLC间通讯之第二集

PLC间通讯之第二集

2026/1/29 10:49:21

    PLC1采集PLC2的时钟寄存器字节,提取其中三个比特位来控制3个灯负载的亮灭,3个灯负载有亮灭变化基本就确定通讯成功。

    PLC2侧:提供数据源。

一:硬件组态及建立连接

    PLC2 IP地址为192.168.5.2,网关192.168.5.1;

二:PLC2侧配置

三:PLC1侧配置

四:三层设备配置(XM400)

    1、System-Ports修改端口模式

    添加端口IP地址做为PLC的网关

0 (2).png

0 (3).png

灯亮灭交替变化。

PS:XM400交换机是控制网络和IT网络连接的坚实的桥梁,全千兆卡轨式。XM400根植于Profinet,兼容Ethernet/IP,向后兼容IPv6。

<p pingfang="" sc",="" system-ui,="" -apple-system,="" blinkmacsystemfont,="" "helvetica="" neue",="" "hiragino="" sans="" gb",="" "microsoft="" yahei="" ui",="" yahei",="" arial,="" sans-serif;="" font-size:="" 17px;="" letter-spacing:="" 0.544px;="" text-align:="" justify;="" text-wrap-mode:="" wrap;="" background-color:="" rgb(255,="" 255,="" 255);="" visibility:="" visible;="" box-sizing:="" border-box="" !important;="" overflow-wrap:="" break-word="" !important;"="">

审核编辑(
王静
)
投诉建议

提交

查看更多评论