From 4bd13dc3c097e91d8212343e86729dc81015a856 Mon Sep 17 00:00:00 2001 From: moritzortmeier1 Date: Mon, 1 Jul 2024 22:20:19 +0200 Subject: [PATCH 01/12] added assembling directory and BOOLS_TO_BYTE.fct --- .../typelib/assembling/BOOLS_TO_BYTE.fct | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_BYTE.fct diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_BYTE.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_BYTE.fct new file mode 100644 index 0000000000..8eb40c1b5b --- /dev/null +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_BYTE.fct @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 5fe538589309e20365d496ca1b2f0609ebc592d8 Mon Sep 17 00:00:00 2001 From: moritzortmeier1 Date: Mon, 1 Jul 2024 22:25:34 +0200 Subject: [PATCH 02/12] added BOOLS_TO_DWORD.fct --- .../typelib/assembling/BOOLS_TO_DWORD.fct | 163 ++++++++++++++++++ 1 file changed, 163 insertions(+) create mode 100644 data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_DWORD.fct diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_DWORD.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_DWORD.fct new file mode 100644 index 0000000000..0075f71a29 --- /dev/null +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_DWORD.fct @@ -0,0 +1,163 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 81d93a816a60bfa27f9fa4af75512a55f7ee2915 Mon Sep 17 00:00:00 2001 From: moritzortmeier1 Date: Mon, 1 Jul 2024 22:28:02 +0200 Subject: [PATCH 03/12] added BOOLS_TO_LWORD.fct --- .../typelib/assembling/BOOLS_TO_LWORD.fct | 295 ++++++++++++++++++ 1 file changed, 295 insertions(+) create mode 100644 data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_LWORD.fct diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_LWORD.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_LWORD.fct new file mode 100644 index 0000000000..3f78520d51 --- /dev/null +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_LWORD.fct @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From f2359cf36f577cbcac5ecc24eed1806ad8a792d2 Mon Sep 17 00:00:00 2001 From: moritzortmeier1 Date: Mon, 1 Jul 2024 22:28:35 +0200 Subject: [PATCH 04/12] added BOOLS_TO_WORD.fct --- .../typelib/assembling/BOOLS_TO_WORD.fct | 104 ++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_WORD.fct diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_WORD.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_WORD.fct new file mode 100644 index 0000000000..bba9b1d23c --- /dev/null +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_WORD.fct @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From e4594e560a9f346ca3a7aab1df1e405de7b2ce2b Mon Sep 17 00:00:00 2001 From: Moritz Ortmeier Date: Sat, 6 Jul 2024 22:36:11 +0200 Subject: [PATCH 05/12] rename BOOLS_TO_BYTE to conform to naming rules --- .../{BOOLS_TO_BYTE.fct => ASSEMBLE_BYTE_FROM_BOOLS.fct} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename data/typelibrary/utils-1.0.0/typelib/assembling/{BOOLS_TO_BYTE.fct => ASSEMBLE_BYTE_FROM_BOOLS.fct} (97%) diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_BYTE.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct similarity index 97% rename from data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_BYTE.fct rename to data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct index 8eb40c1b5b..fca0d3510e 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_BYTE.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct @@ -1,5 +1,5 @@ - + From c68ffb84147b8ca1577b4af69e600718683ed9ca Mon Sep 17 00:00:00 2001 From: Moritz Ortmeier Date: Sat, 6 Jul 2024 22:41:12 +0200 Subject: [PATCH 06/12] rename the other three assembling functions --- ...WORD.fct => ASSEMBLE_DWORD_FROM_BOOLS.fct} | 2 +- ...WORD.fct => ASSEMBLE_LWORD_FROM_BOOLS.fct} | 147 +++++++++--------- ..._WORD.fct => ASSEMBLE_WORD_FROM_BOOLS.fct} | 2 +- 3 files changed, 75 insertions(+), 76 deletions(-) rename data/typelibrary/utils-1.0.0/typelib/assembling/{BOOLS_TO_DWORD.fct => ASSEMBLE_DWORD_FROM_BOOLS.fct} (99%) rename data/typelibrary/utils-1.0.0/typelib/assembling/{BOOLS_TO_LWORD.fct => ASSEMBLE_LWORD_FROM_BOOLS.fct} (79%) rename data/typelibrary/utils-1.0.0/typelib/assembling/{BOOLS_TO_WORD.fct => ASSEMBLE_WORD_FROM_BOOLS.fct} (98%) diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_DWORD.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct similarity index 99% rename from data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_DWORD.fct rename to data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct index 0075f71a29..5dc5b5c9b8 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_DWORD.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct @@ -1,5 +1,5 @@ - + diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_LWORD.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct similarity index 79% rename from data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_LWORD.fct rename to data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct index 3f78520d51..dac1fa6fe9 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_LWORD.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct @@ -1,5 +1,5 @@ - + @@ -8,7 +8,7 @@ - + @@ -76,8 +76,8 @@ - - + + @@ -147,11 +147,11 @@ - + - diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_WORD.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct similarity index 98% rename from data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_WORD.fct rename to data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct index bba9b1d23c..ad49a46c7a 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/BOOLS_TO_WORD.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct @@ -1,5 +1,5 @@ - + From 776080370d6fa16ab98d566d04c2331fc376ae42 Mon Sep 17 00:00:00 2001 From: Moritz Ortmeier Date: Sat, 6 Jul 2024 22:48:48 +0200 Subject: [PATCH 07/12] change the name in the function --- .../assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct | 18 ++--- .../assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct | 66 +++++++++---------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct index fca0d3510e..c043b2af2c 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct @@ -39,7 +39,7 @@ - diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct index 5dc5b5c9b8..fc0d3b2c68 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct @@ -87,7 +87,7 @@ - From 31f99bee18f644adf79929cfcb9f75dcbc39e931 Mon Sep 17 00:00:00 2001 From: Moritz Ortmeier Date: Sat, 6 Jul 2024 22:50:01 +0200 Subject: [PATCH 08/12] Change name in function and use return value instead of VAR_OUTPUT --- .../assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct | 130 +++++++++--------- .../assembling/ASSEMBLE_WORD_FROM_BOOLS.fct | 49 ++++--- 2 files changed, 89 insertions(+), 90 deletions(-) diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct index dac1fa6fe9..bae13d4fa0 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct @@ -151,7 +151,7 @@ - diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct index ad49a46c7a..b91f65c366 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct @@ -8,7 +8,7 @@ - + @@ -28,8 +28,8 @@ - - + + @@ -51,11 +51,11 @@ - + - From 5dded96dc478c84f6382dda83fae071d76268cfd Mon Sep 17 00:00:00 2001 From: Moritz Ortmeier Date: Thu, 11 Jul 2024 22:42:48 +0200 Subject: [PATCH 09/12] change bitwise access to .%X0 --- .../assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct | 16 +-- .../assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct | 64 ++++----- .../assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct | 128 +++++++++--------- .../assembling/ASSEMBLE_WORD_FROM_BOOLS.fct | 34 ++--- 4 files changed, 121 insertions(+), 121 deletions(-) diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct index c043b2af2c..22fe04e512 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct @@ -53,14 +53,14 @@ VAR_INPUT END_VAR (* this Function combines the 8 BOOLS to a byte *) -ASSEMBLE_BYTE_FROM_BOOLS.0 := IN_00; -ASSEMBLE_BYTE_FROM_BOOLS.1 := IN_01; -ASSEMBLE_BYTE_FROM_BOOLS.2 := IN_02; -ASSEMBLE_BYTE_FROM_BOOLS.3 := IN_03; -ASSEMBLE_BYTE_FROM_BOOLS.4 := IN_04; -ASSEMBLE_BYTE_FROM_BOOLS.5 := IN_05; -ASSEMBLE_BYTE_FROM_BOOLS.6 := IN_06; -ASSEMBLE_BYTE_FROM_BOOLS.7 := IN_07; +ASSEMBLE_BYTE_FROM_BOOLS.%X0 := IN_00; +ASSEMBLE_BYTE_FROM_BOOLS.%X1 := IN_01; +ASSEMBLE_BYTE_FROM_BOOLS.%X2 := IN_02; +ASSEMBLE_BYTE_FROM_BOOLS.%X3 := IN_03; +ASSEMBLE_BYTE_FROM_BOOLS.%X4 := IN_04; +ASSEMBLE_BYTE_FROM_BOOLS.%X5 := IN_05; +ASSEMBLE_BYTE_FROM_BOOLS.%X6 := IN_06; +ASSEMBLE_BYTE_FROM_BOOLS.%X7 := IN_07; END_FUNCTION ]]> diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct index fc0d3b2c68..a9a76e06c4 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct @@ -125,38 +125,38 @@ VAR_INPUT END_VAR (* this Function combines the 32 BOOLS to a dword *) -ASSEMBLE_DWORD_FROM_BOOLS.0 := IN_00; -ASSEMBLE_DWORD_FROM_BOOLS.1 := IN_01; -ASSEMBLE_DWORD_FROM_BOOLS.2 := IN_02; -ASSEMBLE_DWORD_FROM_BOOLS.3 := IN_03; -ASSEMBLE_DWORD_FROM_BOOLS.4 := IN_04; -ASSEMBLE_DWORD_FROM_BOOLS.5 := IN_05; -ASSEMBLE_DWORD_FROM_BOOLS.6 := IN_06; -ASSEMBLE_DWORD_FROM_BOOLS.7 := IN_07; -ASSEMBLE_DWORD_FROM_BOOLS.8 := IN_08; -ASSEMBLE_DWORD_FROM_BOOLS.9 := IN_09; -ASSEMBLE_DWORD_FROM_BOOLS.10 := IN_10; -ASSEMBLE_DWORD_FROM_BOOLS.11 := IN_11; -ASSEMBLE_DWORD_FROM_BOOLS.12 := IN_12; -ASSEMBLE_DWORD_FROM_BOOLS.13 := IN_13; -ASSEMBLE_DWORD_FROM_BOOLS.14 := IN_14; -ASSEMBLE_DWORD_FROM_BOOLS.15 := IN_15; -ASSEMBLE_DWORD_FROM_BOOLS.16 := IN_16; -ASSEMBLE_DWORD_FROM_BOOLS.17 := IN_17; -ASSEMBLE_DWORD_FROM_BOOLS.18 := IN_18; -ASSEMBLE_DWORD_FROM_BOOLS.19 := IN_19; -ASSEMBLE_DWORD_FROM_BOOLS.20 := IN_20; -ASSEMBLE_DWORD_FROM_BOOLS.21 := IN_21; -ASSEMBLE_DWORD_FROM_BOOLS.22 := IN_22; -ASSEMBLE_DWORD_FROM_BOOLS.23 := IN_23; -ASSEMBLE_DWORD_FROM_BOOLS.24 := IN_24; -ASSEMBLE_DWORD_FROM_BOOLS.25 := IN_25; -ASSEMBLE_DWORD_FROM_BOOLS.26 := IN_26; -ASSEMBLE_DWORD_FROM_BOOLS.27 := IN_27; -ASSEMBLE_DWORD_FROM_BOOLS.28 := IN_28; -ASSEMBLE_DWORD_FROM_BOOLS.29 := IN_29; -ASSEMBLE_DWORD_FROM_BOOLS.30 := IN_30; -ASSEMBLE_DWORD_FROM_BOOLS.31 := IN_31; +ASSEMBLE_DWORD_FROM_BOOLS.%X0 := IN_00; +ASSEMBLE_DWORD_FROM_BOOLS.%X1 := IN_01; +ASSEMBLE_DWORD_FROM_BOOLS.%X2 := IN_02; +ASSEMBLE_DWORD_FROM_BOOLS.%X3 := IN_03; +ASSEMBLE_DWORD_FROM_BOOLS.%X4 := IN_04; +ASSEMBLE_DWORD_FROM_BOOLS.%X5 := IN_05; +ASSEMBLE_DWORD_FROM_BOOLS.%X6 := IN_06; +ASSEMBLE_DWORD_FROM_BOOLS.%X7 := IN_07; +ASSEMBLE_DWORD_FROM_BOOLS.%X8 := IN_08; +ASSEMBLE_DWORD_FROM_BOOLS.%X9 := IN_09; +ASSEMBLE_DWORD_FROM_BOOLS.%X10 := IN_10; +ASSEMBLE_DWORD_FROM_BOOLS.%X11 := IN_11; +ASSEMBLE_DWORD_FROM_BOOLS.%X12 := IN_12; +ASSEMBLE_DWORD_FROM_BOOLS.%X13 := IN_13; +ASSEMBLE_DWORD_FROM_BOOLS.%X14 := IN_14; +ASSEMBLE_DWORD_FROM_BOOLS.%X15 := IN_15; +ASSEMBLE_DWORD_FROM_BOOLS.%X16 := IN_16; +ASSEMBLE_DWORD_FROM_BOOLS.%X17 := IN_17; +ASSEMBLE_DWORD_FROM_BOOLS.%X18 := IN_18; +ASSEMBLE_DWORD_FROM_BOOLS.%X19 := IN_19; +ASSEMBLE_DWORD_FROM_BOOLS.%X20 := IN_20; +ASSEMBLE_DWORD_FROM_BOOLS.%X21 := IN_21; +ASSEMBLE_DWORD_FROM_BOOLS.%X22 := IN_22; +ASSEMBLE_DWORD_FROM_BOOLS.%X23 := IN_23; +ASSEMBLE_DWORD_FROM_BOOLS.%X24 := IN_24; +ASSEMBLE_DWORD_FROM_BOOLS.%X25 := IN_25; +ASSEMBLE_DWORD_FROM_BOOLS.%X26 := IN_26; +ASSEMBLE_DWORD_FROM_BOOLS.%X27 := IN_27; +ASSEMBLE_DWORD_FROM_BOOLS.%X28 := IN_28; +ASSEMBLE_DWORD_FROM_BOOLS.%X29 := IN_29; +ASSEMBLE_DWORD_FROM_BOOLS.%X30 := IN_30; +ASSEMBLE_DWORD_FROM_BOOLS.%X31 := IN_31; END_FUNCTION ]]> diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct index bae13d4fa0..e4461326a0 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct @@ -224,70 +224,70 @@ END_VAR // OUT : LWORD; // LWORD Output // END_VAR (* this Function combines the 64 BOOLS to a lword *) -ASSEMBLE_LWORD_FROM_BOOLS.0 := IN_00; -ASSEMBLE_LWORD_FROM_BOOLS.1 := IN_01; -ASSEMBLE_LWORD_FROM_BOOLS.2 := IN_02; -ASSEMBLE_LWORD_FROM_BOOLS.3 := IN_03; -ASSEMBLE_LWORD_FROM_BOOLS.4 := IN_04; -ASSEMBLE_LWORD_FROM_BOOLS.5 := IN_05; -ASSEMBLE_LWORD_FROM_BOOLS.6 := IN_06; -ASSEMBLE_LWORD_FROM_BOOLS.7 := IN_07; -ASSEMBLE_LWORD_FROM_BOOLS.8 := IN_08; -ASSEMBLE_LWORD_FROM_BOOLS.9 := IN_09; -ASSEMBLE_LWORD_FROM_BOOLS.10 := IN_10; -ASSEMBLE_LWORD_FROM_BOOLS.11 := IN_11; -ASSEMBLE_LWORD_FROM_BOOLS.12 := IN_12; -ASSEMBLE_LWORD_FROM_BOOLS.13 := IN_13; -ASSEMBLE_LWORD_FROM_BOOLS.14 := IN_14; -ASSEMBLE_LWORD_FROM_BOOLS.15 := IN_15; -ASSEMBLE_LWORD_FROM_BOOLS.16 := IN_16; -ASSEMBLE_LWORD_FROM_BOOLS.17 := IN_17; -ASSEMBLE_LWORD_FROM_BOOLS.18 := IN_18; -ASSEMBLE_LWORD_FROM_BOOLS.19 := IN_19; -ASSEMBLE_LWORD_FROM_BOOLS.20 := IN_20; -ASSEMBLE_LWORD_FROM_BOOLS.21 := IN_21; -ASSEMBLE_LWORD_FROM_BOOLS.22 := IN_22; -ASSEMBLE_LWORD_FROM_BOOLS.23 := IN_23; -ASSEMBLE_LWORD_FROM_BOOLS.24 := IN_24; -ASSEMBLE_LWORD_FROM_BOOLS.25 := IN_25; -ASSEMBLE_LWORD_FROM_BOOLS.26 := IN_26; -ASSEMBLE_LWORD_FROM_BOOLS.27 := IN_27; -ASSEMBLE_LWORD_FROM_BOOLS.28 := IN_28; -ASSEMBLE_LWORD_FROM_BOOLS.29 := IN_29; -ASSEMBLE_LWORD_FROM_BOOLS.30 := IN_30; -ASSEMBLE_LWORD_FROM_BOOLS.31 := IN_31; -ASSEMBLE_LWORD_FROM_BOOLS.32 := IN_32; -ASSEMBLE_LWORD_FROM_BOOLS.33 := IN_33; -ASSEMBLE_LWORD_FROM_BOOLS.34 := IN_34; -ASSEMBLE_LWORD_FROM_BOOLS.35 := IN_35; -ASSEMBLE_LWORD_FROM_BOOLS.36 := IN_36; -ASSEMBLE_LWORD_FROM_BOOLS.37 := IN_37; -ASSEMBLE_LWORD_FROM_BOOLS.38 := IN_38; -ASSEMBLE_LWORD_FROM_BOOLS.39 := IN_39; -ASSEMBLE_LWORD_FROM_BOOLS.40 := IN_40; -ASSEMBLE_LWORD_FROM_BOOLS.41 := IN_41; -ASSEMBLE_LWORD_FROM_BOOLS.42 := IN_42; -ASSEMBLE_LWORD_FROM_BOOLS.43 := IN_43; -ASSEMBLE_LWORD_FROM_BOOLS.44 := IN_44; -ASSEMBLE_LWORD_FROM_BOOLS.45 := IN_45; -ASSEMBLE_LWORD_FROM_BOOLS.46 := IN_46; -ASSEMBLE_LWORD_FROM_BOOLS.47 := IN_47; -ASSEMBLE_LWORD_FROM_BOOLS.48 := IN_48; -ASSEMBLE_LWORD_FROM_BOOLS.49 := IN_49; -ASSEMBLE_LWORD_FROM_BOOLS.50 := IN_50; -ASSEMBLE_LWORD_FROM_BOOLS.51 := IN_51; -ASSEMBLE_LWORD_FROM_BOOLS.52 := IN_52; -ASSEMBLE_LWORD_FROM_BOOLS.53 := IN_53; -ASSEMBLE_LWORD_FROM_BOOLS.54 := IN_54; -ASSEMBLE_LWORD_FROM_BOOLS.55 := IN_55; -ASSEMBLE_LWORD_FROM_BOOLS.56 := IN_56; -ASSEMBLE_LWORD_FROM_BOOLS.57 := IN_57; -ASSEMBLE_LWORD_FROM_BOOLS.58 := IN_58; -ASSEMBLE_LWORD_FROM_BOOLS.59 := IN_59; -ASSEMBLE_LWORD_FROM_BOOLS.60 := IN_60; -ASSEMBLE_LWORD_FROM_BOOLS.61 := IN_61; -ASSEMBLE_LWORD_FROM_BOOLS.62 := IN_62; -ASSEMBLE_LWORD_FROM_BOOLS.63 := IN_63; +ASSEMBLE_LWORD_FROM_BOOLS.%X0 := IN_00; +ASSEMBLE_LWORD_FROM_BOOLS.%X1 := IN_01; +ASSEMBLE_LWORD_FROM_BOOLS.%X2 := IN_02; +ASSEMBLE_LWORD_FROM_BOOLS.%X3 := IN_03; +ASSEMBLE_LWORD_FROM_BOOLS.%X4 := IN_04; +ASSEMBLE_LWORD_FROM_BOOLS.%X5 := IN_05; +ASSEMBLE_LWORD_FROM_BOOLS.%X6 := IN_06; +ASSEMBLE_LWORD_FROM_BOOLS.%X7 := IN_07; +ASSEMBLE_LWORD_FROM_BOOLS.%X8 := IN_08; +ASSEMBLE_LWORD_FROM_BOOLS.%X9 := IN_09; +ASSEMBLE_LWORD_FROM_BOOLS.%X10 := IN_10; +ASSEMBLE_LWORD_FROM_BOOLS.%X11 := IN_11; +ASSEMBLE_LWORD_FROM_BOOLS.%X12 := IN_12; +ASSEMBLE_LWORD_FROM_BOOLS.%X13 := IN_13; +ASSEMBLE_LWORD_FROM_BOOLS.%X14 := IN_14; +ASSEMBLE_LWORD_FROM_BOOLS.%X15 := IN_15; +ASSEMBLE_LWORD_FROM_BOOLS.%X16 := IN_16; +ASSEMBLE_LWORD_FROM_BOOLS.%X17 := IN_17; +ASSEMBLE_LWORD_FROM_BOOLS.%X18 := IN_18; +ASSEMBLE_LWORD_FROM_BOOLS.%X19 := IN_19; +ASSEMBLE_LWORD_FROM_BOOLS.%X20 := IN_20; +ASSEMBLE_LWORD_FROM_BOOLS.%X21 := IN_21; +ASSEMBLE_LWORD_FROM_BOOLS.%X22 := IN_22; +ASSEMBLE_LWORD_FROM_BOOLS.%X23 := IN_23; +ASSEMBLE_LWORD_FROM_BOOLS.%X24 := IN_24; +ASSEMBLE_LWORD_FROM_BOOLS.%X25 := IN_25; +ASSEMBLE_LWORD_FROM_BOOLS.%X26 := IN_26; +ASSEMBLE_LWORD_FROM_BOOLS.%X27 := IN_27; +ASSEMBLE_LWORD_FROM_BOOLS.%X28 := IN_28; +ASSEMBLE_LWORD_FROM_BOOLS.%X29 := IN_29; +ASSEMBLE_LWORD_FROM_BOOLS.%X30 := IN_30; +ASSEMBLE_LWORD_FROM_BOOLS.%X31 := IN_31; +ASSEMBLE_LWORD_FROM_BOOLS.%X32 := IN_32; +ASSEMBLE_LWORD_FROM_BOOLS.%X33 := IN_33; +ASSEMBLE_LWORD_FROM_BOOLS.%X34 := IN_34; +ASSEMBLE_LWORD_FROM_BOOLS.%X35 := IN_35; +ASSEMBLE_LWORD_FROM_BOOLS.%X36 := IN_36; +ASSEMBLE_LWORD_FROM_BOOLS.%X37 := IN_37; +ASSEMBLE_LWORD_FROM_BOOLS.%X38 := IN_38; +ASSEMBLE_LWORD_FROM_BOOLS.%X39 := IN_39; +ASSEMBLE_LWORD_FROM_BOOLS.%X40 := IN_40; +ASSEMBLE_LWORD_FROM_BOOLS.%X41 := IN_41; +ASSEMBLE_LWORD_FROM_BOOLS.%X42 := IN_42; +ASSEMBLE_LWORD_FROM_BOOLS.%X43 := IN_43; +ASSEMBLE_LWORD_FROM_BOOLS.%X44 := IN_44; +ASSEMBLE_LWORD_FROM_BOOLS.%X45 := IN_45; +ASSEMBLE_LWORD_FROM_BOOLS.%X46 := IN_46; +ASSEMBLE_LWORD_FROM_BOOLS.%X47 := IN_47; +ASSEMBLE_LWORD_FROM_BOOLS.%X48 := IN_48; +ASSEMBLE_LWORD_FROM_BOOLS.%X49 := IN_49; +ASSEMBLE_LWORD_FROM_BOOLS.%X50 := IN_50; +ASSEMBLE_LWORD_FROM_BOOLS.%X51 := IN_51; +ASSEMBLE_LWORD_FROM_BOOLS.%X52 := IN_52; +ASSEMBLE_LWORD_FROM_BOOLS.%X53 := IN_53; +ASSEMBLE_LWORD_FROM_BOOLS.%X54 := IN_54; +ASSEMBLE_LWORD_FROM_BOOLS.%X55 := IN_55; +ASSEMBLE_LWORD_FROM_BOOLS.%X56 := IN_56; +ASSEMBLE_LWORD_FROM_BOOLS.%X57 := IN_57; +ASSEMBLE_LWORD_FROM_BOOLS.%X58 := IN_58; +ASSEMBLE_LWORD_FROM_BOOLS.%X59 := IN_59; +ASSEMBLE_LWORD_FROM_BOOLS.%X60 := IN_60; +ASSEMBLE_LWORD_FROM_BOOLS.%X61 := IN_61; +ASSEMBLE_LWORD_FROM_BOOLS.%X62 := IN_62; +ASSEMBLE_LWORD_FROM_BOOLS.%X63 := IN_63; END_FUNCTION ]]> diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct index b91f65c366..1c15e42b5c 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct @@ -77,25 +77,25 @@ VAR_INPUT END_VAR // VAR_OUTPUT -// ASSEMBLE_WORD_FROM_BOOLS : WORD; // WORD ASSEMBLE_WORD_FROM_BOOLSput +// ASSEMBLE_WORD_FROM_BOOLS : WORD; // WORD ASSEMBLE_WORD_FROM_BOOLS put // END_VAR (* this Function combines the 16 BOOLS to a word *) -ASSEMBLE_WORD_FROM_BOOLS.0 := IN_00; -ASSEMBLE_WORD_FROM_BOOLS.1 := IN_01; -ASSEMBLE_WORD_FROM_BOOLS.2 := IN_02; -ASSEMBLE_WORD_FROM_BOOLS.3 := IN_03; -ASSEMBLE_WORD_FROM_BOOLS.4 := IN_04; -ASSEMBLE_WORD_FROM_BOOLS.5 := IN_05; -ASSEMBLE_WORD_FROM_BOOLS.6 := IN_06; -ASSEMBLE_WORD_FROM_BOOLS.7 := IN_07; -ASSEMBLE_WORD_FROM_BOOLS.8 := IN_08; -ASSEMBLE_WORD_FROM_BOOLS.9 := IN_09; -ASSEMBLE_WORD_FROM_BOOLS.10 := IN_10; -ASSEMBLE_WORD_FROM_BOOLS.11 := IN_11; -ASSEMBLE_WORD_FROM_BOOLS.12 := IN_12; -ASSEMBLE_WORD_FROM_BOOLS.13 := IN_13; -ASSEMBLE_WORD_FROM_BOOLS.14 := IN_14; -ASSEMBLE_WORD_FROM_BOOLS.15 := IN_15; +ASSEMBLE_WORD_FROM_BOOLS.%X0 := IN_00; +ASSEMBLE_WORD_FROM_BOOLS.%X1 := IN_01; +ASSEMBLE_WORD_FROM_BOOLS.%X2 := IN_02; +ASSEMBLE_WORD_FROM_BOOLS.%X3 := IN_03; +ASSEMBLE_WORD_FROM_BOOLS.%X4 := IN_04; +ASSEMBLE_WORD_FROM_BOOLS.%X5 := IN_05; +ASSEMBLE_WORD_FROM_BOOLS.%X6 := IN_06; +ASSEMBLE_WORD_FROM_BOOLS.%X7 := IN_07; +ASSEMBLE_WORD_FROM_BOOLS.%X8 := IN_08; +ASSEMBLE_WORD_FROM_BOOLS.%X9 := IN_09; +ASSEMBLE_WORD_FROM_BOOLS.%X10 := IN_10; +ASSEMBLE_WORD_FROM_BOOLS.%X11 := IN_11; +ASSEMBLE_WORD_FROM_BOOLS.%X12 := IN_12; +ASSEMBLE_WORD_FROM_BOOLS.%X13 := IN_13; +ASSEMBLE_WORD_FROM_BOOLS.%X14 := IN_14; +ASSEMBLE_WORD_FROM_BOOLS.%X15 := IN_15; END_FUNCTION ]]> From 3f373906dff6d80c29496094dde25eeaebe8efb5 Mon Sep 17 00:00:00 2001 From: Moritz Ortmeier Date: Wed, 17 Jul 2024 21:32:57 +0200 Subject: [PATCH 10/12] description comment on top of function, delete var_output --- .../typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct | 2 +- .../typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct | 2 +- .../typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct | 5 +---- .../typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct | 5 +---- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct index 22fe04e512..b9aebda2d9 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct @@ -40,6 +40,7 @@ Date: Sun, 21 Jul 2024 22:42:51 +0200 Subject: [PATCH 11/12] description comment above FUNCTION --- .../typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct | 6 +++--- .../typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct | 6 +++--- .../typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct | 6 +++--- .../typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct index b9aebda2d9..b9c018689d 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct @@ -1,5 +1,5 @@ - + @@ -39,8 +39,8 @@ - - + @@ -87,8 +87,8 @@ - - + @@ -151,8 +151,8 @@ - - + @@ -55,8 +55,8 @@ - Date: Sun, 28 Jul 2024 17:01:43 +0200 Subject: [PATCH 12/12] change Input Variables IN_xx to BIT_xx --- .../assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct | 64 +-- .../assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct | 256 ++++----- .../assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct | 512 +++++++++--------- .../assembling/ASSEMBLE_WORD_FROM_BOOLS.fct | 128 ++--- 4 files changed, 480 insertions(+), 480 deletions(-) diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct index b9c018689d..b8bd9284ce 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_BYTE_FROM_BOOLS.fct @@ -9,14 +9,14 @@ - - - - - - - - + + + + + + + + @@ -25,14 +25,14 @@ - - - - - - - - + + + + + + + + @@ -43,24 +43,24 @@ FUNCTION ASSEMBLE_BYTE_FROM_BOOLS : BYTE VAR_INPUT - IN_00 : BOOL; // BIT 00 - IN_01 : BOOL; // BIT 01 - IN_02 : BOOL; // BIT 02 - IN_03 : BOOL; // BIT 03 - IN_04 : BOOL; // BIT 04 - IN_05 : BOOL; // BIT 05 - IN_06 : BOOL; // BIT 06 - IN_07 : BOOL; // BIT 07 + BIT_00 : BOOL; + BIT_01 : BOOL; + BIT_02 : BOOL; + BIT_03 : BOOL; + BIT_04 : BOOL; + BIT_05 : BOOL; + BIT_06 : BOOL; + BIT_07 : BOOL; END_VAR -ASSEMBLE_BYTE_FROM_BOOLS.%X0 := IN_00; -ASSEMBLE_BYTE_FROM_BOOLS.%X1 := IN_01; -ASSEMBLE_BYTE_FROM_BOOLS.%X2 := IN_02; -ASSEMBLE_BYTE_FROM_BOOLS.%X3 := IN_03; -ASSEMBLE_BYTE_FROM_BOOLS.%X4 := IN_04; -ASSEMBLE_BYTE_FROM_BOOLS.%X5 := IN_05; -ASSEMBLE_BYTE_FROM_BOOLS.%X6 := IN_06; -ASSEMBLE_BYTE_FROM_BOOLS.%X7 := IN_07; +ASSEMBLE_BYTE_FROM_BOOLS.%X0 := BIT_00; +ASSEMBLE_BYTE_FROM_BOOLS.%X1 := BIT_01; +ASSEMBLE_BYTE_FROM_BOOLS.%X2 := BIT_02; +ASSEMBLE_BYTE_FROM_BOOLS.%X3 := BIT_03; +ASSEMBLE_BYTE_FROM_BOOLS.%X4 := BIT_04; +ASSEMBLE_BYTE_FROM_BOOLS.%X5 := BIT_05; +ASSEMBLE_BYTE_FROM_BOOLS.%X6 := BIT_06; +ASSEMBLE_BYTE_FROM_BOOLS.%X7 := BIT_07; END_FUNCTION ]]> diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct index 1a9109aac7..e5774d4c8d 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_DWORD_FROM_BOOLS.fct @@ -9,38 +9,38 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -49,38 +49,38 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -91,72 +91,72 @@ FUNCTION ASSEMBLE_DWORD_FROM_BOOLS : DWORD VAR_INPUT - IN_00 : BOOL; // BIT 00 - IN_01 : BOOL; // BIT 01 - IN_02 : BOOL; // BIT 02 - IN_03 : BOOL; // BIT 03 - IN_04 : BOOL; // BIT 04 - IN_05 : BOOL; // BIT 05 - IN_06 : BOOL; // BIT 06 - IN_07 : BOOL; // BIT 07 - IN_08 : BOOL; // BIT 08 - IN_09 : BOOL; // BIT 09 - IN_10 : BOOL; // BIT 10 - IN_11 : BOOL; // BIT 11 - IN_12 : BOOL; // BIT 12 - IN_13 : BOOL; // BIT 13 - IN_14 : BOOL; // BIT 14 - IN_15 : BOOL; // BIT 15 - IN_16 : BOOL; // BIT 16 - IN_17 : BOOL; // BIT 17 - IN_18 : BOOL; // BIT 18 - IN_19 : BOOL; // BIT 19 - IN_20 : BOOL; // BIT 20 - IN_21 : BOOL; // BIT 21 - IN_22 : BOOL; // BIT 22 - IN_23 : BOOL; // BIT 23 - IN_24 : BOOL; // BIT 24 - IN_25 : BOOL; // BIT 25 - IN_26 : BOOL; // BIT 26 - IN_27 : BOOL; // BIT 27 - IN_28 : BOOL; // BIT 28 - IN_29 : BOOL; // BIT 29 - IN_30 : BOOL; // BIT 30 - IN_31 : BOOL; // BIT 31 + BIT_00 : BOOL; + BIT_01 : BOOL; + BIT_02 : BOOL; + BIT_03 : BOOL; + BIT_04 : BOOL; + BIT_05 : BOOL; + BIT_06 : BOOL; + BIT_07 : BOOL; + BIT_08 : BOOL; + BIT_09 : BOOL; + BIT_10 : BOOL; + BIT_11 : BOOL; + BIT_12 : BOOL; + BIT_13 : BOOL; + BIT_14 : BOOL; + BIT_15 : BOOL; + BIT_16 : BOOL; + BIT_17 : BOOL; + BIT_18 : BOOL; + BIT_19 : BOOL; + BIT_20 : BOOL; + BIT_21 : BOOL; + BIT_22 : BOOL; + BIT_23 : BOOL; + BIT_24 : BOOL; + BIT_25 : BOOL; + BIT_26 : BOOL; + BIT_27 : BOOL; + BIT_28 : BOOL; + BIT_29 : BOOL; + BIT_30 : BOOL; + BIT_31 : BOOL; END_VAR -ASSEMBLE_DWORD_FROM_BOOLS.%X0 := IN_00; -ASSEMBLE_DWORD_FROM_BOOLS.%X1 := IN_01; -ASSEMBLE_DWORD_FROM_BOOLS.%X2 := IN_02; -ASSEMBLE_DWORD_FROM_BOOLS.%X3 := IN_03; -ASSEMBLE_DWORD_FROM_BOOLS.%X4 := IN_04; -ASSEMBLE_DWORD_FROM_BOOLS.%X5 := IN_05; -ASSEMBLE_DWORD_FROM_BOOLS.%X6 := IN_06; -ASSEMBLE_DWORD_FROM_BOOLS.%X7 := IN_07; -ASSEMBLE_DWORD_FROM_BOOLS.%X8 := IN_08; -ASSEMBLE_DWORD_FROM_BOOLS.%X9 := IN_09; -ASSEMBLE_DWORD_FROM_BOOLS.%X10 := IN_10; -ASSEMBLE_DWORD_FROM_BOOLS.%X11 := IN_11; -ASSEMBLE_DWORD_FROM_BOOLS.%X12 := IN_12; -ASSEMBLE_DWORD_FROM_BOOLS.%X13 := IN_13; -ASSEMBLE_DWORD_FROM_BOOLS.%X14 := IN_14; -ASSEMBLE_DWORD_FROM_BOOLS.%X15 := IN_15; -ASSEMBLE_DWORD_FROM_BOOLS.%X16 := IN_16; -ASSEMBLE_DWORD_FROM_BOOLS.%X17 := IN_17; -ASSEMBLE_DWORD_FROM_BOOLS.%X18 := IN_18; -ASSEMBLE_DWORD_FROM_BOOLS.%X19 := IN_19; -ASSEMBLE_DWORD_FROM_BOOLS.%X20 := IN_20; -ASSEMBLE_DWORD_FROM_BOOLS.%X21 := IN_21; -ASSEMBLE_DWORD_FROM_BOOLS.%X22 := IN_22; -ASSEMBLE_DWORD_FROM_BOOLS.%X23 := IN_23; -ASSEMBLE_DWORD_FROM_BOOLS.%X24 := IN_24; -ASSEMBLE_DWORD_FROM_BOOLS.%X25 := IN_25; -ASSEMBLE_DWORD_FROM_BOOLS.%X26 := IN_26; -ASSEMBLE_DWORD_FROM_BOOLS.%X27 := IN_27; -ASSEMBLE_DWORD_FROM_BOOLS.%X28 := IN_28; -ASSEMBLE_DWORD_FROM_BOOLS.%X29 := IN_29; -ASSEMBLE_DWORD_FROM_BOOLS.%X30 := IN_30; -ASSEMBLE_DWORD_FROM_BOOLS.%X31 := IN_31; +ASSEMBLE_DWORD_FROM_BOOLS.%X0 := BIT_00; +ASSEMBLE_DWORD_FROM_BOOLS.%X1 := BIT_01; +ASSEMBLE_DWORD_FROM_BOOLS.%X2 := BIT_02; +ASSEMBLE_DWORD_FROM_BOOLS.%X3 := BIT_03; +ASSEMBLE_DWORD_FROM_BOOLS.%X4 := BIT_04; +ASSEMBLE_DWORD_FROM_BOOLS.%X5 := BIT_05; +ASSEMBLE_DWORD_FROM_BOOLS.%X6 := BIT_06; +ASSEMBLE_DWORD_FROM_BOOLS.%X7 := BIT_07; +ASSEMBLE_DWORD_FROM_BOOLS.%X8 := BIT_08; +ASSEMBLE_DWORD_FROM_BOOLS.%X9 := BIT_09; +ASSEMBLE_DWORD_FROM_BOOLS.%X10 := BIT_10; +ASSEMBLE_DWORD_FROM_BOOLS.%X11 := BIT_11; +ASSEMBLE_DWORD_FROM_BOOLS.%X12 := BIT_12; +ASSEMBLE_DWORD_FROM_BOOLS.%X13 := BIT_13; +ASSEMBLE_DWORD_FROM_BOOLS.%X14 := BIT_14; +ASSEMBLE_DWORD_FROM_BOOLS.%X15 := BIT_15; +ASSEMBLE_DWORD_FROM_BOOLS.%X16 := BIT_16; +ASSEMBLE_DWORD_FROM_BOOLS.%X17 := BIT_17; +ASSEMBLE_DWORD_FROM_BOOLS.%X18 := BIT_18; +ASSEMBLE_DWORD_FROM_BOOLS.%X19 := BIT_19; +ASSEMBLE_DWORD_FROM_BOOLS.%X20 := BIT_20; +ASSEMBLE_DWORD_FROM_BOOLS.%X21 := BIT_21; +ASSEMBLE_DWORD_FROM_BOOLS.%X22 := BIT_22; +ASSEMBLE_DWORD_FROM_BOOLS.%X23 := BIT_23; +ASSEMBLE_DWORD_FROM_BOOLS.%X24 := BIT_24; +ASSEMBLE_DWORD_FROM_BOOLS.%X25 := BIT_25; +ASSEMBLE_DWORD_FROM_BOOLS.%X26 := BIT_26; +ASSEMBLE_DWORD_FROM_BOOLS.%X27 := BIT_27; +ASSEMBLE_DWORD_FROM_BOOLS.%X28 := BIT_28; +ASSEMBLE_DWORD_FROM_BOOLS.%X29 := BIT_29; +ASSEMBLE_DWORD_FROM_BOOLS.%X30 := BIT_30; +ASSEMBLE_DWORD_FROM_BOOLS.%X31 := BIT_31; END_FUNCTION ]]> diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct index 7969490b2e..d47b1d0a6b 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_LWORD_FROM_BOOLS.fct @@ -9,70 +9,70 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -81,70 +81,70 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -155,136 +155,136 @@ FUNCTION ASSEMBLE_LWORD_FROM_BOOLS : LWORD VAR_INPUT - IN_00 : BOOL; // BIT 00 - IN_01 : BOOL; // BIT 01 - IN_02 : BOOL; // BIT 02 - IN_03 : BOOL; // BIT 03 - IN_04 : BOOL; // BIT 04 - IN_05 : BOOL; // BIT 05 - IN_06 : BOOL; // BIT 06 - IN_07 : BOOL; // BIT 07 - IN_08 : BOOL; // BIT 08 - IN_09 : BOOL; // BIT 09 - IN_10 : BOOL; // BIT 10 - IN_11 : BOOL; // BIT 11 - IN_12 : BOOL; // BIT 12 - IN_13 : BOOL; // BIT 13 - IN_14 : BOOL; // BIT 14 - IN_15 : BOOL; // BIT 15 - IN_16 : BOOL; // BIT 16 - IN_17 : BOOL; // BIT 17 - IN_18 : BOOL; // BIT 18 - IN_19 : BOOL; // BIT 19 - IN_20 : BOOL; // BIT 20 - IN_21 : BOOL; // BIT 21 - IN_22 : BOOL; // BIT 22 - IN_23 : BOOL; // BIT 23 - IN_24 : BOOL; // BIT 24 - IN_25 : BOOL; // BIT 25 - IN_26 : BOOL; // BIT 26 - IN_27 : BOOL; // BIT 27 - IN_28 : BOOL; // BIT 28 - IN_29 : BOOL; // BIT 29 - IN_30 : BOOL; // BIT 30 - IN_31 : BOOL; // BIT 31 - IN_32 : BOOL; // BIT 32 - IN_33 : BOOL; // BIT 33 - IN_34 : BOOL; // BIT 34 - IN_35 : BOOL; // BIT 35 - IN_36 : BOOL; // BIT 36 - IN_37 : BOOL; // BIT 37 - IN_38 : BOOL; // BIT 38 - IN_39 : BOOL; // BIT 39 - IN_40 : BOOL; // BIT 40 - IN_41 : BOOL; // BIT 41 - IN_42 : BOOL; // BIT 42 - IN_43 : BOOL; // BIT 43 - IN_44 : BOOL; // BIT 44 - IN_45 : BOOL; // BIT 45 - IN_46 : BOOL; // BIT 46 - IN_47 : BOOL; // BIT 47 - IN_48 : BOOL; // BIT 48 - IN_49 : BOOL; // BIT 49 - IN_50 : BOOL; // BIT 50 - IN_51 : BOOL; // BIT 51 - IN_52 : BOOL; // BIT 52 - IN_53 : BOOL; // BIT 53 - IN_54 : BOOL; // BIT 54 - IN_55 : BOOL; // BIT 55 - IN_56 : BOOL; // BIT 56 - IN_57 : BOOL; // BIT 57 - IN_58 : BOOL; // BIT 58 - IN_59 : BOOL; // BIT 59 - IN_60 : BOOL; // BIT 60 - IN_61 : BOOL; // BIT 61 - IN_62 : BOOL; // BIT 62 - IN_63 : BOOL; // BIT 63 + BIT_00 : BOOL; + BIT_01 : BOOL; + BIT_02 : BOOL; + BIT_03 : BOOL; + BIT_04 : BOOL; + BIT_05 : BOOL; + BIT_06 : BOOL; + BIT_07 : BOOL; + BIT_08 : BOOL; + BIT_09 : BOOL; + BIT_10 : BOOL; + BIT_11 : BOOL; + BIT_12 : BOOL; + BIT_13 : BOOL; + BIT_14 : BOOL; + BIT_15 : BOOL; + BIT_16 : BOOL; + BIT_17 : BOOL; + BIT_18 : BOOL; + BIT_19 : BOOL; + BIT_20 : BOOL; + BIT_21 : BOOL; + BIT_22 : BOOL; + BIT_23 : BOOL; + BIT_24 : BOOL; + BIT_25 : BOOL; + BIT_26 : BOOL; + BIT_27 : BOOL; + BIT_28 : BOOL; + BIT_29 : BOOL; + BIT_30 : BOOL; + BIT_31 : BOOL; + BIT_32 : BOOL; + BIT_33 : BOOL; + BIT_34 : BOOL; + BIT_35 : BOOL; + BIT_36 : BOOL; + BIT_37 : BOOL; + BIT_38 : BOOL; + BIT_39 : BOOL; + BIT_40 : BOOL; + BIT_41 : BOOL; + BIT_42 : BOOL; + BIT_43 : BOOL; + BIT_44 : BOOL; + BIT_45 : BOOL; + BIT_46 : BOOL; + BIT_47 : BOOL; + BIT_48 : BOOL; + BIT_49 : BOOL; + BIT_50 : BOOL; + BIT_51 : BOOL; + BIT_52 : BOOL; + BIT_53 : BOOL; + BIT_54 : BOOL; + BIT_55 : BOOL; + BIT_56 : BOOL; + BIT_57 : BOOL; + BIT_58 : BOOL; + BIT_59 : BOOL; + BIT_60 : BOOL; + BIT_61 : BOOL; + BIT_62 : BOOL; + BIT_63 : BOOL; END_VAR -ASSEMBLE_LWORD_FROM_BOOLS.%X0 := IN_00; -ASSEMBLE_LWORD_FROM_BOOLS.%X1 := IN_01; -ASSEMBLE_LWORD_FROM_BOOLS.%X2 := IN_02; -ASSEMBLE_LWORD_FROM_BOOLS.%X3 := IN_03; -ASSEMBLE_LWORD_FROM_BOOLS.%X4 := IN_04; -ASSEMBLE_LWORD_FROM_BOOLS.%X5 := IN_05; -ASSEMBLE_LWORD_FROM_BOOLS.%X6 := IN_06; -ASSEMBLE_LWORD_FROM_BOOLS.%X7 := IN_07; -ASSEMBLE_LWORD_FROM_BOOLS.%X8 := IN_08; -ASSEMBLE_LWORD_FROM_BOOLS.%X9 := IN_09; -ASSEMBLE_LWORD_FROM_BOOLS.%X10 := IN_10; -ASSEMBLE_LWORD_FROM_BOOLS.%X11 := IN_11; -ASSEMBLE_LWORD_FROM_BOOLS.%X12 := IN_12; -ASSEMBLE_LWORD_FROM_BOOLS.%X13 := IN_13; -ASSEMBLE_LWORD_FROM_BOOLS.%X14 := IN_14; -ASSEMBLE_LWORD_FROM_BOOLS.%X15 := IN_15; -ASSEMBLE_LWORD_FROM_BOOLS.%X16 := IN_16; -ASSEMBLE_LWORD_FROM_BOOLS.%X17 := IN_17; -ASSEMBLE_LWORD_FROM_BOOLS.%X18 := IN_18; -ASSEMBLE_LWORD_FROM_BOOLS.%X19 := IN_19; -ASSEMBLE_LWORD_FROM_BOOLS.%X20 := IN_20; -ASSEMBLE_LWORD_FROM_BOOLS.%X21 := IN_21; -ASSEMBLE_LWORD_FROM_BOOLS.%X22 := IN_22; -ASSEMBLE_LWORD_FROM_BOOLS.%X23 := IN_23; -ASSEMBLE_LWORD_FROM_BOOLS.%X24 := IN_24; -ASSEMBLE_LWORD_FROM_BOOLS.%X25 := IN_25; -ASSEMBLE_LWORD_FROM_BOOLS.%X26 := IN_26; -ASSEMBLE_LWORD_FROM_BOOLS.%X27 := IN_27; -ASSEMBLE_LWORD_FROM_BOOLS.%X28 := IN_28; -ASSEMBLE_LWORD_FROM_BOOLS.%X29 := IN_29; -ASSEMBLE_LWORD_FROM_BOOLS.%X30 := IN_30; -ASSEMBLE_LWORD_FROM_BOOLS.%X31 := IN_31; -ASSEMBLE_LWORD_FROM_BOOLS.%X32 := IN_32; -ASSEMBLE_LWORD_FROM_BOOLS.%X33 := IN_33; -ASSEMBLE_LWORD_FROM_BOOLS.%X34 := IN_34; -ASSEMBLE_LWORD_FROM_BOOLS.%X35 := IN_35; -ASSEMBLE_LWORD_FROM_BOOLS.%X36 := IN_36; -ASSEMBLE_LWORD_FROM_BOOLS.%X37 := IN_37; -ASSEMBLE_LWORD_FROM_BOOLS.%X38 := IN_38; -ASSEMBLE_LWORD_FROM_BOOLS.%X39 := IN_39; -ASSEMBLE_LWORD_FROM_BOOLS.%X40 := IN_40; -ASSEMBLE_LWORD_FROM_BOOLS.%X41 := IN_41; -ASSEMBLE_LWORD_FROM_BOOLS.%X42 := IN_42; -ASSEMBLE_LWORD_FROM_BOOLS.%X43 := IN_43; -ASSEMBLE_LWORD_FROM_BOOLS.%X44 := IN_44; -ASSEMBLE_LWORD_FROM_BOOLS.%X45 := IN_45; -ASSEMBLE_LWORD_FROM_BOOLS.%X46 := IN_46; -ASSEMBLE_LWORD_FROM_BOOLS.%X47 := IN_47; -ASSEMBLE_LWORD_FROM_BOOLS.%X48 := IN_48; -ASSEMBLE_LWORD_FROM_BOOLS.%X49 := IN_49; -ASSEMBLE_LWORD_FROM_BOOLS.%X50 := IN_50; -ASSEMBLE_LWORD_FROM_BOOLS.%X51 := IN_51; -ASSEMBLE_LWORD_FROM_BOOLS.%X52 := IN_52; -ASSEMBLE_LWORD_FROM_BOOLS.%X53 := IN_53; -ASSEMBLE_LWORD_FROM_BOOLS.%X54 := IN_54; -ASSEMBLE_LWORD_FROM_BOOLS.%X55 := IN_55; -ASSEMBLE_LWORD_FROM_BOOLS.%X56 := IN_56; -ASSEMBLE_LWORD_FROM_BOOLS.%X57 := IN_57; -ASSEMBLE_LWORD_FROM_BOOLS.%X58 := IN_58; -ASSEMBLE_LWORD_FROM_BOOLS.%X59 := IN_59; -ASSEMBLE_LWORD_FROM_BOOLS.%X60 := IN_60; -ASSEMBLE_LWORD_FROM_BOOLS.%X61 := IN_61; -ASSEMBLE_LWORD_FROM_BOOLS.%X62 := IN_62; -ASSEMBLE_LWORD_FROM_BOOLS.%X63 := IN_63; +ASSEMBLE_LWORD_FROM_BOOLS.%X0 := BIT_00; +ASSEMBLE_LWORD_FROM_BOOLS.%X1 := BIT_01; +ASSEMBLE_LWORD_FROM_BOOLS.%X2 := BIT_02; +ASSEMBLE_LWORD_FROM_BOOLS.%X3 := BIT_03; +ASSEMBLE_LWORD_FROM_BOOLS.%X4 := BIT_04; +ASSEMBLE_LWORD_FROM_BOOLS.%X5 := BIT_05; +ASSEMBLE_LWORD_FROM_BOOLS.%X6 := BIT_06; +ASSEMBLE_LWORD_FROM_BOOLS.%X7 := BIT_07; +ASSEMBLE_LWORD_FROM_BOOLS.%X8 := BIT_08; +ASSEMBLE_LWORD_FROM_BOOLS.%X9 := BIT_09; +ASSEMBLE_LWORD_FROM_BOOLS.%X10 := BIT_10; +ASSEMBLE_LWORD_FROM_BOOLS.%X11 := BIT_11; +ASSEMBLE_LWORD_FROM_BOOLS.%X12 := BIT_12; +ASSEMBLE_LWORD_FROM_BOOLS.%X13 := BIT_13; +ASSEMBLE_LWORD_FROM_BOOLS.%X14 := BIT_14; +ASSEMBLE_LWORD_FROM_BOOLS.%X15 := BIT_15; +ASSEMBLE_LWORD_FROM_BOOLS.%X16 := BIT_16; +ASSEMBLE_LWORD_FROM_BOOLS.%X17 := BIT_17; +ASSEMBLE_LWORD_FROM_BOOLS.%X18 := BIT_18; +ASSEMBLE_LWORD_FROM_BOOLS.%X19 := BIT_19; +ASSEMBLE_LWORD_FROM_BOOLS.%X20 := BIT_20; +ASSEMBLE_LWORD_FROM_BOOLS.%X21 := BIT_21; +ASSEMBLE_LWORD_FROM_BOOLS.%X22 := BIT_22; +ASSEMBLE_LWORD_FROM_BOOLS.%X23 := BIT_23; +ASSEMBLE_LWORD_FROM_BOOLS.%X24 := BIT_24; +ASSEMBLE_LWORD_FROM_BOOLS.%X25 := BIT_25; +ASSEMBLE_LWORD_FROM_BOOLS.%X26 := BIT_26; +ASSEMBLE_LWORD_FROM_BOOLS.%X27 := BIT_27; +ASSEMBLE_LWORD_FROM_BOOLS.%X28 := BIT_28; +ASSEMBLE_LWORD_FROM_BOOLS.%X29 := BIT_29; +ASSEMBLE_LWORD_FROM_BOOLS.%X30 := BIT_30; +ASSEMBLE_LWORD_FROM_BOOLS.%X31 := BIT_31; +ASSEMBLE_LWORD_FROM_BOOLS.%X32 := BIT_32; +ASSEMBLE_LWORD_FROM_BOOLS.%X33 := BIT_33; +ASSEMBLE_LWORD_FROM_BOOLS.%X34 := BIT_34; +ASSEMBLE_LWORD_FROM_BOOLS.%X35 := BIT_35; +ASSEMBLE_LWORD_FROM_BOOLS.%X36 := BIT_36; +ASSEMBLE_LWORD_FROM_BOOLS.%X37 := BIT_37; +ASSEMBLE_LWORD_FROM_BOOLS.%X38 := BIT_38; +ASSEMBLE_LWORD_FROM_BOOLS.%X39 := BIT_39; +ASSEMBLE_LWORD_FROM_BOOLS.%X40 := BIT_40; +ASSEMBLE_LWORD_FROM_BOOLS.%X41 := BIT_41; +ASSEMBLE_LWORD_FROM_BOOLS.%X42 := BIT_42; +ASSEMBLE_LWORD_FROM_BOOLS.%X43 := BIT_43; +ASSEMBLE_LWORD_FROM_BOOLS.%X44 := BIT_44; +ASSEMBLE_LWORD_FROM_BOOLS.%X45 := BIT_45; +ASSEMBLE_LWORD_FROM_BOOLS.%X46 := BIT_46; +ASSEMBLE_LWORD_FROM_BOOLS.%X47 := BIT_47; +ASSEMBLE_LWORD_FROM_BOOLS.%X48 := BIT_48; +ASSEMBLE_LWORD_FROM_BOOLS.%X49 := BIT_49; +ASSEMBLE_LWORD_FROM_BOOLS.%X50 := BIT_50; +ASSEMBLE_LWORD_FROM_BOOLS.%X51 := BIT_51; +ASSEMBLE_LWORD_FROM_BOOLS.%X52 := BIT_52; +ASSEMBLE_LWORD_FROM_BOOLS.%X53 := BIT_53; +ASSEMBLE_LWORD_FROM_BOOLS.%X54 := BIT_54; +ASSEMBLE_LWORD_FROM_BOOLS.%X55 := BIT_55; +ASSEMBLE_LWORD_FROM_BOOLS.%X56 := BIT_56; +ASSEMBLE_LWORD_FROM_BOOLS.%X57 := BIT_57; +ASSEMBLE_LWORD_FROM_BOOLS.%X58 := BIT_58; +ASSEMBLE_LWORD_FROM_BOOLS.%X59 := BIT_59; +ASSEMBLE_LWORD_FROM_BOOLS.%X60 := BIT_60; +ASSEMBLE_LWORD_FROM_BOOLS.%X61 := BIT_61; +ASSEMBLE_LWORD_FROM_BOOLS.%X62 := BIT_62; +ASSEMBLE_LWORD_FROM_BOOLS.%X63 := BIT_63; END_FUNCTION ]]> diff --git a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct index 9c88a6bcf3..8cc81da0af 100644 --- a/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct +++ b/data/typelibrary/utils-1.0.0/typelib/assembling/ASSEMBLE_WORD_FROM_BOOLS.fct @@ -9,22 +9,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -33,22 +33,22 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -59,40 +59,40 @@ FUNCTION ASSEMBLE_WORD_FROM_BOOLS : WORD VAR_INPUT - IN_00 : BOOL; // BIT 00 - IN_01 : BOOL; // BIT 01 - IN_02 : BOOL; // BIT 02 - IN_03 : BOOL; // BIT 03 - IN_04 : BOOL; // BIT 04 - IN_05 : BOOL; // BIT 05 - IN_06 : BOOL; // BIT 06 - IN_07 : BOOL; // BIT 07 - IN_08 : BOOL; // BIT 08 - IN_09 : BOOL; // BIT 09 - IN_10 : BOOL; // BIT 10 - IN_11 : BOOL; // BIT 11 - IN_12 : BOOL; // BIT 12 - IN_13 : BOOL; // BIT 13 - IN_14 : BOOL; // BIT 14 - IN_15 : BOOL; // BIT 15 + BIT_00 : BOOL; + BIT_01 : BOOL; + BIT_02 : BOOL; + BIT_03 : BOOL; + BIT_04 : BOOL; + BIT_05 : BOOL; + BIT_06 : BOOL; + BIT_07 : BOOL; + BIT_08 : BOOL; + BIT_09 : BOOL; + BIT_10 : BOOL; + BIT_11 : BOOL; + BIT_12 : BOOL; + BIT_13 : BOOL; + BIT_14 : BOOL; + BIT_15 : BOOL; END_VAR -ASSEMBLE_WORD_FROM_BOOLS.%X0 := IN_00; -ASSEMBLE_WORD_FROM_BOOLS.%X1 := IN_01; -ASSEMBLE_WORD_FROM_BOOLS.%X2 := IN_02; -ASSEMBLE_WORD_FROM_BOOLS.%X3 := IN_03; -ASSEMBLE_WORD_FROM_BOOLS.%X4 := IN_04; -ASSEMBLE_WORD_FROM_BOOLS.%X5 := IN_05; -ASSEMBLE_WORD_FROM_BOOLS.%X6 := IN_06; -ASSEMBLE_WORD_FROM_BOOLS.%X7 := IN_07; -ASSEMBLE_WORD_FROM_BOOLS.%X8 := IN_08; -ASSEMBLE_WORD_FROM_BOOLS.%X9 := IN_09; -ASSEMBLE_WORD_FROM_BOOLS.%X10 := IN_10; -ASSEMBLE_WORD_FROM_BOOLS.%X11 := IN_11; -ASSEMBLE_WORD_FROM_BOOLS.%X12 := IN_12; -ASSEMBLE_WORD_FROM_BOOLS.%X13 := IN_13; -ASSEMBLE_WORD_FROM_BOOLS.%X14 := IN_14; -ASSEMBLE_WORD_FROM_BOOLS.%X15 := IN_15; +ASSEMBLE_WORD_FROM_BOOLS.%X0 := BIT_00; +ASSEMBLE_WORD_FROM_BOOLS.%X1 := BIT_01; +ASSEMBLE_WORD_FROM_BOOLS.%X2 := BIT_02; +ASSEMBLE_WORD_FROM_BOOLS.%X3 := BIT_03; +ASSEMBLE_WORD_FROM_BOOLS.%X4 := BIT_04; +ASSEMBLE_WORD_FROM_BOOLS.%X5 := BIT_05; +ASSEMBLE_WORD_FROM_BOOLS.%X6 := BIT_06; +ASSEMBLE_WORD_FROM_BOOLS.%X7 := BIT_07; +ASSEMBLE_WORD_FROM_BOOLS.%X8 := BIT_08; +ASSEMBLE_WORD_FROM_BOOLS.%X9 := BIT_09; +ASSEMBLE_WORD_FROM_BOOLS.%X10 := BIT_10; +ASSEMBLE_WORD_FROM_BOOLS.%X11 := BIT_11; +ASSEMBLE_WORD_FROM_BOOLS.%X12 := BIT_12; +ASSEMBLE_WORD_FROM_BOOLS.%X13 := BIT_13; +ASSEMBLE_WORD_FROM_BOOLS.%X14 := BIT_14; +ASSEMBLE_WORD_FROM_BOOLS.%X15 := BIT_15; END_FUNCTION ]]>