Codesys CNC M Code error after upgrading 2 machines from 3.5.12 to 3.5.16.20
CODESYS Forge
talk
(Thread)
Codesys CNC M Code error after upgrading 2 machines from 3.5.12 to 3.5.16.20
Last updated: 2021-01-19
Konvertierung Gray Code in Dual Code
CODESYS Forge
talk
(Thread)
Konvertierung Gray Code in Dual Code
Last updated: 2016-03-23
G-Code with M Code
CODESYS Forge
talk
(Thread)
G-Code with M Code
Last updated: 2016-04-18
Build error 'Internal Error (CortexM3): Stack not clear
CODESYS Forge
talk
(Thread)
Build error 'Internal Error (CortexM3): Stack not clear
Last updated: 2021-12-22
Codesys: Error while reading target information, Canuser.lib error
CODESYS Forge
talk
(Thread)
Codesys: Error while reading target information, Canuser.lib error
Last updated: 2019-10-25
Compiling error. Service number:47, Error number:80
CODESYS Forge
talk
(Thread)
Compiling error. Service number:47, Error number:80
Last updated: 2018-06-27
OPC error: GetWriteVariant failed: Error=6
CODESYS Forge
talk
(Thread)
OPC error: GetWriteVariant failed: Error=6
Last updated: 2005-11-04
Compilation Error - Variable name 'error' in 'ElementCall' already used
CODESYS Forge
talk
(Thread)
Compilation Error - Variable name 'error' in 'ElementCall' already used
Last updated: 2019-10-23
Error with #ElementCollections and after a compile error
CODESYS Forge
talk
(Thread)
Error with #ElementCollections and after a compile error
Last updated: 2019-07-31
Codemeter log error: API Error 200 (ENTRY NOT FOUND) occurred!
CODESYS Forge
talk
(Thread)
Codemeter log error: API Error 200 (ENTRY NOT FOUND) occurred!
Last updated: 2024-05-08
EtherCAT Master: How many error frames till bus error
CODESYS Forge
talk
(Thread)
EtherCAT Master: How many error frames till bus error
Last updated: 2024-12-03
Post by mondinmr on Why SysPipeWindows is not implemented in RTE?
CODESYS Forge
talk
(Post)
This library would be very useful for IPC communications. Using a UDP socket on localhost is unpredictable, as with slightly loaded machines it does not even guarantee packet delivery locally. Using TCP creates a lot of overhead. Message named pipes would be an excellent solution for Windows RTE. On Linux, since the release of the extension package, there is no issue, as it is sufficient to develop a component. However, although now 90% of our clients understand that Linux runtimes are better in every way compared to Windows RTE, especially from the security aspect (Not in kernel space) and the issues with Windows updates, 10% stubbornly insist (sometimes for trivial commercial reasons) on using Windows. Managing IPC with circular buffers in shared memory is quite ugly, or rather really ugly and unaesthetic. In the manuals, I saw the SysPipeWindows libraries, so I decided to test them, but unfortunately, I noticed that they are not implemented for RTE devices. Technically, I could try to open them as regular files, but SysFileOpen returns 16#27 or 16#39 depending on how I set the name (direction of the slashes). Here is the code to create shared memory and named pipes. Shared memory work great, named pipes no! #ifdef Q_OS_WIN32 SECURITY_ATTRIBUTES sa; SECURITY_DESCRIPTOR sd; InitializeSecurityDescriptor(&sd, SECURITY_DESCRIPTOR_REVISION); SetSecurityDescriptorDacl(&sd, TRUE, NULL, FALSE); sa.nLength = sizeof(SECURITY_ATTRIBUTES); sa.lpSecurityDescriptor = &sd; sa.bInheritHandle = FALSE; const wchar_t* name = L"Global\\ShmTest"; HANDLE hMapFile = CreateFileMapping( INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, sizeof(SharedData), name); if (hMapFile == NULL) { qCritical("Error creating shared memory"); return 1; } data = static_cast<SharedData*>(MapViewOfFile(hMapFile, FILE_MAP_ALL_ACCESS, 0, 0, sizeof(SharedData))); if (data == NULL) { qCritical("Error mapping shared memory"); return 1; } HANDLE hPipe = CreateNamedPipe( TEXT("\\\\.\\pipe\\MyPipe"), PIPE_ACCESS_DUPLEX, PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE | PIPE_WAIT, PIPE_UNLIMITED_INSTANCES, 1024 * 1024, 1024 * 1024, NMPWAIT_USE_DEFAULT_WAIT, &sa); if (hPipe == INVALID_HANDLE_VALUE) { qCritical("Error creating named pipe"); return -1; } if (!ConnectNamedPipe(hPipe, NULL)) { qCritical("Error connecting to named pipe"); return -1; } checkPipe(hPipe); #endif
Last updated: 2024-02-02
Post by banialuk on Modbus Server TCP -error code
CODESYS Forge
talk
(Post)
Hello, I create modbus tcp server, but I have this error: how resolve this problem?
Last updated: 2024-10-21
Post by eschwellinger on Errors by Code Generate
CODESYS Forge
talk
(Post)
yes no error in my case.
Last updated: 2024-02-17
Error C0521 - unknow compiler
CODESYS Forge
talk
(Thread)
Error C0521 - unknow compiler
Last updated: 2023-09-02
JSON_Utilities_SL JSONFileWriter error NULL_POINTER
CODESYS Forge
talk
(Thread)
JSON_Utilities_SL JSONFileWriter error NULL_POINTER
Last updated: 2023-09-08
Library creation error
CODESYS Forge
talk
(Thread)
Library creation error
Last updated: 2017-11-06
Error message during login
CODESYS Forge
talk
(Thread)
Error message during login
Last updated: 2018-09-03
Error 5023 Mail service
CODESYS Forge
talk
(Thread)
Error 5023 Mail service
Last updated: 2020-07-30
Printing Error
CODESYS Forge
talk
(Thread)
Printing Error
Last updated: 2014-11-04
Error: SMC_CP_QUEUE_UNDERRUN
CODESYS Forge
talk
(Thread)
Error: SMC_CP_QUEUE_UNDERRUN
Last updated: 2018-10-24
Cause of error message
CODESYS Forge
talk
(Thread)
Cause of error message
Last updated: 2021-09-18
FILE.DirOpen Error Wrong Parameter
CODESYS Forge
talk
(Thread)
FILE.DirOpen Error Wrong Parameter
Last updated: 2021-04-27
Script Error
CODESYS Forge
talk
(Thread)
Script Error
Last updated: 2020-01-02
Motion FB Error
CODESYS Forge
talk
(Thread)
Motion FB Error
Last updated: 2023-10-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
.