How can we help you today?

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


Schneider Electric Egypt and North East Africa

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:

Need help?

Need help?

Product Selector

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Get a Quote

Start your sales enquiry online and an expert will connect with you.

Where to buy?

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Center

Help Center

Find support resources for all your needs, in one place.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Center
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings