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 Feb 18, 2020 8:50 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Variables
PostPosted: Wed Jan 08, 2020 9:31 pm 
Offline

Joined: Fri Feb 16, 2018 5:39 pm
Posts: 42
I have a question that I haven't found an answer for.

When I first started using Codesys it was Codesys 2.3 and my supervisor told me that if a visualization was going to make use of a variable that it had to be a Global Variable. I don't even know if that was good advice then.

Of course now I'm using Codesys 3.5. Does it have any effect to use local variables from a POU vs Global Variables vs using Visualization variables?

On the main page would it matter if variables from a bunch of different POU's are used, some from different tasks?


Top
   
 Post subject: Re: Variables
PostPosted: Mon Jan 13, 2020 6:04 pm 
Offline

Joined: Thu Apr 11, 2019 2:33 pm
Posts: 10
I've used variables from different POU's for the same visualizations and haven't had any problems so far.


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