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

Discuss this topic with experts

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

Explore more

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.