Hello all, Same here with latest Raspbian on Pi5 (Bookworm) and Pi64 SL Runtime 4.10.0.0 and SDK 3.5.19.2. Any suggestions? Many thanks! Fabian
Hello Yuridnb, Did you get any further with this project? I'm standing at a similar point and would like to hear from any experiences made so far. :-) Best regards, Fabian
Hello, I have a question: Once the command is being executed, is there a way to kill it again? As the called application is running in the background, the user can't close it but it shall be closed/terminated, commanded by codesys. I have tried with "SysProcessTerminate" but I guess this is not correct as the RTE crashes when this function is called. Starting the application: IF GVL.xStrtQR THEN GVL.xStrtQR := FALSE; SysProcess.SysProcessExecuteCommand2(pszCommand:=sCmd, pszStdOut:=stdout, udiStdOutLen:=...
Hi all, Is there an update on this topic? Same problem here, I can not add more than 10 Modbus-Slave channels. Is there a workaround? Many thanks! Fabian Codesys 3.5.19 SP2, Modbus 4.3.0.0, Name: Modbus TCP Slave Hersteller: 3S - Smart Software Solutions GmbH Kategorien: Modbus TCP Slave Typ: 89 ID: 0000 0005 Version: 4.1.0.0 Bestellnummer: - Beschreibung: Ein Geraet, das als Slave fΓΌr einen Modbus TCP Master konfiguriert ist. Version Konfiguration 3.5.11.0
Thanks, in the end I used "BIT" type. :-)
Hi, I have solved the problem by packing the bits into bytes (and changing the STRUCT accordingly). Thanks and regards, Fab
Hi nothingrandom, Many thanks for your answer, it works like it should! I was struggling yesterday with memcpy as it was not clear to me that only 1 byte at a time can be copied. Now I only have the problem, that my STRUCT contains BOOLEANS and they unfortunately occupy 1 Byte instead of 1 Bit only which then extends the length of the structure unintended. (The BOOL should only occupy 1 bit on the CAN as the receiver side is given) I already noticed that this is a known topic and I will do some more...
Hello, I need to divide a STRUCT into 8-Byte portions (ULINT) in order to send them via CAN. Any suggestions and experience how this could be done? The size of the Structures is known (e.g. 256 Bytes). Many thanks and regards, Fabian