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 Dec 11, 2018 1:08 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Aug 24, 2018 2:48 pm 
Offline

Joined: Wed Jan 31, 2018 9:19 pm
Posts: 2
I have a project where I have multiple instances of control modules and I would like to be able create a single visualization and then have instances of that visualization inside the project. For example, let's say I have 5 stepper controllers. I have a single function block that controls the stepper module and 5 instances of the function block that controls each module respectively. I can create another function block that controls the logic surrounding the visualization code. But due to the fact the visualizations can only access global memory, i have to create a duplicate visualization for each stepper and then have a global instance of the function block that controls the visualization code. What i would like to do is effectively have the visualization be directly associated with an instance of the function block and access its memory directly rather than through global memory. Is there a way to create an instance of a visualization rather than duplicating the visualization each time i add an additional module to the system? In this case I have defined one function block for visualization control and one visualization and can dynamically instantiate as many as necessary without having to modify or add more support code.

Thanks.


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