Hai,
Many thanks for that.
I got it now, What I was thinking if the robot enter into workspace1 then IN[5] will turn on. Actually, in real OUT[5] is getting on/of based on the workspace1,I was monitoring input[5] instead of output[5]. Also I had different thought like Robot will not enter into workspace1 if IN[5] is off ,I got little confused with space function as in Fanuc.
Thanks everyone for your valuable feedback.
Cheers
Advmin