Rob Nelson

Micrologix 1400 ASCII String Compare Not Working!

4 posts in this topic

Hello All,

                I am in the process of installing a DPM Scanner to one of our machines.  I am trying to program an ASCII String Compare to compare the scanned part number, stored in a string as ST14:0, to a constant value stored in ST15:13.  I have used this tactic before in other applications and it has worked fine every time, except this time.  Am I doing something wrong?  Is there a setting I am not aware of?  Please see the attached image.  Thanks in advance!

 

 

ascii string compare.JPG

Edited by Rob Nelson

Share this post


Link to post
Share on other sites

That particular rung is still in edit. Note the e's on the left.

Share this post


Link to post
Share on other sites

Yes, I took the snap shot offline.  Thank you. 

Share this post


Link to post
Share on other sites

Various possibilities: in a subroutine which isn't called, string not changed/zeroed between scans (otherwise the one shot won't trigger if scan is the same), one shot address used elsewhere.

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