Activity for Stefan

  • Stefan Stefan posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    See my recent post

  • Stefan Hamcke Stefan Hamcke posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello Heinz, this behaviour did not occur in the SP 21, at least up to and including Patch 5. Now it's present in at least Patch 3 and 4 of SP 22. I noticed this also when I switched to 22.3 due to WAGO releasing FW 32. As far as I can tell, the GVL name is repeated when (as you said) the GVL has the attribute "qualified_only", but also when the option "Insert with namespace" is checked in the settings. There is another bug when the aforementioned option is checked, namely when you start typing in...

  • Stefan Hamcke Stefan Hamcke modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I have written a function block that uses a generic constant for the upper bound of an array. I wanted to have this array in the persistent memory area, thus I constructed my FB as follows: FUNCTION_BLOCK FbWithGenericArrayLength VAR_GENERIC CONSTANT uiArrayLength : UINT := 10; END_VAR VAR PERSISTENT arr : ARRAY[1..uiArrayLength] OF INT; END_VAR In my PLC_PRG I declare an instance of said FB PROGRAM PLC_PRG VAR myFb : FbWithGenericArrayLength<10>; END_VAR This compiles just fine. When I let...

  • Stefan Hamcke Stefan Hamcke modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I have written a function block that uses a generic constant for the upper bound of an array. I wanted to have this array in the persistent memory area, thus I constructed my FB as follows: FUNCTION_BLOCK FbWithGenericArrayLength VAR_GENERIC CONSTANT uiArrayLength : UINT := 10; END_VAR VAR PERSISTENT arr : ARRAY[1..uiArrayLength] OF INT; END_VAR In my PLC_PRG I declare an instance of said FB PROGRAM PLC_PRG VAR myFb : FbWithGenericArrayLength<10>; END_VAR This compiles just fine. When I let...

  • Stefan Hamcke Stefan Hamcke modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I have written a function block that uses a generic constant for the upper bound of an array. I wanted to have this array in the persistent memory area, thus I constructed my FB as follows: FUNCTION_BLOCK FbWithGenericArrayLength VAR_GENERIC CONSTANT uiArrayLength : UINT := 10; END_VAR VAR PERSISTENT arr : ARRAY[1..uiArrayLength] OF INT; END_VAR In my PLC_PRG I declare an instance of said FB PROGRAM PLC_PRG VAR myFb : FbWithGenericArrayLength<10>; END_VAR This compiles just fine. When I let...

  • Stefan Hamcke Stefan Hamcke posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I have written a function block that uses a generic constant for the upper bound of an array. I wanted to have this array in the persistent memory area, thus I constructed my FB as follows: FUNCTION_BLOCK FbWithGenericArrayLength VAR_GENERIC CONSTANT uiArrayLength : UINT := 10; END_VAR VAR PERSISTENT arr : ARRAY[1..uiArrayLength] OF INT; END_VAR In my PLC_PRG I declare an instance of said FB PROGRAM PLC_PRG VAR myFb : FbWithGenericArrayLength<10>; END_VAR This compiles just fine. When I let...

1