I need Help ML 1100

pcanis

Member
Join Date
Nov 2008
Location
Barcelona
Posts
10
I have ML 1100, via the RS 232 receives data from a temperature controller, the variable of the current temperature in the string is format HEX, as I can pass this variable to DEC, example the String value is:3C, the value in DEC is 60.
How is possible convert string HEX to DEC?
 
You need to use a ACI function to convert a string to an integer. Go to your help menu in RS Logix 500 and look up the instruction ACI and it will tell you how it is used.

Basically what you are doing is pulling the ASCII value and converting it into an Integer. It is based on ASCII not the actual HEX value.
 
Here's a program to illustrate extraction of value from ASCII encoded hex characters. This may take a bit of experimenting but this is the core routine.

After posting the program I thought - I can't test this.
If the original MOV of DATA[0] moves just the first character and not the first two let me know. It becomes at once a little easier and a little more complicated.
 
Last edited:

Similar Topics

I am trying to get a micrologix 1100 to communicate with my pv+ 400. I have quite a bit of experience with rs logix 500 but never have had to set...
Replies
7
Views
3,948
I'm fairly new to Rockwell software, I've had some basic training in the past but nothing too advanced. My company and I use Reliable products for...
Replies
11
Views
336
Hi all, I am having issues accessing my Cimplicity software - the site code changed after re-install and I am no longer able to attain a new key...
Replies
10
Views
162
Good day all! Can someone help me with the procedure to update Beijers E700 firmware? The Panel I am working on is firmware 2.04v and I would...
Replies
1
Views
70
Back
Top Bottom