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 Tue Feb 19, 2019 3:23 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Mar 25, 2018 9:58 pm 
Offline

Joined: Mon Jan 22, 2018 10:07 am
Posts: 47
Hi,
for a project, I need to program in CODESYS about 10 PLC based on Raspberry Pi.
The PLCs need a unique identification code and some other parameters so I thought to use a text file (like a configuration file) that carry on the whole set of configuration parameters for different PLCs.
I think of something like this:

[Configuration File]
ID=xxxxxx
PORT=yyyyyy
NAME=ssssssss

and so on...

I need to read this file and extract the parameters to be used in PLC application.
I can save the file via FTP directly into a directory but I need to read its content in CODESYS PLC application side.
Could someone help me?
Thanks


Top
   
PostPosted: Mon Mar 26, 2018 6:17 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3144
Hi,

there is a ready to use product in the CODESYS store:
https://store.codesys.com/ini-file-utility.html
Sure you could implement it by Sysfile library too.
BR
Edwin


Top
   
PostPosted: Mon Mar 26, 2018 7:15 pm 
Offline

Joined: Mon Jan 22, 2018 10:07 am
Posts: 47
Thank you.
But how I could extract that data by myself?


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 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