Search talk: codesys visualization 4.5.0.0

 
<< < 1 .. 873 874 875 876 877 .. 919 > >> (Page 875 of 919)

Post by radar17892 on Fehlermeldung bei Onlinechange CODESYS Forge talk (Post)
Hallo, kann mir jemand was zu dieser Fehlermeldung sagen: Mitteilung vom Gerät: “Alarm online change executed but license for Online Configuration Change not aviable!” Habe erst letzte Woche noch auf dieser Steuerung (PFC300, FW30) eine Programmänderung gemacht und hat alles funktioniert. Die Meldung kommt am Schluss, wenn ich einen Online change gemacht habe. Dann geht die Steuerung mit Ausnahmefehler auf Stop.
Last updated: 2026-07-27

Post by thomas-k on SysTimeRtcHighResGet --> Millisekunden mit Zeitzone verrechnet CODESYS Forge talk (Post)
SysTimeRtc.SysTimeRtcHighResGet(pTimestamp := lstActualIPCUnixTime_ms); SysTimeRtc. SysTimeRtcConvertHighResToLocal(lstActualIPCUnixTime_ms,lstActualIPCUnixTimeLocal_ms); SysTimeRtc.SysTimeRtcConvertLocalToHighRes(lstActualIPCUnixTimeLocal_ms,lstActualTime_ms); F30_SysTimeRtcHighResGetLocal:= TO_ULINT(lstActualTime_ms); Dies hat immer die selbe Zeit in UTC. Wie bekomme ich eine HIGHRes Zeit in Millisekunden. Und diese Zeit nicht in UTC sondern mit der Zeitzone verrechnet..... Und reicht es die Zeitzone mit "SysTimeRtcSetTimezone" zu setzen oder muss die Zeitzone im Linux (PC) gesetzt werden ?
Last updated: 2026-07-31

Post by mariussandu on OPC-UA CODESYS Forge talk (Post)
Hello, I am experiencing an intermittent OPC UA server issue on CODESYS Control for Raspberry Pi SL 4.21.0.0. Runtime information: codesyscontrol 4.21.0.0 Raspberry Pi 4 Model B Rev 1.1 - 4Gb OPC UA Server: CmpOPCUAServer 3.5.22.x Server IP: 192.168.0.110 OPC UA endpoint: opc.tcp://192.168.0.110:4840 The main OPC UA client is Node-RED running on 192.168.0.111. This has an active subscription with some tags and also some write functions active. The system normally works correctly for a period, but at some time the OPC UA communication stopped. Node-RED started reconnecting continuously but could not reconnect. I also tried connecting using UaExpert, but UaExpert returned: BadTimeout At the same time, the PLC application itself was still running. Before restarting CODESYS, I captured the TCP connections. The OPC UA server was still listening: tcp 11 0 192.168.0.110:4840 0.0.0.0:* LISTEN However, there were many connections from the Node-RED client stuck in CLOSE_WAIT: 192.168.0.110:4840 192.168.0.111:45008 CLOSE_WAIT 192.168.0.110:4840 192.168.0.111:53678 CLOSE_WAIT 192.168.0.110:4840 192.168.0.111:44032 CLOSE_WAIT 192.168.0.110:4840 192.168.0.111:36612 CLOSE_WAIT 192.168.0.110:4840 192.168.0.111:45012 CLOSE_WAIT 192.168.0.110:4840 192.168.0.111:36592 CLOSE_WAIT ... Some of these sockets also had data remaining in Recv-Q, for example: Recv-Q = 61 Recv-Q = 121 There were roughly 15–20 OPC UA connections in CLOSE_WAIT. Restarting only the CODESYS runtime immediately restored OPC UA communication. After restart: LISTEN 0 10 192.168.0.110:4840 and both Node-RED and UaExpert can connect normally again. There are no obvious OPC UA errors during startup or in log. On RPI 2 I had a memory leak regarding OPCUA so I had to upgrade to RPI4. What can I do in this case? Thank you!
Last updated: 7 days ago

Post by eschwellinger on Deploy LicenseServer for Linux SL CODESYS Forge talk (Post)
for the package you net to install 32bit support(to have the native timprovider availble to deploy) sudo apt-get install libc6:i386 Then native Safeplc and native Safetimeprovider should be available to install. Raspi yes - but there is no official package available till now and you need have a rt_preemt patched kernel on the Pi, then it works like charm
Last updated: 2025-11-18

Post by s1mon on Two OneWireMaster on one Raspberry PI 5 CODESYS Forge talk (Post)
Took me a while to work on this again. I testes today with a fresh setup and it works now. My OneWireCycle tasks runs for around 10seconds. I guess my mistake was that I put the cycle task for the OneWire Task to a too small number. Thx for the support!
Last updated: 2025-11-22

Post by eschwellinger on NO SIGNAL ON POWER_ON FOR STEPPER MOTOR CODESYS Forge talk (Post)
Hi, how should that work? You need to download the example project and you need that structure of the project and one of the additional hardware sets https://forge.codesys.com/drv/sm3raspistepper/home/Home/ L298N or A4988, DRV8880. Important to have no GPIO in the project and have this additional tasks.
Last updated: 2025-11-24

Post by yohayr on Access Violation sherd memory CODESYS Forge talk (Post)
Hi, once in a while I get an Access Violation exception in Sherd memory pointer. the strange thing is that I protect the pointer dereference and I get this exception 1 line after the protection. I added photos of the exception can someone tell me what is that about?
Last updated: 2025-11-25

Post by yohayr on Access Violation sherd memory CODESYS Forge talk (Post)
Hi, once in a while I get an Access Violation exception in Sherd memory pointer. the strange thing is that I protect the pointer dereference and I get this exception 1 line after the protection. I added photos of the exception can someone tell me what is that about?
Last updated: 2025-11-25

Post by osande on Trend/trace data CODESYS Forge talk (Post)
Ok, the problem is that the trend/trace system can't read function block instance data. The variables has to be stored directly under the program calling the FBs. Thus, FB variables to be trended/traced must be connected to variables declared in the program. Seems like a bug to me!
Last updated: 2026-03-13

Post by thierry-b on Blocking UDP ports 1740–1743 and 22350 to disable CODESYS network scan (startup + device discovery) CODESYS Forge talk (Post)
Hello, I am currently investigating the network behavior of CODESYS 3.5 (IDE + Gateway) in environments where the engineering workstation is connected to a very large /16 network. In such networks, the automatic device scan performed at IDE startup (and the manual “Scan Network” device discovery) can cause significant delays or freezes, due to the broadcast‑based discovery mechanism. After analyzing the traffic with Wireshark, I identified that the IDE uses the following UDP ports: 1740 – broadcast discovery 1741 – handshake / responses 1742 – fallback discovery 1743 – fallback handshake 22350 – additional runtime / gateway communication (WAGO, debug, extended discovery) To prevent the IDE from scanning the large /16 network, I tested blocking these ports in both directions (IN/OUT) on the network interface connected to the /16 segment (while keeping them open on the OT /24 network interface). Result: When UDP 1740, 1741, 1742 and 1743 are blocked on the IT interface, the IDE no longer sends any discovery traffic on that interface. The IDE still works normally on the OT interface (device discovery, online mode, download, etc.). Blocking port 22350 does not seem required to stop the scan, but I included it for completeness. My question: => Can you confirm that blocking UDP ports 1740, 1741, 1742, 1743 (and optionally 22350) on a specific network interface is a valid and supported way to completely disable the CODESYS IDE network scan on that interface (both at startup and during manual device discovery)? I am not trying to block communication with controllers on the OT network — only to prevent the IDE from scanning the large /16 IT network. Any confirmation or additional technical details about the discovery mechanism would be greatly appreciated. Thank you.
Last updated: 2026-03-31

Post by poliautomacao on Absolute movement controlled by an external encoder. CODESYS Forge talk (Post)
Georg, the encoder's actual position was -208 because I moved it manually for testing, but I managed to get it working. Your information is correct; there was a parameter error, Kp was at 0. After I adjusted it, it responded as expected. Thank you very much for your help.
Last updated: 2026-04-02

Post by alexgooi on No Bootproject possible CODESYS Forge talk (Post)
Hello Simon, Thank you for your response. The problem occurs after about 10 online changes, after this a full download is required, but that means that the installation is going down. Is it possible to enlarge the space reserved for online changes, so that the problem occurs after 100 online changes for example? Kind regards Alex
Last updated: 2026-04-14

Post by alexgooi on Network variable stops sending CODESYS Forge talk (Post)
Are you making use of structs in the NVL? In the past I had similar behavior (NVL stops sending) when I added something in the struct. if you are making use of structs makes sure that the structs are identical in both projects. If this is not the case, have you tried changing the port number to something different than 1202?
Last updated: 2026-04-29

Post by petra on Gateway not configured properly when read_online_value CODESYS Forge talk (Post)
Here is what I use to read online the parameter value. proj = projects.primary app = proj.active_application plc = proj.find("Device", True)[0] onlineapp = online.create_online_application(app) onlineapp.login(OnlineChangeOption.Try, True) dev1 = proj.find("DEV1", True)[0] for conn in dev1.connectors: > parms = conn.host_parameters > if len(parms) > 0: > p = parms.by_id(1074855985) > p.read_online_value(2000) ---> error: Gateway not configured properly
Last updated: 2026-06-12

Post by cd-tt on cannot connect ot linux runtime: device does not answer the scanrequest CODESYS Forge talk (Post)
thank you eschwellinger. That one solved it for me. The password must have a length of at least 8 characters. The password must consist of at least 4 different characters. The password must contain lowercase letters. The password must contain uppercase letters. The password must contain digits. The password must contain special characters.
Last updated: 2026-06-12

Post by petra on Gateway not configured properly when read_online_value CODESYS Forge talk (Post)
Here is what I use to read online the parameter value. proj = projects.primary app = proj.active_application plc = proj.find("Device", True)[0] onlineapp = online.create_online_application(app) onlineapp.login(OnlineChangeOption.Try, True) dev1 = proj.find("DEV1", True)[0] for conn in dev1.connectors: > parms = conn.host_parameters > if len(parms) > 0: > p = parms.by_id(1074855985) > p.read_online_value(2000) ---> error: Gateway not configured properly Does anyone know about this?
Last updated: 2026-06-12

Post by josepmariarams on Limit Axis CNC Jerk using SMC_Polynomial_AbsMaxLocs CODESYS Forge talk (Post)
I am using both functions for: I override SMC_LimitDynamics o calculate the individual axis jerk on polynomial movements. LimitDynamics only controls acceleration and velocity, it's not enought to create smooth movements. To solve the problem when smothing path create loops. It seems that polynomial passes two times by the same point and smc_smooth path chooses incorrect one.
Last updated: 2026-07-05

Post by kambel on IO Drive on C manual CODESYS Forge talk (Post)
Hello, pls help!!! Is there a more detailed manual (for dummies) for writing your own IO drive device in C? Another question: how can I add diagnostics to the IEC IO Drive device so that a red triangle lights up in the project tree in the event of a malfunction?
Last updated: 2026-01-29

Post by fabrp on CPU + EtherCAT redundancy CODESYS Forge talk (Post)
Hi TimvH, thanks for feedback. I also test the redundancy with Wago PFC 8212 but when I did it (firmware 28) it was not so much stable..Did you have some issue on master/slave switchover? are you using with EtherCAT remote I/O? I was looking for a most powerful hardware (PC based, x64) BR
Last updated: 2026-02-01

Post by yannickasselin on Lenze i950 Servo and WAGO PFC200 CODESYS Forge talk (Post)
I don't have time to go through the whole manual but as I said earlier, the servo drive does not support any of the modes needed for SoftMotion Light to work. If you want to use the full SoftMotion, you could use SMC_Homing function block to do the homing. This function block does not use the Homing Mode. It still uses the CSP mode and does the logic in Codesys runtime instead of in the servo drive. Read the documentation about it to see if it fits your needs. But if your controller only supports SoftMotion Light, I am afraid you will not be able to use the i950. I do a lot of motion stuff with different servo brands. Some support all the modes needed for SoftMotion Light and some don't. You really need to make sure the modes are supported before choosing a brand over another. I tend not to use brand specific controllers in order not to be limited by their supported features. I usually choose a PC (Linux or Windows) and install the Codesys runtime and licences myself. This is the most flexible way to use Codesys in my opinion. Depending on how many axes are needed in your project, a full SoftMotion license may not be more expensive than SoftMotion Light because SoftMotion is available as Application based license whereas SoftMotion Light is not. But of course, SoftMotion is harder on the CPU than SoftMotion Light.
Last updated: 2026-02-13

Post by pernockham on Unable to deploy "Control for Linux SL 4.18.0.0" CODESYS Forge talk (Post)
Ok, I think I understand. The problem is my language-setting being "swedish". I will check if I can switch to english. Update/confirmed. Change LANG to en_GB, this enabled the architechture to be correct and the control SL again to appear and to be possible to be updated. Thanks!
Last updated: 2026-02-23

Post by mawaloc on Current time and date CODESYS Forge talk (Post)
Hello all, I'm looking to display current time and date as first, then find a way to adjust with time zone differences. I found some tuto in internet but seems I already have issues.. cf pictures Which functions I should use? thank You for the help and time. Regards
Last updated: 2026-02-23

Post by mawaloc on Time and Date vizualization CODESYS Forge talk (Post)
Hello all, I'm looking to display current time and date as first, then find a way to adjust with time zone differences. I've found some tuto in internet but seems I already have issues.. cf picture Which functions I should use? thank You for the help and time. Regards
Last updated: 2026-02-23

Post by poliautomacao on Absolute movement controlled by an external encoder. CODESYS Forge talk (Post)
Hello, is it possible to perform an MC_MoveAbsolute movement, and have the servo move using an external encoder (freeEncoder)? In my application, I have slippage on the main shaft of the servo motor, and I would like to add an encoder to measure the actual position of the material.
Last updated: 2026-03-04

Post by noah on "Invalid Value" for Variables at Runtime CODESYS Forge talk (Post)
Hello, I also have the problem that suddenly all variables in my project were invalid and shown as "???" during runtime. Could you manage to fix the problem in the last 4,5 years ;) ? Because I tried everythin to fix it but nothing worked. I feel like maybe this is a bug. Thank you.
Last updated: 2026-03-09

<< < 1 .. 873 874 875 876 877 .. 919 > >> (Page 875 of 919)

Showing results of 22959

Sort by relevance or date