CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version Spanish version French version
It is currently Sat Aug 02, 2014 3:27 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue May 05, 2009 5:35 pm 
Offline

Joined: Thu Jan 29, 2009 6:36 pm
Posts: 1
Hello everyone
I came across strange issue. I have some variable of type PERSISTENT RETAIN and when I switch declaration view from text to table form, PERSISTANT is getting stripped out and moved into VAR section like variable NAME. So, when I covert back to text format, declaration of PERSISTENT RETAIN variables changes to RETAIN and PERSISTENT becomes its own varible. Here is an exampe.
I start with
VAR PERSISTENT RETAIN
testPersistantVar: BOOL := TRUE;
END_VAR
Then I go to table format and back to text, the declaration changes to
VAR RETAIN
PERSISTENT: BOOL := TRUE;
testPersistantVar: BOOL := TRUE;
END_VAR
Is this a bug in CoDeSys? Is there a way to create varibale PERSISTENT RETAIN in table format?
I am using CoDeSys version 2.3.5.8
Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group