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 6:04 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Start contact
PostPosted: Wed May 24, 2017 3:29 pm 

Joined: Thu Feb 23, 2017 5:07 pm
Posts: 90
Good morning,
I would have a question for you:
Is there a way to have a conception that opens and then closes when the program starts on the plc?
In my project I have 4 OSCAT timers that at a certain time perform an operation only that every time the application loads on the plc the timers leave.
I would like to create a denied contact that at startup interrupts the timer output to say 5 seconds and then closes.

it's possible ?

Thank you, Alberto

 Post subject: Re: Start contact
PostPosted: Sun Sep 24, 2017 1:32 pm 
Frequent User
Frequent User

Joined: Fri Sep 02, 2011 8:02 pm
Posts: 312
I see you never received an answer. Hopefully you solved this. Otherwise my idea:

Define another timer for 5 seconds and call it all the time.

   BootDone : TON;
 BootDone(IN:=TRUE, PT:=T#5S);
 IF BootDone.Q THEN
    //ok to use other timer values now

Scott Cunningham
KEB America, Inc.

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