Fanuc RS232 Internal Connections and Parameters

Table Of Contents

 


0M Control

The Fanuc 0M control has two RS-232 interfaces. Interface number 1 is for the built-in tape reader interface which must be set to 4800 baud. Interface number 2 is wired to the external DB25 female connector. The baud rate and other parameters are set by the NC parameters.










Top

 


Fanuc 6M

 

Parameters

Parameter Numbers 310,311,312,313

7 6 5 4 3 2 1 0
    RSCB STP2 BAUD

RSCB: If set to 0 the control codes (DC1-DC4) are not used. If set to 1 the control codes are used.

STP2: If set to 0 one stop bit is used. If set to 1 two stop bits is used.

BAUD: Set (or check) the baud rate according to the following chart.

Baud Rate 3 2 1 0
50 0 0 0 0
100 0 0 0 1
110 0 0 1 0
150 0 0 1 1
200 0 1 0 0
300 0 1 0 1
600 0 1 1 0
1200 0 1 1 1
2400 1 0 0 0
4800 1 0 0 1
9600 1 0 1 0

Parameter Numbers 340, 341

340: IDVICE - Selects the input device and setting to be used to input data.

341: ODVICE - Selects the output device and setting to be used to output data.

Set Value Input/Output Device

0

Input: Tape Reader
Output: Facit Puncher

1

I/O: ASR33/ASR43
Set Parameter 310

2

I/O: RS232C
Set Parameter 311

3

I/O: RS232C
Set Parameter 312

4

I/O: RS232C
Set Parameter 313

To Read Program into Fanuc from PC

  • On setting page set Input Device1 and 2 to a value of 1 and Parameter 340 to 2, 3, or 4 depending on the communications settings.
  • In edit mode press the READ button. If program number is not at beginning of data you must enter by hand before pressing READ.
  • On PC you must now send data using your software. Note: If using terminal program use 7 Data Bits Even Parity using ASCII (text). The Fanuc LF line feed is used to determine EOB end of block so be sure that the software does not strip this character.

To Send Program from Fanuc to PC

  • On setting page set Tape Code to a value of 1 (ISO) and parameter 341 to 2, 3 or 4 depending on the communications settings.
  • On thePC you must set computer to read data in using the same software settings as above (7,E, ASCII).
  • In edit mode input program number (example: O0012) and press the PUNCH button. The data should now transfer to your computer.

 

 


10,11,12 Control

Click on pictures for full size version

 

 


Top