- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-01-06 10:06 AM
Function ANY_TO_DINT(CURRENT_ISA_DATE()) from SCADAPAck WorkBench to SCADAPack x70 Logic
Hi
In SCADAPAck WorkBench I found the function CURRENT_ISA_DATE that I don’t find in SCADAPack x70 Logic.
The function CURRENT_ISA_DATE with ANY_TO_DINT converts the DATE to the number of seconds.
Line of the code in SCADAPAck WorkBench:
TimeinSeconds := ANY_TO_DINT(CURRENT_ISA_DATE());
Is there a function in SCADAPack x70 Logic that can replace ANY_TO_DINT(CURRENT_ISA_DATE()
I need to calculate the number of seconds passed between two tasks.
Tank You.
- Labels:
-
SCADA
Link copied. Please paste this link to share this article on your social media post.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-01-06 11:57 AM
Hi Joel_Weder
Thanks for the reply
I found the function RRTC_DT_MS that gives in the output 2 the number of seconds passed since January 1, 1980, at 00:00.
Have a good day.
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-01-06 11:28 AM
Hello Alberto,
In the RemoteConnect Help, under the Logic Programming Manuals section you will find a group called Real-Time Clock Function Blocks. In that group you will find what you need. For example you could use Time_GetLocal to acquire the number of seconds since the start of the current day. The output is a DINT. So you could store a previous value, then compare it with the most recent value quite easily.
Remote Operations Specialist
Schneider Electric
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-01-06 11:57 AM
Hi Joel_Weder
Thanks for the reply
I found the function RRTC_DT_MS that gives in the output 2 the number of seconds passed since January 1, 1980, at 00:00.
Have a good day.
Link copied. Please paste this link to share this article on your social media post.

