Activity for Stefan

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

    I tried both 3B en 4. But every time with a lite version. I didn't try the full version of raspberry pi os. Nice to hear you are aware of the problem and trying to fix it. I'll hold on to the image from 2023-10-10 for now.

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

    I tried both 3B en 4. But every time with a lite version. Never tried the full version of raspberry pi os. Nice to hear you are aware of the problem and trying to fix it. I'll hold on to the image from 2023-10-10 for now.

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

    There seem to be problems with the latest version of raspberry pi os 64bit (I used the lite version). The codesys control runtime crashes after a few seconds. The same runtime works on the raspberry pi image from 2023-10-10 When starting the runtime from the commandline, i get the following error: ooops... this runtime was build for RASPBERRYPI. Hardware version or firmware version not supported! (and yes, I'm running this on a raspberry pi :-)

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

    You have to do this after each restart, or add the command to /etc/rc.local

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

    sudo ln -sf /dev/vcio /dev/char_dev no need to override the init-functions file after that

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

    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.

  • Stefan Stefan modified a comment on discussion Engineering

    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!

  • Stefan Stefan modified a comment on discussion Engineering

    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

  • Stefan Stefan modified a comment on discussion Engineering

    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

  • Stefan Stefan posted a comment on discussion Engineering

    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

  • Stefan Stefan posted a comment on discussion Engineering

    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?

  • Stefan Stefan posted a comment on discussion Engineering

    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...

  • Stefan Stefan posted a comment on discussion Engineering

    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...

  • Stefan Stefan posted a comment on discussion Runtime

    Hi, Is there a possibility to disable RTS and DTR from the codesyscontrol.cfg file? I'm working with the ControlWin softplc on a windows 10 system. Thanks

1