Our Brands

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

Welcome to the Schneider Electric Website

Welcome to our website.
		
How can we help you today?
MODNET string variable configuration

Summary:

I have configured a string variable communicating to a PLC via MODNET and I can only see the first 2 characters of the string. How can I see the whole string?

Solution:

If you specify a string tag with the address 40001, the MODNET driver will only read register 40001 (2 bytes so 2 characters). If you want a string longer than 2 characters you have to create your tag as an array of characters so the driver knows how long the string is. So if you want a string of length 10 you need to setup an array of length 5. image


Keywords:

MODBUS

________________________________________

Schneider Electric Philippines

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