Jump to content

Recommended Posts

Posted (edited)
Does DirectSoft have the > (greater than) comparison? Say I want to check if a > b; In ladder, I have to; b [Not Equal To] a " And " b [<] A to get it done. This to me, is not very clean coding. Is this the only way you can do a greater than comparison in Dirctsoft 5? Thanks Edited by skyfox

Posted
Use just the less than statement only put your variables opposite. You really only need one function anyways, one will always be on the greater than side, who cares if it reads left to right or not.
Posted (edited)
The L-R symetry is not complete. The comparisons do not allow a constant (K) on the left hand side. You would have to assign a constant to a V register then use that on the left hand side. Edited by b_carlton

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
×
×
  • Create New...