Hi,guys,
I want to find a function,when I reboot the KRC ,the $out could keep the state when the robotshut down.does KRC hase the function?
HOW to keep the $out state when reboot?
-
rain_maker -
September 5, 2015 at 4:21 AM -
Thread is marked as Resolved.
-
-
Hi,
You can use submit for that purpose. Initialize $OUT[whatever]=TRUE in the declaration section of your submit so that when KRC will reboot it will start submit at first instant and make the value of $OUT to be true.
Thanks
-
Hello,
You can build a logic to retain all your Robot Output status using variable "$POWER_FAIL".
Declare array of bool (array length as per your required outputs), and write these bool from $OUT[] when power fails using sps.
Again you can get the status back when switching on robot by re-writing $OUT[] from bool array just before loop in sps.
Regards,
Dinesh Jhakal -
Hi,guys,
I want to find a function,when I reboot the KRC ,the $out could keep the state when the robotshut down.does KRC hase the function?rain maker,.
have you tried hibernate instead of cold start? these function can retain all the outputs that is on/true from previous shutdown.
-
rain maker,.
have you tried hibernate instead of cold start? these function can retain all the outputs that is on/true from previous shutdown.
thanks for your answer,I know the hibernate reboot,but sometimes I don't need all the outputs retain the state.