Jump to content

Recommended Posts

Ausman's suggestion for using an interrupt for a precise 2.5 mS time base is an excellent idea. The whole thing was new to me. The Vision help section was well versed on the topic and answered my earlier question as to whether or not the subR required a ladder call.  -hW

Cara, 

The contraindication (let's not use the word bug) in visilogic is that in Ausman's "pumpexample2.vlp" the project optimizer shows a warning that a routine is not called in ladder.  Fundamentally it's output is true, however inerrupts are an exception and do not require a ladder call. It appears the project optimizers code is not self aware of this. It's just evaluating subR's and their associated ladder calls. 

the program loads and functions fine. Thanks all for the clarification on what defines enhanced Vision hardware.  -hW

  • Upvote 1

Share this post


Link to post
Share on other sites
13 hours ago, AlexUT said:

Newer call it from Ladder.

Thanks Alex, I interpreted this as "you don't have this in the ladder at all" which made me ask the question.  I was wondering how it would then run!

And as Hot says, why does it show up in Optimise?

Finally, don't forget that for even better accuracy use the 1.25mS when you can.

cheers,

Aus

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

×