| FORUM | LATEST POST | # TOPICS |
|---|---|---|
|
Engineering 🇬🇧 Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition |
ReadWriteEEprom FB question by YIN 2 hours ago |
6079 |
|
Runtime 🇬🇧 Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms |
Unresolved reference when trying to upload to Codesys Runtime V3 by YIN 1 day ago |
2316 |
|
Visualization 🇬🇧 Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu |
Visualization Object missing from drop-down list... by YIN 3 days ago |
1073 |
|
Motion 🇬🇧 Realizing single or multi axis motion control, CAM, CNC and Robotic applications |
CNC15_LargeGCode.project BC Axis Issue by YIN 18 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 |
Ausführen von OPC-UA-Methodenaufrufen auf dem Server durch die SPS als C... by YIN 1 day 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 2 days ago |
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 YIN 2 days ago |
232 |
Yes, you are on the right track, and ADR(myArray) is the way I would do it too. I usually declare a small buffer just for this, something like an ARRAY[0..1] OF BYTE, put the alias in there low byte first, and then pass ADR() of that buffer as pbyData, with the length set to 2 rather than 2048. The 2048 you saw is just the size of the buffer the FB can work with, not what you have to write every time, and for the alias at 16#0012 you really only want those two bytes. One thing I learned the hard...
Hi, your guess about ppConnectorList is on the right track, at least in my experience. When the IDE runs a scan it calls IoDrvScanModules on your device FB, and that method is supposed to hand back one connector entry per module it finds, so the IDE can match each entry against the device descriptions in the repository and show them in the dialog. So the enumeration part really belongs in that method: ask the master for the attached modules over your socket, then build one entry per module. The breakpoints...
Hi Kmax, I ran into the same confusion the first time I tried this, so you are not missing something obvious. Function code 6 is not really a function block you create on its own, it is just the operation you pick inside the Modbus setup, and that is why searching the Library Manager for a block called ModbusTCP_FunctionCode06 does not get you anywhere. In your case the PQM_1000 is the slave and your PLC is the master, so I would do it through the device tree rather than hand-coding the frame. Add...
Your Oct 23 summary is pretty much what I ended up with on the same cards, especially the _User.cfg part. Editing CODESYSControl.cfg directly cost me a working setup once when it got overwritten, so that note alone is worth keeping around for the next person who finds this thread. One thing I would add is about TraceLevel=0xFFFFFFFF in your snippet. It was a lifesaver while I was chasing the hang, but I would not leave it on once the bus is running. With full tracing the log grows fast and the RTE...
Hi artem, welcome to ST — the jump from FBD and ladder takes a bit of getting used to, but what you're trying to do is very doable. The thing that tripped me up the first time too: SysTimeRtcGet isn't a function you just call and get a value back, it's a function block. So you need an instance of it in your VAR block, something like fbRtcGet : SysTimeRtc.SysTimeRtcGet; and then in the code you set fbRtcGet.xExecute := TRUE and call it every cycle until fbRtcGet.xDone comes back TRUE, and only then...
That sounds familiar — I ran into something similar when I moved a working XY program over to a rotary pair, and the first thing that caught me out was that the BC axes don't behave like X and Y at all in the interpolator. With small G01 segments the problem is usually not the G-code itself but the way the short blocks are handed over. On XY the blocks are long enough for the path planner to keep the feed up, while on BC the same feed, plus the acceleration and jerk limits of the rotary axes, can...
Ran into this one a while back with a script that read device parameters, and in my case the message was a bit misleading — it wasn't really about the parameter itself, it was the gateway behind it. read_online_value goes through the gateway configured for that device, not through the application login you did just before it, so a successful login doesn't prove the gateway is usable. What I'd do first is step out of the script and check it by hand: open the device in the IDE, look at its communication...
Hallo ironplc, kurz gesagt: Ja, das geht — aber nicht über die Symbolkonfiguration und auch nicht über den Communication Manager. Die beiden können nur Variablen lesen und schreiben, für Methodenaufrufe sind sie nicht gemacht. Dafür ist die OPC-UA-Client-Bibliothek zuständig, und sie kann das auch. Im Client gibt es einen eigenen Baustein für Methodenaufrufe (OPCUA_MethodCall), dem übergibt man die Verbindung, die NodeIds von Objekt und Methode und die Argumente als Varianten. Ich hab das mal für...
Hi dmb-fan, your own last posts already contain the answer, I think — that Sandbox message is the giveaway. The V2.3 converter is blacklisted in SP22, so reinstalling SP22 over and over will not bring it back. The IDE tries to call the converter, the call faults, and that is the RPC_E_SERVERFAULT you keep getting, even just by opening an old project. What worked for me in the same spot was to stop fighting SP22 and keep a separate 3.5.17 install, 32-bit like yours, purely as a conversion machine...
That Wireshark capture is actually the most useful clue here — the subscriber side decrypts the same keys without any trouble, so the key material itself is fine and this is almost certainly a lifecycle thing on the publisher side rather than a crypto problem. The certificate idea doesn't really apply either: with pre-shared keys there's no certificate involved in the UADP path at all, so I wouldn't spend more time on the security screen. What I'd look at first is when the WriterGroup actually picks...