Post by bjohnson on CODESYS and Win10 - "the version profile is not valid" error
CODESYS Forge
talk
(Post)
We just had this problem today when our IT updated a group policy. You need to to got Local Group Policy Editor > Local Computer Policy > Computer Configuration > Windows Settings> Security Settings > Local Policies > Security Options. Set "System Cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" to DISABLED
Last updated: 2025-05-23
Post by bmatlove on Variable Length Array - Cannot mix variable and fixed length dimensions?
CODESYS Forge
talk
(Post)
Using Codesys 3.5.18.30 I am trying to work with an array of variable length in one dimension, but known in the other dimension. For example, using an array that represents a list of items, each with an attribute profile. I do not know how many items will be in the list, but I know that every item has 5 attributes, like size, weight, etc. Codesys does not seem to be able to accept this. I have referenced Data Type: ARRAY OF documentation page, which is not explicit if variable & fixed length array dimensions can be mixed. In the VAR_IN_OUT scope, I initially tried MY_ARRAY : ARRAY [*, *] OF REAL; which was no problem, of course. I then modified it to MY_ARRAY : ARRAY [*, 1..5] OF REAL; which throws C0006: ', or ]' expected instead of '..' among consequent downstream errors. I then used the Auto Declare -> Array Wizard, which accepted (asterisk)-(asterisk) and 1-5 for 2-dimensional lower and upper bounds. It output: MY_ARRAY: ARRAY[*..*, 1..6] OF INT; which throws the same error stream. What's the deal here? Is this possible?
Last updated: 2025-05-23
Home (version 1) discussion
bmatlove
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-05-24
(no subject)
bmatlove
wiki
(Thread)
Last updated: 2025-05-23
Home
bmatlove
wiki
(WikiPage)
Project Members: bmatlove (admin)
Last updated: 2025-05-23
Post by andrax on Variable Length Array - Cannot mix variable and fixed length dimensions?
CODESYS Forge
talk
(Post)
Arrays with variable lengths are a bad idea. This makes your system unstable and can lead to crashes. Declare your array large enough to reserve enough memory
Last updated: 2025-05-24
Io-link library vor ethernet/ip
CODESYS Forge
talk
(Thread)
Io-link library vor ethernet/ip
Last updated: 2025-05-24
Home (version 1) discussion
r19h72
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-05-25
wiki Discussion
chalo
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-05-25
blog Discussion
chalo
blog
(Discussion)
Forum for blog comments
Last updated: 2025-05-25
Post by r19h72 on Io-link library vor ethernet/ip
CODESYS Forge
talk
(Post)
gibt es Pläne für eine Erweiterung der io Link sl library auf ethernet/ip? derzeit sind nur profinet und ethercat verfügbar wann kann man damit rechnen?
Last updated: 2025-05-24
wiki Discussion
fmann
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-05-25
blog Discussion
fmann
blog
(Discussion)
Forum for blog comments
Last updated: 2025-05-25
(no subject)
chalo
wiki
(Thread)
Last updated: 2025-05-25
(no subject)
fmann
wiki
(Thread)
Last updated: 2025-05-25
Home
chalo
wiki
(WikiPage)
Project Members: chalo (admin)
Last updated: 2025-05-25
Home (version 1) discussion
edvard-munch
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-05-25
Home
fmann
wiki
(WikiPage)
Project Members: fmann (admin)
Last updated: 2025-05-25
Post by nz-dave on Codesys 3.5.21 fails to copy file to USB
CODESYS Forge
talk
(Post)
i had a similar problem trying to send files to C: on local computer. Ended up using Oscat ftp to transfer file with filezilla. i read there is an "write protection", possibly to do with windows, issue with sp19 and up. there are some config files in the codesys dir you can change, which may help. after i was able to transfer to local PC\downloads but not c: so went the ftp route. works well. https://forge.codesys.com/forge/talk/Runtime/thread/5cac1390b4/
Last updated: 2025-05-26
Variable Length Array - Cannot mix variable and fixed length dimensions?
CODESYS Forge
talk
(Thread)
Variable Length Array - Cannot mix variable and fixed length dimensions?
Last updated: 2025-05-26
Post by nz-dave on Variable Length Array - Cannot mix variable and fixed length dimensions?
CODESYS Forge
talk
(Post)
VAR CONSTANT size : INT := 10; END_VAR My_Array : ARRAY[1..SIZE , 1..5] OF REAL;
Last updated: 2025-05-26
Post by qkkk on Device Scan
CODESYS Forge
talk
(Post)
Hello all, I have developed a custom I/O driver in CODESYS that communicates via a Unix Domain Socket. In my DeviceDescription.xml, I have set up the following: <scan supported="true"> <scanfbinstance fbname="IOScanDevice"> The goal is to allow the user to scan for connected I/O modules from the CODESYS GUI ("Scan for Devices") and automatically populate the device tree with detected submodules.</scanfbinstance></scan> The function block IOScanDevice is implemented in the driver library and added to the main device's FB instances. However, when I initiate the scan from the GUI, nothing appears to happen the function is not executed. Is there an example project or driver (open source or from CODESYS Forge) that demonstrates a working custom scan implementation?
Last updated: 2025-05-26
wiki Discussion
herringbur
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-05-26
blog Discussion
herringbur
blog
(Discussion)
Forum for blog comments
Last updated: 2025-05-26
Home
herringbur
wiki
(WikiPage)
Project Members: herringbur (admin)
Last updated: 2025-05-26