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 Tue Sep 17, 2019 12:11 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Nov 25, 2014 3:55 pm 
Offline

Joined: Wed Sep 24, 2014 8:54 pm
Posts: 1
I have a question about creation a data unit type like below:
Data types:
TYPE DIn :
STRUCT
In:INT;
Flag:INT;
END_STRUCT
END_TYPE
If I declare a GlobalVariable like below:
VAR_GLOBAL
I:DIn;
END_VAR
when in a POU I insert a BOOL derivate from this G.variable (i.e. I.Flag.0 or I.In.1 and so)
the comment that I assign to the bit doesn't be automatically assigned every time
the same bit is used.
The same issue happens with Dt composed by ARRAY of Bool.

Thanks for your co operation
giova


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

All times are UTC+01:00


Who is online

Users browsing this forum: jkilburn and 6 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