Hello everybody,

First of all, I apologize in advance for my English mistakes.

Do someone know how to use the "FOCAS" set of libraries ?
(Despite the documentation and some researchs on the Internet, I need some help)

I do a professional training and I'm trying to create a little application in C# which uses the fwlib32 library (which is included in FOCAS) to communicate with a FANUC controller Oi-MB.

When I call the function "cnc_delall" to clear the memory of the machine, the machine must be in EDIT mode (if it doesn't be in this mode, the return of the fonction is : "the machine is busy")

To avoid a manual operation on the operator panel, I want to change the mode automatically. That's why I try to use this functions :
cnc_wropnlsgnl (Writes the output signal of software operator's panel.)
cnc_rdopnlsgnl (Reads the output signal image of software operator's panel.)

When I try to read the data, there is no error return, but all the values readed are 0 whatever the mode is.

Is it the function which I need ?

If there is a need, I will give more details.

Thank you in advance for your help.

Regards,

Gwaihir