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?
What is the difference between PackedBool and MaskedBool?

The Device Importer in ION Enterprise/SPM7 has a selection for both "MaskedBool" and "PackedBool"
The ION Enterprise User Guide and SPM7 User Guide describe MaskedBool and PackedBool as the same thing in the glossary section of both guides. Here is a quote from the guides:

MaskedBool or PackedBool:

A 16-bit value that is interpreted according to the bit pattern described by the Mask attribute. Bits exposed by the
mask can be read or written without affecting the value of other bits. Unmasked bits are interpreted as 0 on a
read and are unaffected on a write. Undeclared bits of a mask are interpreted as unmasked (i.e., mask="0x7F"
is interpreted as 0x007F). The value that is read or written is determined by using enumeration ordinals,
described below. If used for read-only Boolean data, enumerations are not required. If no mask is specified, all
bits are relevant.

This is a good 'general' description, but there is a subtle difference:

- PackedBool is reading ALL bits of the register at once.

- MaskedBool is only reading a single bit of the register. So in order to read the entire register, all 16 bits would need to be read.

In the end, they will both accomplish the same goal, which is why the guide groups them together. So in any case where there is an option to select PackedBool OR MaskedBool, either selection should be acceptable.

Schneider Electric Saudi Arabia

Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:

Need help?

  • Start here!

    Find answers now. Search for a solution on your own, or connect with one of our experts.

  • Contact Support

    Reach out to our customer care team to receive more information, technical support, assistance with complaints and more.

  • Where to buy?

    Easily find the nearest Schneider Electric distributor in your location.

  • Search FAQs

    Search topic-related frequently asked questions to find answers you need.

  • Contact Sales

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

I'd like to receive news and commercial info from Schneider Electric and its affiliates via electronic communication means such as email, and I agree to the collection of information on the opening and clicks on these emails (using invisible pixels in the images), to measure performance of Schneider Electric's communications and to improve them. For more details, please read our Privacy Policy.

  • Product Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • 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