pauly
Member
If I want to scale a raw value coming from say a drive which is 0 - 32768 max which should equal 0 - 460 m/min how is this accomplished in Omron CJ1M plc's? I have tried with the code attached but I can't seem to get the correct results. Do I need to convert the value coming from the drive D10 to a double integer? As from the values in the watch window I am trying to put a value of 8000 into the register to simulate a value from the drive but it seems to have a different value displayed in the function. Whatever I do doesn't seem to work. This Omron stuff is driving me mad!!
Any help is appreciated.
Any help is appreciated.