Cyborg (Customer) asked a question.

Do-More Scan Time as a variable?

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!


  • RBPLC (Customer)

    There's a system variable for scan time $ScanTime (in us). Move this to a V location.

    Selected as Best
  • RBPLC (Customer)

    There's a system variable for scan time $ScanTime (in us). Move this to a V location.

    Selected as Best
  • HOST_BobO (AutomationDirect)

    $ScanTime is actually an average. The raw value is in $ElapsedTicks.

  • Cyborg (Customer)

    Excellent! Got it! Thank you so much... what units are those variables in? Being that they're in the thousands, I'm guessing microseconds

  • Cyborg (Customer)

    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

  • Cyborg (Customer)

    Nevermind... its definitely mircroseconds... thanks again for the help! Off to the races again...