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. 

Link to comment
Share on other sites

  • MVP 2022

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

  • Like 1
Link to comment
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

Link to comment
Share on other sites

  • MVP 2022
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.

Link to comment
Share on other sites

  • MVP 2022

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

Link to comment
Share on other sites

  • 1 month later...
  • MVP 2022
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?

Link to comment
Share on other sites

  • 8 months later...
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

Link to comment
Share on other sites

  • MVP 2022
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...