FANUC Series 0i-MODEL F Plus. CONNECTION MANUAL (FUNCTION) - page 309

 

  Index      Manuals     FANUC Series 0i-MODEL F Plus. CONNECTION MANUAL (FUNCTION) B-64693EN-1/01

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     307      308      309      310     ..

 

 

 

FANUC Series 0i-MODEL F Plus. CONNECTION MANUAL (FUNCTION) - page 309

 

 

14. INPUT/OUTPUT OF DATA

 

 

B-64693EN-1/01

 

- 2426 - 

  WARNING 

1  Unless data is input using ASCII codes, set this parameter to 1 to 

input or output data using ISO codes. 

2  Data input/output with ASCII codes is dangerous because parity 

information is not included and a data error during the data 
input/output is not detected. 

3  DNC operation from a data server also must set the parameter to 

1, and execute DNC operation by ISO code. ASCII code is 
dangerous because parity information is not included and a data 
error during the data input is not detected. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

11308 

 

 

 

 

 

 

 

COW 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#1  COW

  When the file of specified name already exists on memory card, 

0: 

It is not overwritten 

 

Alarm SR1973, “FILE ALREADY EXIST” is generated. 

1: 

It is overwritten. 

 

Because the confirmation message is displayed before overwriting even if COW is 1, 

overwriting can be canceled. 

 

NOTE 

 

When the overwritten file is read only attribute, it is not possible to 
overwrite even if bit 1 (COW) of parameter No. 11308 = 1. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

11505 

 

 

 

 

 

 

 

 

ISU 

 

 

[Input type]  Setting input 

 

[Data type]  Bit 

 

 

#0  ISU

  When an USB memory card is selected as an I/O device, data input/output is performed 

using 
0: 

ASCII codes. 

1: 

ISO codes. 

 

  WARNING 

1  Unless data is input using ASCII codes, set this parameter to 1 to 

input or output data using ISO codes. 

2  Data input/output with ASCII codes is dangerous because parity 

information is not included and a data error during the data 
input/output is not detected. 

 

B-64693EN-1/01

 

 

14. INPUT/OUTPUT OF DATA

 

- 2427 - 

  - 

Parameters of Channel 1 (I/O CHANNEL=0) 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

0101 

 

NFD 

 

 

 

ASI 

 

 

SB2 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#0  SB2

  The number of stop bits 

0: 

1: 

 

 

#3  ASI

  Code used at data input/output 

0: 

EIA or ISO code (input:  automatically distinguished/output: decided by the setting 
parameter of bit 1 (ISO) of parameter No.0000) 

1: 

ASCII code   

 

NOTE 

 

When ASCII code is used for data input/output (ASI = 1), set bit 1 
(ISO) of parameter No.0000 to 1. 

 

 

#7  NFD

  Feed before and after the data at data output 

0: 

Output 

1: 

Not output 

When input/output devices other than the FANUC PPR are used, set NFD to 1.   
 

0102 

 

Number specified for the input/output device (when the I/O CHANNEL is set to 0) 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte 

[Valid data range]  0 to 6 

Set the specification  number  of the input/output  device  corresponding  to  I/O 
CHANNEL=0. 
The following table lists the specification numbers and corresponding input/output device 
specifications. 
 

Specification numbers and corresponding input/output device specifications 

Specification number 

Input/output device specification 

RS-232C (control codes DC1 to DC4 are used) 

FANUC CASSETTE ADAPTOR 1(FANUC CASSETTE B1/B2) 

FANUC CASSETTE ADAPTOR 3(FANUC CASSETTE F1) 

FANUC PROGRAM FILE Mate

FANUC FA Card Adaptor,   

FANUC FLOPPY CASSETTE ADAPTOR, FANUC Handy File 
FANUC SYSTEM P-MODEL H 

RS-232C (control codes DC1 to DC4 are not used) 

Portable tape reader 

FANUC PPR 
FANUC SYSTEM P-MODEL G, FANUC SYSTEM P-MODEL H 

 

14. INPUT/OUTPUT OF DATA

 

 

B-64693EN-1/01

 

- 2428 - 

0103 

 

Baud rate (when I/O CHANNEL is set to 0) 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte 

[Valid data range]  1 to 12 

Set the baud rate of the input/output device corresponding to I/O CHANNEL=0. 
When setting this parameter, see the following table: 

 

Baud rates and corresponding settings 

Setting

 

Baud rate (bps)

 

Setting 

Baud rate (bps) 

50 

1200 

110 

2400 

150 

10 

4800 

300 

11 

9600 

600 

12 

19200 

 

  - 

Parameters of Channel 1 (I/O CHANNEL=1) 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

0111 

 

NFD 

 

 

 

ASI 

 

 

SB2 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#0  SB2

  The number of stop bits 

0: 

1: 

 

 

#3  ASI

  Code used at data input/output 

0: 

EIA or ISO code (input:  automatically distinguished/output: decided by the setting 
parameter of bit 1 (ISO) of parameter No.0000) 

1: 

ASCII code   

 

NOTE 

 

When ASCII code is used for data input/output (ASI = 1), set bit 1 
(ISO) of parameter No.0000 to 1. 

 

 

#7  NFD

  Feed before and after the data at data output 

0: 

Output 

1: 

Not output 

When input/output devices other than the FANUC PPR are used, set NFD to 1.   
 

0112 

 

Number specified for the input/output device (when the I/O CHANNEL is set to 1) 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte 

[Valid data range]  0 to 6 

Set the specification  number  of the input/output  device  corresponding  to  I/O 
CHANNEL=1. 
 

B-64693EN-1/01

 

 

14. INPUT/OUTPUT OF DATA

 

- 2429 - 

0113 

 

Baud rate (when I/O CHANNEL is set to 1) 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte 

[Valid data range]  1 to 12 

Set the baud rate of the input/output device corresponding to I/O CHANNEL=1. 
 

  - 

Parameters of Channel 2 (I/O CHANNEL=2) 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

0121 

 

NFD 

 

 

 

ASI 

 

 

SB2 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#0  SB2

  The number of stop bits 

0: 

1: 

 

 

#3  ASI

  Code used at data input/output 

0: 

EIA or ISO code (input:  automatically distinguished/output: decided by the setting 
parameter of bit 1 (ISO) of parameter No.0000) 

1: 

ASCII code   

 

NOTE 

 

When ASCII code is used for data input/output (ASI = 1), set bit 1 
(ISO) of parameter No.0000 to 1. 

 

 

#7  NFD

  Feed before and after the data at data output 

0: 

Output 

1: 

Not output 

 

0122 

 

Number specified for the input/output device (when the I/O CHANNEL is set to 2) 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte 

[Valid data range]  0 to 6 

Set the specification  number  of the input/output  device  corresponding  to  I/O 
CHANNEL=2. 
 

0123 

 

Baud rate (when I/O CHANNEL is set to 2) 

 

 

[Input type]  Parameter input 

 

[Data type]  Byte 

[Valid data range]  1 to 12 

Set the baud rate of the input/output device corresponding to I/O CHANNEL=2. 
 

14. INPUT/OUTPUT OF DATA

 

 

B-64693EN-1/01

 

- 2430 - 

  - 

Parameters of DNC operation from the memory card 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

0138 

 

MNC 

 

SCH 

 

 

 

 

 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#5  SCH

  Schedule operation function is: 

0: 

Disabled. 

1: 

Enabled. 

 

 

#7  MNC

  DNC  operation  from the memory card  and  external  device  subprogram  call from the 

memory card are: 
0: 

Not performed. 

1: 

Performed. 

 

 

Alarm and message 

Number 

Message 

Description 

SR0001 

TH ERROR 

A TH error was detected during reading from an input device. 
The read code that caused the TH error and how many statements it is 
from the block can be verified in the diagnostics screen. 

SR0002 

TV ERROR 

An error was detected during the single–block TV error. 
The TV check can be suppressed by setting bit 0 (TVC) of parameter 
No. 0000 to 0. 

SR1805 

ILLEGAL COMMAND 

An attempt was made to specify an illegal command during I/O 
processing on an I/O device. 

SR1806 

DEVICE TYPE MISS 
MATCH 

An operation not possible on the I/O device that is currently selected in 
the setting was specified. 
This alarm is also generated when file rewind is instructed even though 
the I/O device is not a FANUC Cassette. 

SR1807 

PARAMETER SETTING 
ERROR 

An I/O interface option that has not yet been added on was specified. 
The external I/O device and baud rate, stop bit and protocol selection 
settings are erroneous. 

SR1808 

DEVICE DOUBLE OPENED 

An attempt was made to open a device that is being accessed. 

SR1973 

FILE ALREADY EXIST 

A file having the same name already exists on the memory card. 

 

  - 

Channel 1 

Number 

Message 

Description 

SR0085 

OVERRUN ERROR 

During a read by RS-232C interface 1, an overrun, parity, or framing 
error occurred. The number of bits for entered data was not matched, 
or baud rate setting or I/O device specification number was incorrect.   

SR0086 

DR OFF 

During I/O process by RS-232C interface 1, the data set ready input 
signal of the I/O device (DR) was OFF. Possible causes are an I/O 
device not turn on, a broken cable, and a defective printed circuit 
board. 

SR0087 

BUFFER OVERFLOW 

During a read by RS-232C interface 1, although a read stop command 
was issued, more than 10 characters were input. The I/O device or 
printed circuit board was defective. 

 

B-64693EN-1/01

 

 

14. INPUT/OUTPUT OF DATA

 

- 2431 - 

  - 

Channel 2 

Number 

Message 

Description 

SR1830 

DR OFF(2) 

During I/O process by RS-232C interface 2, the data set ready input 
signal of the I/O device (DR) was OFF. Possible causes are an I/O device 
not turn on, a broken cable, and a defective printed circuit board. 

SR1832 

OVERRUN ERROR(2) 

During a read by RS-232C interface 2, an overrun, parity, or framing error 
occurred. The number of bits for entered data was not matched, or baud 
rate setting or I/O device specification number was incorrect.   

SR1834 

BUFFER OVERFLOW(2) 

During a read by RS-232C interface 2, although a read stop command 
was issued, more than 10 characters were input. The I/O device or printed 
circuit board was defective.   

 

  - 

DNC operation 

Number 

Message 

Description 

PS0123 

ILLEGAL MODE FOR 
GOTO/WHILE/DO 

A GOTO statement or WHILE–DO statement was found in the program in 
the MDI or DNC mode. Modify the program. 

PS1081 

EXT DEVICE SUB 
PROGRAM CALL MODE 
ERROR 

1.  M198 or M99 was executed during scheduled operation. Alternatively, 

M198 was executed during DNC operation. Modify the program. 

2.  An interruption macro was specified and M99 was executed during 

pocketing of multiple repetitive canned cycles. 

 

14.2 

NC DATA OUTPUT FUNCTION 

Overview 

This function outputs the following various data into memory card or USB memory by one operation. 

SRAM data 

User files (made by user such as PMC ladder) 

Text data (Parameter, program, and so on) 

 
This function enables to back up the system data easily. 
Moreover, the contents of SRAM data can be confirmed immediately because both SRAM data and text 
data are output. 
NC data output signal ALLO<F0578.5> is set to “1”  from the beginning to the end of outputting text 
data. 
 

Signal 

NC data output signal ALLO<G0578.5> 

  [Classification]  Output signal 
 

[Function]  This signal indicates that text data are under output by NC data output function. 

[Output condition] This signal becomes “1”, when: 

Outputting text data by NC data output function is started. 

This signal becomes “0”, when: 

Outputting text data by NC data output function is finished. 

Outputting text data by NC data output function is terminated abnormally. 

 

Signal address 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

Gn578 

 

 

 

ALLO 

 

 

 

 

 

 

14. INPUT/OUTPUT OF DATA

 

 

B-64693EN-1/01

 

- 2432 - 

Parameter 

0020 

 

I/O CHANNEL : Input/output device selection, or interface number for a foreground input device 

 

0021 

 

Foreground output device setting 

 

0022 

 

Background input device setting 

 

0023 

 

Background output device setting 

 

 

[Input type]  Setting input 

 

[Data type]  Byte 

[Valid data range]  0 to 17 

The  CNC  has the following  interfaces for transferring  data  to and from an external 
input/output device and the host computer: 

Input/output device interface (RS-232C serial ports 1 and 2) 

Memory card interface 

Data server interface 

Embedded Ethernet interface 

USB memory interface 

By setting bit 0 (IO4) of parameter No.  0110,  data  input/output  can be controlled 
separately. When IO4 is not set, data input/output is performed using the channel  set in 
parameter No.  0020. When IO4 is set, a channel  can be assigned to each of foreground 
input, foreground output, background input, and background output. 
In these parameters, specify the interface  connected  to each input/output  device  to and 
from which data is to be transferred. See the table below for these settings. 
 

Correspondence between settings and input/output devices 

Setting 

Description 

0,1 

RS-232C serial port 1 

RS-232C serial port 2 

Memory card interface of CNC 

Memory card/USB interface in the secondary display unit for Ethernet 

connection or the shared display unit for Ethernet connection 

Data server interface 

Embedded Ethernet interface 

17 

USB memory interface 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

0110 

 

 

 

 

 

 

 

 

IO4 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

NOTE 

 

When this parameter is set, the power must be turned off before 
operation is continued. 

 

 

#0  IO4

  Separate control of I/O channel numbers is: 

0: 

Not performed. 

1: 

Performed. 

If the I/O channels are not separately controlled, set the input/output device in parameter 
No. 0020. 
If the I/O channels are separately controlled, set the input device and output device in the 
foreground and the input device and output device in the background in parameters No. 
0020 to No. 0023 respectively. 
Separate control of I/O channels makes it possible to perform background editing, 
program input/output, and the like during the DNC operation. 

B-64693EN-1/01

 

 

14. INPUT/OUTPUT OF DATA

 

- 2433 - 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

0138 

 

 

 

 

 

 

 

 

MDP 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#0  MDP

  To the extensions of input/output files, a path number is: 

0: 

Not added. 

1: 

Added. 

 

NOTE 

 

If a file name is specified by setting F, this parameter is ignored, and 
a path number is not added to the extension. 

 

 

 

#7 

#6 

#5 

#4 

#3 

#2 

#1 

#0 

0313 

 

 

 

 

 

 

 

TFO 

BOP 

 

 

[Input type]  Parameter input 

 

[Data type]  Bit 

 

 

#0  BOP

  NC data output function is: 

0: 

Disabled. 

1: 

Enabled. 

 

NOTE 

 

If a file with the same name already exists in the external I/O device, 
the file is overwritten. It is recommended to clear the external I/O 
device before using this function. 

 

 

#1  TFO

  On NC data output function, text data (such as parameter, program) is: 

0: 

Output. 

1: 

Not output. 

 

Reference item 

Manual name 

Item name 

OPERATOR’S MANUAL (B-64694EN) 

NC data output function 

 

 

 

 

 

 

 

 

Content      ..     307      308      309      310     ..