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 Sat Nov 16, 2019 10:29 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Real time clock??
PostPosted: Tue Jan 15, 2013 1:09 pm 
Offline

Joined: Wed Oct 31, 2012 8:19 am
Posts: 8
Hi,

I work with Wago PLC in, and I have problem with codesys.
How I can read in ladder real time(any block,library)??


Thanks!


Top
   
 Post subject: Re: Real time clock??
PostPosted: Tue Jan 15, 2013 7:03 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 986
TIME()

it is the time passed since the system started
answer is in 2.3 as wago has no V3 units yet.
some wago do have RTC

also have a look at the oscat library

_________________
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: Real time clock??
PostPosted: Tue Jan 15, 2013 8:53 pm 
Offline
Frequent User
Frequent User
User avatar

Joined: Tue Jun 06, 2006 9:03 am
Posts: 410
Wago has the Speedway PLC which can be programmed with V3, but probably you have another type which can be programmed with V2.3. In that case add the library SysLibRtc.lib to you project.
In this library is the function to get the real time clock information from the PLC: SysRtcGetTime


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 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