It’s says that timer has already in program line 6
Robot freeze
-
Bolts85 -
January 3, 2020 at 3:01 PM -
Thread is Unresolved
-
-
I think you have the following commands available for TIMER:
START
STOP
RESET
I think you need to look/add TIMER(2)=STOP or TIMER(2)=RESET command prior to this somewhere.
You cannot START a timer that is already started...…
So a STOP or RESET must exist somewhere before executing this command.
-
Not much in programming so don’t know but I’ll look for it ty m8
-
They're appears to be a CALL before hand - CALL check(2).
I would look in there to see if there is any TIMER(2)=STOP command in there.
If there is then, I would jump to that line and execute from there.
-
I did that but when it goes home said offsets is wrong
-
Can you post the code from the offset program?
-
It only does it when you try to put robot home, I’m new to this, I think need to get Engeneer to sort this out.
-
Just add Timer Stop and Timer Reset instruction before line 8. That way it will always be able to start successfully.
-
Done it works fine only offset problem when going home
-
thanks a lot hawkme.
-
Done it works fine only offset problem when going home
Your offset program is trying to use uninitialized data.
Can you post the program, or even just a picture of it?
-
It’s in screen shoot, it’s normal home position ty
-
Upon further review of your picture, OFFSET is a Karel program. Do you have the source? Without the source, we wont be able to help you. The program is trying to use an uninitialized value on line 392 of the source code.
-
I’m not at work any more I’ll look tomorrow, but I haven’t change nothing in existing program but it’s says that data is uninitialised? I just try to move home from hmi