Decimal to Binary conversion in RS5000

tcat_chucky

Member
Join Date
Mar 2007
Location
Eau Claire Wisconsin
Posts
15
Good morning,

I have recently upgraded a program from PLC2 up to RS5000. I have a need to convert a decimal number to binary.(non-bcd)The way the conversion was taking place isn't an option in RS5000. I am curious if there is an instruction that will do this and place the result in a register.
I have tried a MOV and that will work in tandem with some other math instructions and write the result on an output card. Just wondering if something is canned allready for a decimal to binary conversion and place it in a register.

Thanks in advance.
 
OK - The way he worded it I took his 'decimal number' to be a BCD type number especially since he emphasized that by 'binary' he meant '(non-bcd)'. If that's not what he meant then I have no idea what he wants.

Tcat-Chucky - can you please clarify what you mean by your terms.
 

Similar Topics

Hi I'm using a Mitsubishi PLC (FX Series) and want to convert 4 inputs from binary format to decimal. I can do this via ladder logic using...
Replies
4
Views
6,663
Hey, I'm looking for a bit of guidance on some vba code in RSView32. For the record I know zero (I know its shameful) VBA code. What I'm trying...
Replies
7
Views
5,585
I am trying to mask the first 8 digits of binary code in a Allen Bradley remote I/O module for alarm tracking puposes. I only need to read the...
Replies
3
Views
3,221
In any Logix5000 processor and any version from 15 through 17, I am looking for a way to convert a decimal number of 1 through 8 to a binary that...
Replies
4
Views
4,430
Hello, I am currently using the PanelView Plus 1000 to poll a modbus device use Kepware drivers. The problem I have is I am polling a holding...
Replies
5
Views
4,116
Back
Top Bottom