% Commands on Module start

Hey guys,
i hope somebody is able to help me or even awnser my questions…

I was looking for a simple lock command to lock some modules for some of our costumers.
I was researching a bit and i found out there are % commands on the beginning of a Module


%Protect
Module Modulename (NOSTEPIN)

PROC Routinename()
! Fill in some code
ENDPROC

ENDMODULE


and i always get an error for the “%”. even the KI couldnt help me to solve this issue. There should be multiple commands like;

%PROTECT
%TOOL
%BINARY
%NOCHECK

but none of those commands are working.

Maybe somebody has a solution

Thanks!

Where did you find documentation of these commands?

Hey Lemster,
I received them from an internal BMW programmer who handed me these commands. I tried them on the BMW TMOV3 Standard and on regular ABB RobotStudio.

Maybe it is from a more recent version of robotware? Omnicore even?

Would setting the module to NOVIEW help to solve your issue?