Personal Data

Username:
zatalian
Joined:
2020-01-17 12:46:50+00:00

Projects

  • No projects to display.

Skills

  • No skills entered.

User Activity

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    Hi, Is it possible to remove unused add-ons from a project? When a project is created on one installation with add-ons installed, a second installation (without the add-ons) complains about them, although they are never used in the project.

  • Modified a comment on discussion Engineering on CODESYS Forge

    I ended up using a array of interfaces. Not intirely happy because i still need 2 array's (one for the objects, an other one for the interfaces), but it works @aliazz: I really liked your git repository on OOP concepts. Thanks!

  • Modified a comment on discussion Engineering on CODESYS Forge

    I ended up using a array of interfaces. Not intirely happy because i still need 2 array's (one for the objects, an other one for the interfaces), but it works

  • Modified a comment on discussion Engineering on CODESYS Forge

    I ended up using a array of interfaces. Not intirely happy because i still need 2 array's (one for the objects, an other one for the interfaces), but it works https://github.com/zatalian/conveyors

  • Posted a comment on discussion Engineering on CODESYS Forge

    I ended up using a array of an interface. Not intirely happy because i still need 2 array's (one for the objects, an other one for the interfaces), but it works https://github.com/zatalian/conveyors

  • Posted a comment on discussion Engineering on CODESYS Forge

    ok, so an array puts the different objects directly behind each other in memory, so it is not possible to change the size (add or remove properties) of the individual object. I figured this out after trying the same thing in c++. BUT... even with an array of pointers to an object, it does not work... This should work, no?

  • Posted a comment on discussion Engineering on CODESYS Forge

    isn't the whole point of extending a struct that an object of the extended struct is also considered as an object of the base struct? In my example, I want 1 fucntionblock to move objects. I would like this functionblock to be reusable to move any kind of object, either base or extended. I don't need the color of the box to move it. Instead of using your solution, where an array of boxes is converted into an array of objects, I can just as well write a second functionblock moveBoxes, defeating the...

  • Posted a comment on discussion Engineering on CODESYS Forge

    Hi, I'm trying to pass an array of an extended datatype as a VAR_IN_OUT to a funtionblock: I have a struct "Object": TYPE Object : STRUCT Position: INT := -1; Width: INT; END_STRUCT END_TYPE and i have an extended object "Box": TYPE Box EXTENDS Object : STRUCT Color: INT; END_STRUCT END_TYPE I would like to pass an array of all kinds of object to a functionblock, for example: FUNCTION_BLOCK MoveObjects VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR_IN_OUT objects: ARRAY[*] OF Object; END_VAR VAR END_VAR...

View All