Sign in to follow this  
Followers 0
ones_and_zeros

Converting Integer Files To Strings?

3 posts in this topic

I'm currently working on a communications project. I made a string in RSLogix 500 and moved it into an integer file. I then messaged this integer file to an RSLogix 5000 program. Is there any way I can convert this integer file back to a string in 5000?

Share this post


Link to post
Share on other sites
Have a look at the DTOS Instruction. Stu....

Share this post


Link to post
Share on other sites
the data in the integer file that you sent to the CLX5K was it in raw string data? IF String data RS Logix 5000 String format is a UDT MyStr.Len and MyStr.data Use COP to load the MyStr.data from the RSLogix500 Data then correct the MyStr.Len with your known length eg COP MyIntArrray[0], MyStr.Data[0] ,10 //* copies 10 characters then MOV 10, MyStr.Len // *corrects the string length

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