LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

RT Timers - Keep on Countin'

All,

 

   I'm working the an old PLC design that I'm trying to translate to LV/RT. My simplest approach for now is to literally duplicate the functionality until I get it working. It's been going really well so far, except with the way counters work in RT. In my PLC, the counters continue to accumulate even once they've passed the preset. With the timers in the RT module, they do not. However, trying to edit the functionality of the timer VI is apparently not possible as it's got some sort of RT magic going on behind the scenes. Is there another solution? Can I edit the RT timer functionality? Should I implement my own. Snippet attached.

0 Kudos
Message 1 of 4
(2,728 Views)
xkenneth-

This is simply how this particular VI was created.  If you need it to continue counting and simply alert you when it reaches a particular number, you may want to use a comparison and a case structure or indicator.  Will that accomplish the same task you are looking for?
Regards,

Mike S
NI AE
0 Kudos
Message 2 of 4
(2,705 Views)

Well, that's sort of what I'm asking. That VI has some sort of magic implementation as I can't get to it's block diagram. I could do something custom, but if it's in just plain old LabVIEW, I'm probably not taking advantage of the RTC.

 

- Ken 

0 Kudos
Message 3 of 4
(2,684 Views)
Open the main.vi and see the Magic Implementation.Smiley Wink
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Download All
0 Kudos
Message 4 of 4
(2,676 Views)