CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Tue Aug 22, 2017 6:10 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: time visualization
PostPosted: Fri Nov 30, 2012 3:42 pm 
Offline

Joined: Thu Jul 01, 2010 11:19 am
Posts: 30
I have a "TIME" variable to count how much time is working the PLC.

What should I write into the "Text" field to have the time divided in hours, minutes and seconds?

I have tried with %t but it does not work.

Actually I am doing it with %s and I just see the values on minutes and seconds.

Thanks for your help


Top
   
 Post subject: Re: time visualization
PostPosted: Fri Nov 30, 2012 6:58 pm 
Offline

Joined: Thu Nov 15, 2012 11:22 pm
Posts: 24
With your visualization open, choose Extras:Settings:Date/Time. What do you see for the TIME/TOD field? Is Formatted time display checked?


Top
   
 Post subject: Re: time visualization
PostPosted: Mon Dec 03, 2012 8:46 am 
Offline

Joined: Thu Jul 01, 2010 11:19 am
Posts: 30
Where is that "Extras" tab? I am working with a CoDeSys v3.4

Thanks Musashi Aharon


Top
   
 Post subject: Re: time visualization
PostPosted: Mon Dec 03, 2012 1:06 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 974
in 2.3 it is %t this will give system time.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
 Post subject: Re: time visualization
PostPosted: Mon Dec 03, 2012 3:59 pm 
Offline

Joined: Thu Nov 15, 2012 11:22 pm
Posts: 24
Andoni Crespo wrote:
Where is that "Extras" tab? I am working with a CoDeSys v3.4

Ah, sorry. I'm on V2.3.


Top
   
 Post subject: Re: time visualization
PostPosted: Mon Dec 03, 2012 4:19 pm 
Offline

Joined: Thu Jul 01, 2010 11:19 am
Posts: 30
Do not worry, it´s OK.

I have tried %t but it does not work on v3.4, in the visualization appears a "t"


Top
   
 Post subject: Re: time visualization
PostPosted: Tue Jul 18, 2017 8:11 am 
Offline

Joined: Tue Mar 21, 2017 8:07 pm
Posts: 4
Is this problem solved?
Im also facing this issue...Kindly help me solve this.

Thanks
arrvvii


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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