Error while using Codesys SP19 Patch 4 on Windows 11
CODESYS Forge
talk
(Thread)
Error while using Codesys SP19 Patch 4 on Windows 11
Last updated: 2025-11-27
Post by eschwellinger on CSVReaderInit returns error : INVALID_HANDLE
CODESYS Forge
talk
(Post)
this is a security issue not to read/write in the plc allowed path I would recommend to update and change the path in the application were the files are😏
Last updated: 2023-08-30
Post by sigurdrb on Codesys and error messages, warnings exceptions etc.
CODESYS Forge
talk
(Post)
I can add that the values I want to read are typical these values highlighted in red on the picture attached.
Last updated: 2024-11-06
Post by ggarcia94 on CANOPEN SDO configuration
CODESYS Forge
talk
(Post)
Hello, I´m connected to two drives via CANOPEN. The connection seems to be ok. However, I´m not able to get the PDOs to work even tho they are configured as in the manual of the drives. Looking at the SDOs I´ve seen that for each PDO there is a "Disable PDO" SDO that does not exist in the manual or in the EDS file of the drives. This "Disable PDO" signal has the same Index and Subindex as another SDO used to set and enable the COB-ID of the PDO. I´m assuming this is normal but why is Codesys creating a "Disable PDO" SDO for each PDO and could that be the reason the PDOs are not working?
Last updated: 2023-09-25
Post by pazderai on CanOpen write issue
CODESYS Forge
talk
(Post)
Anyway, any idea how to get command byte 0x22 for sdo write if I use codesys cia405 canopen library?
Last updated: 2024-07-16
Post by masmith1553 on SDO generation
CODESYS Forge
talk
(Post)
I use the ifm products which have these blocks in their package. I would think Wago has something similar.
Last updated: 2024-01-26
Post by atone on CAA File Handling: "Read only" error
CODESYS Forge
talk
(Post)
In case of error while opening the file to read you assume that the file doesn't exist and try to create one. But it could be that the SD card is not ready yet or simply not there. I would try to check first if the SD card is there and accessible. Otherwise with FILE.Create you could end up creating a new directory that is not mapped to the SD card. This would explain the errors even after a reboot, though it doesn't explain the READ_ONLY_CAA error I guess? I would use FILE.DirOpen and FILE.DirList to check if the SD card is there and ready.
Last updated: 2025-03-20
Post by fcmtw on SDO generation
CODESYS Forge
talk
(Post)
Hi, When I'm adding a CANOpen device in my WAGO CANOpen Manager, CODESYS automaticaly generates some SDO's that I can't directly disable. From what those SDO's are generated ? I'm not finding anything about it in the EDS files. Also, is there a way to disable the automaticaly generated SDO and execute the manualy created ones ? Regards, Florian
Last updated: 2024-01-23
Post by gseidel on AXIS_REF_SM3 Error Codes?
CODESYS Forge
talk
(Post)
Hi SLUCodesys, dwErrorId is a drive specific error number. The drive documentation should be consulted to interpret it. (Note that you should use MC_ReadAxisError to read this error, see https://content.helpme-codesys.com/en/libs/SM3_Basic/Current/SM3_Basic/POUs/Diagnostics/MC_ReadAxisError.html. Accessing the internal variable will result in outdated values if the acis error is not mapped by PDO and is not recommended in general.) uiDriveInterfaceError holds errors of the SoftMotion driver for the drive. It is also an internal variable, not intended for direct access. It is intended for logging, the PLC log will contain the drive interface error, consisting of this number and an error text. My recommendation for handling axis errors in the CODESYS application: 1) Use MC_ReadStatus on the axis to find out whether it is in state Errorstop 2) If in Errorstop, there are two possibilities: an error reported by the drive (MC_ReadAxisError) or an error of the SoftMotion function blocks (output MC_ReadStatus.FBErrorOccured). 3) If there is no drive error, you can use SMC_ReadFBError https://content.helpme-codesys.com/en/libs/SM3_Basic/Current/SM3_Basic/POUs/Diagnostics/FBError/SMC_ReadFBError.html Best regards, Georg
Last updated: 2025-09-24
Post by anhkdv on Motion FB Error
CODESYS Forge
talk
(Post)
Last updated: 2023-10-08
Post by valentinakern on error device
CODESYS Forge
talk
(Post)
Last updated: 2024-02-06
Post by anttimurtsi on Html5 controls error
CODESYS Forge
talk
(Post)
Last updated: 2024-02-07
Post by rckalex on Data Source Error 418
CODESYS Forge
talk
(Post)
Trying to connect to a Codesys V3 datasource but am unsuccessful. The error information for the datasource reads: Failed (not nearer specified) Error ID: 418 Can anyone shed light on what that error means?
Last updated: 2024-03-06
Strange: CodeSys outbound/send messages seen by hardware but not by SocketCAN (inbound/read is OK)
CODESYS Forge
talk
(Thread)
Strange: CodeSys outbound/send messages seen by hardware but not by SocketCAN (inbound/read is OK)
Last updated: 2020-09-29
Read values in V3.5 SP9 Patch 5 vs V3.5 SP13 Patch 2
CODESYS Forge
talk
(Thread)
Read values in V3.5 SP9 Patch 5 vs V3.5 SP13 Patch 2
Last updated: 2019-02-11
Unexpected behavior in cyclic encoder read method during INT overflow (wrap-around)
CODESYS Forge
talk
(Thread)
Unexpected behavior in cyclic encoder read method during INT overflow (wrap-around)
Last updated: 2025-05-13
Programming Turck BL67-PG-EN-IP To Read/Write RFID Tags
CODESYS Forge
talk
(Thread)
Programming Turck BL67-PG-EN-IP To Read/Write RFID Tags
Last updated: 2011-02-22
Convert and String to an expression read by the runtime
CODESYS Forge
talk
(Thread)
Convert and String to an expression read by the runtime
Last updated: 2012-01-09
[SOLVED][ModBus TCP/IP] How to read data from thermostat.
CODESYS Forge
talk
(Thread)
[SOLVED][ModBus TCP/IP] How to read data from thermostat.
Last updated: 2017-06-08
read SVN-revisions of project and library insinde a library function
CODESYS Forge
talk
(Thread)
read SVN-revisions of project and library insinde a library function
Last updated: 2018-05-16
How to read SD card data and store in array
CODESYS Forge
talk
(Thread)
How to read SD card data and store in array
Last updated: 2012-11-26
Rpi Modbus TCP Slave Single Coil and Discrete Input read strange behaviour
CODESYS Forge
talk
(Thread)
Rpi Modbus TCP Slave Single Coil and Discrete Input read strange behaviour
Last updated: 2020-11-03
How can I read and writie on the canbus without CANopen
CODESYS Forge
talk
(Thread)
How can I read and writie on the canbus without CANopen
Last updated: 2019-10-01
PI + Beckhoff IO + CODESYS -- Issue with I/O Channels being Read/Updated
CODESYS Forge
talk
(Thread)
PI + Beckhoff IO + CODESYS -- Issue with I/O Channels being Read/Updated
Last updated: 2018-12-26
I cannot use SysFile to open/read/write/close - RTS_IEC_HANDLE not defined
CODESYS Forge
talk
(Thread)
I cannot use SysFile to open/read/write/close - RTS_IEC_HANDLE not defined
Last updated: 2017-09-22
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.