Post by nano on Functional block
CODESYS Forge
talk
(Post)
u can use internal variables by passing it thru setter/getter. thats the way to go. for that add it by rightclick on fb and create propertie
Last updated: 2024-04-17
Post by installwhat on raspistepper error after install
CODESYS Forge
talk
(Post)
to fix this I used a sp17 codesys and changed the project setting softmotion version to 4.6.2.0. I'm not sure if I should have had such difficulties but it works now.
Last updated: 2024-04-21
Post by installwhat on raspistepper error after install
CODESYS Forge
talk
(Post)
to fix this I used a sp17 codesys and changed the project setting softmotion version to 4.6.2.0. I'm not sure if I should have had such difficulties but it works now.
Last updated: 2024-04-21
Post by xabier on Remove white spaces in file .txt
CODESYS Forge
talk
(Post)
Hi, I want write a array with line break in file.txt (I attacehd the screen array) and when i check the file appear with white spaces (I attached file .txt ) Somepeople know how remove this white spaces?? Thanks you Regars XABI
Last updated: 2024-04-22
Post by eschwellinger on Can't use new licensing with Raspberry Pi
CODESYS Forge
talk
(Post)
please delete the contents of the following directory - /var/opt/codesys/.cmact_license/ then start a new SPS and then the activation should work (then you have a new empty UFC SoftContainer)
Last updated: 2024-04-22
Post by ekristoffe on 3.5.19.0 IDE forced "hide namespaces" on 3.5.16.40 project
CODESYS Forge
talk
(Post)
Hello, I have the same problem, I used to enforce the usage of the namespace (which was really helpful). and now I can't even find the option (CS 3.5.19.20). Where in the option this setting used to be ? Thanks
Last updated: 2024-04-25
Post by reinier-geers on License problem gateway
CODESYS Forge
talk
(Post)
By browser is not working. Tim suggestet to use Codesys and stick in the laptop. Thats working. But now with a stick with licence but no running motion.
Last updated: 2024-04-25
Post by dhumphries on CFC Toggle Function
CODESYS Forge
talk
(Post)
I'm not sure I understand what you're asking, but I don't believe a function block with this behavior exists in the default libraries. I think the best solution would be using multiple and/or blocks or make your own function block.
Last updated: 2024-04-28
Post by alex2 on Codesys SVN
CODESYS Forge
talk
(Post)
Thank you for your answer. So i assumed correctly... And yes thats pretty expensive... Having to pay that much only for SVN / Git. we will look for that.
Last updated: 2024-04-29
Post by davelewis104 on J1939 SA
CODESYS Forge
talk
(Post)
I am curious if there is a function block or function that will allow me to monitor the J1939 CANBus and pull out all of the SAs that are on a particular bus, without having to have them loaded in the J1939 manager?
Last updated: 2024-04-30
Post by gseidel on Warning C0564 when compiling CNC project with variables program
CODESYS Forge
talk
(Post)
Hi Fless, thanks for your report! We created an issue in our bug tracker (SM-5109) and will have a look at this issue. Best regards, Georg
Last updated: 2024-04-30
Post by ademarvribeiro on Upload program
CODESYS Forge
talk
(Post)
Hello. in my experience, always click "Yes to all" to prevent error when go online. in this way, do you granted the infomation about hardware are the same, and dont lose " PLC configuration" for example.
Last updated: 2024-05-01
Post by rabaggett on CODESYS control for Raspberry Pi 64 SL errors
CODESYS Forge
talk
(Post)
It is either my installation is bad, or there is a bug. I re-created the project in 3.5 SP19 and there are no errors or warnings. Compiles with no errors or warnings. The original was done in 3.5 SP20. Thoughts?
Last updated: 2024-05-03
Post by kblundy on Change the Opening Position of the Dialog using VU.FbOpenDialog
CODESYS Forge
talk
(Post)
I hope the community can help me with this. I need to use the Visu Utils FbOpenDialog to control the opening and closing of a dialog. I have the Opening and Closing working, but I can’t get the dialogue's position to be controlled. The code looks like this: PROGRAM OPEN_DIALOG VAR xOpenLatchSettingDialog : BOOL; TopLeftDialog : VisuStructPoint ; fbOpenLatchSettingsDialog : VU.FbOpenDialog ; END_VAR IF xOpenLatchSettingDialog THEN xOpenLatchSettingDialog:= FALSE ; TopLeftDialog.iX := 100; TopLeftDialog.iY := 23; fbOpenLatchSettingsDialog(sDialogName := 'visu_AlarmLatchSettings', xExecute := xOpenLatchSettingDialog , xModal := TRUE, itfClientFilter := VU.Globals.OnlyTargetVisu, pTopLeftPosition := ADR(TopLeftDialog)); CloseVisuDialog(sDialogName:= 'visu_AlarmLatchSettings'); ELSE xOpenLatchSettingDialog:= TRUE ; IF fbOpenLatchSettingsDialog.xError THEN xOpenLatchSettingDialog := FALSE; END_IF END_IF I can't seem to work out a way to make the values in TopLeftDialog.iX and TopleftDialog.iY be passed correctly in the call and for it to change the position of the dialogue box. The code is compiled, but the position has not been changed. Any guidance or suggestions for revising this code would be incredibly valuable. Your insights could be the key to solving this issue.
Last updated: 2024-05-05
Post by tama00 on GPIOs not running with Raspberry Pi 4 (and SPI connection)
CODESYS Forge
talk
(Post)
Hello everyone, I have a working SPI connection (with transferExt) between a Raspberry master with Codesys and an ESP32 slave. I would also like to use a few GPIO pins. Is there a problem with using SPI AND GPIOs? Environment: Raspberry Pi 4+ with Raspian from Oct 23 Codesys V3.4 SP19 Patch 5 with Runtime Version 4.10.0.0 Device: GPIOs B+/Pi2 My problem: The status is displayed as “GPIOs : not running”. And also during mapping the message “The bus is not running. The values shown are perhaps not actual”. However, the variable changes that I make in my program are displayed under “Current Value”. In the Logic Analyzer, the pin toggles during transmission with small intervals of +-4us (seems to be a cyclical disorder, but I don't know where exactly it could be coming from). This applies to pins that I actually use (output) but also to the other GPIOs (not used). With GPIO 4, the line remains permanently high. Attached is a screenshot from the Logic Analyzer. Channel 1,3,5 were GPIO pin 26, 22, 17 Would be very grateful for help. Best regards
Last updated: 2024-05-06
Post by guilhermeleao on How to communicate 2 pcs that are using CODESYS
CODESYS Forge
talk
(Post)
I need to connect 2 computers on the same network that are running codesys, so that they can receive and change variable values from each other. This connection must preferably be made using Modbus.
Last updated: 2024-05-06
Post by alex-wall on Network Variables not updating
CODESYS Forge
talk
(Post)
This worked for me. I had four identical PLC's. Three of them worked just fine with 255.255.255.255 as the broadcasting address but the 4th would not update the variables. Changed it to 192.168.x.255 and everything worked.
Last updated: 2024-05-07
Post by stiller on OPC-UA ApplicationUri / ProductUri
CODESYS Forge
talk
(Post)
Hello! Is there a way to change ApplicationUri and ProductUri of the OPC_UA server? I can not find any information about it. Does someone have a clue? Thank you in advance!
Last updated: 2024-05-10
Post by dalfaro21 on Softmotion not working with simulation mode
CODESYS Forge
talk
(Post)
I have a KEB combivis studio software running codesys and I want to make some moves but softmotion is not working on my laptop I hope you can help me!
Last updated: 2024-05-12
Post by siscu on Raspberry Pi - Creating own I2C library and use it without device description.
CODESYS Forge
talk
(Post)
Do you think there'd be a way to turn this into a library? How would I2C_master be passed down to POU FBs?
Last updated: 2024-05-15
Post by fugtwad on Automation Builder V2.5 EtherCAT CM579 Master Scan for devices - >No gateway selected
CODESYS Forge
talk
(Post)
Scan from "IP-Configuration" with PC connected to first EtherCAT slave and "EtherCAT" tick box ticked gives slave info. As does ticking the "Emergency" tickbox.
Last updated: 2024-05-20
Post by hanoues on Error 550 delete opertion failed
CODESYS Forge
talk
(Post)
hello, Can anyone help me with my FTP problem on Windows 10? When I try to remove a folder, I can't, and it shows the error message 550.
Last updated: 2024-05-21
Post by tortilla on J1939 connection between two devices
CODESYS Forge
talk
(Post)
Hey, I'm pretty new to CoDeSys so I don't know a lot of things yet. I have to create a connection between two devices (CANbus - J1939 connection). The idea for now is to send a message from one to another (one operates on 3.5 SP11 the other one on 2.3) I watched a few videos, worked with the documentation and worked with chatGPT 4o and was able to build the attached file. This part is about the device on 3.5.11: I'm using the J1939LocalECUDiag, TransmitParameterGroup, TransmissionTrigger Function blocks to send the message but my TransmitPG.xBusy / .xDone never turns to True and therefore my message is not sent while TransmitPG.xExcecute is True. I added the two devices in the CANbus in the J1939Manager and addapted the options like I've seen in the documentation. Can anyone explain what's wrong with my code in this casse or give me advices how to properly create a connection between my two devices? Thanks in advance!
Last updated: 2024-05-23
Post by william-blandon on RecipeManCommands.ReloadRecipes
CODESYS Forge
talk
(Post)
Thanks Edwin. I have reviewed the example and I'm doing basically the same when calling the methods. The recipe files are in the right directory. Everything looks okay but simply it doesn't work. May migrating to Codesys 3.5.20 will solve this?
Last updated: 2024-05-24
Post by donm on Regarding trend storage access error
CODESYS Forge
talk
(Post)
i have created a project which contain 30 trend and suddenly trend recording is not working. its showing an error 30437."Determination of root pages for recording did not work for 'screen', error:30437" how to solve this issue?
Last updated: 2024-05-27
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.