我们今天能为您提供什么帮助?

What is the Syntax of the IN Parameter of the ADDM block used by M340 PLCs when communicating over Ethernet?

The ADDM function block builds a device address string for use with communication blocks like READ_VAR or WRITE_VAR.

The input parameter is:

input ,ADDM, parameter

For addressing a station over Ethernet, IN takes one of these forms:

  • 'Netlink{hostAddr}'
  • 'Netlink{hostAddr}TCP.MBS'
  • 'Netlink{hostAddr}MBS'
  • 'r.m.c{hostAddr}'
  • 'r.m.c{hostAddr}TCP.MBS'
  • 'r.m.c{hostAddr}MBS'
  • 'Netlink{hostAddr}node'

Where:

  • Netlink — the network name set in the Net Link field of the Ethernet channel
  • hostAddr — the IP address of the target device
  • r — rack number
  • m — module position
  • c — channel number
  • node — the Modbus or CANopen node behind a gateway (the gateway itself is identified by hostAddr)
  • MBS — Modbus Server
  • TCP.MBS — TCP Modbus Server


施耐德電機Taiwan

探索更多

系列:

探索更多

系列:

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。