Hello looking for help on something I’m trying to do with out robot. I made a variable in our program to count the amount of pallets we are stacking with the option to reset. I did this during our before start with an Operator prompt asking to if you want to reset count. IM trying to add a way to enter a code or password to be able to reset counter. Is this possible?
How about you make an Operator Input and asks for an integer? Then in your code you can write an If-command to look at the operator input and just use a number as a code in the expression.
It requires the robot program to be locked, though, so the operators cannot read the passcode themselves.
So simple haha. Worked perfect. Thank you very much
Hi another question. So on that same count reset i put in, can i add a variable or something to reset my count at a certain time everyday?
Well. I don’t know of a way to read the current time. But you can use the Timer command to count to 86400 seconds (24 hours, 60 minutes, 60 seconds).
The Timer with save to a variable. Then use an If-command to say
If Timer => 86400
Count = 0
Timer Reset
EDIT: This requires the robot program to run 24/7.