Naše značky

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

Vítejte na internetových stránkách společnosti Schneider Electric

Vítejte na našich internetových stránkách.
		
Jak vám dnes můžeme pomoci?
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 Česká republika

Zjistěte více
Řada:
Zjistěte více
Řada:

Potřebujete pomoc?

  • Nástroj pro výběr produktů

    Rychle a snadno vyhledávejte správné produkty a příslušenství pro vaše aplikace.

  • Získejte nabídku

    Poptejte nás online a náš lokální specialista se s vámi spojí!

  • Kde nakoupit?

    Jednoduše najděte nejbližšího distributora výrobků Schneider Electric ve vašem okolí.

  • Centrum nápovědy

    Zdroje podpory pro všechny své potřeby najdete na jednom místě.

  • Dokumentace k produktům
  • Software ke stažení
  • Nástroj pro výběr produktů
  • Hledání náhrady za produkty
  • Centrum nápovědy a kontakty
  • Najít naše pobočky
  • Získejte nabídku
  • Kde koupit
  • Profil společnosti
  • Nahlásit nevhodné chování
  • Přístupnost
  • Newsroom
  • Investoři
  • EcoStruxure
  • Vyhledávání pracovních míst
  • Blog
  • Zásady ochrany osobních údajů
  • Oznámení o souborech cookie
  • Podmínky použití
  • Změnit nastavení souborů cookie