Hallo, das konkrete Problem konnte ich seither leider nicht lösen, allerdings habe ich mit SP19 Patch 4 einen Workaround gefunden, der zumindest für meine Anwendung funktioniert: Zunächst besteht das Problem nicht für alle Funktionalitäten gleichermaßen. Die Anzeige einer .bmp oder .tiff-Datei im Visu-Elementtyp Bild beispielsweise funktioniert aus dem lokalen Dateisystem. Die Anzeige von .cnc-Dateien in einer Tabelle dagegen nicht. Allerdings funktioniert das wiederum, wenn der Dateipfad in den...
I solved it by creating a new element of IElement according to the ElementExample (MyElement) in the ElementCollectionsExamples project. The variables in this element can then be defined in any properties as needed.
Hello, I'm using Codesys V3.5 SP18 Patch 4. In the ElementCollectionExample Project from Codesys, I test the SimpleQueueExample in a Control Win V3 x64 environment. I try to add a string of 95 characters length to a queue. The default length of strings is defined as 80 characters. In the initialization of a string variable, it is possible to increase the length by the definition of e.g. STRING(1000). But when I write the string defined like this to the queue, only 80 characters are written to it...
Hallo, ich habe meine Projekt von Codesys V3.5 SP18 Patch 4 auf SP19 aktualisiert. Mein Projekt beinhaltet eine Funktion, die, angelehnt an das Beispiel-Projekt CNC3DEditor (https://store.codesys.com/de/cnc-3d-editor.html), auf das lokale Dateisystem des Host PCs zugreift und von dort CNC-Dateien einliest. In SP18 hat das funktioniert. Mit dem Update auf SP19 funktioniert dieser Zugriff bei mir nicht mehr. Ich bekomme keine Fehlermeldung angezeigt, sondern die Tabelle mit den Einträgen bleibt einfach...
Hello, I'm using Codesys V3.5 SP18 Patch 4 and created a simple project with one program including only a watchdog variable to toggle. This program is running in a cyclic time of 500 ms. Furthermore, this watchdog variable is added as opc ua variable in the symbol configuration. The used runtime is Control RTE V3 x64 and it is running directly on an industrial PC with Windows environment (64-Bit, Windows 10 Pro, version 22H2). With UA Expert a connection to the PLC Opc Ua server is established. UA...
Hello, I'm using Codesys SP18 Patch 2 for a Control RTE Project on a Windows 10 system. I try to move a 3 axis system using G-Code. Therefore, I wrote a pretty simple script (.cnc file in the local file system). LET #lrXpos : LREAL := 2 LET #lrYpos : LREAL := 2 LET #lrZpos : LREAL := 2 N0 G90 N10 G1 X#lrXpos Y#lrYpos Z#lrZpos F100 E15 In my code I implemented the SMC_ReadNCFile2 and the SMC_NCInterpreter of the SM3_CNC library. The ReadNCFile functionblock is working well. The file is read sucessfully...
Hey, Danke, das habe ich voll übersehen. Jetzt funktioniert es :D Viele Grüße.
here is the screenshot, I missed it in the previous post
Hello, I'm using Codesys V3.5 SP17 Patch 2, my device is a cincoze industial PC with Windows 10 21H1 OS. The visu version is 4.1.0.0. I made a project with Softmotion RTE V3 x64 and added a target visu. When I insert an integer combobox in this visu, link it to a textlist and a variable, the visu crashes when I click on the box in the visu on the device. The processor load gets incredible high for the size of the project and Codesys gets disconnected (means lost connection). In the attachment you...
Hi Marcel, that solution works in my project too. Thanks a lot. Best regards.
Hello, I'm using the Codesys version V3.5 SP17 Patch 2, with the current visu packages 4.1.1.0. Codesys Installer does no display any updates, so I think it's up to date. I implemented a webvisu with user login and before I updated from SP17 Patch 1 to Patch 2 everything worked fine for a long time. But since the update the web visu crashes when clicking on the ok button to confirm the login. Two screenshots is attached. Using Codesys to to log in to my device, I can use the visu properly. Inside...
I found now a solution and it is working. Everything in the upper posts was right, the last thing you have to do is to check the PLC configuration if the driver is found by the PLC. Therefore right click on the PLC icon and open the PLC configuration. In the upper menu select Component Manager. In the table additional components the driver should be listet. If not, you have to add it. That's it.
thanks for your answer. I configured the connection as written in the link, but I still get the same errors. The driver describtion is Codesys EtherExpress GBit PCI Ethernet Adapter. I got it from the RTE folder.
Hello, I installed the latest version of the softmotion runtime Control RTE SL for Windows from Codesys store. The Windows 10 Version is 10.0.19043. I allocated 1 core for RTE of 4 cores in total. Then I setup a simple Softmotion Project in SP17, with nothing more inside than the standard settings. Without any Softmotion Master the Project can connect to the runtime and everything seems to be fine, but when I add the Softmotion Master and try to connect to the runtime, I get some errors of unresolved...
while cleaning my code for upload, I found my error. Thanks for asking. Sometimes cleaning helps. I was searching at the wrong parts. The fault was an other task with motion functions, which was overwriting my functions block every cycle.
Hello, I need some help to find the error in my axis control. I want to set a Schneider Lexium32 Axis Controller to power on and ready to drive by the function MC_Power (SM3_Basic). I inserted the function in my script and the visualization. The code is compiling without faults and the visu works fine. I can set the input parameters enable, bRegulatorOn and bDriveStart as true and the output Busy is set by the functionblock and there is no error message. But that's it. The outputs Status, Regulator...