(0)| 9/18/2018 4:18 PM | |
|
Joined: 5/3/2017 Last visit: 12/5/2025 Posts: 673 Rating:
|
Hi mbaranicin, the Industry Library offers a block that reads the CPU time and transfers the read time stamp (date and time) to the output in BCD format. More information about the block you can find in the manual "SIMATIC Process Control System PCS 7 Industry Library for PCS 7 V9.0 " under the section "ASTimeBCD - Output the CPU time in BCD format" with regards |
| 9/24/2018 11:32 AM | |
|
Posts: 406 Rating:
|
Hi, You can also refer this thread as well |
| 6/6/2022 3:07 PM | |
|
Posts: 1 Rating:
|
There are situations where it is necessary to make a time and date calculator due to various events. It is possible to reach the result with a simple cgi script for calculating the year, month, day and time between two dates. However, help may be needed when there is a very long date range. For such long-range dates, various calculation programs are preferred. eval { my cgi = CGI->new; my date = decode_date($cgi->param('date')); my time = decode_time($cgi->param('time')); my dt = DateTime->new( %date, %time ); my future = DateTime->from_epoch( epoch => dt->epoch + 10e8 ); output(theday => dt, thesecond => future); };
|
Follow us on