Sign in to follow this  
Followers 0
Tapas Thakker

Floating point number math instruction NT20S and CPM1A

3 posts in this topic

Hi,

I am new to Omron and trying to display a floating point number on NT20S display, have got an encoder which sends pulse on a HSC ( High Speed Counter) and I need to multiply that count by a factor (0.0253) and this display should be continuous, using a CPM1A controller

What is the best way to implement this? 

Thanks for help!!

Edited by Tapas Thakker

Share this post


Link to post
Share on other sites

CPM1A controllers do not support floating point, neither does the NT20S.  These are both very old.  What you need to do is multiply by 253 and then assume however many decimal points (4) you need to display it properly on the HMI.

1 person likes this

Share this post


Link to post
Share on other sites

Thank you Michael, have implemented it and worked fine

Thanks

Tapas

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0