Dear friends i m using CP1H series OMRON plc and Cx-programmer software for same plc. I want to use Decrement instruction for the same. I tried it but i m not getting the correct result.
Actually i m entering the decimal value from HMI in to one register.That register i want to decreament that register value by 1 on 2 sec pulse. So when i wrote 1300 decimal into one register from HMI , then upto 1280 it will decreament the register value by 1 correctly. But after that it will directly decreament to 1187. And i want the value in rgister should be in decimal only.
May be this problem is because of BCD decrment instruction.
So please give me the solution regarding problem.
Thanks & Regards:.
AMEY APTE
PUNE
Actually i m entering the decimal value from HMI in to one register.That register i want to decreament that register value by 1 on 2 sec pulse. So when i wrote 1300 decimal into one register from HMI , then upto 1280 it will decreament the register value by 1 correctly. But after that it will directly decreament to 1187. And i want the value in rgister should be in decimal only.
May be this problem is because of BCD decrment instruction.
So please give me the solution regarding problem.
Thanks & Regards:.
AMEY APTE
PUNE