Post by garmusd on Raspberry Pi 5 GPIO not working.
CODESYS Forge
talk
(Post)
Hi, Codesyscontrol 4.13.0.0 Raspberry Pi5 64bit with latest updates. Cant get working GPIO - no output and no input. SPI/I2C not tested. GPIOs B+/Pi2, Input/Output is set in the parameters, assigned variables int the Mapping. Absolutely no reaction. Do I need to configure anything else to make it work? Thanks!
Last updated: 2024-09-26
Post by wbj0t on tool 'update raspberry pi' unavailable
CODESYS Forge
talk
(Post)
Hi all. Codesys 3.5.19, patch 3. After installing raspberry 4.10 package I can see raspberry device, but can't see update raspberry pi tool. In custimsation->tools I found: Unknown command (8ec1a...) [plugin unavailable] Unknown command (7216f...) [plugin unavailable] Codesys installed in default directory. I reinstalled Codesys, thats not help.
Last updated: 2024-09-26
Post by bjarne-pagaard on Unable to add alarm configuration object to project
CODESYS Forge
talk
(Post)
I believe it should be available. It may be the case, that your device does not support the alarm configuration. Some smaller PLCs sometimes do not support it. You can try changing to a different device, like a Codesys Control Win, in your project, and see if then allows you to add the alarm configuration.
Last updated: 2024-09-27
Post by timvh on Configuring a 2's compliment
CODESYS Forge
talk
(Post)
You could create a DUT of the Type Union and add an array of 2 bytes + an Int. Then write the byte values in the array of the Union and read the Int. Or VAR iInt : INT; byHigh : BYTE := 2#1111_1111; byLow : BYTE := 2#1111_1111; END_VAR iInt := TO_INT(byHigh*16#100 + byLow);
Last updated: 2024-09-28
Post by timvh on FB string and naming
CODESYS Forge
talk
(Post)
Really not clear what you are trying to do, but isn't a Struct enough? So add an object of the type DUT to the Application. Then create a structure TYPE ST_Sensor : STRUCT sName : STRING; uiNumber : UINT; END_STRUCT END_TYPE Then in you application add an instance of this Structure stSensor1 : ST_Sensor := (sName := 'my sensor', uiNumber := 1); or use it like this stSensor1.sName := 'my sensor';
Last updated: 2024-09-28
Post by rh-pk on v3.5 SP19 - Modbus TCP Devices - Channel Limit?
CODESYS Forge
talk
(Post)
Hello jacobwago, I believe that the limit is fixed in the editor, but not in the driver package. There seems to be no link between the driver setting and the editor. Otherwise, I don't know why the input (>10) is blocked, but the function is available. Unfortunately, I cannot offer you any other solution apart from the one mentioned above. Kind regards
Last updated: 2024-09-30
Post by c3po on CoDeSys bricht beim einloggen mit Fehlermeldung ab
CODESYS Forge
talk
(Post)
Na super, ich hab das Problem auch. Das freu mich immer, wenn jemand ins Forum sein Problem schreibt, aber wenn er die Lösung gefunden hat kommt nix mehr. Vielen Dank auch. Hat jemand eine Lösung für mich? Ich nutze Windows 10 64Bit Und möchte auf eine Codesys Steuerung 750-881 online gehen und es kommt der Fehler: Kommunikationsfehler (#0). Es wird ausgeloggt
Last updated: 2024-10-01
Post by mg0815 on CoDeSys bricht beim einloggen mit Fehlermeldung ab
CODESYS Forge
talk
(Post)
Ich hatte gestern (WIRD WOHL ZUFALL SEIN) das selbe Problem ... und heute auch noch Codesys 2.3.9.55 2 verschiedene PC's (win10, win7), der ältere hatte IMMER funktioniert. 3 Controller (2x 891, 881) ... und alle mit dem selben Problem Vielleicht antwortest Du hier mal. Tausend Dank PS: Inzwischen auch mit WAGO in Kontakt (aber noch ohne Lösung)
Last updated: 2024-10-02
Post by boris on EtherCAT error: the device is deactivated
CODESYS Forge
talk
(Post)
Hi, I am currently working in BCS-tools (basiscally codesys) and I am trying to run the GN-9386 network adapter in the EtherCAT_master , but when I run the program the Ethercat status shows the error: ''The device is deactivated''. I don't know what to do right now. Can someone explain me how to fix this error? regards, Boris
Last updated: 2024-10-02
Post by kobrakaister on Migration from ISaGRAF to CODESYS
CODESYS Forge
talk
(Post)
Hello everyone, I need to migrate my existing automation projects from ISaGRAF to CODESYS, and I'm looking for guidance and the best tools and strategies to ensure a smooth transition. Are there any reliable software tools or plugins that can help the conversion? What strategies should I adopt to maintain project integrity? Thank you for the help you can provide! Mat
Last updated: 2024-10-03
Post by cakar16 on Looking for BL20-PG-EN-V3, V3.5.11.20 Device Driver
CODESYS Forge
talk
(Post)
Hi Everyone, I am Karnadi I am looking for device driver for the following Turk devices and version: - BL20-PG-EN-V3, V3.5.11.20 (Turk) - BL20-2RFID-S, V1.1.3.0 (Turk) - BL20-1RS485/422, V1.1.3.0 (Turk) - BL20-4DO-24VDC-0.5A-P, V1.1.3.0 (Turk) - Ethernet, 3.5.11.20 (Turk) Appreciate if anyone of you can share the device driver (config package) above Thanks and Regards Karnadi
Last updated: 2024-10-04
Post by rajankkrs on Ethercat master softmotion lost connection
CODESYS Forge
talk
(Post)
Dear Edwin, we are also facing similar problem of communication failure, FB3 error in servo drives. we tried all the suggestion by Kim but still we couldn't solve the issue. we uses Codesys 3.5 sp18 patch2, servotronix servo drives CDHD and crevis GN-9483. Any suggestion / input to solve the issue please. is anyway in codesys to reset the FB3 error? -Rajan
Last updated: 2024-10-07
Post by bolopg on MODBUS TCP REGISTERS CODESYS V3.5
CODESYS Forge
talk
(Post)
Hi. I have a problem with MODBUS TCP MASTER. I treid to read HR in range 3027-3037 but I cannot read them. I have modbus slave chanel with offset 0x3037. I checked what I read and it looks like I am reading HR in range 1-10. What I am doing wrong.
Last updated: 2024-10-11
Post by davidf on Error trying to activate the demo Git licence
CODESYS Forge
talk
(Post)
The CodeMeter Control Center log shows the following: 2024-10-11 21:02:13: Entry (6000437:8747) not found - Event WB0200 (ENTRY NOT FOUND), Request IP-Address local(IPV4) (SID 0xc079 / 0x00) with StationShare Mode 2024-10-11 21:02:13: API Error 200 (ENTRY NOT FOUND) occurred!
Last updated: 2024-10-11
Post by pietrobalint on Persistent variables are not read after initialization
CODESYS Forge
talk
(Post)
Hi, I realized that if I replug the power supply the persistent variables lost their value with the new software too. Cold reset do not affect the variables value but hardware reboot still reset the values. Application Composer can't be activated. What is the solution?
Last updated: 2024-10-11
Post by gabor-n on PNIO Connect Parameter Error
CODESYS Forge
talk
(Post)
It's a bit confusing, the two RPI is the same (board, OS, runtime, programing with Codesys V3.5 SP20 P2) but the one has a codesyscontrol.cfg file and the other has a codesyscontrol_user.cfg file. Shouldn't be the same? And because I over Codesys 3.5 SP 12 this would be the '_user.cfg' for both. Attached...
Last updated: 2024-10-11
Post by davidmic on What is this ST syntax?
CODESYS Forge
talk
(Post)
I found some structured text code which contained this statement: bHidden:= TRUE(*NOT _somevariable*) I haven't seen TRUE() used like a function before, and I also haven't seen the enclosing asterisks * * before. What do they do? (sorry if this is a duplicate question, I don't know what words to use to search for this syntax)
Last updated: 2024-10-11
Post by janber on REFERENCE TO in an array
CODESYS Forge
talk
(Post)
Hi all, in the online help it written, that array of reference to data type is not possible. Ok... but if I create array of struct of reference to - everything works fine - please see the screenshots: and it works this way OK. Is it intention or error in compiler 3.5.18.20 and we should avoid it? Thanks a lot, Jan.
Last updated: 2024-10-14
Post by jarnok on How to know if output if function block is used
CODESYS Forge
talk
(Post)
Hi, Is it possible to know of an output of a function block is used? I've found there is a way to find unused inputs of a fb, through the attribute: is_connected. But I'm wondering if the same can be done for an output. Thanks in advance!
Last updated: 2024-10-15
Post by csu-chris on No file found
CODESYS Forge
talk
(Post)
I'm having trouble getting started with the SysFile library. I tried copying and running the code found here: https://forge.codesys.com/forge/talk/Engineering/thread/f17c3d0e64/ Every time I try to run the file handle pointer returns: 16#FFFFFFFFFFFFFFFF <dereference of="" invalid="" pointer=""></dereference> I can see the file when I look in the Device -> Files window Any idea what I'm doing wrong?
Last updated: 2024-10-15
Post by eschwellinger on Bibliothek: floatingpointutils
CODESYS Forge
talk
(Post)
naja die compiled library hast du ja - du hast halt eine exception - und dann wirst du gefragt ob du das ganze Debuggen willst. Die offene Bibliothek wirst du nicht bekommen - daher würde ich so vorgehen: Dein Projekt hier mal anhängen so das man mal draufschauen was du genau aufrufst und wie.
Last updated: 2024-10-18
Post by lbartik on MPC predictive control
CODESYS Forge
talk
(Post)
Would this work? https://www.mathworks.com/hardware-support/codesys.html I'm also interested in real-world MPC and have no idea where to start. There is an exciting Python library that is also beyond my grasp: https://www.do-mpc.com/en/latest/index.html Step 1, get PhD(s). Step 2, get job in aerospace/robotics. Step 3, return 15 years later to share this knowledge?
Last updated: 2024-10-19
Post by spoun on Problem with edge gateway config mode
CODESYS Forge
talk
(Post)
I installed patch 3 now and i get a new message, although i located and modified the files in system32 and sysWOW64 still doesn't work. One thing i noticed is thta in system32 folder CODESYSGatewayV3 now i have two different XXXXXXXX files with the latest being created today at the time of installation
Last updated: 2024-10-21
Post by dekelec on TrueType font problem
CODESYS Forge
talk
(Post)
Initially I had the same problem in CoDeSys when selecting a newly installed TTF font, while CoDeSys was running. I solved it by closing Codesys and running it again to restart the initialization process. After that, using the new font did not pop up errors. I also had cases with files that had a ttf extension, but were actually not TrueType.
Last updated: 2024-10-22
Post by daniel on SysFileOpen not working
CODESYS Forge
talk
(Post)
Hello, I have the same problem now with 3.5.20 Patch 3. Normally it works if I ad in CODESYSControl.cfg: [SysFile] ForceIecFilePath=0 (This told me codesys last time) I try to use the placeholders but without success. Something special is that the Files are not in C:. The Plc Configuration Path is not as usual C:\ProgrammData\CODESYS\CODESYSControlRTEV3\, it's E:\Control.
Last updated: 2024-10-23
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
.