E_BA_ByteMappingMode
TYPE E_BA_ByteMappingMode :
(
Invalid := 0,
eIndex1N := 1,
eBinary1N := 2,
eIndexUpDown := 3,
eBinaryUpDown := 4,
eBinaryDecimal := 5,
) BYTE;
END_TYPE
Name | Beschreibung |
---|---|
Invalid | Keine Bedeutung für den Anwender. |
eIndex1N | Setzt das indizierte Bit auf TRUE. Beispiel: 2#0000_0001 | 1 2#0000_0010 | 2 2#0000_0100 | 3 2#0000_1000 | 4 |
eBinary1N | Setzt nur das erste Bit eines binär gemappten Dezimalwertes auf TRUE. Beispiel: 2#0000_0001 | 1 2#0000_0010 | 2, 3 2#0000_0100 | 4, 5, 6 2#0000_1000 | 8, 9, 10, 11, 12, 13, 14, 15 |
eIndexUpDown | Setzt eine spezifische Anzahl von Bits auf TRUE. Beispiel: 2#0000_0001 | 1 2#0000_0011 | 2 2#0000_0111 | 3 2#0000_1111 | 4 |
eBinaryUpDown | Setzt alle Bits eines binär gemappten Dezimalwertes auf TRUE. Beispiel: 2#0000_0001 | 1 2#0000_0011 | 2, 3 2#0000_0111 | 4, 5, 6 2#0000_1111 | 8, 9, 10, 11, 12, 13, 14, 15 |
eBinaryDecimal | Binär gemappter Dezimalwert. Beispiel: 2#0000_0001 | 1 2#0000_0010 | 2 2#0000_0011 | 3 2#0000_0100 | 4 2#0000_0101 | 5 2#1111_1111 | 255 |
Voraussetzungen
Entwicklungsumgebung | Erforderliche SPS-Bibliothek |
---|---|
TwinCAT3.1 4024.35 | Tc3_BA2_Common ab V2.1.20.0 |