ProSoft Technology, Inc.
Home > Support > Bulletin Board > inRAx > MVI46-GSC - ASCII to Integer Conversion
Printable Page
 

Search | Clear


MVI46-GSC - ASCII to Integer Conversion


You need to be logged in to get access to the forums. You can do so here

DCLittlejohn

Thursday 28 September 2006 5:39:31 am

MVI46-GSC - ASCII to Integer Conversion

Is there any help files or example logic for converting the ASCII data recieved to integer values?

Example.. I recieve 07 99 00 through the m-files and then copy it to N100:1 - N100:3. How do I take those three values, and convert them into one integer value of 7990?

jsanders

Thursday 28 September 2006 9:17:53 am

RE:MVI46-GSC - ASCII to Integer Conversion

RSLogix500 does provide ASCII to Integer and Integer to ASCII conversion instructions. Please see the Help files in RSL500 or contact Rockwell Software for additional help with using their software.

DCLittlejohn

Thursday 28 September 2006 6:44:07 pm

RE:MVI46-GSC - ASCII to Integer Conversion

As a matter of product promotion and customer service, this is information that ProSoft should include in the manual or in a help file.

The SLC-500 does not have ASCII to Integer instructions, it has String to Integer instructions. In order to get the ASCII information from the module into integer format, you must first do a COP (Copy) instruction from the N file to an ST file.

A simple example of the ladder lagic to perform this conversion would save new users a significant amount of time when utilizing a product such as this for the first time.

jsanders

Friday 29 September 2006 11:33:15 am

RE:MVI46-GSC - ASCII to Integer Conversion

Thanks for the suggestions. I'll passs them on to the Development Team for possible implementation.

Home : Products : Support : Distributors : Services : News/Events : Contact Us : ProSoft Tested