I've been trying to set up some variables that log things like the last cycle time, average cycle times etc. Here is a simple example:
$TIMER_STOP[11]=TRUE ;STOP CURRENT SEG. TOTAL TIMER
TIME_LAST_SEG=$TIMER[11]/60000 ;LOG LAST SEG. TOTAL
The problem I have been having is with the division to convert from milliseconds to minutes. The value of the variable always comes out to be rounded to the nearest minute. This is not really helpful when every second counts.
Is there something I am doing wrong or is this just the way this is handled in KRL?
Thanks