Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 11/01/2010 in all areas

  1. 1 point
    I just put up a Blog entry which touches on this exact issue - have a look at it here. What you seem to be running into is the fact that when you try to accumulate time values, you have a small amount of error due to the scan time of the PLC. It's possible to get around this by using timed interrupt routines and counting up time in 2.5 millisecond increments - but for longer values, it's easier to use the RTC->UTC conversion function to get a value for "Now" in seconds, save that value as your "Start" time, then calculate elapsed time with ("Now" - "Start").
  2. 1 point
    Only enhanced models V130/350/570 support J1939.
×
×
  • Create New...