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 Wed Feb 19, 2020 7:48 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Saving a GVL to a file
PostPosted: Fri Dec 20, 2019 9:54 am 
Offline

Joined: Wed Oct 31, 2018 6:57 pm
Posts: 10
Is it possible in (ST) code to convert GVL and all it's data to string to write to file? I need to export the GVL to local device and also revert the exported file back to code to read to GVL. I can do that manually, but god damn, that's a long road to tipetitap keyboard allnight long


Top
   
PostPosted: Fri Dec 20, 2019 10:47 am 
Offline

Joined: Thu Aug 04, 2016 4:21 pm
Posts: 55
possible way is to declarate the variables as a structure. Then use sysfile library. write file with size of structure to .bin file and read the .bin file at the other PLC.


Top
   
PostPosted: Fri Dec 20, 2019 12:45 pm 
Offline

Joined: Wed Oct 31, 2018 6:57 pm
Posts: 10
This was to from topic, can be deleted.


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 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