CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Mon Jan 22, 2018 2:38 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: VAR_OUTPUT
PostPosted: Fri Dec 29, 2017 8:38 pm 
Offline

Joined: Fri Dec 29, 2017 3:41 pm
Posts: 1
I made a FB type and do some calculation on some array inside the FB.
I would like to expose this array to the "parent" POU.
Currently the array is defined inside a VAR block (like MyArray:ARRAY[0..99] OF WORD)).
Is it possible to make this variable visible from outside by some attribute or something similar?
Alternatively, can a pointer to an array defined outside the FB be used instead of a local variable?


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