okay after checking several Ideas i found that the easiest way to let PLC to start Robot is :to connect one output from PLC to Fanuc DI and set a condition inside the Fanuc program to start if DI is on.
But my question here I don't have in Fanuc something like Main program .
So how can make one program is always running and keep eye on DI status.
Thanks.
Moelsayed