02-05-2019, 08:34 PM
Hi Andy,
You sent this picture by e-mail.
This is the proof that you problem comes from the $config.dat file.
TheRoboDKsynch.srcfile is looking for those global variables and can't find them.
There are different possibilities to why that happens.
1 - Something in you $config.dat is wrong.
You sent us that for your $config.dat :
Are you sure that the part before the "DEFDAT $CONFIG" is right?
2 - You $config.dat file is not at the right place in your controller, therefore, it can't be executed.
3 - You created a new $config.dat instead of modifying the existing one.
4 -其他任何问题,可以抑制KRC4controller to execute the global variable declaration code, therefore, restrain the KRC4 controller to recognize the variable used byRoboDKsynch.src.
Jeremy
You sent this picture by e-mail.
This is the proof that you problem comes from the $config.dat file.
TheRoboDKsynch.srcfile is looking for those global variables and can't find them.
There are different possibilities to why that happens.
1 - Something in you $config.dat is wrong.
You sent us that for your $config.dat :
Code:
&ACCESS RV
&PARAM DISKPATH =
&REL 1
DEFDAT $CONFIG
INT COM_ACTION=0
INT COM_ACTCNT=0
REAL COM_RONDM=0.0
REAL COM_VALUE1=0.0
REAL COM_VALUE2=0.0
REAL COM_VALUE3=0.0
REAL COM_VALUE4=0.0
DECL E6AXIS COM_E6AXIS
DECL FRAME COM_FRAME
DECL POS COM_POS
ENDDAT
Are you sure that the part before the "DEFDAT $CONFIG" is right?
2 - You $config.dat file is not at the right place in your controller, therefore, it can't be executed.
3 - You created a new $config.dat instead of modifying the existing one.
4 -其他任何问题,可以抑制KRC4controller to execute the global variable declaration code, therefore, restrain the KRC4 controller to recognize the variable used byRoboDKsynch.src.
Jeremy