Hi guys,
I write "technology keys" by Usertech to control some variables and change the"key icon".(the variables in the sps)
it's works perfect.but I found the bug:
when I cold start the robot,the "technology keys" icon initialized.but the variables not initialized.
my KFD like this:
...................
Decl Param P_key1_mode = {Value {FREE: DEFAULT " "}}
Decl StatKey KEY1 = {Picture[] "C:\KRC\TP\UserTech\Template\setup.ico", NEED_DRIVESOK TRUE,NEED_SAFETYSWITCH TRUE,NEED_MODEOP 3,NEED_PROSTATEO 32, NEED_PROSTATE 63}
..............
............
..........
...........
DEFSCRIPT SET_key1_vacuum_eva_mode
SETVAR(FULLPATH[] "key1_mode",VALUE[] "#set1" )
SHOWVAR(FULLPATH[] "key1_mode",PARAM P_key1_mode)
SET KEY1 = {Picture[] "C:\KRC\TP\UserTech\Template\setup2.ico", BOTTOMTEXT[] "", NEED_DRIVESOK TRUE,NEED_SAFETYSWITCH TRUE,NEED_MODEOP 3,NEED_PROSTATEO 32, NEED_PROSTATE 63}
...............
could somebody help me