Home
stijnd
wiki
(WikiPage)
Project Members: stijnd (admin)
Last updated: 2025-07-17
wiki Discussion
gvdb
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-07-17
blog Discussion
gvdb
blog
(Discussion)
Forum for blog comments
Last updated: 2025-07-17
(no subject)
gvdb
wiki
(Thread)
Last updated: 2025-07-17
Raspberry Pi 4 mod B icm codesys linking USB serial device (arduino) to com port
CODESYS Forge
talk
(Thread)
Raspberry Pi 4 mod B icm codesys linking USB serial device (arduino) to com port
Last updated: 2025-07-17
Post by gvdb on Raspberry Pi 4 mod B icm codesys linking USB serial device (arduino) to com port
CODESYS Forge
talk
(Post)
Raspberry Pi 4 Codesys 3.5.20 sp3 Codesyscontrol 4.15.0.0 based on sdk 3.5.21.0 Hi all, I have found a lot of topics but none of them get me on the right path, therfore i started a new post. Usually i work with plc based systems and codesys but now im trying to create an project where i read out a serial data stream from an arduino connected by an USB port. in the future this need to be more arduino's but first trying to make it work with one I had my program working but i needed to update my raspberry pu to the letest version to get the mimo screen working. Now i tried several rules in the CODESYSControl.cfg and/or CODESYSControl_User.cfg files but i never get the com port opened. At this moment i have an file CODESYSControl_User.cfg with entry: [SysCom] Linux.Devicefile.1=/dev/ttyUSB0 I tested the connection with minicom and the data runs fluently. Can somebody help me with what could be wrong? the com port states ERROR_UNKNOWN 5004 when i tried to open.
Last updated: 2025-07-17
Home (version 1) discussion
stijnd
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-07-17
Home
gvdb
wiki
(WikiPage)
Project Members: gvdb (admin)
Last updated: 2025-07-17
Home (version 1) discussion
gvdb
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-07-18
wiki Discussion
yuan
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-07-18
blog Discussion
yuan
blog
(Discussion)
Forum for blog comments
Last updated: 2025-07-18
(no subject)
yuan
wiki
(Thread)
Last updated: 2025-07-18
Home
yuan
wiki
(WikiPage)
Project Members: yuan (admin)
Last updated: 2025-07-18
Post by yuan on Seeking a Code-Based Solution for EtherCAT Slave Dropout or Master Errors in Production (Beyond Software Hot Reset)
CODESYS Forge
talk
(Post)
I need official assistance with the following issue: During EtherCAT communication, if a slave station drops off the network or the master station encounters an error, the problem can currently only be resolved by performing a software-based hot reset. In actual production environments, this approach is unacceptable. Is there a method to resolve these issues programmatically, through code?
Last updated: 2025-07-18
Function Block Method call from OPC UA Client
CODESYS Forge
talk
(Thread)
Function Block Method call from OPC UA Client
Last updated: 2025-07-18
Home (version 1) discussion
yuan
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-07-18
wiki Discussion
ken-san-sg
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-07-18
blog Discussion
ken-san-sg
blog
(Discussion)
Forum for blog comments
Last updated: 2025-07-18
Home
ken-san-sg
wiki
(WikiPage)
Project Members: ken-san-sg (admin)
Last updated: 2025-07-18
(no subject)
ken-san-sg
wiki
(Thread)
Last updated: 2025-07-18
Post by ken-san-sg on Function Block Method call from OPC UA Client
CODESYS Forge
talk
(Post)
Hello, Is it possible to call mathod which is implemented in Function Block POU from OPC UA client?
Last updated: 2025-07-18
Post by jami on Reading multiple lines from csv file
CODESYS Forge
talk
(Post)
Hello, i am trying to read multiple lines from csv file with caa file library and oscat. I have wrote 7 lines in the csv with separation '$R$L'. In my "extracting values" part I check line feeds and chars. After that I convert my buffer to string with oscat but I'm only able to read the first line from the csv. No matter if I even change start position where I start converting the buffer, I only get the first line. Here's my code for the reading and extracting value parts: 4: (*Reading the file*) fileread.hFile := filehandle; fileread.pBuffer := ADR(buffer); filesize1:=SIZEOF (buffer); fileread.szbuffer:=filesize1; fileread.udiTimeOut := 100000; fileread(xExecute := TRUE); IF fileRead.xDone THEN iFilesize:=TO_INT(fileread.szSize); writestate:=3; fileRead.xExecute := FALSE; END_IF 5: (*Extracting values*) //here i check the number of line feeds and chars. It works WHILE i < ifilesize DO c:=buffer[i]; IF c= 10 THEN IF lineindex<=99 THEN lineIndex := lineIndex + 1; END_IF ELSIF c <> 13 THEN IF charIndex <= 1000 THEN charIndex := charIndex + 1; END_IF END_IF i := i + 1; END_WHILE // Here i convert the buffer to string and transfer it to filelines:ARRAY[0..99] of string[254]. trig(CLK:=BUTTON); IF trig.Q THEN fileLines[i2]:=oscat_basic.BUFFER_TO_STRING(PT:=ADR(buffer), Size:=TO_UINT(fileread.szBuffer), start:=TO_UINT(bufferStart), stop:=TO_UINT(filesize1)); i2:=i2+1; bufferstart:=bufferstart+80; END_IF If anyone has idea how to read multiple lines, it would be nice. Even if you have example codes that work, that would help a lot.
Last updated: 2025-07-18
Post by sergeyglukhov on #54 create git repo's
co♻e: unittest framework for CODESYS
tickets
(Post)
any chance this could go to the github anytime soon?
Last updated: 2025-07-18
(no subject)
co♻e: unittest framework for CODESYS
tickets
(Thread)
Last updated: 2025-07-18
Ticket #54: create git repo's
co♻e: unittest framework for CODESYS
tickets
(Ticket)
[ ] create git repo's -> only v1.2.0.0 and Tags will be migrated to git as the svn repo will be kept but deprecated.2025-07-18 07:55:14.190000 Ticket #54: create git repo's co♻e: unittest framework for CODESYS counit tickets tickets False /lib/counit/tickets/54/ Ticket create git repo's False 1 2021-09-30 20:25:16.022000 54 create git repo's open * [ ] create git repo's -> only v1.2.0.0 and Tags will be migrated to git as the svn repo will be kept but deprecated. False False 1 0 1 None v1.3.0.0 hermsen None
Last updated: 2025-07-18