Our Brands

Impact-Company-Logo-English Black-01-177x54

Schneider Electric USA Website

Welcome to our website.
		
How can we help you today?
Is there a simple example demonstrating sending a ModbusTCP Message?
The attached code (an exported Structured Text Section) will demonstrate sending a TCP/Modbus read register request from a PLC to a modbus device.
The code is extensively commented and can easily be modified to send any supported modbus message. Simply open a Unity project and import the section.
It was created using Unity Pro ver 12.0 and an M580 PLC but should be able to be used with any version of unity and any PLC that supports the
DATA_EXCH fb.

Schneider Electric USA

Attachment(s)
send_mbus.zip [2 KB]
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?

  • Product Selector

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

  • Get a Quote

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

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • 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
  • Where to buy
  • Get a Quote
  • Find our Offices
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Tech Support: 877-342-5173
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings