You are on page 1of 3

RS-232C COMMUNICATION PROCEDURE (Fanuc-0i)

The Parameters, timer / counter values, Part Programs, Offset values etc., are communicated with CNC and PC. TO Download the Partprogram from the CNC System : At the computer end use ACEICAPS / Net-lite communication software. Select Settings, Enable Settings, Enter the password as Cadem. The password is case sensitive. Select Settings Machine Data. Click on the Add button. In the dialog box change the following parameters, leaving all the remaining entries unaltered. Machine Name = Machine 1 Control System = Fanuc Click on DNC Param tab Select the valid Com Port number (e.g. Com1 or Com2) Baud rate = 4800 Parity = Even Data bits = 7 Stop bits = 2 Handshake = None Leave all the other settings in the remaining tabs unaltered. Click on the OK button to exit Add machine dialog box. You have now configured the communication parameters on the PC. The similar settings have to be made on the machine controller too. Note: Plug in the RS-232C cable at PC end as well as CNC system end after switching off the power.

Receiving the program from machine to PC.


Now, the receiving end is the PC On the PC, Double click on the machine & select Receive program from the menu that appears. In the dialog box that appears, enter From machine as the file name in which the received program must be saved. Click on the save button. Now the PC is ready to receive the program from the Machine. If the communication is successful, DNC will give a message Program Received. Check the program in the NC Editor.

On the CNC Select EDIT mode Press Program key in MDI panel and press soft key [PRGM] to display program text. Press [(OPRT)] key and press soft key Input a program number to be output. Press [PUNCH] and [EXEC] key, then program output is started. Now the message OUTPUT on the CRT starts flashing, stating that communication is under progress. After communication is complete, the flashing OUTPUT message on the CRT disappears. NOTE: The parameters to be checked at CNC end if communication is not taking place are as follows; # 0000 bit 1 = 1 # 0020 = 1 # 0111 bit 0 =1 # 0112 = 4 # 0113 = 10

TO UPLOAD THE PROGRAM FROM PC TO CNC (FANUC SYSTEM) AT CNC END: Select EDIT mode Keep Program Protect Key switch in ON position. Press PROG key in MDI Panel . Press soft key (OPRT) , . Press soft key (READ) and (EXEC), then data input is started

AT PC END: Select DNC, Manual Mode. Double click on the machine and select Receive Program from the menu that appears. In the dialog box that appears, select a program file (Program file will have an extension .PRG) Click on the Open button. If the communication is successful, DNC will give a message Program Transmitted. Check the program on the CNC. When the communication is going on, the CNC will display message INPUT (flashing). After the communication is completed the message INPUT disappears from the CRT stating that the communication is complete.

RS 232C COMMUNICATION CABLE DETAILS


CNC SYSTEM SIDE 25 PIN MALE D TYPE SD PIN NO. PIN NO. 2 3 RD PIN NO. 2 PIN NO. 3 COMPUTER SIDE 25 PIN FEMALE D TYPE

PIN NO. PIN NO. PIN NO. PIN NO. PIN NO. PIN NO.

4 5 6 8 20 7 SIGNAL GND.

PIN NO.4 PIN NO. 5 PIN NO. 6 PIN NO. 8 PIN NO. 20 PIN NO. 7

CNC SYSTEM SIDE 25 PIN MALE D TYPE PIN NO.7 PIN NO. 6 PIN NO. 8 PIN NO. 20 PIN NO. 4 PIN NO. 5 PIN NO. 3 PIN NO. 2 PIN NO. 1

COMPUTER SIDE 9 PIN FEMALE D TYPE PIN NO. 5 PIN NO. 6 PIN NO. 4

PIN NO. 7 PIN NO. 8 PIN NO. 3 PIN NO. 2 SHIELDING