Jump to content

Recommended Posts

Has anyone created a stopwatch in Visilogic?  Here's what I am trying to achieve:

Machine jams,

Stopwatch starts,

Operator clears jam,

Stopwatch time is recorded in bit,

Stopwatch Resets

 

Right now I am using Accumulating Timers to simulate, then calculate this during an entire 12 hour shift, but would like to have something appear on the display that resembles a stopwatch with the jam message. 

Share this post


Link to post
Share on other sites

Timers are good until you need to extract information, like machine down time.  Then it's time to make your own so you can do whatever you want with it.

Unitronics doesn't have a built in stopwatch picture, so I Googled "stopwatch image" so I had something to put on the screen.  Then I put my time calculation registers on top of it.

Take a look at the attached program.

Joe T.

stopwatch.png

Stopwatch.vlp

Share this post


Link to post
Share on other sites

That's interesting Joe,

I never paid attention to SB13,  I've always just used a Positive Transition Contact with SB3 when I roll my own timers....

Also, did you do this on the new "wide screen" version? it opens  on my older version, but net 3 is clipped off.

Something I guess we gotta watch out for as we transition into the wide screen format....

 

JohnR

Share this post


Link to post
Share on other sites
10 hours ago, Joe Tauser said:

Take a look at the attached program.

@Joe Tauser, did you write that in the newest version of VisiLogic? I haven't installed it yet, but I was able to open the project in 9.8.31. Unfortunately, the wider ladder rungs did bad things - they try to go off screen and can't be accessed. Unitronics needs to prevent 9.8.64 projects from being opened in previous versions.

Share this post


Link to post
Share on other sites

Nice and neat, Joe.  Ditto on the screen problem.

But it has also jogged a query in my brain.    I often do a direct compare for a time result, and wonder whether using a FB is easier or harder on the system.  There are a myriad other things I use that I can say the same for.  Is there somewhere that I can find a list of scan times applicable for any element or FB?  I've never stumbled on it.  Even an excel sheet or similar from the Creators would be good.

cheers,

Aus

Share this post


Link to post
Share on other sites
On 7/20/2017 at 10:39 AM, Joe Tauser said:

I did use 9.8.64.  I'll inform the Creators about the reverse compatibility issue.

What was the response? I just tried to open another project created in 9.8.64 and it wouldn't open in 9.8.31 (notified me that it was created with database 153 vs database 152 for 9.8.31). I see that the VisiLogic version available online still says 9.8.64. I tried to open @Joe Tauser's Stopwatch program again with 9.8.31 and it opens fine. Are there now 2 versions of VisiLogic 9.8.64 floating around, one using database 152 and one using database 153?

Share this post


Link to post
Share on other sites
On 8/28/2017 at 9:38 AM, Flex727 said:

What was the response? I just tried to open another project created in 9.8.64 and it wouldn't open in 9.8.31 (notified me that it was created with database 153 vs database 152 for 9.8.31). I see that the VisiLogic version available online still says 9.8.64. I tried to open @Joe Tauser's Stopwatch program again with 9.8.31 and it opens fine. Are there now 2 versions of VisiLogic 9.8.64 floating around, one using database 152 and one using database 153?

anyone know if this has ever been resolved?  it is now 05/2018 and i just received this error opening up an old project

Share this post


Link to post
Share on other sites
On 5/11/2018 at 2:15 PM, EMiller233 said:

anyone know if this has ever been resolved?  it is now 05/2018 and i just received this error opening up an old project

I don't understand your question. The problem was that the error DIDN'T occur when it should have. Anytime you open a project that was created with an older version of VisiLogic, the software will notify you of that. That is what it's supposed to do. You can either proceed opening the file in the newer version or you can use Version Swapper to downgrade your VisiLogic to the older version and edit the project with that version.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×