Jump to content

Martin

Members
  • Posts

    3
  • Joined

  • Last visited

Status Updates posted by Martin

  1. Hi Joe,Hope you're well.

    I'm still trying to figure out how to display an elapsed timer.

    Or rather how to start and stop one.I'm using a vision280 with a snap in i/o.

     

    Sketch (3).png

    1. Joe Tauser

      Joe Tauser

      Martin,

      Those SB's aren't for you.  Don't rename them.  They are System Bits and the PLC OS will stomp on them despite your logic.  Read through the descriptors and learn what they can do for you.  Use MB's for your own code.  

      Most timers are delay on timers, but there is such an animal as an accumulating timer (type TA) that will do what you want.  Read all the Help on timers.

      I've attached a simple example.  You'll see I've used a special coil called a toggle, which is kind of unique to Unitronics.  I have also assigned and MB to the Touch property to the rectangles.

      How did you come to start with a V280?  It's an older model and I never use them on new projects.  The Enhanced Vision series has a lot more power and is easier to work with.

      Joe T.

      Accumulated time example.vlp

×
×
  • Create New...