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 Jan 24, 2020 5:52 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Nov 27, 2005 8:06 pm 
Can anyone tell me where to find the SFC Implicit vaiable - Im particularly interested in enabling an SFC via the SFCInit flag :?:


Top
   
 Post subject:
PostPosted: Tue Nov 29, 2005 2:05 pm 
Offline

Joined: Mon Feb 21, 2005 5:29 pm
Posts: 12
Hello,

those Variables are not implicit! SFCInit has to be declared explicitly to take effect. For information about the SFC Flags read the online help topic "SFC flags".

Bernhard


Top
   
PostPosted: Tue Nov 29, 2005 2:49 pm 
Offline
Site Admin

Joined: Wed Jul 20, 2005 2:32 pm
Posts: 153
1) Declare SFCInit : BOOL; variable inside the SFC POU.
2) SFCInit := TRUE; stop SFC
3) SFCInit := FALSE; init and run SFC

_________________
_IP_


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