Search Project: *:*

 
<< < 1 .. 3671 3672 3673 3674 3675 .. 3685 > >> (Page 3673 of 3685)

Engineering IDE from linux? CODESYS Forge talk (Thread)
Engineering IDE from linux?
Last updated: 2026-04-27

Home (version 1) discussion alexandernevis wiki (Thread)
Home (version 1) discussion
Last updated: 2026-04-27

Post by reinier-geers on Network variable stops sending CODESYS Forge talk (Post)
Thanks. but ive got unique identifiers. and i dont save to a file.
Last updated: 2026-04-28

wiki Discussion codegunner wiki (Discussion)
Forum for wiki comments
Last updated: 2026-04-29

blog Discussion codegunner blog (Discussion)
Forum for blog comments
Last updated: 2026-04-29

Home codegunner wiki (WikiPage)
Project Members: codegunner (admin)
Last updated: 2026-04-29

(no subject) codegunner wiki (Thread)
Last updated: 2026-04-29

Post by husarz17 on Pi as Modbus TCP slave. Errors CODESYS Forge talk (Post)
Hi, I have similar issue. Is that possible to use more than 4096 registers with Modbus RTU slave?
Last updated: 2026-04-29

Pi as Modbus TCP slave. Errors CODESYS Forge talk (Thread)
Pi as Modbus TCP slave. Errors
Last updated: 2026-04-29

Home (version 1) discussion codegunner wiki (Thread)
Home (version 1) discussion
Last updated: 2026-04-29

Home (version 1) discussion alex-alex wiki (Thread)
Home (version 1) discussion
Last updated: 2026-04-29

(no subject) lzbe wiki (Thread)
Last updated: 2026-04-30

Home lzbe wiki (WikiPage)
Project Members: lzbe (admin)
Last updated: 2026-04-30

Deploy Codesys Control SL to a 'secure' device CODESYS Forge talk (Thread)
Deploy Codesys Control SL to a 'secure' device
Last updated: 2026-05-01

Post by timvh on USB Game Controller with Raspberry Pi CODESYS Forge talk (Post)
I'm not sure it will work, but you could try it with the CmpCharDevice library. You could create a function block that looks something like this: As input for the filename, you have to use your Linux device, e.g.: '/dev/input/event0' '/dev/input/by-path/platform-button@23-event' Off course you must also pass the pointer to the memory where the data can be written to and the size (count in number of bytes) of the buffer. FUNCTION_BLOCK FB_CharDevice VAR_INPUT szFilename: STRING; pbyBuffer : POINTER TO BYTE; udCount : UDINT; END_VAR VAR_OUTPUT iState : INT := 0; nrBytesRead : DINT; END_VAR VAR xInit : BOOL := TRUE; dFlags: DINT := CmpCharDevice.ACCESS_MODE.O_RDONLY + DINT#4000; // see details for flags: http://linux.die.net/man/2/open, + DINT#4000 is for non-blocking hDevice: CmpCharDevice.CmpCharDevice_Implementation.RTS_IEC_HANDLE := -1; Result : CmpCharDevice.CmpCharDevice_Implementation.RTS_IEC_RESULT; END_VAR IF xInit THEN hDevice := CmpCharDevice.CDOpen(szFilename, dFlags ,Result); // if it would not succeed, the result is -1 (Invalid handle) IF hDevice <> 16#FFFFFFFF AND Result = 0 THEN iState := 5; END_IF xInit := FALSE; END_IF IF iState = 5 THEN nrBytesRead := CmpCharDevice.CDRead(hDevice, pbyBuffer, udCount, Result); ELSE nrBytesRead := 0; END_IF Make sure you close the connection properly, maybe by overwriting the default FB_Exit method of the FB: // Clean up device IF hDevice <> 16#FFFFFFFF THEN __TRY CmpCharDevice.CDClose(hDevice,Result); __CATCH ; __ENDTRY iState := 0; END_IF
Last updated: 2026-05-01

Home (version 1) discussion maxi787 wiki (Thread)
Home (version 1) discussion
Last updated: 2026-05-01

Home (version 1) discussion lzbe wiki (Thread)
Home (version 1) discussion
Last updated: 2026-05-01

Post by ph0010421 on Deploy Codesys Control SL to a 'secure' device CODESYS Forge talk (Post)
Hello I'm trying to get Codesys onto a 'Secure' edge device (Linux) The device doesn't support 'sudo' so the connection doesn't complete properly. Is this the same as not allowing root access? Anyway, the screen shot shows where I am. What options do I have?
Last updated: 2026-05-01

Post by pra83 on CODESYS SoftRedundancy — Both PLCs stay standalone after network interruption — Auto recovery not working CODESYS Forge talk (Post)
Hello, We are facing a critical issue with CODESYS SoftRedundancy that we have been unable to resolve despite extensive troubleshooting. HARDWARE: 2× HP EliteDesk 800 G9 SFF Intel Core i7-14700 (20 cores) 16GB RAM, 512GB NVMe SSD Windows 11 IoT Enterprise LTSC 2024 NIC1: Built-in Intel GbE NIC2: Intel I210-T1 PCIe (NIC team) SOFTWARE: CODESYS Control Win V3 - x64 Version 3.5.22.10 CODESYS SoftRedundancy SL Server 1 IP: 172.10.10.101 (PLC1 — Active) Server 2 IP: 172.10.10.102 (PLC2 — Standby) CURRENT CODESYSControl.cfg: [CmpRedundancy] BootupWaitTime=120000 StandbyWaitTime=12100 SynchronousTimeout=12100 [CmpSchedule] ProcessorLoad.Maximum=80 WatchdogTime=12000 WatchdogTimeoutAction=0 CONFIRMED WORKING: PLC1/PLC2 identification configured via IDE Connection IP configured via IDE AutoSync enabled and written via IDE Normal Active/Standby operation working Server 2 auto-promotes when Server 1 completely fails PROBLEM DESCRIPTION: When NIC1 cable is removed from Server 1 — both servers go to standalone mode. When NIC1 cable is reconnected — both servers remain in standalone indefinitely. Neither server auto-recovers to Active/Standby without manual CODESYS service restart. AutoSync fires (!!! Autosync !!! visible in log) but recovery does not complete. Tested with direct cable (no NIC team) — same result. Confirmed not a hardware or NIC teaming issue. KEY LOG MESSAGES: "Timeout: No sync message RMSG_StartCycle (5) from master: Standalone" "Socket on other side closed gracefully 0" "Standby PLC: Open acyclic work socket failed" "Connection broke after 11806ms. Check BootupWaitTime." Autosync(fires but does not complete recovery) PCAP ANALYSIS (Wireshark): CODESYS sync stops completely at T+3s Server 1 sends TCP FIN on ports 1206 and 1208 at T+5s No CODESYS redundancy traffic for remaining 24 seconds Both servers stay standalone indefinitely WHAT WE HAVE TRIED: StandbyWaitTime = 12100ms SynchronousTimeout = 12100ms WatchdogTime = 12000ms (less than StandbyWaitTime) AutoSync enabled NIC2 set as Standby adapter Disabled Windows Network Discovery Direct cable test — rules out NIC hardware QUESTION: Per official CODESYS documentation: "No automatic Reconnect is included in the functional scope of the redundancy components. You can program the triggering of a reconnect." Is RDCY.Synchronize() the correct function to add to our application for automatic recovery after both PLCs go standalone? What is preventing auto-recovery when AutoSync is enabled and PlcIdent is correctly set? Thank you for your support.
Last updated: 2026-05-02

Home (version 1) discussion kokliang1983 wiki (Thread)
Home (version 1) discussion
Last updated: 2026-05-03

Home (version 1) discussion coskun wiki (Thread)
Home (version 1) discussion
Last updated: 2026-05-02

Home (version 1) discussion pra83 wiki (Thread)
Home (version 1) discussion
Last updated: 2026-05-02

Home (version 1) discussion yuxi wiki (Thread)
Home (version 1) discussion
Last updated: 2026-05-03

wiki Discussion jaessi wiki (Discussion)
Forum for wiki comments
Last updated: 2026-05-04

(no subject) jaessi wiki (Thread)
Last updated: 2026-05-04

<< < 1 .. 3671 3672 3673 3674 3675 .. 3685 > >> (Page 3673 of 3685)

Showing results of 92103

Sort by relevance or date