Sign in to follow this  
Followers 0
Jdhillon

Parsing strings in Control logix 5000

5 posts in this topic

I have an application, where I have to receive 7 strings of data from a SLC 505 into Logix 5000 and split it into blocks of 12 bits and send them to display in ASCII. Any advice will be appreciated.

Share this post


Link to post
Share on other sites
so...where is the problem? receiving? handling 7 strings? decoding? converting to ascii? sending?

Share this post


Link to post
Share on other sites
The SLC and the CLX store strings differently. Go to the ab.com knowledgebase and do a search on strings to get the technotes on the subject. I would consider creating a UDT that contains all seven strings as well (and since UDTs cannot be reconfigured online, you might make it hold a couple of extra strings just in case.) The ACII is probably best handled using a SINT array - which can also be a part of the UDT if you want. (Thats how I would do it). String handling in the CLX is best done in ST language instead of ladder. Edited by Alaric

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
Sign in to follow this  
Followers 0