Announcement

Collapse
No announcement yet.

Countdown Timer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • kewakl
    replied
    Do 'leading zeros' in cmore

    Leave a comment:


  • Chefjay
    replied
    I just want a zero to display on the cmore when the minutes and seconds are a single digit. Right now it just displays the single digit without the zero.

    Leave a comment:


  • kewakl
    replied
    Try in the Display Format area:
    Total Digits: 2
    Justify : Leading Zeros

    In post #4, you asked about turning on a timer after the value is entered.

    DO you mean after tech/operator makes a numeric change?
    If so, and you are using an EA7 or EA9, then yes. Two options are possible.
    1. Look at Notify/Handshake Cmore Help Topic CM087
    2. Compare new and old. If NEQ, then handle your timer (in the snippet below, ValueChanged would handle your timer), and copy new back to old

    Code:
    .
    .     new      old               | CPD
    .---------]<>[-------------------+ 
    .                                | new       old
    .                                |   1       ValueChanged
    .                                |
    .                                +-------------------------
    .
    .     ValueChanged               
    .---------] [-------------------- <handle the changed value as needed, then reset ValueChanged tag>
    .
    Last edited by kewakl; 10-11-2019, 06:16 AM.

    Leave a comment:


  • Chefjay
    replied
    Yes on the HMI numeric display.
    Thanks

    Leave a comment:


  • kewakl
    replied
    Originally posted by Chefjay View Post
    I used the above and it is working as a countdown timer. Is there a way to add a zero when the seconds and the minutes are in the single digits.
    On an hmi?

    silly forum. Cant reply to too many posts.
    120 seconds between posts.
    thanks for forcing me to waste time

    hmm maybe they just want to give me time to think about my posts

    Leave a comment:


  • kewakl
    replied
    Originally posted by Chefjay View Post
    I am using a productivity 1000. In the above program could i use another contact to turn the timer on after the value is entered.
    Are you referring to an hmi entry object?

    Leave a comment:


  • Chefjay
    replied
    I used the above and it is working as a countdown timer. Is there a way to add a zero when the seconds and the minutes are in the single digits.

    Leave a comment:


  • Chefjay
    replied
    I am using a productivity 1000. In the above program could i use another contact to turn the timer on after the value is entered.

    Leave a comment:


  • kewakl
    replied
    If you are using EP-MISC-004 in the P3000 column..
    Are you monitoring the correct tag. The timer and counter have their accumulator tags, and then there are separate COUNT/TIME down tags in MATH instructions.

    If you are using EP-MISC-029, I have not looked at it. Maybe I can later.

    [edit]
    EP-MISC-029 is questionable with respect to the project description on the webpage.
    I added a make-do project image

    Click image for larger version  Name:	remaining with time done memory.png Views:	0 Size:	14.3 KB ID:	125124
    Last edited by kewakl; 09-12-2019, 08:22 AM.

    Leave a comment:


  • RogerR
    replied
    Which PLC are you using?

    Leave a comment:


  • Chefjay
    started a topic Countdown Timer

    Countdown Timer

    I downloaded the countdown timer on the example programs and it doesn't countdown it counts up. I did make it so that a user could enter a time for the timer but i cant figure out how to get the timer to not reset after the set time is finished. Does anyone have logic for a countdown timer that has minutes and seconds and then activates an output and stops when finished.
    Thanks
    Jason
Working...
X