JeffLowe Posted February 26, 2015 Share Posted February 26, 2015 I have been trying to scale the internal 32 bit integer DAC values to a +/- 2^15 range. Scale factors less than unity are plotting zero values. I have tried Scale = 1/65536, 0.0000152587890625. adding div to the process and inserting 65536 after it, and adding * 0.0000152587890625 to the process. Prior to adding the process or scale factor the values are in the 1e9 range, afterward are flat line zero. Multiplication with a scale factor of 2 does indeed double the plot amplitude, but in this case I need to reduce the values to a correct nominal scale. Is this a feature? Link to comment Share on other sites More sharing options...
Omron Forums Support Posted February 26, 2015 Share Posted February 26, 2015 I have been trying to scale the internal 32 bit integer DAC values to a +/- 2^15 range. Scale factors less than unity are plotting zero values. I have tried Scale = 1/65536, 0.0000152587890625. adding div to the process and inserting 65536 after it, and adding * 0.0000152587890625 to the process. Prior to adding the process or scale factor the values are in the 1e9 range, afterward are flat line zero. Multiplication with a scale factor of 2 does indeed double the plot amplitude, but in this case I need to reduce the values to a correct nominal scale. Is this a feature? I have tried with Dec 2.0.x version and I change the Scale factor to 0.1 under scale and offset or I tried to change Process = scaleFactor * Motor[1].ActPos.a/1000 and I was able to see the values correctly. Is this how you doing ? Or I am doing differently ? Thanks, Atul Link to comment Share on other sites More sharing options...
Recommended Posts