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 Mon Mar 25, 2019 3:53 pm

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 

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?

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

Joined: Sun Apr 15, 2007 1:18 am
Posts: 153

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

PostPosted: Sat Oct 07, 2017 8:28 am 

Joined: Sun Jun 28, 2015 12:23 pm
Posts: 82
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?

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: No registered users and 8 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