
adccommunitymod (AutomationDirect) asked a question.
Created Date: December 02,2004
Created By: Mark
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I'm using a DL06 PLC with DirectSfot32. Now maybe I'm completley missing something obvious here, but how do I setup the timers? So, let's say I have a timer, T0, I can set a K paramter. What is this, and how do I apply a 'real ' time to this? i.e. I want a 3 second timer (fixed, not variable, always 3 seconds) - how is this done? I'm just baffled, but I can't seem to find where I would set this in DirectSoft. Thanks in advance for any help.
Created Date: December 02,2004
Created by: Mark
I'm using a DL06 PLC with DirectSfot32.
Now maybe I'm completley missing something obvious here, but how do I setup the timers?
So, let's say I have a timer, T0, I can set a K paramter. What is this, and how do I apply a 'real ' time to this?
i.e. I want a 3 second timer (fixed, not variable, always 3 seconds) - how is this done?
I'm just baffled, but I can't seem to find where I would set this in DirectSoft.
Thanks in advance for any help.
Created Date: December 02,2004
Created by: Mark
Ok, I thought these K0-K9999 were constants I had to go set somewhere, but now I believe them to be milliseconds for the case fo a timer.
Is this correct? So for a 3 second timer I would enter K30?
Created Date: December 02,2004
Created by: Rday
Mark,
You are correct. You could also reference a Vmem location that holds the preset value.
Created Date: December 02,2004
Created by: hanziou
You start by making a rung with a conditional input. Go across to a TMR box. Call it T0
When the input is true, the timer runs. The value of the timer is in tenths of second, (BCD). For 0.01 sec count use TMRF. TO view the count look at TA0 (This is a word for TMRs. I can't remember for sure, but I think if you use TMRF, then TA0 is a double word. You can only use every other timer if you are using TMRFs.)
If the count of the timer is less than the Kvalue that you have in the box, then the status bit (Tx) is false. If the count is Greater than your Kvalue, the status bit is true.
When the input to the timer is false the timer is reset to zero and does not run. (consequentially T0 would be false if input is false.)
Created Date: December 02,2004
Created by: Mark
Thanks for the quick replies guys. I should have a chance to test this out in the next day or so and see if it operates as expected.
Created Date: December 02,2004
Created by: hanziou
So for a 3 second timer I would enter K30?
The above is correct.
For TMR, O.1 seconds.
For TMRF 0.01 seconds.