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 Fri Dec 06, 2019 2:08 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Mar 16, 2016 12:07 pm 
Offline

Joined: Thu Mar 10, 2016 10:34 am
Posts: 6
I played with the SFC Visu Generator , to display an SFC program , which has some Parallel branches
In my test , i have observed the following:
On entereing Parallel branches , the Visu shows this correctly (The first steps are active) , but as soon as one of the branches continue - (Next step in this branch) , the Visu will not correctly show active steps on the other paralell branches

Is there a way to accomplish this ?

I attached 2 images, to show this situation, 1 for the running plc program , and 1 for the visu screen..

TIA
Frank S


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Thu Apr 14, 2016 1:58 pm 
Offline

Joined: Mon Sep 01, 2014 11:44 am
Posts: 11
Hello,

I am also interested in this topic.
It would also be very nice if the SFV Visu Generator would create visualizations for sub-SFCs, i.e. SFCs that are inside the SFC-steps.
Right now they seem to be ignored.

What I understood from the gernerated code is, that the SFCCurrentStep-Variable is used. This seems to be bad for sub-SFCs and parallel branches, because the SFCCurrentStep-variable only shows the name of one step, while there are much more active in parallel.
Wouldn´t it be better to generate code that asks for the implicit <StepName>.x variable for each step?

It is possible to manually change the automatically generated highlighting code to look for the .x, but the automatic generation would be much nicer.


Best,
Martin


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