CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Thu Sep 19, 2019 5:45 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Variable scaling webvisu
PostPosted: Mon Jan 19, 2015 11:27 pm 
Offline

Joined: Fri Apr 18, 2014 5:36 pm
Posts: 70
Hi,

I have INT variable, which value I like to show in webvisu with scale INT/10, for example INT value is 855 and I like to show value as 85.5. I know that I can scale it in application, but my question is if it is possible to do scaling directly in webvisu configuration.

Thank you!

Best regards,
Zdenko.


Top
   
PostPosted: Wed Jan 21, 2015 2:49 pm 
Offline

Joined: Mon Dec 27, 2010 2:35 pm
Posts: 71
Try to have a look at "unit conversion" in the help topics.
As a workaround, you can always assign TO_REAL(iVar)/10 to the textvariable, and use %2.1f in the text field.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited