CODESYS Talk
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...
Hi lukasz, I ran into almost the same thing a while back — project built clean, then a whole pile of Unresolved Reference errors at login, so I know how unhelpful that popup feels. The FU- names are actually the useful part here. Those are functions your project calls, directly or through a library, that the runtime on that PC cannot find when it loads the application. The build succeeding only proves the engineering PC has everything, not the target. In my case the target runtime was simply missing...
Hallo dakmueller, so ein altes XV-Projekt wieder aufzumachen kenne ich, bei mir war das fast immer ein Versionsproblem und kein Fehler im Programm selbst. Das Projekt wurde damals mit einer bestimmten CODESYS-V2.3-Version und genau den Bibliotheksversionen erstellt, die auf dem alten Rechner lagen. Wenn man es jetzt mit einer anderen 2.3-Version öffnet und die fehlenden Bibliotheken einfach neu installiert, übersetzt es ohne Zielsystem erst mal ohne Meldung, weil es nichts zu prüfen gibt. Sobald...