Jump to content
OMRON Forums

IDE Plot scale less than 1


JeffLowe
 Share

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...