Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Talk

FAQ - Frequently asked Questions about CODESYS
FORUM LATEST POST # TOPICS
Engineering πŸ‡¬πŸ‡§

Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition

FB having single input but initialized with Array
by mxj262
37 minutes ago
5057
Runtime πŸ‡¬πŸ‡§

Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms

cm4 runtime problem
by michelebianchi
21 hours ago
2098
Visualization πŸ‡¬πŸ‡§

Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu

Numpad decimal value requires leading zero
by phoward131
2 days ago
887
Motion πŸ‡¬πŸ‡§

Realizing single or multi axis motion control, CAM, CNC and Robotic applications

CNC Override speed. SMC_Interpolator.dOverride is working ?
by k2saki
2 days ago
435
Codesys V2.3 πŸ‡¬πŸ‡§

Forum about V2.3

Upload program
by ademarvribeiro
2 days ago
2155
Deutsch πŸ‡©πŸ‡ͺ

German forum

Linux runtime mit init-functions
by paho
3 days ago
4437
Automation Server πŸ‡¬πŸ‡§

The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers

File transfer via visu and codesys automation server
by eschwellinger
2024-03-11
30
Forge πŸ‡¬πŸ‡§

Discussions about CODESYS Forge projects and features of the CODESYS Forge website

Could not be resolved - Library error
by ademarvribeiro
4 days ago
172

Recent Activities

    CODESYS Forge

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

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

    **Guys I am new to codesys. Here the FB MyMovingAvg has a single Input ( nextNum: INT;) However in the main program this FB has been initialized with an ARRAY of INT Is this, Ok? and how will it access the next elements of the Array? ** Will more code will need to be written in the main program to make it able to get rest of the elements of array? Basically this is an example of dynamic memory Could someone explain me how all these work together FUNCTION_BLOCK MyMovingAvg VAR_INPUT nextNum: INT;...

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

    **Guys I am new to codesys. Here the FB MyMovingAvg has a single Input ( nextNum: INT;) However in the main program this FB has been initialized with an ARRAY of INT Is this, Ok? and how will it access the next elements of the Array? ** Will more code will need to be written in the main program to make it able to get rest of the elements of array? Basically this is an example of dynamic memory FUNCTION_BLOCK MyMovingAvg VAR_INPUT nextNum: INT; END_VAR VAR_OUTPUT avg: REAL; END_VAR VAR windowPtr:...

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

    **Guys I am new to codesys. Here the FB MyMovingAvg has a single Input ( nextNum: INT;) However in the main program this FB has been initialized with an ARRAY of INT Is this, Ok? and how will it access the next elements of the Array? ** Will more code will need to be written in the main program to make it able to get rest of the elements of array? Basically this is an example of dynamic memory FUNCTION_BLOCK MyMovingAvg VAR_INPUT nextNum: INT; END_VAR VAR_OUTPUT avg: REAL; END_VAR VAR windowPtr:...

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

    it is mandatory to activate the OPC DA license into the 32-xxxxxx legacy container (not UFC) you need a remove ticket -> contact CODESYS store - my question to move the license

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

    Additionally the license is loaded on the soft storage for my device but it shows up as invalid. I just activated it today.

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

    I'm trying to get the OPC server setup on my machine and currently I'm not having luck. I went ahead and got my license setup. However when I go to run WinCoDeSysOPC.exe I get an error message that I don't have the code meter licenses installed. Does anyone have any ideas on how I can fix this issue?

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

    Update: I found my error in the Scale function, where I used UINT_TO_REAL instead of DWORD_TO_REAL. I fixed it, errors unchanged.

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

    Hi, I am trying to create a project using a raspberry pi, I have added the modules for the Pi and MCP3008. I have encountered som errors that I don't know how to track down. 1. The GPIOs give preprocessor errors, but I read that this does not prevent compiling. This seems to be true. I can build the empty project with no errors. 2. After adding a SPI master and MCP3008, the preprocessor errors double, but seem similar and the project again builds with no errors. 3. I add a DUT and GVL, with a function,...

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

    hello i have installed codesys runtime mc sl and sl on a CM4 but after 30 second process exit. have tried those runtime versions: 4.08 4.09 4.10 4.11 i get this message in all situations: ooops... this runtime was built for RASPBERRYPI. Hardware version or firmware version not supported! (-18, 0x00000BB8, 0xFFFFFFFB) os version is raspbian bullseye