PLC間通訊之第二集
2026/1/29 10:49:21
PLC1采集PLC2的時鐘寄存器字節(jié),提取其中三個比特位來控制3個燈負載的亮滅,3個燈負載有亮滅變化基本就確定通訊成功。
PLC2側:提供數(shù)據(jù)源。
一:硬件組態(tài)及建立連接
PLC2 IP地址為192.168.5.2,網(wǎng)關192.168.5.1;
二:PLC2側配置
三:PLC1側配置
四:三層設備配置(XM400)
1、System-Ports修改端口模式
添加端口IP地址做為PLC的網(wǎng)關


燈亮滅交替變化。
PS:XM400交換機是控制網(wǎng)絡和IT網(wǎng)絡連接的堅實的橋梁,全千兆卡軌式。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;"="">
審核編輯(
王靜
)
提交
查看更多評論

投訴建議