Diese Funktion führt 8 Bit / 8 Boolsche Variablen in einer Byte Variable zusammen.
| LGF_MergeBitsToByte (FC) | ||||||||
|---|---|---|---|---|---|---|---|---|
| Bool | bit7 | Ret_Val | Byte | |||||
| Bool | bit6 | |||||||
| Bool | bit5 | |||||||
| Bool | bit4 | |||||||
| Bool | bit3 | |||||||
| Bool | bit2 | |||||||
| Bool | bit1 | |||||||
| Bool | bit0 | |||||||
| Bezeichner | Datentyp | Beschreibung |
|---|---|---|
| bit7 | Bool | Input Bit 7 - MSB |
| bit6 | Bool | Input Bit 6 |
| bit5 | Bool | Input Bit 5 |
| bit4 | Bool | Input Bit 4 |
| bit3 | Bool | Input Bit 3 |
| bit2 | Bool | Input Bit 2 |
| bit1 | Bool | Input Bit 1 |
| bit0 | Bool | Input Bit 0 - LSB |
| Bezeichner | Datentyp | Beschreibung |
|---|---|---|
| Ret_Val | Byte | Zusammengefügte Bitfolge, gespeichert in einer Byte Variable |
| Version & Datum | Änderungsbeschreibung | |
|---|---|---|
| 01.00.00 | Simatic Systems Support | |
| 20.06.2019 | First release | |
| 03.00.00 | Simatic Systems Support | |
| 23.04.2020 | Set version to V3.0.0 harmonize the version of the whole library | |
| 03.00.01 | Simatic Systems Support | |
| 22.02.2021 | Insert documentation | |