tcat_chucky
Member
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.
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.