|Re: How calculate time scan softPLC [message #1735306 is a reply to message #1735262]
||Fri, 17 June 2016 09:06
| Michele Citro
Registered: June 2016
Good morning Alois Zoitl,|
and thanks for the precious answers.
I mean the time scan in the PLC's processing cycle (sush as it indicate in photo).
Particurarly,I would calculate time scan of my program, decentralized on more machine (pc desktop and portable, sush as in photo), to understand what are the time game and to compare it with the response time that I expect.
In short, I would do an analysis of this type.
If you need to get the elapsed time you can use the function TIME() in an algorithm which will give you the time elapsed since the FORTE was started.
How is this function? I don't find it in typelibrary of 4DIAC.
If you need higher accuracy a better approach would be to write an function block which is reading the system time from the operating system and translates it into a TIME_OF_DAY date type.
For the second approach, more accurate, I would use Windows 7 64bit to run FORTE (on both systems).
Furthermore, I see the FB E_TimeStamp and E_StopWatch. I think that this second FB can help me,in particular, for my work.
But, I ask advises to you all
[Updated on: Fri, 17 June 2016 09:21]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03078 seconds