Is there any system variable that says a tp job exists in robot controller, For Ex:
IF $Systmvariable = TP_Program_Name Then
Thanks
Is there any system variable that says a tp job exists in robot controller, For Ex:
IF $Systmvariable = TP_Program_Name Then
Thanks
I don't think, but you can make this verification in karel if you have the option installed.
I don't think, but you can make this verification in karel if you have the option installed.
1) Hallo, With Karel, how can I get a program exists or not, I hope default folder is MD:\,
PROGRAM Kareltest
%NOLOCKGROUP
BEGIN
IF (MD:\Test_Name) THEN
DOUT[238]= TRUE
ELSE
DOUT[238]= FALSE
ENDIF
END Kareltest
---------------------------------------------------------
2) Does karel logic runs as BGLOGIC or does it raises mixed logic error?
Thanks
You can not run it in BG logic but you can make it loop with GO TO ex:
loop::
--Program section
DELAY 100
GO TO loop
%NOABORT=ERROR+COMMAND will be useful in this case
Personally, I recommend you to call this program only when you want to make the verfication.