Activity for SiegeLion

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

    You should use this method: VAR NULL:REFERENCE TO FB_MSG END_VAR Add_EVT_OUT REF= NULL;

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

    It seems that there is no solution to this problem.

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

    Dear, When I use "__NEW" to dynamically create the object "Object_1", and assign this object "Object_1" to another object "Object_2". At this point, I use "DELETE" to release the object from "Object_2". At this time, I cannot judge whether the object has been released normally through "Object_1" (in fact, the object has been released theoretically). Thanks for you help.

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

    Memory addressing is measured in bytes, with BOOL occupying one byte. BIT is quite unique as it occupies one bit. So, try not to use BIT in the program. You can use the Unpack function to solve your problem.

  • SiegeLion SiegeLion posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Can you add a background FB block to the visualization page, and loop through this FB block when the page is in display mode. This FB block requires two more functions, one for executing when the page is displayed and the other for executing when the page is closed.

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

    It's not that you missed something, it's that CODESYS doesn't have this feature. I hope CODESYS can add this feature. We also hope to add function overload functionality.

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

    I have also been troubled by this issue for a long time, to the extent that I have to implement a recipe management library myself. Codesys version used: 3.5.19.40

  • SiegeLion SiegeLion posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    I think what you want is a declaration period function for the page, but unfortunately CODESYS does not have it.

  • SiegeLion SiegeLion modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    I have a project called 'DemoProject' and a library called 'DemoLib'. Create a visual control named "DemoVisu" in the library, with a selection box of type "ComboBoxInteger" in the space. Now 'ComboBoxInteger' requires a 'Text list'. This "Text list" is provided when I call the "DemoVisu" control of the "DemoLib" library in "DemoProject". And this text list is in 'DemoProject'. I found that 'ComboBoxInteger' no longer works at this time. Other visual controls that use text lists also have this issue....

  • SiegeLion SiegeLion modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    I have a project called 'DemoProject' and a library called 'DemoLib'. Create a visual control named "DemoVisu" in the library, with a selection box of type "ComboBoxInteger" in the space. Now 'ComboBoxInteger' requires a 'Text list'. This "Text list" is provided when I call the "DemoVisu" control of the "DemoLib" library in "DemoProject". And this text list is in 'DemoProject'. I found that 'ComboBoxInteger' no longer works at this time. Other visual controls that use text lists also have this i...

  • SiegeLion SiegeLion posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    I have a project called 'DemoProject' and a library called 'DemoLib'. Create a visual control named "DemoVisu" in the library, with a selection box of type "ComboBoxInteger" in the space. Now 'ComboBoxInteger' requires a 'Text list'. This "Text list" is provided when I call the "DemoVisu" control of the "DemoLib" library in "DemoProject". And this text list is in 'DemoProject'. I found that 'ComboBoxInteger' no longer works at this time. Other visual controls that require a text list are also highlighted...

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

    Is this the library you created yourself? If so, please check if the attribute in the project information has this field 'LanguageModelAttribute'. If not, please add this attribute 'LanguageModelAttribute': 'qualified access only'.

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

    Hahaha, with the rigorous attitude of Germans in handling affairs (which is a satire on Germans), it is strange that efficiency can be high. Go and see China, 996's work attitude will be completed quickly for you.

  • SiegeLion SiegeLion posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    You can use datalog to save as CSV or SQLite.

  • SiegeLion SiegeLion posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    How did they answer?

  • SiegeLion SiegeLion posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    I'm looking for the same solution

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

    If it is not a safety product, you can choose products made in China .

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

    Oh. . . Create and die, this is the simplest life cycle function. Pages in a visualization should contain at least two functions, create and destroy. When we need to do some specific things in the life cycle of the page, such as specific display and specific notification when the page is converted, we need the help of the life cycle function.

  • SiegeLion SiegeLion modified a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hello: As the title, how do I get or use the visualized lifecycle functions.

  • SiegeLion SiegeLion posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    As the title, how do I get or use the visualized lifecycle functions.

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

    As the title, how do I get or use the visualized lifecycle functions.

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

    H: Obviously misunderstood the question. This is to better implement the contracted part of the HMSD(Hierarchical Master-Slave Distribution) framework. For example, batch initialization of states. For example: if you want to implement batch initialization of objects of class Step, you only need to pass the pointer of the first Step to the initialization function, and the function will automatically search down according to the first pointer until it finds an object that is not of the Step class and...

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

    H: Obviously misunderstood the question. This is to better implement the contracted part of the HMSD(Hierarchical Master-Slave Distribution) framework. For example, batch initialization of states. For example: if you want to implement batch initialization of objects of class Step, you only need to pass the pointer of the first Step to the initialization function, and the function will automatically search down according to the first pointer until it finds an object that is not of the Step class and...

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

    H: Obviously misunderstood the question. This is to better implement the contracted part of the HMSD(Hierarchical Master-Slave Distribution) framework. For example, batch initialization of states. For example: if you want to implement batch initialization of objects of class Step, you only need to pass the pointer of the first Step to the initialization function, and the function will automatically search down according to the first pointer until it finds an object that is not of the Step class and...

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

    How to determine the type of a pointer indexed member. I intend to use: TYPE DUT_DemoStruct : STRUCT Member_1: BOOL; Member_2: INT; END_STRUCT END_TYPE PROGRAM Prg_Main VAR DemoStructPointer: Obj_DemoStruct1: DUT_DemoStruct ; Obj_DemoStruct2: DUT_DemoStruct ; Obj_DemoStruct3: DUT_DemoStruct ; Demo_INT: INT; Index: INT; _pointer: POINTER TO DUT_DemoStruct; END_VAR FOR Index:=0 TO 5 DO IF _pointer[Index] THEN //**whether the _pointer[Index] (pointer index member) is of type DUT_DemoStruct** _pointer[Index].Member_1:=TRUE;...

1