How can we help you today?

Modicon M340 maximum INT values

Issue

Customer needs to count up past 32,768 using a single 16 bit word.

Product Line

Modicon M340, Control Expert, Unity Pro

Resolution

The INT has a maximum value of 32767 because it uses the signed bit to support a data range of -32768 to +32767.

The UINT has a maximum value of 65535 because it is unsigned and uses all bits for a supported range of 0-65535.

Select the INT data type for your variable and you will be able to support 0-65535 using a single 16 bit word.

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:
  • Help and Contact Center
  • Contact Sales
  • Find our Offices
  • Where to Buy
  • Careers
  • Company Profile
  • Investors
  • Newsroom
  • Report a Misconduct
  • Product Documentation
  • Product Selectors
  • Software and Firmware
  • Product Substitution and Replacement
  • Blog
  • Events
  • Schneider Electric Community
  • Sustainability
  • Legal Information
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings