Cyborg (Customer) asked a question.
Anyone have a quick and dirty way to save scan time as a variable from scan to scan? I've found a way to do it, but it seems cumbersome using a timer. I just figure there's GOT to be a better way!
Cyborg (Customer) asked a question.
Anyone have a quick and dirty way to save scan time as a variable from scan to scan? I've found a way to do it, but it seems cumbersome using a timer. I just figure there's GOT to be a better way!

There's a system variable for scan time $ScanTime (in us). Move this to a V location.
$ScanTime is actually an average. The raw value is in $ElapsedTicks.
Excellent! Got it! Thank you so much... what units are those variables in? Being that they're in the thousands, I'm guessing microseconds
This is so much easier than the way I was going about it.... Thanks again! I just learned what PLC's and ladder logic were 4mo ago
Nevermind... its definitely mircroseconds... thanks again for the help! Off to the races again...
Copyright © 1999-2023 AutomationDirect. ALL RIGHTS RESERVED
There's a system variable for scan time $ScanTime (in us). Move this to a V location.