Post by reinier-geers on API webclient
CODESYS Forge
talk
(Post)
Fur ein jahr ein webclient lisence gekauft. Aber immer funktioniert es noch nich. Mach ik es auf internet bekomme ich daten. Aber mit codesys bekomme ich - Query fehler ... - ein switch die abschalt - oder den controller hangt mal wieder Hat eine dar erfahrung? Kan ich in den FB sehen was da pasiert ?
Last updated: 2026-04-05
Post by nicolasquintin on Codesys Installation Always Freeze when the installing is almost done
CODESYS Forge
talk
(Post)
Indeed that worked, thanks!
Last updated: 2026-04-05
Codesys Installation Always Freeze when the installing is almost done
CODESYS Forge
talk
(Thread)
Codesys Installation Always Freeze when the installing is almost done
Last updated: 2026-04-05
Post by reinier-geers on Virtual Api to vieuw what im sending
CODESYS Forge
talk
(Post)
Hi. Is there a website to test my webclient ? When i do a web api test on internet it works. But with codesys ill get an error. So is there a website to tests what im sending ? or a way to look in to the Codeys FB Webclient ?
Last updated: 2026-04-05
Post by reinier-geers on Virtual Api to vieuw what im sending
CODESYS Forge
talk
(Post)
Hi. Is there a website to test my webclient ? When i do a web api test on internet it works. But with codesys ill get an error. So is there a website to tests what im sending ? or a way to look in to the Codeys FB Webclient ?
Last updated: 2026-04-05
Virtual Api to vieuw what im sending
CODESYS Forge
talk
(Thread)
Virtual Api to vieuw what im sending
Last updated: 2026-04-05
Virtual Api to vieuw what im sending
CODESYS Forge
talk
(Thread)
Virtual Api to vieuw what im sending
Last updated: 2026-04-05
Post by egr99 on Modbus TCP Server connection is ESTABLISHED but all holding registers are value 0?
CODESYS Forge
talk
(Post)
Hi there, Read the above description and experienced the same: Reading coil/discrete input/input register/holding register doesn't fill the mapped I/O variable. Any suggestions? Defined (see attachment): - Ethernet (with parameters according to the used Ethernet adapter of my Windows 11 laptop) - -Modbus TCP Client - - -LOGO231 as Modbus TCP Server - - -WS242 as Modbus TCP Server (WaveShare Modbus TCP <-> RTU converter) - - - -WS242_01 as Modbus Server, COM port (slave-id 1 RTU) - - - -WS242_03 idem (slave-id 3 RTU) - - - -WS242_11 idem (slave-id 11 RTU) Writing coil/holding register works from a mapped I/O variable works fine. Verification of Modbus traffic with WireShark: QUERY to and the RESPONSE of all slave-ids are correct Status of all defined is CONNECTED, RESPONSE_SUCCESS, RUNNING etc. Request counters increase with expected frequency. Error counter = 0. (To have all counters works fine I had to change Modbus TCP Client's parameter OptimizationON to FALSE). LOGO231 works fine: values in mapped I/O conform expectation WS242 without Modbus Server, COM port and with defined channels (for only 1 slave-id possible) works fine. PLC Settings: Update I/O while in stop: I see xBusy changing from FALSE to TRUE and vice versa. Always update variables: Enabled 1
Last updated: 2026-04-05
Post by darwin03 on Mismatch between coordinate monitor and actual motion using SMC_GroupJog2, MC_MoveLinearAbsolute (6DOF)
CODESYS Forge
talk
(Post)
Hi Guys!!! I am experiencing an issue when trying to move 6DOF using SMC_GroupJog2 and MC_MoveLinearAbsolute, but I don't understand why, when I jog only X or Y, the coordinate I monitor just changes the X or Y value. It's true, but in reality, Joint6 is still running like the video. Am I wrong somewhere? Many thanks for considering my request.! Video: https://drive.google.com/drive/folders/1vRHQ3AtTO3mijptqZgn5OcP9pyi527Jm?usp=sharing
Last updated: 2026-04-06
Post by egr99 on Modbus TCP Server connection is ESTABLISHED but all holding registers are value 0?
CODESYS Forge
talk
(Post)
You're absolutely right. Sorry for that. In the meantime I wrote a Function block to handle the reads and writes to the different attached RTU-devices. It processes the parameter like (str_Modbus:=(usiSlave:=1, uiFC:=5, uiLEN:=1, uiOFFSET:=0, uiInterval:=500)) and the corresponding output, waits for the response and processes next request in a 5-state procedure. It's working for 2 gateways (stable without errors, although error recovery is included). But nevertheless it should be possible with the Channel definitions of Codesys. Much easier to maintain :)
Last updated: 2026-04-08
Fuzzy Logic PID Controller
CODESYS Forge
talk
(Thread)
Fuzzy Logic PID Controller
Last updated: 2025-11-18
Post by nulltrace on Modbus TCP Server connection is ESTABLISHED but all holding registers are value 0?
CODESYS Forge
talk
(Post)
it works pretty well on codesys-version using device-tree and channels. heres the twist: each uid should be represented as a device, which in your case, it isn't. on the other hand, you found a solution which already works fine. Happy Modbus'ing
Last updated: 2026-04-09
Modbus TCP Server connection is ESTABLISHED but all holding registers are value 0?
CODESYS Forge
talk
(Thread)
Modbus TCP Server connection is ESTABLISHED but all holding registers are value 0?
Last updated: 2026-04-09
Post by tomstix on JSON_Utilities_SL JSONFileWriter error NULL_POINTER
CODESYS Forge
talk
(Post)
Hi, did you ever find an answer to this?
Last updated: 2026-04-09
Combo box drop-down invisible
CODESYS Forge
talk
(Thread)
Combo box drop-down invisible
Last updated: 2026-04-09
JSON_Utilities_SL JSONFileWriter error NULL_POINTER
CODESYS Forge
talk
(Thread)
JSON_Utilities_SL JSONFileWriter error NULL_POINTER
Last updated: 2026-04-09
Post by confre on Combo box drop-down invisible
CODESYS Forge
talk
(Post)
Hi, I created a combo box and I need to know when the drop‑down menu is open, in order to avoid hiding the combo box while the drop‑down is visible. Alternatively, if it’s not possible to detect whether the drop‑down is open, I would like to know how to close or hide the drop‑down programmatically when the combo box is made invisible. I'm using Codesys 3.5 SP19 on IFM CR1074 without touch screen (with standard keyboard handling) Thanks.
Last updated: 2026-04-09
Post by buczekj on ERROR: Calling the program "AlarmStorage_Prg" is not allowed from multiple tasks
CODESYS Forge
talk
(Post)
Many issues with the alarmmanager and alarmstorage can be solved by deleting the configuration, rebooting, and redownloading. I've found that the configurator doesn't always update when you make chanegs. For linux installations it is typically located in /var/opt/codesys/PlcLogic/alarms/ look for file Application.AlarmConfiguration.xml cd /var/opt/codesys/PlcLogic sudo rm -r alarms sudo reboot
Last updated: 2026-04-09
ERROR: Calling the program "AlarmStorage_Prg" is not allowed from multiple tasks
CODESYS Forge
talk
(Thread)
ERROR: Calling the program "AlarmStorage_Prg" is not allowed from multiple tasks
Last updated: 2026-04-09
Post by automa on Best practice to reduce CPU load
CODESYS Forge
talk
(Post)
I am experiencing quite high CPU load on My Schneider M241 PLC with WebVisu. I would like to know what is best practice and how you create your application with pages, frames, tags, dialogs and settings to make an efficient HMI with low CPU load. Thanks
Last updated: 2026-04-10
Post by transcend on Movesuperimposed Command Aborted Error
CODESYS Forge
talk
(Post)
Hello everyone, I am building a 3-axis packaging machine. First, I created a virtual axis and connected the knife to the virtual axis using a CAM. I also linked the conveyor system to the virtual axis with GearIn. However, I’m facing the following issue: when I use SUPERIMPOSED to change the conveyor’s motion, I get a COMMAND ABORTED error. The exact error is: SMC_ERROR.SMC_FB_WASNT_CALLED_DURING_MOTION. Why am I getting this error?
Last updated: 2026-04-11
Post by wollvieh on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
https://forge.codesys.com/forge/talk/Deutsch/thread/d2df08e587/#3d9c
Last updated: 2026-04-13
Movesuperimposed Command Aborted Error
CODESYS Forge
talk
(Thread)
Movesuperimposed Command Aborted Error
Last updated: 2026-04-13
Sysfile Konfiguration
CODESYS Forge
talk
(Thread)
Sysfile Konfiguration
Last updated: 2026-04-13
Post by struland on Sysfile Konfiguration
CODESYS Forge
talk
(Post)
Bei mir half: [SysFile] IecFilePath=/mnt/sdcard Allerdings ist es kein Raspi. Den Ordner, der gelesen werden soll mal auf korrekte Zugriffsrechte prüfen. Im Falle das SELinux aktiv ist mit ls -lZ, ansonsten ls -al
Last updated: 2026-04-13
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.