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 Sat Dec 15, 2018 8:53 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: SFC action running twice
PostPosted: Sun Sep 06, 2015 8:52 am 
Offline

Joined: Sun Aug 31, 2014 8:25 am
Posts: 24
Even when I use the qualifier "P" for an action in SFC and set the transition condtion to "TRUE", I see that the action is performed twice.
The only way I found to make it performed only once is by setting a bit in the step before and reset it in the action itself.
Is there something I'm missing?


Top
   
PostPosted: Sun Sep 06, 2015 9:38 pm 
Offline
Frequent User
Frequent User

Joined: Sun Apr 15, 2007 1:18 am
Posts: 149
Hello,

It's normal :oops: . This is an aspect of the SFC standard. That is different from the French grafcet.
J'm french :oops: and when I found out this operation I asked the same question as you.

To perform an action only once you should use the input or exit actions. (Right click on a step and then add an input action or output action, drawn with E or X in a square at the bottom right or left of the step).

Best regard :D


Top
   
PostPosted: Sat Oct 07, 2017 8:28 am 
Offline

Joined: Sun Jun 28, 2015 12:23 pm
Posts: 64
Hello
I thought the idea of the action running twice was to turn off coils in LAD.
This is definitely the behaviour in other platforms, but doesn't happen in V3.
Is this behaviour correct?
Thanks


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

All times are UTC+01:00


Who is online

Users browsing this forum: Andreas Kehrer 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