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 Sun Dec 08, 2019 4:03 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Retentive data
PostPosted: Thu Oct 31, 2019 1:24 pm 
Offline

Joined: Mon Feb 23, 2015 12:24 pm
Posts: 20
I have to develop a new project and I need to know if CodeSYS Runtime on beagleboard can use retentive data saved in fast access memory. If I power off the board the retentive data can be maintained. If no I ask if I can add a memory chip (I2C or SPI) in my carrier board.
Thanks


Top
   
 Post subject: Re: Retentive data
PostPosted: Thu Nov 07, 2019 12:24 pm 
Offline

Joined: Mon Feb 23, 2015 12:24 pm
Posts: 20
Any idea for retentive data ? I explain same solutions but I don't know if possible.

1) add a FRAM in my carrier board and use spi or I2c driver to store retentive data using a IEC code.

2) add a FRAM in Runtime configuration settings. Is it possible, any FRAM models available ? This will a good solution because all is done without IEC code.

3) add a UPS or supercup capacitor and a circuit that inform via GPIO that power supply will off. Add a IEC task execute on GPIO rising edge event that save retentive data as point 1.

4) like point 3 but the GPIO il pulled by a parallel linux process that terminate the Runtime process and it save retentive data in filesystem.

Any other ideas ?

Thanks in advance
Giuliano


Top
   
 Post subject: Re: Retentive data
PostPosted: Fri Nov 08, 2019 6:56 pm 
Offline
Site Admin

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

3) supercup capacitor as UPS -> power off should trigger a graceful shutdown on Linux OS - this will then trigger the build in meachnism of the runtime to save the retains in file - this is the maintance free UPS solution. ;-)


BR
Edwin


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