Diese Funktion führt 16 Bit / 16 Boolsche Variablen in einer Word Variable zusammen.
| LGF_MergeBitsToWord (FC) | ||||||||
|---|---|---|---|---|---|---|---|---|
| Bool | bit15 | Ret_Val | Word | |||||
| Bool | bit14 | |||||||
| Bool | bit13 | |||||||
| Bool | bit12 | |||||||
| Bool | bit11 | |||||||
| Bool | bit10 | |||||||
| Bool | bit9 | |||||||
| Bool | bit8 | |||||||
| Bool | bit7 | |||||||
| Bool | bit6 | |||||||
| Bool | bit5 | |||||||
| Bool | bit4 | |||||||
| Bool | bit3 | |||||||
| Bool | bit2 | |||||||
| Bool | bit1 | |||||||
| Bool | bit0 | |||||||
| Bezeichner | Datentyp | Beschreibung |
|---|---|---|
| bit15 | Bool | Input Bit 15 - MSB |
| bit14 | Bool | Input Bit 14 |
| bit13 | Bool | Input Bit 13 |
| bit12 | Bool | Input Bit 12 |
| bit11 | Bool | Input Bit 11 |
| bit10 | Bool | Input Bit 10 |
| bit9 | Bool | Input Bit 9 |
| bit8 | Bool | Input Bit 8 |
| bit7 | Bool | Input Bit 7 |
| 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 | Word | Zusammengefügte Bitfolge, gespeichert in einer Word Variable |
| Version & Datum | Änderungsbeschreibung | |
|---|---|---|
| 01.00.00 | Siemens Industry Online Support | |
| 09.02.2017 | First released version | |
| 01.00.01 | Siemens Industry Online Support | |
| 17.08.2018 | Upgrade: TIA V15 Update 2 | |
| 01.00.02 | Siemens Industry Online Support | |
| 23.11.2018 | Upgrade: TIA V15.1 | |
| 01.00.03 | Simatic Systems Support | |
| 26.07.2019 | Standard header, style guide | |
| 01.00.04 | Simatic Systems Support | |
| 30.07.2019 | add ENO handling | |
| 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 | |