CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Tue Sep 25, 2018 10:07 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Memory Problems
PostPosted: Sat Nov 25, 2017 4:33 am 
Offline

Joined: Thu Jun 12, 2014 9:39 pm
Posts: 5
Hi There,
I am working with Codesys 3.5.10 SP2 and I am having some issues with the memory on my Industrial PC/////

CPU: on-board Intel® Celeron® Quad Core processor J1900 processor,
up to 2.42GHz, 2M L2 cache
ŒŒ BIOS: AMI BIOS
ŒŒ System memory: 2 x 204-pin DDR3L SO-DIMM socket, 4GB DDR3L
(default), support up to 8GB DDR3L-1066/1333, non-ECC and
un-buffered
ŒŒ Storage device:
1 x external locked CFast socket
1 x hard drive bay: optional 1 x 2.5" SATA HDD or 1 x SATA DOM

Good enough right, ok but here are the messages that I get from 3.5
and 2.3, same program with same PLC.
In Codesys 2.3 as you see, there is no problems only on 3.5;
Please can someone tell me what could be the problem?
This is a huge program that I have written that contains more than 18 structures, 18 FB's, 25 Functions, 4 PLC_PRG's, thanks in advance for your help!


You do not have the required permissions to view the files attached to this post.


Top
   
 Post subject: Re: Memory Problems
PostPosted: Sat Nov 25, 2017 6:58 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2851
Hello,
guess the main question is missing you probably are asking for
how to save retain/persistent data on this system, ist that right?

for using retain memory you need to have an UPS on your industrial pc or additional hardware (non volatile ram – NVRAM)
This is needed for CODESYS V2.3 and CODESYS V3.

For using retains a proper shutdown of the plc/pc is needed (the plc runtime does save the retain/persistent variables on this shutdown to the retain file and restore them on next bootup)
This is the way it works (V2.3 RTE and Version 3 Control RTE)
If you have additional hardware in your PC NVRAM – then this proper shutdown of windows is not needed you could only which off because the retains are written cyclic.

That is the whole story for the retains. Some industrial pc manufacturer provide a NVRAM (pci express I guess) card to do this in CODESYS Control RTE V3 as hardware add on (you need to ask your pc manufacturer if the have it for this pc)
But not sure if this works in V2.3. For Control RTE V3 it is for sure possible.

Now you need to decide:

1. Add a UPS to your system (maybe it is already there?)
2. Add NVRAM card to your system

See the description how to use them here in the online help:

https://help.codesys.com/webapp/cds-var ... n=3.5.11.0

maybe the third option in combination with UPS, you could use the persistence manager from application composer.
There is the description in the online help too for doing this.

BR
Edwin


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 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