CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Thu Oct 19, 2017 7:18 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Fri May 27, 2016 5:12 am 

Joined: Thu May 26, 2016 3:48 am
Posts: 22
Hi There,

I am using IFM CR1201, with CodeSys V3.5 SP8, but i am facing an issue while defining the retain variable. It does not give any error while compiling but when i try to download the program into the screen, it gives me

I am defining the variable as below:


hmiX1000_Digit : INT;


"Out of Retain Memory : Variable "hmiX1000_Digit", 2 bytes (Largest Contiguous gap 32724) (Incremental Compilation may produce fragmented memory. Perfrom "Build, Clean" to force a reallocation of all data and code."

Does anybody have come across with such kind of issue in CodeSys V3.5 with IFM Screen? if so and have found some solution, could you please help me out.


PostPosted: Mon May 30, 2016 6:09 pm 
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 978
please use correct board forum as this is version 2.3

computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136

PostPosted: Tue May 31, 2016 12:06 pm 

Joined: Mon Aug 20, 2012 1:05 pm
Posts: 1

for the CR1201, and all other ifm displays with Codesys V3, it's only possible to use "Persistent Variables".
unfortunately the compiler does not report an error...

Just add the object "Persistence Variables" to your Application.

Best regards,

PostPosted: Thu Jun 02, 2016 4:34 am 

Joined: Thu May 26, 2016 3:48 am
Posts: 22
Hello Mawa,

Yes i have already tried "Persistent Variable" , it works. But just wondering why it is not working for Retain.

But anyway as you have mentioned that it does not support retain, but it is working with persistent, then there is no issue

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