Can anyone tell me how to get a time from the clock in the program.
We want to record the hour by hour production on the machine, but I can't find the variable.
Thanks in advance.
Can anyone tell me how to get a time from the clock in the program.
We want to record the hour by hour production on the machine, but I can't find the variable.
Thanks in advance.
Not sure if this is what you are looking for, but try $SYS_TIME - it contains 5 other variables, which are: $MINUTE, $HOUR, $DAY, $MONTH, $DOW (all of them as integers).
Not sure if this is what you are looking for, but try $SYS_TIME - it contains 5 other variables, which are: $MINUTE, $HOUR, $DAY, $MONTH, $DOW (all of them as integers).
That's what I tired and also recomended to someone else before, but apparently they got rid of the variable on the R30iB controller.
Thanks
strange, I can see the variable in Roboguide...
anyway, I guess you could also use the $SYSTEM_TIMER[1].$POW_TOT - this should indicate amount of minutes that the controller has been switched on.