How to draw a cure dynamicly on a visualization?
CODESYS Forge
talk
(Thread)
How to draw a cure dynamicly on a visualization?
Last updated: 2017-05-24
cerate and add a submodule for a PN slave
CODESYS Forge
talk
(Thread)
cerate and add a submodule for a PN slave
Last updated: 2017-03-06
Why can't i blink with a LED inside a loop?
CODESYS Forge
talk
(Thread)
Why can't i blink with a LED inside a loop?
Last updated: 2016-06-10
XY chart display only a portion of a curve
CODESYS Forge
talk
(Thread)
XY chart display only a portion of a curve
Last updated: 2021-03-25
How to add a variable value to a Test Report?
CODESYS Forge
talk
(Thread)
How to add a variable value to a Test Report?
Last updated: 2015-12-07
How to hide a folder in a compiled library
CODESYS Forge
talk
(Thread)
How to hide a folder in a compiled library
Last updated: 2015-06-02
read a file created in a TURCK VT250
CODESYS Forge
talk
(Thread)
read a file created in a TURCK VT250
Last updated: 2014-12-14
Timing of a variable's value switch by a visualisation tool
CODESYS Forge
talk
(Thread)
Timing of a variable's value switch by a visualisation tool
Last updated: 2018-04-02
Adding a prg to a task via python script
CODESYS Forge
talk
(Thread)
Adding a prg to a task via python script
Last updated: 2018-09-17
Forward a VAR_IN_OUT to a sub block :?:
CODESYS Forge
talk
(Thread)
Forward a VAR_IN_OUT to a sub block :?:
Last updated: 2012-02-01
How to start a video on a Raspi's HDMI output ?
CODESYS Forge
talk
(Thread)
How to start a video on a Raspi's HDMI output ?
Last updated: 2022-10-13
MC_Home of a master axis while a slave is geared?
CODESYS Forge
talk
(Thread)
MC_Home of a master axis while a slave is geared?
Last updated: 2021-05-31
Any way to access a variable via a string?
CODESYS Forge
talk
(Thread)
Any way to access a variable via a string?
Last updated: 2017-12-04
Converting a program into a function block
CODESYS Forge
talk
(Thread)
Converting a program into a function block
Last updated: 2016-05-30
read and write a file to a raspberry folder
CODESYS Forge
talk
(Thread)
read and write a file to a raspberry folder
Last updated: 2020-11-01
Saving a GVL to a file
CODESYS Forge
talk
(Thread)
Saving a GVL to a file
Last updated: 2019-12-20
Extract a memory adress from a string value
CODESYS Forge
talk
(Thread)
Extract a memory adress from a string value
Last updated: 2016-12-06
Create a FB for a continuous loop
CODESYS Forge
talk
(Thread)
Create a FB for a continuous loop
Last updated: 2014-03-25
Adding a Softmotion License to a Weintek HMI
CODESYS Forge
talk
(Thread)
Adding a Softmotion License to a Weintek HMI
Last updated: 2025-10-17
Importing a library overrides parameters of a referenced library
CODESYS Forge
talk
(Thread)
Importing a library overrides parameters of a referenced library
Last updated: 2026-05-04
Post by baltzer on ICertificateVerifier.VerifyCertificate doesn't appear to override an ERR_CERT_HAS_EXPIRED rejection in TCP_Client.Upgrade()
CODESYS Forge
talk
(Post)
Follow-up: working workaround found (routing TLS outside CODESYS) For anyone finding this thread later with the same problem (a third-party device presenting a self-signed and/or expired certificate that ICertificateVerifier/udiVerificationMode won't let you connect through) - we never got a working fix within NBS itself, but found a practical workaround worth sharing. Approach: run a local TLS-terminating proxy on the same host as the CODESYS runtime, and have CODESYS talk plain, unencrypted TCP to it instead of connecting to the remote device directly over TLS: CODESYS --plain TCP--> 127.0.0.1:<port> --stunnel/TLS--> <remote device>:<port> We used stunnel (client mode), with certificate verification explicitly disabled at that layer (verifyChain = no, verifyPeer = no) - a simple, well-documented one-line option, unlike anything we could get working inside NBS. Running it as a systemd service with Restart=always means it survives reboots and recovers automatically if the proxy or the remote device drops. On the CODESYS side, this required no changes beyond pointing TCP_Client at 127.0.0.1 instead of the device's real IP, and removing the TLSContext/ICertificateVerifier code entirely - the rest of our application-layer logic (framing, checksums, etc.) was completely unaffected, since none of that ever depended on where the TLS termination happened. Confirmed working end-to-end against a real device with an expired self-signed certificate, running on CODESYS Control for Raspberry Pi SL (Linux). We haven't yet set this up on Windows - stunnel does have Windows builds available, so the same general approach should be possible there too, but that combination isn't tested or confirmed by us at this point. Caveat: this only makes sense when the proxy and the CODESYS runtime are on the same trusted host (in our case, both on the same Raspberry Pi) - don't expose the proxy's plaintext side on a reachable network interface, since that would create an unauthenticated plaintext path to the device. The original question - whether there's a supported way to override an ERR_CERT_HAS_EXPIRED/self-signed rejection from within NBS's own TLSContext/ICertificateVerifier - remains open as far as we know. Still happy to hear from anyone who's solved that particular piece, since the workaround above is a practical detour rather than an actual answer to the original question.
Last updated: 2026-08-06
Post by robinluckey on IDE window handling bugs, windows diasppear, multi monitor setups
CODESYS Forge
talk
(Post)
Codesys Windows (Main window as well as pop-ups) often appear outside of the viewable are in Windows when using multiple Monitors. This is exacerbated (happens more very often), when working on a notebook with different Monitor setups at different locations (which kind of is standard nowadays). The windows (not even the main Window) can not be recovered using standard short cuts like WIN + Arrow keys, alt + tab etc. The only way we found to recover the windows is by changing the Monitor positions in thew Windows Display Settings and than changing them back EVERY TIME a pop us is displayed. This makes using Codesys close to unbearable. All my colleagues face the same problem and do not have this problem with any other IDE. Please help.
Last updated: 2024-10-11
Post by pedegani on "Do you really want to perform" dialog boxes
CODESYS Forge
talk
(Post)
I have the same annoying problem. The confirmation prompt for every single action appeared recently after an update from CODESYS 3.5 SP20 Patch 3 to Patch4, but I don't think it's due to this. Having to confirm every operation while debugging an application is a considerable waste of time and does not help at all to concentrate on development, not to mention that many times you miss the long-awaited event because you are busy looking for the 'yes' button to resume debugging or force a variable. Does anyone know how to disable the confirmation messages?
Last updated: 2025-02-14
Post by edvard-munch on How I can get "Done flag" for "Modbus Slave Channel"?
CODESYS Forge
talk
(Post)
This is from 10 years ago, I know. But I have been using (SLAVE_DEVICE.iChannelIndex = CHANNEL_NUMBER) AND (SLAVE_DEVICE.xDone) I suppose that it shows xDone for the channel that shows up in the iChannelIndex at the same cycle? It seems to be working properly for two devices that I have been using it before But now I have another device and using two write channels, for one register each. One channel works properly and returns DONE flag When another channel is triggered, I see that it shows up in iChannelIndex, but flag DONE not received, but no Error for the channel. Also, when i check the register in the device it's evident that data has been transferred. Is this could happen sometimes with CODESYS, so DONE flag not received? Or this is a problem with a given device? With this certain register
Last updated: 2024-12-19
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.