Talk

FORUM LATEST POST # TOPICS
Engineering πŸ‡¬πŸ‡§

Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition

Could not write options file at...
by YIN
16 hours ago
6079
Runtime πŸ‡¬πŸ‡§

Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms

PFC200 - WAGO 750-8202 - MODBUS RTU
by YIN
2 hours ago
2316
Visualization πŸ‡¬πŸ‡§

Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu

WebVisu: switch-frame destroys and rebuilds referenced visualization - i...
by YIN
8 hours ago
1073
Motion πŸ‡¬πŸ‡§

Realizing single or multi axis motion control, CAM, CNC and Robotic applications

SOFTMOTION - Error 34 when trying to execute and SMC_DI_AXIS_Error
by YIN
5 hours ago
575
Codesys V2.3 πŸ‡¬πŸ‡§

Forum about V2.3

Where Can I download the latest Version of CoDeSys V
by yueqiqi
2026-06-15
2245
Deutsch πŸ‡©πŸ‡ͺ

German forum

Codesys Virtual Safe Control mit WeidmΓΌller UR20 FSOE Modulen
by YIN
2 days ago
4596
Automation Server πŸ‡¬πŸ‡§

The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers

Gateway in China - "Gateway not connected"
by pernockham
2026-03-18
81
Forge πŸ‡¬πŸ‡§

Discussions about CODESYS Forge projects and features of the CODESYS Forge website

WebVisu scaling regression in V3.5.22 P2: frame size jumps when switchin...
by charly29160
2026-06-15
232

Recent Activities

    CODESYS Forge

  • YIN YIN posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi, since the same setup works from your PC with the USB converter, the Carel side of this is basically proven β€” the 19200/None/1 settings, the address 1 and the FC03 register map all do what they're supposed to. So I'd focus on the PFC200 side, that's where the difference has to be. The first thing I'd check is whether the port is really in RS485 mode and really free. You set serialmode in the PLC shell and the owner to unassigned in WBM, which is the right combination, but the port mode usually...

  • YIN YIN posted a comment on discussion Motion πŸ‡¬πŸ‡§

    Hi, you mention 34 in the title and 36 in the post β€” going by your screenshots, 34 is the one the axis is actually reporting, and that's SMC_AXIS_NOT_READY_FOR_MOTION, meaning the axis never signals that it follows the target values. Both that and the SMC_DI_AXIS_ERROR in your table point at the drive rather than at the MC blocks: the drive has reported an error, and the MC blocks are just passing it on. Your second screenshot backs that up. The master diagnostics show an emergency straight from...

  • YIN YIN posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hi thejesh, good question, and your measurements make the picture pretty clear. In my experience that destroy-and-rebuild on a switch-frame change is just how the frame element works in WebVisu: when the index changes, the referenced visualization is closed and the new one is instantiated from scratch, so the client has to build all of its elements again. I have not come across a property or client option in the frame element that keeps an inactive referenced visualization mounted in the background,...

  • YIN YIN posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hi hammer, your analysis lines up with what I ran into on a similar XY chart a while back, and I ended up at the same conclusion β€” the documented example looks transposed in SP21 Patch 40, at least in the way the element actually walks the array. The giveaway for me was the same one you spotted: when "Element to use" lists thousands of entries, the element is treating the point dimension as the record. Once I flipped the declaration to points first and sets second, the combobox dropped to just the...

  • YIN YIN posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi bigwhig, I ran into the same thing on a company laptop where IT had locked down ProgramData, so this looks familiar. The message is basically telling you the IDE can't save its own settings, because your normal account doesn't have write access to that folder. CODESYS keeps its user options under C:\ProgramData\CODESYS\Options, and if that folder (or the .opt file itself) was created by an install run as admin, a standard user can read it but not overwrite it. That also explains why the Default...

  • YIN YIN posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    I hit this exact error a while back when I was reading device parameters from a script, and in my case the script itself wasn't the problem β€” it was the gateway side. read_online_value goes through the gateway configured for that device, so logging in to the application alone doesn't cover it. The device object still needs its own working gateway connection. First thing I'd check is DEV1 in the device tree, under Communication Settings. Make sure a gateway is actually selected there, that it points...

  • YIN YIN posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    That combination of errors is actually a useful clue. UaExpert works because it browses the server first and picks an endpoint the server really offers, while Fuxa and RapidSCADA seem to be asking for a specific security policy and mode combination that your server does not have, so the server just closes the channel. The RapidSCADA message says that pretty directly. What helped me in a similar setup was to open the server in UaExpert, look at the endpoint list it shows, and write down the exact...

  • YIN YIN posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    That random behaviour rings a bell, I ran into almost the same thing on a panel PC a while back and it drove me nuts for a day. Two separate things are going on here, I think. The PLC freeze is the easier one to explain: SysProcessExecuteCommand waits until the program you started exits. Shutdown works because it exits straight away, but osk.exe just sits there, so the call never returns and the task that called it stalls with it. That is also why TimvH's Task Scheduler idea is worth a try, the PLC...

  • YIN YIN posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi srinidhi, I went down a similar road a while back, not with a PBRT but with a small six-axis arm driven from a CODESYS controller, and in my case the motion itself turned out to be the easy part. What ate most of the time was sorting out who does what: trajectory planning, cell logic and the safety handshake, before writing a single line of motion code. One thing that helped me a lot was deciding early whether the robot should be planned from inside CODESYS or from outside it. If your PBRT setup...

  • YIN YIN posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Good news is you've already narrowed this down a lot without realising it. If the same Carel answers your laptop through a USB converter, then the controller, its address, the 19200/N/1 settings and the register map are all fine. The fault has to be between the PFC200's DB9 port and the wire, because that's the one part your laptop test never covered. That port is where I'd start. The serial interface on the PFC200 does both RS232 and RS485, so it's worth opening the manual and checking the RS485...