CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Fri May 26, 2017 9:54 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Oct 03, 2016 1:16 pm 
Offline

Joined: Thu Aug 18, 2016 9:18 am
Posts: 2
Hello, I need to have delayed output every time input changes from false to true. For now I'm getting this only once. In the codesys help I have found this:
"As soon as IN becomes TRUE, the time will begin to be counted in milliseconds in ET until its value is equal to PT. It will then remain constant."

How I can reset value of ET so that I could delay my output multiples times, not once?

Thanks.


Top
   
PostPosted: Mon Oct 03, 2016 8:27 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 974
if you put the IN on FALSE the ET will reset. maybe you will need a RISE trigger and that negated to get a FALSE trigger when your input changes.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
PostPosted: Tue Oct 04, 2016 7:13 am 
Offline

Joined: Thu Aug 18, 2016 9:18 am
Posts: 2
thx for your answer. indeed when IN falls to 0 ET resets. the timer was in an IF statement where it did not get a chance to reset, because the input was putted in a condition, sorry about that, now it works.


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