FORUM | LATEST POST | # TOPICS |
---|---|---|
Engineering π¬π§ Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition |
CAA File- FILE_OPERATION_DENIED error by micik 9 minutes ago |
5074 |
Runtime π¬π§ Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms |
Raspberry Pi: List of available example applications by siscu 18 hours ago |
2108 |
Visualization π¬π§ Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu |
Change the Opening Position of the Dialog using VU.FbOpenDialog by TimvH 7 days ago |
889 |
Motion π¬π§ Realizing single or multi axis motion control, CAM, CNC and Robotic applications |
Softmotion not working with simulation mode by totorovic 3 days ago |
439 |
Codesys V2.3 π¬π§ Forum about V2.3 |
Persistence Variables missing and DO NOT retain from Persistence Channel... by westcountryewe 1 day ago |
2159 |
Deutsch π©πͺ German forum |
canOPEN by boehli 1 day ago |
4444 |
Automation Server π¬π§ The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers |
File transfer via visu and codesys automation server by eschwellinger 2024-03-11 |
30 |
Forge π¬π§ Discussions about CODESYS Forge projects and features of the CODESYS Forge website |
Could not be resolved - Library error by ademarvribeiro 2024-04-29 |
172 |
Hello, I'm trying to use FILE.Open to open file that exists in the given location. sFileName is formed from "Copy as path" in Windows. So I'm sure file exists and it is in the given location. And still, I get thiss denied error. What could be the problem here? Attached is a screenshot with current implementation.
Hello, I'm trying to use FILE.Open to open file that exists in the given location. sFileName is formed from "Copy as path" in Windows. So I'm sure file exists and it is in the given location. And still, I get thiss denied error. What could be the problem here? Attached is a screenshot with current implementation.
https://forge.codesys.com/forge/talk/Engineering/thread/3da9ded84e/
https://forge.codesys.com/forge/talk/Engineering/thread/1203efe4d8/
Hello, what would be the most efficient way to check whether the file exists or not. I don't want to use file.Open function, it seems like rather inefficiet operaton. I considered GetAttribute function, but this function doesn't accept filename (with path) as an input. Basically I need to check first time when program is loaded to the runtime i.e. when application is started for the first time, whether a file exists on the specific location or not.
Intetrested... I added the CmpApp library, but cannot find the AppGetApplicationInfo you mention.
no - should work - without limitation
Could this be turned into a library? I'd love for a way to have the main program call a function block method using the program's I2C_master device. I assume I should be passing the master as a variable for the function block, but I don't see how that could be achieved
Do you think there'd be a way to turn this into a library? How would I2C_master be passed down to POU FBs?
We've been experiencing an issue through SP18, SP19 and now SP20 where the Persistence Variables do not retain if we upload our program via a Boot Application. If we use the exact same program, and perform a Direct Upload via the Laptop and Ethernet connection, the Persistence Variables work exactly as expected. I have submitted 2 bug support tickets but I haven't had a response back from Codesys. Has anybody experienced the same issues and discovered a workaround? We have a requirement to utilise...