Find index based on values
CODESYS Forge
talk
(Thread)
Find index based on values
Last updated: 2023-08-20
Post by sunfloweeerrry on Edgelogix-rpi-1000-cm4102032 SPI port connection to PiFace I/O Driver in CodeSys.
CODESYS Forge
talk
(Post)
Please anyone help there is not a lot reference about this.
Last updated: 2023-08-21
Edgelogix-rpi-1000-cm4102032 SPI port connection to PiFace I/O Driver in CodeSys.
CODESYS Forge
talk
(Thread)
Edgelogix-rpi-1000-cm4102032 SPI port connection to PiFace I/O Driver in CodeSys.
Last updated: 2023-08-21
Documentation / Usage Help For Scripting Engine Libraries
CODESYS Forge
talk
(Thread)
Documentation / Usage Help For Scripting Engine Libraries
Last updated: 2023-08-21
Post by totorovic on CSVReaderInit returns error : INVALID_HANDLE
CODESYS Forge
talk
(Post)
Actually no solution. We are waiting Codesys reply. Latest version of library : licence error message Version 1.0.0.5 : INVALID_HANDLE error message
Last updated: 2023-08-21
Post by sven01 on Documentation / Usage Help For Scripting Engine Libraries
CODESYS Forge
talk
(Post)
Hi, I am still not able to figure out how to use the the classes and their functions. π Let's say I would like to use the function "importfile()" from the class "ScriptTextListObject.ScriptTextListMarker". I would be grateful for an additional example. Thanks! π
Last updated: 2023-08-21
Codesys - Como Resetar a senha do Codesys ControlWin
CODESYS Forge
talk
(Thread)
Codesys - Como Resetar a senha do Codesys ControlWin
Last updated: 2023-08-21
Post by wagnerkuapiz on Codesys - Como Resetar a senha do Codesys ControlWin
CODESYS Forge
talk
(Post)
Next Video: Solution https://www.youtube.com/watch?v=7dryc7CT7vI
Last updated: 2023-08-21
Post by vincentger on Raspberry Pi Control SL MC - Restoring License not working anymore!
CODESYS Forge
talk
(Post)
Running into the same problem restoring a Runtime 4.4.0.0 device on a now 4.8.0.0 device.
Last updated: 2023-08-21
Post by kunz on Profinet Device keeps abort connection with AR alarm.ind(err)
CODESYS Forge
talk
(Post)
Can somebody explain what the error Connection aborted: AR alarm.ind(err) exactly mean? I have the same Problem and dont know how to solve the issue
Last updated: 2023-08-21
Profinet Device keeps abort connection with AR alarm.ind(err)
CODESYS Forge
talk
(Thread)
Profinet Device keeps abort connection with AR alarm.ind(err)
Last updated: 2023-08-21
Post by rossanoparis on After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working
CODESYS Forge
talk
(Post)
Hello at all. After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working. I'm not able to read or write files from the PLC application. Before this upgrade all worked fine. I've read this thread [ https://forge.codesys.com/forge/talk/Engineering/thread/3da9ded84e/ ] Despite I followed that indications I couldn't get my code working again. Perhaps I'm missing something or I didn't understand how to use placeholders at all. Is there a different syntax to use for "SysFileOpen" in order to use placeholders? Thanks in advance for your help. Information Compiler: CODESYS V3.5 SP19 Patch 2 Runtime: codesyscontrol 4.9.0 HW: KUNBUS RevPi Connect S Below the paths I want to access (The entire CODESYSControl_User.cfg file is attached) [SysFile] PlaceholderFilePath.1=/home/pi/hpca/bin, $hpcabin$ PlaceholderFilePath.2=/home/pi/hpca/cfg, $hpcacfg$ PlaceholderFilePath.3=/home/pi/hpca/logs, $hpcalogs$ PlaceholderFilePath.4=/home/pi/hpca/resources, $hpcares$
Last updated: 2023-08-22
After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working
CODESYS Forge
talk
(Thread)
After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working
Last updated: 2023-08-22
Post by rossanoparis on After un upgrade of "CODESYS Control for Raspberry Pi MC SL" from v4.7 to v4.9 SysFileOpen function stopped working
CODESYS Forge
talk
(Post)
For those who will step on this thread. Everything is fine, I had only to increase by 1 my place holders number. For sure the system is occupying the number 1 without being declared ... Below the modification I made to get my code working. [SysFile] PlaceholderFilePath.2=/home/pi/hpca/bin, $hpcabin$ PlaceholderFilePath.3=/home/pi/hpca/cfg, $hpcacfg$ PlaceholderFilePath.4=/home/pi/hpca/logs, $hpcalogs$ PlaceholderFilePath.5=/home/pi/hpca/resources, $hpcares$
Last updated: 2023-08-22
Post by t-probst on Strong Private Key Protection for Encryption Certificates
CODESYS Forge
talk
(Post)
Hello, We are trying to implement an automated method of adding of a certificate and private key to the Windows certificate store for encrypting CODESYS projects. We want to do this so that users do not have to deal with details of certificates at all and to prevent user error. We are keen on enforcing strong private key protection since it ensures that a password is required for the certificate to be used to decrypt a CODESYS project. When we add a certificate to the certificate store and enable strong key protection using the Microsoft Management Console Certificates snap-in, it works as expected. However, through this method the user may mistakenly not enable strong private key protection. For the certificates we create programmatically (using Microsoftβs Cryptography Next Generation API in .Net 7) bag attributes are added to the certificate and key by the API. These bag attributes are as follows: Bag Attributes localKeyID: 01 00 00 00 subject=C = xx, ST = xxx, O = xxx, OU = xxx, CN = xxx issuer=C = xx, ST = xxx, L = xxx, O = xxx, OU = xxx, CN = xxx -----BEGIN CERTIFICATE----- [encoded certificate] -----END CERTIFICATE----- After using this certificate with bag attributes to encrypt a CODESYS project, it canβt be decrypted, showing this error: "The specified project could not be loaded. Possible reasons might be: - The project file is corrupted or invalid - The project has been saved with a newer version of the programming system. If this is the case, you can open the project in the corresponding version. Choose "Save as..." with the appropriate storage version, and retry again. - You may not have the necessary permissions to lad the project" We know that the bag attributes are causing the issue because if we manually edit the certificate file to remove them before using the certificate to encrypt a project, the project can be decrypted as expected. However, we are unable to automatically enforce strong key protection using this method. Here is a link to a StackOverFlow question that we have posted recently for this issue: https://stackoverflow.com/questions/76922355/enforcing-strong-private-key-protection-for-x509certificate2-objects-in-net-mod Any help is greatly appreciated.
Last updated: 2023-08-22
Strong Private Key Protection for Encryption Certificates
CODESYS Forge
talk
(Thread)
Strong Private Key Protection for Encryption Certificates
Last updated: 2023-08-22
Post by paulpotat on Project size increasing continuously
CODESYS Forge
talk
(Post)
I still have the same problem with Codesys 3.5 SP18. Initially, my project is ~5 Mo. I work on it for like 3-4 days and it goes up to ~10Mo. If I make an export of the project and import it in a new empty project, it goes back to approximately 5 Mo. Why is it doing this ?
Last updated: 2023-08-23
Post by vformanek on No source code available for profinet library
CODESYS Forge
talk
(Post)
Hello, I have been using CODESYS for a while and after updating to version 3.5.18.50 the code randomly stops with this fault. Why is that ? I have tried to locate the fault in the Call Stack but I dont know what to do now... I have updated the projects properly for the version I am using. This fault started happening after like 14 days of using the new version of CODESYS.
Last updated: 2023-08-23
Post by hugob on Start Control Win Softmotion Runtime
CODESYS Forge
talk
(Post)
Last updated: 2023-08-23
Project size increasing continuously
CODESYS Forge
talk
(Thread)
Project size increasing continuously
Last updated: 2023-08-23
Start Control Win Softmotion Runtime
CODESYS Forge
talk
(Thread)
Start Control Win Softmotion Runtime
Last updated: 2023-08-23
Post by bbm1995 on Security Screen - Custom Certificates for OPC UA Server?
CODESYS Forge
talk
(Post)
Hi everyone, is it possible to use selfsigned/created certificates (eg. with X - Certificate and Key Management) as a OPC UA Server certificate in the Security Screen? As far as I know I can only upload client certificates to the PLC and move it to "Trusted", "Untrusted" and "Quarantined". Same question is on sps-forum.de
Last updated: 2023-08-23
Post by kreisfilho on Same program to more than one PLC
CODESYS Forge
talk
(Post)
Hi, How can I assign a monitor (non touch) connected to a Raspberry pi (via HDMI) as visualization output?
Last updated: 2023-08-23
Post by vformanek on No source code available for profinet library
CODESYS Forge
talk
(Post)
I have tried downgrading and it seems fine now. I am now on version 4.3.0.0 for the library. Mainly the PN controller caused the issue for me. Funny weird is that even the PN controller versions 4.3.1.0 and 4.3.0.0 cause the error. Version 4.2.0.0 works fine.
Last updated: 2023-08-23
No source code available for profinet library
CODESYS Forge
talk
(Thread)
No source code available for profinet library
Last updated: 2023-08-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
.