CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sat Sep 21, 2019 12:42 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri Jul 06, 2012 9:28 am 
Offline

Joined: Mon Jun 25, 2012 7:25 am
Posts: 1
Hi,
I want to create a new file and write a INT value to this file, then close it. Unfortunately I am not so familiar with the file system. How do I must do?

Thanks!

B/R
Rita


Top
   
PostPosted: Sun Jul 29, 2012 7:58 pm 
Offline
User avatar

Joined: Tue Aug 30, 2011 1:21 am
Posts: 96
I would recommend using the OsCat Network Library it has been tested and validated. It also has a built in File Handler with FB's to read/write variables from files.

You have to be signed in to download. This has been updated for CoDeSys V3.

http://www.oscat.de/community/index.php ... 784.0.html

_________________
The Original SoMachine Ninja


Top
   
PostPosted: Wed Aug 01, 2012 5:53 am 
Offline

Joined: Sun Feb 19, 2012 5:34 pm
Posts: 6
To read or write a file ,you must be carefull of something.The functions all needed a rising-edge to excute.
Also, at the end of the programs ,you should close the file.
I suggest you to use CIA FILE LIB.


Top
   
PostPosted: Thu Aug 16, 2012 9:53 am 
Offline

Joined: Wed Jun 27, 2012 8:39 am
Posts: 3
Hi,

Can you please provide me a working sample code for Write and Read File using Codesys v3 ?

Thanks,

Naganatha Subramanian R


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited