Stefan009

TON.ET To any other format?

4 posts in this topic

Hi.

I have been thru the F1 manual and the toolbox in sysmac, i cannot figure out how to convert the elapset time from a TON, to anything the NA5 panel wants to display.

Any suggestion? (Want to show how long a certain step has run for)

Share this post


Link to post
Share on other sites

The TIME data type in the PLC is changed to a TimeSpan data type in the HMI. Just map your TON.ET to a TimeSpan HMI variable and then use a Data Display to show the TimeSpan value.

Share this post


Link to post
Share on other sites
53 minutes ago, Dino Spumoni said:

The TIME data type in the PLC is changed to a TimeSpan data type in the HMI. Just map your TON.ET to a TimeSpan HMI variable and then use a Data Display to show the TimeSpan value.

Thanks.

I was trying with both label and datetime components and forgot about the data display.

Share this post


Link to post
Share on other sites

TimeSpan is a nice convenience but I prefer to use REAL for the flexibility. I do this for set points and elapsed time.

Mr_PLC_REAL_Time.JPG.c1681ccaf5b431bc00c

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