Search Project: *:*

 
<< < 1 .. 3658 3659 3660 (Page 3660 of 3660)

Post by alexandernevis on USB Game Controller with Raspberry Pi CODESYS Forge talk (Post)
It sounds like an exciting project with the Revolution Pi and USB joystick! Just like in the dummies world cup game, where teamwork and coordination are key, integrating your joystick with CODESYS will require a solid approach to ensure smooth control of your robot. Have you considered using a library that bridges joystick input with CODESYS functions? Good luck!
Last updated: 5 days ago

Deutsch πŸ‡©πŸ‡ͺ CODESYS Forge talk (Discussion)
German forum
Last updated: 5 days ago

1 Wire und i2c zeitgleich in Betrieb CODESYS Forge talk (Thread)
1 Wire und i2c zeitgleich in Betrieb
Last updated: 5 days ago

Engineering IDE from linux? CODESYS Forge talk (Thread)
Engineering IDE from linux?
Last updated: 5 days ago

Home (version 1) discussion alexandernevis wiki (Thread)
Home (version 1) discussion
Last updated: 5 days ago

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: 4 days ago

wiki Discussion codegunner wiki (Discussion)
Forum for wiki comments
Last updated: 4 days ago

blog Discussion codegunner blog (Discussion)
Forum for blog comments
Last updated: 4 days ago

Home codegunner wiki (WikiPage)
Project Members: codegunner (admin)
Last updated: 4 days ago

(no subject) codegunner wiki (Thread)
Last updated: 4 days ago

Runtime πŸ‡¬πŸ‡§ CODESYS Forge talk (Discussion)
Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms
Last updated: 3 days ago

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: 3 days ago

Pi as Modbus TCP slave. Errors CODESYS Forge talk (Thread)
Pi as Modbus TCP slave. Errors
Last updated: 3 days ago

Home (version 1) discussion codegunner wiki (Thread)
Home (version 1) discussion
Last updated: 3 days ago

Home (version 1) discussion alex-alex wiki (Thread)
Home (version 1) discussion
Last updated: 3 days ago

(no subject) lzbe wiki (Thread)
Last updated: 3 days ago

Home lzbe wiki (WikiPage)
Project Members: lzbe (admin)
Last updated: 3 days ago

Deploy Codesys Control SL to a 'secure' device CODESYS Forge talk (Thread)
Deploy Codesys Control SL to a 'secure' device
Last updated: 1 day ago

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: 1 day ago

Home (version 1) discussion maxi787 wiki (Thread)
Home (version 1) discussion
Last updated: 1 day ago

Home (version 1) discussion lzbe wiki (Thread)
Home (version 1) discussion
Last updated: 1 day ago

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: 1 day ago

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: 7 hours ago

Home (version 1) discussion pra83 wiki (Thread)
Home (version 1) discussion
Last updated: 5 hours ago

Home (version 1) discussion coskun wiki (Thread)
Home (version 1) discussion
Last updated: 2 hours ago

<< < 1 .. 3658 3659 3660 (Page 3660 of 3660)

Showing results of 91500

Sort by relevance or date