Hi,
I am an instructor at a university, so a lot of the training I did not receive, I kind of just came into this role and they said here you go with no training other than teaching points. I have a KRC4 R900 sixx and 8.5.8 version.
I am trying to make global subprograms that have GripperOpen and GripperClose that turns outputs to true/false. I know how to do the output part, but every time I try to put GLOBAL in front of the DEF, it won't let me open the program anymore, and gives me an "invalid module" error.
This is what my code looks like (and vice versa for GripperClose). I want to be able to call this from another program. I tried making it both as a expert module and module. Is there something I'm missing? I looked at the programming training book I was given and it just explains what a global subprogram is, not the syntax.
Do I need to put it somewhere other than the R1->Program folder?
Thank you for your help!