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?
Why am I getting a 'Character string fault' on my DT_TO_STRING block?
Issue
When using a DT_TO_STRING block, it returns a 'Character string fault' in the Diagnostic Viewer.

Product line
Unity Pro, Control Expert

Resolution
This is normally caused by assigning a variable of type 'string' to the OUT pin of the DT_TO_STRING. The OUT pin is actually 20 characters long and the type 'string' is 16. Changing the variable type from 'string' to 'string[20]' will eliminate the error. To change the type, simply call up the variable in the Data Editor and add [20] after the word 'string' in the Type column.

Schneider Electric Canada

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 en 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
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Register Your Product
  • Blog
  • Legal Information
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings