Post by mejak on Raspberry Pi USB HID RFID Reader - read ID in plc program
CODESYS Forge
talk
(Post)
Hello, I have an RFID reader that is detected as a keyboard. While looking for information, I came across examples using visualization. I would like to read the ID without visualization or external code in python, only in PLC. I found on the forum that you can try reading directly from potru /dev/... https://forge.codesys.com/forge/talk/Runtime/thread/24b3527036/ How to read values directly in codesys? Or maybe there is another solution? Best Regards
Last updated: 2024-01-25
Post by rabaggett on Reading Named Pipes in Linux Is there a better way?
CODESYS Forge
talk
(Post)
I have a Python program that will handle things in my application such as VISA over IP and Telnet control of instruments. I want the main control and HMI in Codesys. My problem is communication between the two. I have looked at several ways to accomplish this, and settled on having the Python program create two named pipes, one to send information to Codesys, and one for Codesys to send information to Python. The information would be packetized with \n for end of packet.. Seems simple. I think the named pipes method should work, but file reading in Codesys using the CAA file library starts to get difficult when the file is never ending, as in this case. Before I spend too much time making something that may be fundamentally flawed I want to ask. Is there a better way? Is there a way to read the file 'one line at a time' which might solve my never ending file problem? Thanks!
Last updated: 2024-05-09
Post by jmfernandes on OpenDir always in error
CODESYS Forge
talk
(Post)
Well I created a user as Admin, gave access rigths to the file but still can't read the files in the plc it gives the same error. I guess is something to do with plc itself.
Last updated: 2024-08-01
Save jitter measure of main task in file
CODESYS Forge
talk
(Thread)
Save jitter measure of main task in file
Last updated: 2020-08-07
Reading values from CF card file
CODESYS Forge
talk
(Thread)
Reading values from CF card file
Last updated: 2011-11-02
The configuration file of the PLC
CODESYS Forge
talk
(Thread)
The configuration file of the PLC
Last updated: 2016-04-11
Reading source code from .project file without IDE
CODESYS Forge
talk
(Thread)
Reading source code from .project file without IDE
Last updated: 2019-11-09
How make SM_Drive_CAN_xxx device from EDS servo file
CODESYS Forge
talk
(Thread)
How make SM_Drive_CAN_xxx device from EDS servo file
Last updated: 2017-12-14
Write to File on soft PLC winV3x64
CODESYS Forge
talk
(Thread)
Write to File on soft PLC winV3x64
Last updated: 2023-10-24
Codesys ARTI .XML file not creating but working.
CODESYS Forge
talk
(Thread)
Codesys ARTI .XML file not creating but working.
Last updated: 2023-10-30
Extracting information out of a *.library or *.compiled-library file
CODESYS Forge
talk
(Thread)
Extracting information out of a .library or .compiled-library file
Last updated: 2023-12-04
Compile problem - can't get .bin or .h86 file
CODESYS Forge
talk
(Thread)
Compile problem - can't get .bin or .h86 file
Last updated: 2024-09-12
Post by pierre on difference between stub file and source file in scriptengine
CODESYS Forge
talk
(Post)
Last updated: 2024-09-23
Script python for write in a file Project information
CODESYS Forge
talk
(Thread)
Script python for write in a file Project information
Last updated: 2025-04-28
Codesys 3.5.21 fails to copy file to USB
CODESYS Forge
talk
(Thread)
Codesys 3.5.21 fails to copy file to USB
Last updated: 2025-05-27
Saving "Input/output names" in a DCF file
CODESYS Forge
talk
(Thread)
Saving "Input/output names" in a DCF file
Last updated: 2025-07-02
Script python for write in a file Project information
CODESYS Forge
talk
(Thread)
Script python for write in a file Project information
Last updated: 2025-07-13
projects.open not working for file based storage project
CODESYS Forge
talk
(Thread)
projects.open not working for file based storage project
Last updated: 2025-09-05
Frustration-Fueled Feedback on Project File Management and Git Integration
CODESYS Forge
talk
(Thread)
Frustration-Fueled Feedback on Project File Management and Git Integration
Last updated: 2025-09-27
Create and write data in a file text (csv)
CODESYS Forge
talk
(Thread)
Create and write data in a file text (csv)
Last updated: 2021-03-10
Recognition of smybol file entries in Client?
CODESYS Forge
talk
(Thread)
Recognition of smybol file entries in Client?
Last updated: 2011-07-20
How to save sensor values ββto a file
CODESYS Forge
talk
(Thread)
How to save sensor values ββto a file
Last updated: 2023-02-22
Transferring Large CSV File to the Cloud
CODESYS Forge
talk
(Thread)
Transferring Large CSV File to the Cloud
Last updated: 2022-01-03
Failed in launching the *.xml file
CODESYS Forge
talk
(Thread)
Failed in launching the *.xml file
Last updated: 2017-12-01
How can I import my GSDML File into project?
CODESYS Forge
talk
(Thread)
How can I import my GSDML File into project?
Last updated: 2023-01-27
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.