Harlock

CX Supervisor : How to truncate points (values)

2 posts in this topic

Regards !

This is my problem:

I have a point on the screen (text variable I/O) # , which is associated in the animation editor the following:

"Edit point value (analog)": variableX                     and enable "display keypad"
"Display value (analog)":    variableX

Although I have written # and no. ##.##  in the SCADA displays only the truncated values, but the PLC also receives those decimals that can lead. How I can do to make the PLC also receive decimals? How I can truncate the value despite the user to enter decimal me?

Thank you!

Share this post


Link to post
Share on other sites

Hi

Confusing. If you don’t want decimal places in the PLC use Integer data type in PLC program. If you don’t want decimal places in SCADA use Integer type in CX-Supervisor.

Regards

BB

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