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 Aug 18, 2019 6:16 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: bit values in recipe
PostPosted: Wed Jul 17, 2019 9:39 pm 
Offline

Joined: Thu Nov 21, 2013 5:38 pm
Posts: 6
I am working with a Wago PFC200 and e!cockpit. I am trying to use a recipe to save an Array of Structures.
The Structures contain bit values and I get the error: C0205 Pointer to bit is not allowed.
I am using bits instead of Bool in the structures to save Retain memory. Is there a work around to this problem?


Top
   
 Post subject: Re: bit values in recipe
PostPosted: Mon Jul 22, 2019 7:33 am 
Offline
Frequent User
Frequent User

Joined: Fri Feb 23, 2018 3:41 pm
Posts: 149
If you have several bits, you may save them contigously with a union datatype.


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