15.07.2013 Views

GE Fanuc Automation - Free

GE Fanuc Automation - Free

GE Fanuc Automation - Free

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Computer Numerical Control Products<br />

Series 15i / 150i – Model A<br />

Remote Buffer<br />

Descriptions Manual<br />

<strong>GE</strong> <strong>Fanuc</strong> <strong>Automation</strong><br />

B-63322EN-1/01 1999


Warnings and notices for<br />

this publication<br />

Warning<br />

In this manual we have tried as much as possible to describe all the various<br />

matters. However, we cannot describe all the matters which must not be done,<br />

or which cannot be done, because there are so many possibilities.<br />

Therefore, matters which are not especially described as possible in this<br />

manual should be regarded as “impossible”.<br />

Notice<br />

This document is based on information available at the time of its publication. While efforts have<br />

been made to be accurate, the information contained herein does not purport to cover all details or<br />

variations in hardware or software, nor to provide every contingency in connection with<br />

installation, operation, or maintenance. Features may be described herein which are not present in<br />

all hardware and software systems. <strong>GE</strong> <strong>Fanuc</strong> <strong>Automation</strong> assumes no obligation of notice to<br />

holders of this document with respect to changes subsequently made.<br />

<strong>GE</strong> <strong>Fanuc</strong> <strong>Automation</strong> makes no representation or warranty, expressed, implied, or statutory with<br />

respect to, and assumes no responsibility for accuracy, completeness, sufficiency, or usefulness of<br />

the information contained herein. No warranties of merchantability or fitness for purpose shall<br />

apply.<br />

The following are Registered Trademarks of <strong>GE</strong> <strong>Fanuc</strong> <strong>Automation</strong><br />

CIMPLICITY® Genius®<br />

The following are Trademarks of <strong>GE</strong> <strong>Fanuc</strong> <strong>Automation</strong><br />

Alarm Master<br />

CIMSTAR<br />

Field Control<br />

Genet<br />

Helpmate<br />

LogicMaster<br />

Modelmaster<br />

PowerMotion<br />

ProLoop<br />

PROMACRO<br />

Series Five<br />

Series 90<br />

Series One<br />

Series Six<br />

Series Three<br />

VuMaster<br />

Workmaster<br />

© Copyright 1998 FANUC Ltd.<br />

Authorized Reproduction <strong>GE</strong> <strong>Fanuc</strong> <strong>Automation</strong> Europe S.A.<br />

All Rights Reserved<br />

No part of this manual may be reproduced in any form.<br />

All specifications and designs are subject to change without notice.<br />

GFLE-003


B-63322EN-1/01 PREFACE<br />

PREFACE<br />

Applicable product name<br />

Related manuals<br />

The models covered by this manual, and their abbreviations are:<br />

Product name Abbreviations<br />

FANUC Series 15i-MA 15i-MA Series 15i<br />

FANUC Series 150i-MA 150i-MA Series 150i<br />

The table below lists manuals related to MODEL A of Series 15i, and<br />

Series 150i. In the table, this manual is marked with an asterisk (*).<br />

Table 1 (a) Related manuals<br />

Manual name<br />

Specification<br />

number<br />

DESCRIPTIONS B-63322EN<br />

CONNECTION MANUAL (Hardware) B-63323EN<br />

CONNECTION MANUAL (Function) B-63323EN-1<br />

OPERATOR’S MANUAL (PROGRAMMING)<br />

for Machining Center<br />

B-63324EN<br />

OPERATOR’S MANUAL (OPERATION)<br />

for Machining Center<br />

B-63324EN-1<br />

MAINTENANCE MANUAL B-63325EN<br />

PARAMETER MANUAL B-63330EN<br />

DESCRIPTIONS (Supplement for Remote Buffer) B-63322EN-1 *<br />

p-1


B-63322EN-1/01<br />

c-1<br />

CONTENTS<br />

PREFACE ................................................................................................................ p-1<br />

1. <strong>GE</strong>NERAL............................................................................................................. 1<br />

2. INTERFACE BETWEEN REMOTE BUFFER AND<br />

HOST COMPUTER............................................................................................. 2<br />

2.1 ELECTRICAL INTERFACE ..................................................................................................... 3<br />

2.2 SOFTWARE INTERFACE ........................................................................................................ 4<br />

3. ELECTRICAL INTERFACE ............................................................................. 5<br />

3.1 TRANSMISSION SYSTEM....................................................................................................... 6<br />

3.2 RS-232-C INTERFACE.............................................................................................................. 7<br />

3.3 RS-422 INTERFACE................................................................................................................ 10<br />

4. PROTOCOL A....................................................................................................13<br />

4.1 MESSA<strong>GE</strong> FORMAT .............................................................................................................. 14<br />

4.2 CODE SYSTEM ....................................................................................................................... 14<br />

4.3 COMMUNICATION SYSTEM ............................................................................................... 15<br />

4.4 COMMAND ............................................................................................................................. 17<br />

4.4.1 Command Table.............................................................................................................................17<br />

4.4.2 Description of Data Part.................................................................................................................19<br />

4.5 PARAMETER TABLE............................................................................................................. 23<br />

4.6 ERROR PROCESS ................................................................................................................... 24<br />

4.7 STATUS TRANSITION........................................................................................................... 25<br />

5. EXPANSION PROTOCOL A...........................................................................26<br />

5.1 COMMUNICATION SYSTEM ............................................................................................... 27<br />

5.2 DATA PACKET FORMAT ..................................................................................................... 28<br />

5.3 MONITOR PACKET FORMAT.............................................................................................. 30<br />

5.4 COMMUNICATION EXAMPLE ............................................................................................ 32<br />

6. PROTOCOL B....................................................................................................41<br />

6.1 COMMUNICATION SYSTEM ............................................................................................... 42<br />

6.1.1 When the CNC Alarm/Reset is not Posted to the Host...................................................................42<br />

6.1.2 When the CNC Alarm/Reset is Posted to the Host.........................................................................44<br />

6.2 CONTROL CODE.................................................................................................................... 48<br />

6.3 BUFFER CONTROL................................................................................................................ 48<br />

6.4 ALARM AND RESET OF CNC .............................................................................................. 49<br />

7. EXPANSION PROTOCOL B (RS-422)...........................................................50


CONTENTS B-63322EN-1/01<br />

8. DATA INTERFACE ..........................................................................................51<br />

8.1 DATA PART ............................................................................................................................ 52<br />

8.2 INTERFACE OF DATA PART ............................................................................................... 52<br />

9. BINARY INPUT OPERATION FUNCTION .................................................53<br />

9.1 FUNCTION EXPLANATION ................................................................................................. 54<br />

9.2 TRANSFER RATE................................................................................................................... 57<br />

9.3 NOTES...................................................................................................................................... 58<br />

10. PARAMETER.....................................................................................................59<br />

10.1 INPUT DEVICE NUMBER ..................................................................................................... 60<br />

10.2 EXCLUSIVE PARAMETER FOR REMOTE BUFFER ......................................................... 61<br />

10.3 PARAMETERS RELATED TO BINARY INPUT OPERATION .......................................... 67<br />

11. ALARM ...............................................................................................................70<br />

12. MAINTENANCE................................................................................................71<br />

12.1 LED INDICATIONS ................................................................................................................ 71<br />

12.1.1 Normal State ..................................................................................................................................71<br />

12.1.2 System Errors.................................................................................................................................72<br />

12.2 MATERIAL FOR REMOTE BUFFER TROUBLESHOOTING ............................................ 74<br />

12.3 DETERMINING THE LOGICAL SLOT NUMBER OF<br />

THE REMOTE BUFFER BOARD .......................................................................................... 76<br />

12.3.1 Determining the Logical Slot Number on the Screen Displayed<br />

at the Time a System Alarm Occurs ......................................................................................76<br />

12.3.2 Determining the Logical Slot Number on the System Configuration Screen.........................77<br />

c-2


B-63322EN-1/01 1. <strong>GE</strong>NERAL<br />

1 <strong>GE</strong>NERAL<br />

15i/150i-MA<br />

The remote buffer for FANUC Series 15i/150i-MODEL A is an<br />

option and is used to allow a large number of data to be continuously<br />

supplied to the CNC at high speed by connecting it to the host<br />

computer or I/O device through a serial interface.<br />

Remote<br />

buffer<br />

RS-232-C/RS-422<br />

The followings can be performed by the remote buffer.<br />

1) It is used to perform DNC operation at high speed and with high<br />

reliability by performing on-line connection to the host<br />

computer.<br />

2) It is used to download the NC program and parameters from the<br />

host computer. When protocol B or expansion protocol B is<br />

used, NC programs and parameters can also be uploaded to the<br />

host computer.<br />

3) It is used to perform DNC operation and download various kinds<br />

of data by connecting to the I/O device. The following I/O<br />

devices can be connected.<br />

(1) FANUC PROGRAM FILE Mate<br />

(2) FANUC HANDY FILE<br />

Hereafter, the destination where the remote buffer is connected to is<br />

called “Host computer” for ease of explanation.<br />

-1-<br />

Host<br />

computer<br />

I/O device


2. INTERFACE BETWEEN REMOTE BUFFER AND HOST COMPUTER B-63322EN-1/01<br />

2 INTERFACE BETWEEN REMOTE BUFFER<br />

AND HOST COMPUTER<br />

-2-


B-63322EN-1/01 2. INTERFACE BETWEEN REMOTE BUFFER AND HOST COMPUTER<br />

2.1 ELECTRICAL INTERFACE<br />

The following which interfaces are provided as standard<br />

specifications.<br />

1) RS-232-C interface<br />

2) RS-422 interface (Note 1)<br />

RS-232-C RS-422<br />

Interface Serial voltage interface Balance transmission serial<br />

(start-stop system)<br />

interface (start-stop system)<br />

Baud rate 50 – 19200 baud rate 50 – 86400 baud rate<br />

(Note 2)<br />

(Note 1)<br />

Cable length 100m (4800 baud or less) Approximately 800m<br />

(MAX.) 50m (9600 baud)<br />

(9600 baud or less)<br />

15m (19200 baud)<br />

It differs depending on I/O<br />

devices.<br />

50m (19200 baud or more)<br />

NOTE<br />

1 When the baud rate exceeding 38400 BPS is used, the<br />

synchronization of reception clock is required. Prepare<br />

the TT (*TT) and RT (*RT) signals.<br />

2 When the baud rate used is 19200 baud or more, use the<br />

RS-422 interface.<br />

-3-


2. INTERFACE BETWEEN REMOTE BUFFER AND HOST COMPUTER B-63322EN-1/01<br />

2.2 SOFTWARE INTERFACE<br />

The following four protocols for communication between the remote<br />

buffer and host computer are provided. The protocol meeting the<br />

requirement of specifications of connection device can be selected by<br />

setting a parameter.<br />

Protocol Features of protocol<br />

Protocol<br />

A<br />

Expansion<br />

protocol<br />

A<br />

Protocol<br />

B<br />

Expansion<br />

protocol<br />

B<br />

It is the handshake system<br />

where transmit/receive is<br />

repeated between the both.<br />

It is nearly the same as the<br />

protocol A. However, the NC<br />

program can be transferred at<br />

high-speed so that it can be<br />

applied to the high-speed DNC<br />

operation.<br />

It is the system for controlling<br />

the communication between the<br />

both by the control code output<br />

from the remote buffer.<br />

The control system is the same<br />

as that of protocol B. However,<br />

it allows the transmission speed<br />

to be increased. In this case, it<br />

is required to receive the<br />

reception synchronization clock<br />

from the source.<br />

-4-<br />

Interface Transfer<br />

used rate (Max.)<br />

RS-232-C 19200 BPS<br />

RS-422 86400 BPS<br />

RS-422 86400 BPS<br />

RS-232-C 19200 BPS<br />

RS-422 86400 BPS<br />

NOTE<br />

The average data transfer speed becomes smaller than<br />

the maximum transfer speed.


B-63322EN-1/01 3. ELECTRICAL INTERFACE<br />

3 ELECTRICAL INTERFACE<br />

-5-


3. ELECTRICAL INTERFACE B-63322EN-1/01<br />

3.1 TRANSMISSION SYSTEM<br />

ON<br />

OFF<br />

ON<br />

OFF<br />

It is the start-stop system for adding the start bit before and stop bit<br />

after the information bits, respectively.<br />

The format for adding one parity bit to each byte of data to be<br />

transmitted is also allowed.<br />

1) Format with no parity bit<br />

1 character<br />

Start bit Stop bit<br />

Data bit<br />

Start bit<br />

b1 b2 b3 b4 b5 b6 b7 b8<br />

LSB MSB<br />

Data bit is sent starting from the LSB.<br />

2) Format with parity bit<br />

1 character<br />

Data bit<br />

b1 b2 b3 b4 b5 b6 b7 b8<br />

LSB MSB<br />

Data bit is sent starting from the LSB.<br />

The format with parity bit becomes the even parity including a<br />

parity bit. The number of stop bits of parameter determines<br />

whether there is a parity bit or not.<br />

Stop bit 1 → With parity bit<br />

Stop bit 2 → With no parity bit<br />

-6-<br />

Parity bit<br />

p<br />

Stop bit


B-63322EN-1/01 3. ELECTRICAL INTERFACE<br />

3.2 RS-232-C INTERFACE<br />

CNC remote buffer board<br />

JD5L<br />

(PCR-E20LMDETZ-SL)<br />

1 RD<br />

2 0V<br />

3 DR<br />

4 0V<br />

5 CS<br />

6 0V<br />

7 CD<br />

8 0V<br />

9<br />

10 (+24V)<br />

11 SD<br />

12 0V<br />

13 ER<br />

14 0V<br />

15 RS<br />

16 0V<br />

17<br />

18<br />

19 (+24V)<br />

20<br />

1) Connection between devices<br />

NOTE<br />

(+24V) is used as the power to FANUC RS-232-C<br />

devices.<br />

-7-<br />

Host computer (example)<br />

1 FG<br />

2 SD<br />

3 RD<br />

4 RS<br />

5 CS<br />

6 DR<br />

7 SG<br />

8 CD<br />

9<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

16<br />

17<br />

18<br />

19<br />

(DBM-25S)<br />

20 ER<br />

21<br />

22<br />

23<br />

24<br />

25


3. ELECTRICAL INTERFACE B-63322EN-1/01<br />

CNC<br />

Output<br />

Input<br />

SD<br />

RD<br />

RS<br />

CS<br />

ER<br />

DR<br />

CD<br />

0V<br />

2) General diagram of signal connection<br />

11<br />

1<br />

15<br />

5<br />

13<br />

3<br />

7<br />

When no CS is used, short-circuit it with the RS. However,<br />

when the protocol A or expansion protocol A is used, perform<br />

connecting as shown in the figure above for use as busy control.<br />

When DR is not used, short-circuit it with ER.<br />

Always short-circuit CD to ER.<br />

NOTE<br />

Connect the FG pin to the FG pin of the relay connector<br />

or to the protective grounding pin inside the locker.<br />

-8-<br />

SD<br />

RD<br />

RS<br />

CS<br />

ER<br />

DR<br />

CD<br />

SG<br />

FG Note)<br />

Host computer


B-63322EN-1/01 3. ELECTRICAL INTERFACE<br />

Signal<br />

name<br />

RS-232-C<br />

circuit<br />

number<br />

Input/<br />

output<br />

3) Signal description<br />

-9-<br />

Description<br />

SD 103 Output Send data<br />

See “3.1” for the bit configuration.<br />

RD 104 Input Receive data<br />

RS 105 Output Request to send<br />

CS 106 Input<br />

It is used to inform whether the remote buffer is ready to receive data or not.<br />

When the ER signal is on and this signal is on, the remote buffer is ready to<br />

receive data.<br />

Clear to send<br />

It is used to know the busy status at the host computer. When the DR signal<br />

is on and this signal is on, the host computer is regarded as being ready to<br />

receive data.<br />

DR 107 Input Data set ready<br />

When this signal is on, it is considered that the preparation at the host<br />

computer has been completed. Generally, it is connected to the ER signal of<br />

the host computer. When this signal is off during data transmission, an<br />

alarm occurs.<br />

Always connect it to the ER signal of CNC side when this signal is not used.<br />

ER 108.2 Output Data terminal ready<br />

When this signal is on, it is considered that the remote buffer is in ready<br />

condition.<br />

In general, it is connected to the ER signal at the host computer. If it is<br />

turned off during transmission of data, an alarm occurs. If this signal is not<br />

used, always connect this to the ER signal at the CNC side.<br />

CD 109 Input Received line signal detector<br />

This signal is not used for connection to the host computer. Thus, connect it<br />

to the ER signal of remote buffer side.<br />

SG 102 Grounding for signal<br />

FG 101 Grounding for protection<br />

NOTE<br />

Turn on or off signal according to the following:<br />

-3 V or less +3 V or more<br />

Function OFF ON<br />

Signal Condition Marking Spacing


3. ELECTRICAL INTERFACE B-63322EN-1/01<br />

3.3 RS-422 INTERFACE<br />

CNC remote buffer board<br />

JD6L<br />

(PCR-E20LMDETZ-SL)<br />

1 RD<br />

2 *RD<br />

3 RT<br />

4 *RT<br />

5 CS<br />

6 *CS<br />

7 RR<br />

8 0V<br />

9 *RR<br />

10 (+24V)<br />

11 SD<br />

12 *SD<br />

13 TT<br />

14 *TT<br />

15 RS<br />

16 *RS<br />

17 TR<br />

18 *TR<br />

19 (+24V)<br />

20<br />

1) Connection between devices<br />

NOTE<br />

Do not connect anything to the (+24V) pin.<br />

-10-<br />

Host computer (example)<br />

1 FG<br />

2<br />

3<br />

4 SD<br />

5<br />

6 RD<br />

7 RS<br />

8 RT<br />

9 CS<br />

10<br />

11 RR<br />

12 TR<br />

13<br />

14<br />

15<br />

16<br />

17 TT<br />

18<br />

19 SG<br />

20<br />

21<br />

22 *SD<br />

23<br />

24 *RD<br />

25 *RS<br />

26 *RT<br />

27 *CS<br />

28<br />

29 *RR<br />

30 *TR<br />

31<br />

32<br />

33<br />

34<br />

35 *TT<br />

36<br />

37


B-63322EN-1/01 3. ELECTRICAL INTERFACE<br />

CNC<br />

Output<br />

Input<br />

SD<br />

*SD<br />

RD<br />

*RD<br />

RS<br />

*RS<br />

CS<br />

*CS<br />

TR<br />

*TR<br />

RR<br />

*RR<br />

TT<br />

*TT<br />

RT<br />

*RT<br />

0V<br />

2) General diagram of signal connection<br />

11<br />

12<br />

1<br />

2<br />

15<br />

16<br />

5<br />

6<br />

17<br />

18<br />

7<br />

9<br />

13<br />

14<br />

3<br />

4<br />

8<br />

NOTE<br />

Connect the FG pin to the FG pin of the relay connector<br />

or to the protective grounding pin inside the locker.<br />

-11-<br />

SD<br />

*SD<br />

RD<br />

*RD<br />

RS<br />

*RS<br />

CS<br />

*CS<br />

TR<br />

*TR<br />

RR<br />

*RR<br />

TT<br />

*TT<br />

RT<br />

*RT<br />

SG<br />

FG Note)<br />

Host computer


3. ELECTRICAL INTERFACE B-63322EN-1/01<br />

Signal<br />

name<br />

RS-232-C<br />

circuit<br />

number<br />

Input/<br />

output<br />

3) Signal description<br />

-12-<br />

Description<br />

SD 103 Output Transmission data<br />

See “3.1” for the bit configuration.<br />

RD 104 Input Reception data<br />

RS 105 Output Transmission request<br />

CS 106 Input<br />

It is used to inform whether the remote buffer is ready to receive data or not.<br />

When the TR signal is on and this signal is on, the remote buffer is ready to<br />

receive data.<br />

Clear to send<br />

It is used to know the busy status at the host computer. When the RR signal<br />

is on and this signal is on, the host computer is regarded as being ready to<br />

receive data.<br />

TR 108.2 Output Terminal Ready<br />

(ER)<br />

When this signal is on, it is considered that the operation of remote buffer<br />

has been completed.<br />

In general, it is connected to the ER signal at the host computer. If it is<br />

turned off during transmission of data, an alarm results. If this signal is not<br />

used, always connect this to the ER signal at the CNC side.<br />

RR 109 Input Receiver Ready<br />

(DR)<br />

When this signal is on, it indicates that the host computer is ready to transmit<br />

data to the remote buffer. If this signal is not used, always connect it to the<br />

TR signal at the remote buffer side.<br />

TT 113 Output Transmission timing<br />

Transmission clock transmission terminal at the remote buffer side. When<br />

38400 baud or more is used, always connect it to the RT signal at the host<br />

computer side.<br />

RT 115 Input Reception timing<br />

Reception clock input terminal at the remote buffer side. When 38400 baud<br />

or more is used, always connect it to the TT signal at the host computer side.<br />

SG 102 Grounding for signal<br />

FG 101 Grounding for protection<br />

NOTE<br />

The signal turn on/off according to the following:<br />

A < B A > B<br />

Function OFF ON<br />

Signal Condition Marking Spacing<br />

Driver<br />

Receiver<br />

A<br />

B<br />

A<br />

B


B-63322EN-1/01 4. PROTOCOL A<br />

4 PROTOCOL A<br />

It is used for the handshake system where the communication between<br />

the remote buffer and host computer repeats transmission/reception<br />

each other.<br />

-13-


4. PROTOCOL A B-63322EN-1/01<br />

4.1 MESSA<strong>GE</strong> FORMAT<br />

2 byte<br />

3 byte<br />

The information (character-string) exchanged between the remote<br />

buffer and host computer is called “message”. The general type of<br />

message is shown as below:<br />

Field<br />

Byte<br />

length<br />

Abbreviation Meaning Remarks<br />

Checksum 2 No It is used to indicate the lower 8 bits of binary sum of all Transmit the MSB<br />

bytes from the command field to end code by two-digit<br />

hexadecimal number (0 – 9 and A – F).<br />

before the LSB.<br />

Command 3 No It is used to display the type of message (functions) and<br />

to specify the operation and response of the partner.<br />

Data 0 – n Yes It is the data part corresponding to a command.<br />

SAT, SET, DAT, RTY<br />

Abbreviate it when a command without data part is used.<br />

Details are described later.<br />

SDI, SDO<br />

End code 1 No It indicates the end of message. Not transmit a code<br />

(ETX)<br />

which is the same as an end code to data part.<br />

4.2 CODE SYSTEM<br />

Message<br />

Variable length (it can be omitted.)<br />

Sum Command Data part<br />

The communication codes between the remote buffer and host<br />

computer are described below:<br />

Field Command Code<br />

Related<br />

parameters<br />

Checksum --- ISO/ASCII 5000#2<br />

Command name --- ISO/ASCII 5000#2<br />

Data part<br />

DAT ISO/ASCII/EIA/Bin 0000#2<br />

Commands other<br />

than DAT<br />

ISO/ASCII 5000#2<br />

End code ---<br />

ISO/ASCII 5000#2<br />

CR/ETX 5000#3<br />

-14-<br />

/<br />

/<br />

1 byte<br />

ETX


B-63322EN-1/01 4. PROTOCOL A<br />

4.3 COMMUNICATION SYSTEM<br />

ER<br />

RS<br />

CS<br />

SD<br />

RD<br />

SD<br />

CS<br />

RS<br />

RD<br />

Approximately 2 seconds<br />

It is used to perform communication between the remote buffer and<br />

host computer. When the both are ready to operate after power on,<br />

the communication starts from the transmission of remote buffer and<br />

reception of host computer and then the transmission/reception is<br />

repeated.<br />

t1 > ti n1 < 3<br />

t2 n2<br />

t3<br />

0 < t2 < To n2 < No Tx


4. PROTOCOL A B-63322EN-1/01<br />

(4) Switching from reception to transmission<br />

The remote buffer waits for Tx msec (parameter setting time)<br />

and moves to the transmission process after completion of<br />

reception. When there is no transmission after waiting another<br />

parameter (Tp seconds), it is considered that an error occurred in<br />

the remote buffer.<br />

(5) Overrun on reception<br />

When the RS signal is turned off by the remote buffer on<br />

reception of signal, stop the transmission within the overrun<br />

parameter number bytes by the host computer.<br />

(6) Overrun on transmission<br />

When the CS is turned off on transmission of remote buffer, the<br />

transmission is suspended within 3 bytes including that which is<br />

currently being transmitted.<br />

-16-


B-63322EN-1/01 4. PROTOCOL A<br />

4.4 COMMAND<br />

4.4.1 Command Table<br />

Commands used in the protocol A are described below:<br />

Origin station R: Remote buffer H: Hoast computer<br />

Command<br />

Origin<br />

station<br />

Functions Data part<br />

Executed command<br />

at CNC side<br />

SYN R Initialization command<br />

It is used to command the initialization of host.<br />

Meaningless SYN<br />

H Response of SYN<br />

Response when the initialization does not end yet<br />

Initialization command<br />

It is command to initialize the remote buffer.<br />

Meaningless<br />

RDY R Notice of initialization end<br />

The host should respond the RDY in the case of end<br />

of initialization or the SYN when the initialization has<br />

not ended.<br />

Meaningless RDY, SYN<br />

H Notice of initialization end<br />

It is used to notice that the initialization of host has<br />

ended.<br />

Meaningless<br />

RST R Notice of CNC reset<br />

Immediately after the CNC is reset, transmit this<br />

command when it is possible to transmit signal.<br />

Meaningless ARS<br />

ARS H Response corresponding to the RST Meaningless<br />

ALM R Notice of CNC alarm occurrence<br />

When an alarm occurs in CNC, transmit this<br />

command when it is possible to transmit immediately<br />

after that.<br />

Meaningless AAL<br />

AAL H Response corresponding to the ALM Meaningless<br />

SAT R Notice of remote buffer status<br />

Status SET......... Normal<br />

It is used to notice the status of remote buffer by<br />

CLB<br />

transmitting it when there is no data to be especially<br />

RDI<br />

transmitted while the Tp sec has passed after<br />

SDO<br />

receiving the command.<br />

SYN<br />

SET H Response corresponding to the SAT<br />

Modification<br />

It is used to modify the setting parameter of remote<br />

buffer by specifying the data part.<br />

parameter<br />

GTD R Transmit command of NC data<br />

Meaningless DAT ........ Normal<br />

Transmit this command when the space of remote<br />

EOB ........ End<br />

buffer exceeds Nb bytes of parameter setting value<br />

WAT ....... Busy<br />

in the remote operation status.<br />

RDI<br />

SDO<br />

DAT H Response corresponding to the GTD<br />

Transmit this command with the NC data.<br />

NC data<br />

WAT H Response corresponding tot he GTD<br />

Transmit this command if the NC data cannot be<br />

transmitted within To when the GTD has been<br />

received.<br />

The GTD is transmitted again by the remote buffer<br />

after a parameter setting time of Tw.<br />

Meaningless<br />

-17-


4. PROTOCOL A B-63322EN-1/01<br />

Command<br />

Origin<br />

station<br />

Functions Data part<br />

Executed command<br />

at CNC side<br />

EOD H Response corresponding to GTD<br />

Transmit this command when the GTD has been<br />

received while the transmission of NC data has<br />

been completed.<br />

Meaningless<br />

CLB H Buffer clear<br />

It can be transmitted as the response of SAT when<br />

the buffer at the remote buffer side is to be cleared.<br />

Meaningless<br />

RDI H DI reading request<br />

It is used to request transmission of image of<br />

specified 8-bit DI.<br />

The DI image at that time is responded by the SDI<br />

command in the remote buffer.<br />

This command can be transmitted as responses of<br />

SAT and GTD.<br />

Meaningless<br />

SDI R Notice of DI<br />

DI image Response<br />

It is used to transmit the signal status of DI as the<br />

corresponding to the<br />

response of RDI command.<br />

The host should transmit the response of command<br />

received immediately before transmitting the RDI<br />

after receiving this command.<br />

GTD/SAT<br />

SDO H DO output request<br />

It is used to command that the 8-bit image of data<br />

part should be output to the DO.<br />

It can be transmitted as responses of SAT, GTD,<br />

and SDI.<br />

DO image<br />

RTY R/H Request of retransmission<br />

Reason for Command<br />

It is used to request the retransmission of the same retransmission transmitted<br />

message as before.<br />

Immediately transmit this command when a<br />

transmit error is detected during reception of<br />

messages.<br />

immediately before<br />

-18-


B-63322EN-1/01 4. PROTOCOL A<br />

4.4.2 Description of Data Part<br />

Data part of message is of variable length. Up to 4096 and 72 bytes<br />

can be received/transmitted in the case of and the others,<br />

respectively.<br />

1) Data part of SAT<br />

Byte<br />

position<br />

Meaning and code<br />

Default value<br />

(hexadecimal)<br />

1 Switching of remote/tape operations<br />

According to parameter (Data No. 5000, #1)<br />

setting. (*C)<br />

0<br />

2 Status of remote buffer<br />

0: Non-completion status of operation<br />

preparation<br />

1: Reset status<br />

2: Operation status<br />

3: Alarm status<br />

4: Open line<br />

0<br />

3 Causes of shift to alarm status<br />

0: NC alarm<br />

1: Checksum error (retry over)<br />

6: Reception of unexpected response<br />

(command error)<br />

A: Overrun error (retry over)<br />

0<br />

4 Not used ---<br />

5 - 8 Number of bytes currently stored in the buffer<br />

(Four-digit hexadecimal number)<br />

0000<br />

9 - 12 Current value of parameter Nb<br />

Empty area limit of buffer<br />

(Four-digit hexadecimal number)<br />

07D0<br />

13 - 16 Current value of parameter No<br />

Amount of maximum overrun on reception<br />

(Four-digit hexadecimal number)<br />

0032<br />

17 - 20 Current value of parameter No<br />

Number of times of retry on detecting a<br />

transmission error (Four-digit hexadecimal<br />

number)<br />

000A<br />

21 - 24 Current value of parameter Tp<br />

Polling time interval (second)<br />

(Four-digit hexadecimal number)<br />

0005<br />

25 - 28 Current value of parameter To<br />

Time-out time (second)<br />

(Four-digit hexadecimal number)<br />

0014<br />

29 - 32 Current value of parameter Ti<br />

Minimum time interval between bytes<br />

transmitted (Four-digit hexadecimal number)<br />

000A<br />

33 - 36 Current value of parameter Tx<br />

Minimum switching time from reception to<br />

transmission (Four-digit hexadecimal number)<br />

0064<br />

37 - 40 Current value of parameter Tw<br />

Waiting time on reception of (WAT)<br />

(Four-digit hexadecimal number)<br />

0005<br />

-19-


4. PROTOCOL A B-63322EN-1/01<br />

Byte<br />

Meaning and code<br />

position<br />

41 - 44 Unit for the boring time (four digits in<br />

hexadecimal)<br />

Setting parameter P2 to 1 sets the unit for the<br />

boring time to 0.1 seconds.<br />

15 0<br />

0000000000000P200 -20-<br />

Default value<br />

(hexadecimal)<br />

0000<br />

45 - 46 Note)<br />

Code to be converted (two-digit hexadecimal<br />

number)<br />

00<br />

47 - 78 Note)<br />

Code after conversion (two-digit hexadecimal<br />

number)<br />

00<br />

49 - 54 Reserve ---<br />

55 - 56 Packet length parameter n of expansion<br />

protocol A (two-digit hexadecimal number)<br />

00: Normal protocol A<br />

01: Expansion protocol A<br />

NC data length = 256 bytes<br />

Packet length = 260 bytes<br />

02: Expansion protocol A<br />

NC data length = 512 bytes<br />

Packet length = 516 bytes<br />

04: Expansion protocol A<br />

NC data length = 1024 bytes<br />

Packet length = 1028 bytes<br />

00<br />

57 - 72 Not used ---<br />

NOTE<br />

Bytes 45, 46, 47, and 48 of SAT<br />

These bytes contain the parameters necessary for the<br />

remote buffer to convert the protocol A command<br />

data and expansion protocol A data in the specified<br />

section. Specify the code to be converted in bytes 45<br />

and 46. Specify the code to which conversion is to be<br />

performed in bytes 47 and 48. For details, refer to<br />

Section 4.4.2 (3).


B-63322EN-1/01 4. PROTOCOL A<br />

SUM DAT<br />

a) Protocol A<br />

b) Expansion protocol A<br />

Section to be converted<br />

//<br />

<br />

The host computer handles an EOB code in an NC program as “;” and<br />

transmits it to the CNC as is. When ‘3’ and ‘B’ (= 3BH) are specified<br />

in SET command bytes 45 and 46, and ‘ ’ and ‘A’ (= 0AH) are<br />

specified in bytes 47 and 48, “;” is converted to “LF” which is then<br />

transmitted to the CNC.<br />

2) Data part of SET<br />

The format of data part of command is the same as that<br />

of data part of except the following points.<br />

Data part can be abbreviated when no parameter is modified.<br />

Byte<br />

position<br />

Meaning and code Remarks<br />

1 Switching request of remote/tape operations<br />

2 Status of host computer Ignore<br />

3 - 8 Not used<br />

9 - 48 Modified value of parameter<br />

49 - 54 Not used<br />

55 - 56 Parameter for expansion protocol<br />

57 - 72 Not used<br />

3) Data part of DAT<br />

Section to be converted<br />

Up to 4096 bytes of NC data can be received at the data part of<br />

command .<br />

Transmit the NC data depending on the specifications of NC<br />

since no data process is performed in the remote buffer other<br />

than the conversion code set by the parameter.<br />

Also, always add the EOR code to the end of NC program.<br />

-21-<br />

//<br />

Data ETX<br />

//<br />

Data No SUM ETX<br />

//


4. PROTOCOL A B-63322EN-1/01<br />

4) Data part of SDI<br />

Byte<br />

position<br />

Meaning<br />

1 - 2 2-byte hexadecimal display of 8-bit contents of DI<br />

(PMC address: G152)<br />

3 - 72 Not used (it can be omitted.)<br />

1) Data part of SDO<br />

Byte<br />

position<br />

Meaning<br />

1 - 2 2-byte hexadecimal display of 8-bit contents of DO<br />

(PMC address: F152)<br />

3 - 72 Not used (it can be omitted.)<br />

6) Data part of RTY<br />

Byte<br />

Meaning<br />

position<br />

1 Reason for requesting retransmission<br />

1: Checksum error<br />

3: Overrun error (Data received after RS has been turned off)<br />

2 - 72 Not used (it can be omitted.)<br />

7) Data part of other commands<br />

Byte<br />

position<br />

Meaning<br />

1 - 72 Not used (it is generally omitted.)<br />

-22-


B-63322EN-1/01 4. PROTOCOL A<br />

4.5 PARAMETER TABLE<br />

Parameters which can be set in the data part of SET command are<br />

shown as below:<br />

Parameter Meaning Unit Range<br />

On turning<br />

on power<br />

Nb Number of bytes of minimum buffer empty area on transmission of<br />

GTD<br />

(Note 1)<br />

Byte 1 - 4000 2000<br />

No Maximum amount of overrun on reception of data Byte 2 - 2000 50<br />

Ne Number of retry times on detection of transmission error Times 0 - 100 10<br />

Tp Polling time interval Sec 1 - 99 5<br />

To Time-out time Sec 1 - 999 20<br />

Ti Minimum time interval between transmission bytes msec 0 - 10<br />

(Note 2)<br />

10<br />

Tx Minimum switching time from reception to transmission msec 0 - 100 100<br />

Tw Wait time on reception of WAT Sec 0 - Tp 5<br />

NOTE<br />

1 Setting value l+No≤Nb≤4000 (l : Data length for DAT<br />

command)<br />

2 2 msec step<br />

-23-


4. PROTOCOL A B-63322EN-1/01<br />

4.6 ERROR PROCESS<br />

1) Open-line error<br />

When the following error occurs, it may be an open line error.<br />

Restart the initialization of remote buffer for recovering the line.<br />

When the line is recovered, it waits for transmission of SYN and<br />

is SYN wait status.<br />

The procedures are the same as those of initialization on power<br />

on other than continuation or SYN of host computer.<br />

(1) Framing error<br />

(2) Overrun error<br />

(3) Parity error<br />

(4) Data Set Ready off<br />

(5) Buffer full (the transmission stop request is unacceptable.)<br />

(6) Time out<br />

(7) Number of retry times has been exceeded.<br />

2) Reception error<br />

Ignore the reception data and restart the reception of SAT<br />

command at the remote buffer side when the following errors<br />

occurs.<br />

(1) Number of retry times exceeded<br />

Number of RTY reception times + Number of<br />

retransmission by checksum error > Ne<br />

(2) Command error<br />

Message format error<br />

Reception of undefined command<br />

Reception of unexpected command<br />

(3) Overrun<br />

This results if the transmission stop request is not accepted<br />

and the reception buffer is overflown.<br />

3) Reception during transmission<br />

Data received during transmission is ignored.<br />

-24-


B-63322EN-1/01 4. PROTOCOL A<br />

4.7 STATUS TRANSITION<br />

The status transition diagram of remote buffer is shown as below:<br />

Turning on power<br />

Non-completed status of<br />

operation preparation<br />

0<br />

SYN reception RDY reception<br />

NC reset<br />

EOD reception<br />

Reset status<br />

1<br />

Remote operation<br />

status<br />

2<br />

NOTE<br />

1 Causes of line error<br />

(1) DR off<br />

(2) Number of retry times over<br />

(3) Time out<br />

(4) Buffer full<br />

2 Reception error<br />

(1) Undefined command<br />

(2) Unexpected command<br />

(3) Number of retry times over by sum error<br />

(4) Overrun<br />

-25-<br />

GTD<br />

transmission<br />

Line error Note 1<br />

NC reset<br />

Reception error<br />

NC alarm<br />

Line error<br />

Reception error<br />

NC alarm (Note 2)<br />

Open line status<br />

4<br />

Alarm status<br />

3<br />

After 2 msec<br />

Line error<br />

(Note 1)


5. EXPANSION PROTOCOL A B-63322EN-1/01<br />

5 EXPANSION PROTOCOL A<br />

It allows the NC data between the remote buffer and host computer to<br />

be efficiently transferred by adding the high-speed reception function<br />

to the protocol A.<br />

-26-


B-63322EN-1/01 5. EXPANSION PROTOCOL A<br />

5.1 COMMUNICATION SYSTEM<br />

The expansion protocol A is the same as the protocol A excluding the<br />

transmission of NC data.<br />

The expansion protocol A mode is initiated after the is output<br />

to the host computer by the remote buffer according to the data<br />

request from the CNC side.<br />

The communication system is performed in the full duplex mode in<br />

the expansion protocol A. The NC data transmitted is packeted and is<br />

transmitted to the remote buffer by the host computer. Also, perform<br />

the reception process of monitor packet from the remote buffer.<br />

Protocol<br />

A<br />

mode<br />

-27-<br />

GTD transmission<br />

End packet<br />

Mode transition<br />

Expansion<br />

protocol A<br />

mode<br />

Packet transmission/<br />

reception


5. EXPANSION PROTOCOL A B-63322EN-1/01<br />

5.2 DATA PACKET FORMAT<br />

The NC data is transferred to the remote buffer using the following<br />

format by the host computer after receiving the .<br />

When the NC data transmitted becomes multiple packets, the packets<br />

can be transmitted in order without waiting the response from the<br />

remote buffer by the host computer.<br />

NC data<br />

1) NC data<br />

The NC data is the fixed length of “256*n” bytes and the n is<br />

specified with the parameter (byte position 55 to 56) by the<br />

command.<br />

The default value of n is 0. In the case of “n = 0”, the normal<br />

protocol A is used.<br />

n = 0 : Normal protocol A<br />

n = 1, 2, 4 : Expansion protocol A<br />

NOTE<br />

Note that n is set to 0 automatically even if n is set to the<br />

values other than listed above.<br />

2) Packet No.<br />

( "256*n" byte )<br />

Calculation range of checksum<br />

a) Effective packet : 30h – 39h (ASCII code)<br />

Be sure to assign packet No. 30h to the first packet. If there<br />

is only one effective packet, assign FFh to the packet, since<br />

it is not only the first but also the last packet.<br />

If there is more than one effective packet, packet No. 30h is<br />

transmitted to the host computer by the remote buffer, along<br />

with the monitor packet of retransfer request.<br />

Hereafter, the value incremented by 1 should be the packet<br />

No.<br />

However, the value next to 39h becomes 30h.<br />

If there is only one packet, the packet is both the first and<br />

the last; be sure to assign FFh.<br />

Also, when the loss or improper order of packet No. is<br />

detected, the improper packet No. is transmitted to the host<br />

computer along with the monitor packet No. .<br />

When the checksum error is detected, the improper packet<br />

No. is transmitted to the host computer with the monitor<br />

packet of retransfer request by the remote buffer.<br />

-28-<br />

Packet<br />

No.<br />

(1 byte)<br />

Checksum<br />

(2 byte)<br />

End code<br />

(1 byte)


B-63322EN-1/01 5. EXPANSION PROTOCOL A<br />

b) End packet : FFh<br />

The end packet is transmitted by setting the packet No. to<br />

FFh. The data part of end packet is considered to be the<br />

effective data. However, the end packet received after<br />

transmitting ignores the data part.<br />

This allows the expansion protocol A mode to be ended and<br />

the normal protocol A mode is initiated.<br />

However, when the checksum error is detected at the end<br />

packet, the before packet No. +1 is transmitted as the end<br />

packet No. to the host computer with monitor packet<br />

of retransmission request. (Note)<br />

The host computer should shift to the protocol A when the<br />

command of protocol A is received after transmitting the<br />

end packet.<br />

NOTE<br />

If FFh is assigned to the first packet, packet No. 0 is<br />

transmitted to the host computer with , since this<br />

packet is the last packet.<br />

c) Invalid packet : Other than above<br />

Transmit this invalid packet with the dummy data of<br />

“256*n” bytes when the time out may occur since time is<br />

required for editing of NC data transmitted by the host<br />

computer.<br />

The remote buffer is processed as an invalid packet.<br />

3) Checksum<br />

The checksum is obtained by adding the NC data to the packet<br />

No. in units of byte and then expressing the 1 byte data produced<br />

by neglecting the overflow above 8 bits out of the total value<br />

above using ASCII 2-byte code.<br />

4) End code<br />

The end code should be the ASCII code CR (0Dh).<br />

-29


5. EXPANSION PROTOCOL A B-63322EN-1/01<br />

5.3 MONITOR PACKET FORMAT<br />

The monitor packets transmitted from the remote buffer to the host<br />

computer are shown as below. All packets have the fixed length<br />

consisting of 5 bytes.<br />

1) Stop request<br />

CAN<br />

( 18h )<br />

The stop request is transmitted to the host computer by the<br />

remote buffer when resetting the NC and stopping data reception<br />

by an alarm.<br />

Transmit the end packet (the NC is dummy) after transmitting<br />

the packet which is currently being transmitted and move to the<br />

normal protocol A mode when this packet is received by the host<br />

computer.<br />

If the end packet was being transmitted when the CAN packet<br />

was received, the end packet need not be retransmitted in<br />

response to CAN.<br />

Transmit the end packet even in the DC3 reception status.<br />

2) Retransmission request<br />

NAK<br />

( 15h )<br />

When a check sum error is detected in the received packet, the<br />

retransmission request corresponding to the packet is transmitted<br />

by the remote buffer.<br />

The host computer should perform retransmission from the<br />

corresponding packet immediately after ending the transmission<br />

of packet which is currently being transmitted when it receives<br />

this packet.<br />

-30-<br />

Meaningless<br />

(20h )<br />

Packet No.<br />

(1 byte)<br />

Checksum<br />

( 2 b y t e )<br />

Checksum<br />

( 2 b y t e )<br />

End code<br />

( 0Dh )<br />

End Code<br />

(0Dh )


B-63322EN-1/01 5. EXPANSION PROTOCOL A<br />

3) Interruption request<br />

DC3<br />

(93h )<br />

The interruption request is transmitted to the host computer by<br />

the remote buffer when the reception buffer may become<br />

overflown.<br />

The host computer should interrupt the transmission and wait<br />

until the next monitor packet is received after completing the<br />

transmission of packet which is currently being transmitted when<br />

it receives this packet.<br />

4) Restart request<br />

DC1<br />

( 11h )<br />

The restart request is transmitted to the host computer by the<br />

remote buffer when there is space in the reception buffer after<br />

requesting interruption.<br />

The host computer should restart the transmission from the next<br />

packet following the interrupted one when this packet is<br />

received.<br />

-31-<br />

Meaningless<br />

( 20h )<br />

Meaningless<br />

( 20h )<br />

Checksum<br />

( 2 b y t e )<br />

Checksum<br />

( 2 b y t e )<br />

End code<br />

(0Dh )<br />

End code<br />

(0Dh )


5. EXPANSION PROTOCOL A B-63322EN-1/01<br />

5.4 COMMUNICATION EXAMPLE<br />

Remote buffer<br />

1) Normal<br />

< GTD ><br />

Packet (0)<br />

Packet (1)<br />

Packet (2)<br />

Packet (3)<br />

End packet (0FFh)<br />

< SAT ><br />

< SET ><br />

-32-<br />

Host computer


B-63322EN-1/01 5. EXPANSION PROTOCOL A<br />

Remote buffer<br />

RESET<br />

2) Stop request<br />

< GTD ><br />

Packet (0)<br />

Packet (1)<br />

Packet (2)<br />

End Packet (0FFh)<br />

< RST ><br />

< ARS ><br />

< SAT ><br />

< SET ><br />

-33-<br />

"CAN"<br />

(Dummy data)<br />

Host computer


5. EXPANSION PROTOCOL A B-63322EN-1/01<br />

Remote buffer<br />

Checksum error<br />

detection<br />

3) Retransmission (i)<br />

< GTD ><br />

Packet (0)<br />

Packet (1)<br />

Packet (2)<br />

Packet (1)<br />

Packet (2)<br />

Packet (3)<br />

End packet (0FFh)<br />

< SAT ><br />

< SET ><br />

-34-<br />

"NAK" (1)<br />

Host computer<br />

Retransmit from<br />

the packet (1)


B-63322EN-1/01 5. EXPANSION PROTOCOL A<br />

Remote buffer<br />

Checksum error<br />

detection<br />

3) Retransmission (ii)<br />

< GTD ><br />

Packet (0)<br />

Packet (1)<br />

Packet (2)<br />

Packet (3)<br />

End Packet (0FFh)<br />

"NAK" (4)<br />

End Packet (0FFh)<br />

< SAT ><br />

< SET ><br />

-35-<br />

Host computer


5. EXPANSION PROTOCOL A B-63322EN-1/01<br />

Remote buffer<br />

Packet No.<br />

Out-of-order<br />

detection<br />

Packet No.<br />

Out-of-order<br />

detection<br />

3) Retransmission (iii)<br />

< GTD ><br />

Packet (1)<br />

Packet (2)<br />

Packet (0)<br />

Packet (1)<br />

Packet (3)<br />

End packet (0FFh)<br />

Packet (2)<br />

Packet (3)<br />

< SAT ><br />

< SET ><br />

-36-<br />

"NAK" (0)<br />

" NAK" (2)<br />

End packet (0FFh)<br />

Host computer


B-63322EN-1/01 5. EXPANSION PROTOCOL A<br />

Remote buffer<br />

Empty buffer<br />

Remaining<br />

less than<br />

2 Packet s<br />

Empty buffer<br />

Remaining<br />

more than<br />

3 Packet s<br />

4) Interruption → Restart<br />

< GTD ><br />

Packet (0)<br />

Packet (1)<br />

Packet (2)<br />

Packet (3)<br />

" DC1"<br />

End Packet (0FFh)<br />

< SAT ><br />

< SET ><br />

-37-<br />

"DC3"<br />

Host computer


5. EXPANSION PROTOCOL A B-63322EN-1/01<br />

Remote buffer<br />

Empty buffer<br />

Remaining<br />

one block<br />

RESET<br />

5) Interruption → Start<br />

< GTD ><br />

Packet (0)<br />

Packet (1)<br />

Packet (3)<br />

"CAN "<br />

End Packet (0FFH)<br />

< RST ><br />

< ARS ><br />

< SAT ><br />

< SET ><br />

-38-<br />

"DC3"<br />

(Dummy data)<br />

Host computer<br />

Transmit the end<br />

packet for ending<br />

the expansion<br />

protocol A although<br />

the DC3 is<br />

currently being<br />

received.


B-63322EN-1/01 5. EXPANSION PROTOCOL A<br />

Remote buffer<br />

Empty buffer<br />

Remaining<br />

one block<br />

Checksum error<br />

detection<br />

Empty buffer<br />

Remaining<br />

two blocks<br />

6) Interruption → Retransmission<br />

Packet (2)<br />

< GTD ><br />

Packet (0)<br />

Packet (1)<br />

"DC3"<br />

"NAK" (2)<br />

Packet (2)<br />

"DC1"<br />

Packet (3)<br />

End Packet (0FFh)<br />

< SAT ><br />

< SET ><br />

-39-<br />

Host computer<br />

Transmit only an<br />

error packet since<br />

the DC3 is receiving<br />

data.<br />

Restart transmission<br />

of packets following<br />

this after receiving<br />

DC1.


5. EXPANSION PROTOCOL A B-63322EN-1/01<br />

Remote buffer<br />

Time-out<br />

detection<br />

7) Time-out detection<br />

< GTD ><br />

Packet (0)<br />

< SYN ><br />

< SYN ><br />

< RDY ><br />

< RDY ><br />

< SAT ><br />

< SET ><br />

NOTE<br />

The time-out monitoring period lasts until the next one<br />

packet is received immediately after output of .<br />

After that, it is the time between reception of one packet<br />

and that of another.<br />

-40-<br />

Host computer


B-63322EN-1/01 6. PROTOCOL B<br />

6 PROTOCOL B<br />

The protocol B is used to control the communication between the<br />

remote buffer and host computer by the control code.<br />

-41-


6. PROTOCOL B B-63322EN-1/01<br />

6.1 COMMUNICATION SYSTEM<br />

The communication system can be in either of two settings, one in<br />

which the CNC reset/alarm state is posted to the host and the other in<br />

which it is not posted. When ETX (bit 3 of parameter No. 5000) is 1,<br />

the system is in the setting in which the state is posted.<br />

6.1.1 When the CNC Alarm/Reset is not Posted to the Host<br />

ER (output)<br />

RS (output)<br />

SD (output)<br />

RD (input)<br />

DR (input)<br />

CS (input)<br />

1) When the remote buffer receives data<br />

The remote buffer requests the host computer to send data.<br />

10 ms or more 100 ms or more<br />

1 ms or more<br />

DC1<br />

DC3<br />

(1) The remote buffer transmits the DC1 code.<br />

(2) The host computer starts to transmit the DC3 code to the<br />

remote buffer by the DC1 code.<br />

(3) When the empty area of remote buffer area becomes the<br />

value specified, the DC3 code is transmitted.<br />

(4) The host computer should stop transmission to the remote<br />

buffer by the DC3 code. The overrun value is specified<br />

later.<br />

(5) The remote buffer transmits the DC1 code when the<br />

remainder of buffer data becomes less than the level<br />

specified and requests the host computer to start<br />

transmitting data.<br />

(6) The host computer should start transmitting data again by<br />

the DC1 code. The transmission data is a continuation of<br />

previous data.<br />

-42-<br />

DC1<br />

Overrun<br />

DC3<br />

ER code


B-63322EN-1/01 6. PROTOCOL B<br />

ER (output)<br />

RS (output)<br />

SD (output)<br />

DR (input)<br />

CS (input)<br />

ER (output)<br />

RS (output)<br />

SD (output)<br />

RD (input)<br />

DR (input)<br />

CS (input)<br />

(7) The remote buffer transmits the DC3 code when the data<br />

read is completed. The end of data read is indicated by the<br />

detection of ER or NC reset.<br />

(8) The host computer stops transmission of data.<br />

2) When the remote buffer sends data (punch-out)<br />

(Fig. A)<br />

10 ms or more 100 ms or more<br />

1 ms or more<br />

DC2<br />

2 characters or less<br />

(Fig. B)<br />

10 ms or more 100 ms or more<br />

1 ms or more<br />

DC2<br />

DC3 DC1<br />

Overrun<br />

-43-<br />

DC4<br />

DC4


6. PROTOCOL B B-63322EN-1/01<br />

(1) The remote buffer transmits the DC2 code.<br />

(2) The remote buffer then transmits punch-out information.<br />

(3) If the processing speed of the host computer is not high<br />

enough to handle arriving data, perform one of the<br />

following:<br />

(a) Turn the CS signal of the remote buffer off. The<br />

remote buffer stops data transmission within two<br />

characters including the character being sent. (See Fig.<br />

A.)<br />

(b) Send a DC3 code to the remote buffer. The remote<br />

buffer stops data transmission within the overrun,<br />

which will be explained later, from the point when<br />

DC3 is sent. To make the remote buffer resume data<br />

transmission, send a DC2 code to the remote buffer.<br />

(See Fig. B.)<br />

(4) When the host computer completes data processing, turn<br />

the CS signal of the remove buffer on. Then, the remote<br />

buffer sends the data following the previous data.<br />

(5) When data transmission is completed, the remote buffer<br />

sends the DC4 code.<br />

6.1.2 When the CNC Alarm/Reset is Posted to the Host<br />

When the remote buffer becomes ready after the power is turned on,<br />

the remote buffer turns the ER signal on, and keeps the ER signal on<br />

until the power is turned off. When an alarm occurs in the NC, the<br />

NAK code is sent to the host computer, and when the NC is reset, the<br />

SYN code is sent to the host computer. This is not performed,<br />

however, if the host computer is not ready for reception (each of the<br />

DR, CD, and CS signals is on).<br />

-44-


B-63322EN-1/01 6. PROTOCOL B<br />

ER (output)<br />

RS (output)<br />

SD (output)<br />

RD (input)<br />

DR (input)<br />

CD (input)<br />

CS (input)<br />

ON<br />

ER (output)<br />

ON<br />

RS (output)<br />

SD (output)<br />

RD (input)<br />

DR (input)<br />

CD (input)<br />

CS (input)<br />

1) When the remote buffer is neither receiving nor transmitting data<br />

CNC power-on Reset or alarm Reset or alarm Reset or alarm<br />

(1)<br />

DC1<br />

Ignored period Valid period Ignored period<br />

The “SYN” or “NAK” code is output upon reset of the CNC or the<br />

detection of a CNC alarm, but only during the valid period shown in<br />

the above figure.<br />

2) When the remote buffer is receiving or transmitting data<br />

<br />

-45-<br />

SYN or NAK<br />

(3)<br />

DC3<br />

Reset or alarm<br />

(5)<br />

DC1<br />

(7)<br />

DC3<br />

(2) (4) (6) (8)<br />

SYN or<br />

NAK


6. PROTOCOL B B-63322EN-1/01<br />

ON<br />

ER (output)<br />

ON<br />

RS (output)<br />

SD (output)<br />

DR (input)<br />

CS (input)<br />

DC2<br />

(1)<br />

(2)<br />

(1) The remote buffer transmits the DC1 code.<br />

(2) Upon receiving the DC1 code, the host computer shall start<br />

transmitting data to the remote buffer.<br />

(3) Once the amount of free space in the remote buffer falls below<br />

the specified value, the remote buffer transmits the DC3 code.<br />

(4) Upon receiving the DC3 code, the host computer shall stop<br />

transmitting data to the remote buffer.<br />

(5) Once the amount of data in the remote buffer falls below the<br />

specified value, the remote buffer transmits the DC1 code to<br />

request that the host computer restart data transmission.<br />

(6) Upon receiving the DC1 code, the host computer shall restart<br />

data transmission, picking up from the data immediately after<br />

that transmitted last.<br />

(7) When the CNC has been reset or an alarm has been issued in the<br />

CNC, the remote buffer transmits, to the host computer, the DC3<br />

code, followed by the SYN code (for reset) or NAK code (for an<br />

alarm). Thus, data reading is terminated.<br />

(8) The host computer shall stop data transmission.<br />

<br />

(Fig. A)<br />

(3) (4)<br />

-46-<br />

Reset or alarm<br />

DC4 (5) SYN or<br />

NAK<br />

If a CNC reset or CNC alarm occurs during<br />

this period, DC4, SYN, or NAK is not<br />

transmitted.


B-63322EN-1/01 6. PROTOCOL B<br />

ON<br />

ER (output)<br />

ON<br />

RS (output)<br />

SD (output)<br />

RD (input)<br />

DR (input)<br />

CS (input)<br />

DC2<br />

(1)<br />

(2)<br />

(Fig. B)<br />

DC3 DC1<br />

(3)<br />

(4)<br />

(1) The remote buffer transmits the DC2 code.<br />

(2) The remote buffer starts transmitting punch-out data.<br />

(3) If data processing in the host computer cannot keep pace with<br />

the rate of data transmission from the remote buffer:<br />

(a) Turning off the CS signal for the remote buffer causes the<br />

remote buffer to stop data transmission after transmitting a<br />

maximum of most two characters, including the character<br />

currently being transmitted. (See Fig. A.)<br />

(b) Transmitting a DC3 code to the remote buffer causes the<br />

remote buffer to stop data transmission, such that the<br />

amount of data transmitted after transmission of the DC3<br />

code does not exceed the overrun. (See Fig. B.)<br />

NOTE<br />

If the RBETX bit of parameter No. 5000 is set to 1,<br />

method (a) cannot be used because, while the CS signal<br />

is off, a SYN/NAK or DC4 code is not transmitted even if<br />

CNC reset or a CNC alarm occurs. In such a cause, use<br />

method (b).<br />

(4) For method (a) in step (3)<br />

Once data processing by the host computer terminates, turning<br />

on the CS signal for the remote buffer causes the remote buffer<br />

to restart data transmission, picking up from the data<br />

immediately after that transmitted last.<br />

For method (b) in step (3)<br />

Transmitting a DC1 code to the remote buffer causes the remote<br />

buffer to restart data transmission.<br />

(5) When the CNC has been reset or an alarm has been issued in the<br />

CNC, the remote buffer transmits, to the host computer, a DC4<br />

code, followed by a SYN code (for reset) or NAK code (for an<br />

alarm).<br />

-47-<br />

Reset or alarm<br />

DC4<br />

(5)<br />

SYN or<br />

NAK


6. PROTOCOL B B-63322EN-1/01<br />

6.2 CONTROL CODE<br />

6.3 BUFFER CONTROL<br />

Protocol Interface MAX baud rate<br />

DC3 transmission<br />

conditions<br />

Protocol B RS-232-C 19200 Remaining characters = 4096<br />

characters<br />

Allowable<br />

overrun value<br />

Less than 512<br />

characters<br />

Less than 2560<br />

characters


B-63322EN-1/01 6. PROTOCOL B<br />

6.4 ALARM AND RESET OF CNC<br />

Once an alarm has been issued in the CNC, or upon the CNC being<br />

reset, the remote buffer transmits the DC3 code, then:<br />

(1) When the CNC reset/alarm state is not to be posted to the host<br />

(parameter No. 5003 bit 3 = 0)<br />

Turns off the ER signal, then performs close processing.<br />

(2) When the CNC reset/alarm state is to be posted to the host<br />

(parameter No. 5003 bit 3 = 1)<br />

Transmits the “SYN” or “NAK” code to the host, then performs<br />

close processing.<br />

NOTE<br />

1 When the parameter is set to post the CNC reset/alarm<br />

to the host, the CNC terminates communication upon the<br />

occurrence of an alarm in the CNC during<br />

communication in either of the following cases:<br />

(1) For foreground operation: The reset key or the STOP<br />

key (soft key) is pressed.<br />

(2) For background operation: The STOP key (soft key)<br />

is pressed. (A reset does not cause communication<br />

to terminate.)<br />

2 When the remote buffer transmits data (for punch-out),<br />

pressing the STOP soft key of the CNC cannot stop the<br />

data transmission until all the buffered data between the<br />

CNC and remote buffer has been transmitted to the host<br />

computer.<br />

To stop data transmission immediately, press the RESET<br />

key.<br />

-49-


7. EXPANSION PROTOCOL B (RS-422) B-63322EN-1/01<br />

7 EXPANSION PROTOCOL B (RS-422)<br />

TR (output)<br />

RS (output)<br />

SD (output)<br />

RD (input)<br />

RR (input)<br />

CS (input)<br />

TR (output)<br />

RS (output)<br />

SD (output)<br />

RD (input)<br />

RR (input)<br />

CS (input)<br />

DC1<br />

DC2<br />

The expansion protocol B is a protocol used to enable high-speed<br />

transmission with a simple protocol. The communication system is<br />

the same as that of protocol B.<br />

However, the overrun value after transmission of DC3 is limited to<br />

1280 characters or less to enable high-speed transmission.<br />

* When the remote buffer receives data<br />

DC3<br />

* When the remote buffer transmits data<br />

-50-<br />

DC1 DC3<br />

ER code<br />

2560 characters or less 2560 characters or less<br />

DC3<br />

2560 characters or less<br />

DC1<br />

DC4


B-63322EN-1/01 8. DATA INTERFACE<br />

8 DATA INTERFACE<br />

-51-


8. DATA INTERFACE B-63322EN-1/01<br />

8.1 DATA PART<br />

Data received from the host computer is largely classified into two<br />

parts, namely the control part and data part.<br />

With the protocol B/expansion protocol B, all data received from the<br />

host computer become the data part.<br />

See the following figure for the data part of protocol A/expansion<br />

protocol A.<br />

1) Protocol A<br />

Packet configuration of <br />

Control part Data part<br />

/<br />

ETX<br />

Sum Command Data<br />

/<br />

ETX<br />

8.2 INTERFACE OF DATA PART<br />

2) Expansion protocol A<br />

Configuration of response packet for <br />

Data part<br />

/<br />

Control part<br />

Data<br />

No. Sum<br />

/<br />

The interface of data part is in conformity the provisions of data<br />

which can be handled through the serial port by the CNC.<br />

The end of data part is judged by the detection of EOR code. Also,<br />

all data after EOR code is ignored.<br />

In general, the data part configuration is as shown below. However,<br />

in the case of DNC operation, the data already received will be lost by<br />

the CNC reset.<br />

Significant information<br />

% ; Program-1 M02 ; Program-2 M02 ; .... ; Program-N M02 ; %<br />

-52-<br />

ETX


B-63322EN-1/01 9. BINARY INPUT OPERATION FUNCTION<br />

9 BINARY INPUT OPERATION FUNCTION<br />

-53-


9. BINARY INPUT OPERATION FUNCTION B-63322EN-1/01<br />

9.1 FUNCTION EXPLANATION<br />

High<br />

byte<br />

byte<br />

Low<br />

byte<br />

High<br />

byte<br />

Once a single "G05;" block is specified in normal NC command<br />

format, operation can be performed by specifying desired move data<br />

and auxiliary functions in the following format.<br />

By specifying zero for all of the travel distances along all axes and the<br />

auxiliary function, the system subsequently accepts commands in<br />

normal NC command format again..<br />

• Binary input operation on: G05;<br />

• Binary input operation off: Zero specified for all of the travel<br />

distances along all axes and the auxiliary function<br />

Low<br />

byte<br />

Host computer<br />

• Data format for binary input operation<br />

• • •<br />

-54-<br />

High<br />

byte<br />

RS232C or<br />

RS422<br />

First axis Second axis N-th axis Auxiliary function<br />

Order of data items<br />

Low<br />

byte<br />

Fourth<br />

byte<br />

• • •<br />

CNC<br />

(FS15i)<br />

Remote buffer<br />

First<br />

byte<br />

Check<br />

byte<br />

(1) In this format, the travel distance per unit time along each axis<br />

(two bytes) is arranged for all axes, starting with the first axis,<br />

followed by an auxiliary function (four bytes. See (6).) and by<br />

the check byte (one byte).<br />

(2) The unit time in msec can be specified with bits 0, 1, and 2 of<br />

parameter No. 7618.<br />

(3) All data must be in binary representation.


B-63322EN-1/01 9. BINARY INPUT OPERATION FUNCTION<br />

(4) The travel distance along each axis must be specified in the<br />

following units. (Negative travel distances must be in two’scomplement<br />

form.)<br />

Millimeter<br />

machine<br />

Inch<br />

machine<br />

Rotation<br />

axis<br />

IS_A IS_B IS_C IS_D IS_E Unit<br />

0.01 0.001 0.0001 0.00001 0.000001 mm<br />

0.001 0.0001 0.00001 0.000001 0.0000001 inch<br />

0.01 0.001 0.0001 0.00001 0.000001 deg<br />

(5) The following data formats can be selected for the travel<br />

distance, using RDS (bit 2 of parameter No. 7609). (Specify the<br />

travel distance per unit time using the bits marked with the<br />

asterisk (*).)<br />

• Special format (bit 2 of parameter No. 7609 = 0)<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

* * * * * * * 0 * * * * * * * 0<br />

• General format (bit 2 of parameter No. 7609 = 1)<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

* * * * * * * * * * * * * * * *<br />

(Example) If the travel distance per unit time is 700 microns<br />

(Millimeter machine, unit: IS_B.)<br />

• Special format (bit 2 of parameter No. 7609 = 0)<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

0 0 0 0 1 0 1 0 0 1 1 1 1 0 0 0<br />

• General format (bit 2 of parameter No. 7609 = 1)<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

0 0 0 0 0 0 1 0 1 0 1 1 1 1 0 0<br />

NOTE<br />

For the protocol A, the data format for the travel distance<br />

must always be the special one.<br />

(6) Whether to use auxiliary functions can be specified with RAX<br />

(bit 3 of parameter No. 7609).<br />

• Bit 3 of parameter No. 7609 = 0 …<br />

Does not use auxiliary functions.<br />

(The data length is [2 * N + 1] bytes.)<br />

-55-


9. BINARY INPUT OPERATION FUNCTION B-63322EN-1/01<br />

• Bit 3 of parameter No. 7609 = 1 ...<br />

Uses auxiliary functions.<br />

(The data length is [2 * N + 5] bytes.)<br />

(7) When the parameter is set to use auxiliary functions, specify the<br />

auxiliary functions to be used, using parameter No. 2034, as<br />

follows:<br />

• "0"... Second auxiliary functions<br />

• "1"... Miscellaneous functions<br />

• "2"... S functions<br />

• "3"... T functions<br />

(8) The following data formats can be selected for the auxiliary<br />

function, using RDS (bit 2 of parameter No. 7609). (Specify<br />

data using the bits marked with the asterisk (*) and specify<br />

whether the data is significant using the MSB.)<br />

• Special format (bit 2 of parameter No. 7609 = 0)<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

* * * * * * * 0 * * * * * * * 0<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

* * * * * * 0 * * * * * * * 0<br />

MSB = 1: The data is significant.<br />

MSB = 0: The data is not significant.<br />

• General format (bit 2 of parameter No. 7609 = 1)<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

* * * * * * * * * * * * * * * *<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

* * * * * * * * * * * * * * *<br />

MSB = 1: The data is significant.<br />

MSB = 0: The data is not significant.<br />

When the MSB is 1, the data specified with the bits marked with the<br />

asterisk (*) is sent to the auxiliary function, described above.<br />

After the time set for parameter No. 2010 has elapsed, a strobe signal<br />

is sent for the time set for parameter No. 2012. The system does not,<br />

however, wait for FIN.<br />

(9) The check byte must be the result of adding together all the other<br />

[2 * N + (0 or 4)] bytes in byte-by-byte basis, with any overflows<br />

of 8 bits or more removed.<br />

-56-


B-63322EN-1/01 9. BINARY INPUT OPERATION FUNCTION<br />

9.2 TRANSFER RATE<br />

After every unit time set for the appropriate parameter, the CNC<br />

extracts data of 2 * N + n bytes (where N is the number of axes, n is<br />

equal to 1 when auxiliary functions are not used and 5 when they are<br />

used.) from the remote buffer. To achieve smooth machining without<br />

any interruption of pulse distribution during machining, the baud rate<br />

of transfer between the host computer and the remote buffer must be<br />

at least<br />

(2 * N + n) * 11/T * 1000 (bps) (where T is the unit time.).<br />

For example, when three axes are used, auxiliary functions are not<br />

used, and the unit time is 2 msec,<br />

the baud rate must be at least<br />

(2 × 3 + 1) bytes × 11 bits/byte/2 msec × 1000 = 38500 bps.<br />

-57-


9. BINARY INPUT OPERATION FUNCTION B-63322EN-1/01<br />

9.3 NOTES<br />

NOTE<br />

1 In binary input operation mode, any modal commands (such<br />

as G00, G02, G03, and G90) before the G05 block are<br />

disabled, and are executed as linear interpolation G01 based<br />

on the command data format (equivalent to linear incremental<br />

commands). Upon leaving binary input operation mode, the<br />

system accepts modal commands as usual again.<br />

2 An alarm is issued if G05; is specified in the following modes:<br />

Cutter compensation, three-dimensional cutter compensation,<br />

interrupt macro, canned cycle, three-dimensional coordinate<br />

conversion, coordinate conversion, programmable mirror<br />

image, scaling, polar coordinate interpolation, polar<br />

coordinate command, normal direction control, hypothetical<br />

axis interpolation, cylindrical interpolation, constant surface<br />

speed control, spindle speed fluctuation detection<br />

3 In binary input operation mode, single blocks are<br />

disabled. By setting G5S (bit 3 of parameter No. 2007)<br />

to 1, they are enabled.<br />

4 Feed hold and interlocking are enabled.<br />

5 Turning mirror images on and off is enabled even in<br />

binary input operation.<br />

6 Program restarts and block restarts cannot be used.<br />

7 Registration in memory is not possible.<br />

8 In binary input operation mode, acceleration/deceleration<br />

after interpolation is subject to the acceleration/<br />

deceleration in cutting feed mode (G01).<br />

9 The action to be taken when manual intervention is<br />

performed in binary input operation mode does not follow<br />

ABS (bit 3 of parameter No. 2409), but the action in the<br />

manual/absolute off state (the travel due to the<br />

intervention is not regained at a restart) is always<br />

assumed. In a mode other than binary input operation<br />

mode, ABS (bit 3 of parameter No. 2409) is effective.<br />

10 If binary input operation is performed when acceleration/<br />

deceleration before look-ahead interpolation or fine HPCC is<br />

enabled, acceleration/deceleration before look-ahead interpolation<br />

or fine HPCC remains enabled. In operation with the<br />

unit time shorter than 8 msec, acceleration/deceleration before<br />

look-ahead interpolation or fine HPCC must be enabled.<br />

Only when the unit time is 1 msec (2 msec for a system<br />

with 11 or more controlled axes), acceleration/deceleration<br />

before look-ahead interpolation or fine HPCC can be<br />

disabled in binary input operation mode by setting G5H (bit<br />

3 of parameter No. 7713) to 1. Even in this case,<br />

however, acceleration/deceleration before look-ahead<br />

interpolation or fine HPCC must be enabled.<br />

11 In binary input operation mode, it is not possible to<br />

perform intervention through MDI operation.<br />

-58-


B-63322EN-1/01 10. PARAMETER<br />

10 PARAMETER<br />

The following describes the parameters related to the remote buffer.<br />

#7 #6 #5 #4 #3 #2 #1 #0<br />

0000 XXX EIA NCR ISP CTV TVC<br />

[Input section] Setting input<br />

[Data type] Bit type<br />

#0 TVC Specifies whether TV check is performed.<br />

0: Do not perform.<br />

1: Perform.<br />

#1 CTV Specifies whether characters are counted for TV check<br />

during control out.<br />

0: Count.<br />

1: Do not count.<br />

#2 ISP Specifies whether ISO codes contain a parity bit.<br />

0: Contain parity bit.<br />

1: Do not contain parity bit.<br />

A parity bit is located at channel 8 in a punched tape in<br />

the ISO code.<br />

#3 NCR Specifies how to punch an EOB (end-of-block) code<br />

when using ISO codes.<br />

0: Punch LF CR CR.<br />

1: Punch LF.<br />

#4 EIA Specifies the code system to use for punch codes.<br />

0: ISO code<br />

1: EIA code<br />

#5 XXX This parameter bit must always be set to 0.<br />

-59-


10. PARAMETER B-63322EN-1/01<br />

10.1 INPUT DEVICE NUMBER<br />

0020 Interface number of input device for foreground<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 0 to 16<br />

Set the interface No. of an input device for the foreground.<br />

For the remote buffer, set a value of 10.<br />

0021 Interface number of output device for foreground<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 0 to 16<br />

Set the interface No. of an output device for the foreground.<br />

For the remote buffer, set a value of 10.<br />

0022 Interface number of input device for background<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 0 to 16<br />

Set the interface No. of an input device for the foreground.<br />

For the remote buffer, set a value of 10.<br />

0023 Interface number of output device for background<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 0 to 16<br />

Set the interface No. of an output device for the foreground.<br />

For the remote buffer, set a value of 10.<br />

-60-


B-63322EN-1/01 10. PARAMETER<br />

10.2 EXCLUSIVE PARAMETER FOR REMOTE BUFFER<br />

#7 #6 #5 #4 #3 #2 #1 #0<br />

5000 0 CDC ETX TCC ECH 422<br />

[Input type] Parameter input<br />

[Data type] Bit<br />

NOTE<br />

When this parameter is specified, the power must be<br />

turned off and then on again for the parameter settings to<br />

take effect.<br />

#0 422 : Interface between the host and remote buffer<br />

0 : RS-232-C<br />

1 : RS-422<br />

The system determines whether the remote buffer board<br />

is provided with an RS-232-C or RS-422 interface, and<br />

automatically sets the appropriate value.<br />

#1 ECH : The response of the SAT at the switching between<br />

remote operation and DNC operation is (for the protocol<br />

A only):<br />

0 : Always transmit 0 to SAT data part (Byte position 1)<br />

1 : Echo back SET data part (Byte position 1) to SAT<br />

data part (Byte position 1)<br />

#2 TCC : Communication code<br />

Communication code for protocol A<br />

0 : ASCII<br />

1 : ISO<br />

Communication code for protocol B/expansion protocol<br />

B (DC1, DC2, DC3, DC4, SYN, NAK)<br />

0 : ISO<br />

1 : ASCII<br />

#3 ETX : For protocol A, the message end code is:<br />

0 : CR code of ASCII/ISO<br />

1 : ETX code of ASCII/ISO<br />

(ASCII or ISO is selected by using the parameter<br />

TCC.)<br />

For protocol B or expansion protocol B, the remote<br />

buffer:<br />

0 : Does not post notification of CNC reset or an alarm<br />

to the host computer.<br />

1 : Transmits the SYN code for CNC reset, or the NAK<br />

code for a CNC alarm.<br />

-61-


10. PARAMETER B-63322EN-1/01<br />

5070<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 0 to 13<br />

When this parameter is set to 1, the settings of the<br />

following parameters also became effective when the<br />

power is turned off, then back on:<br />

No. 5070, 5072, 5073, 5082, 5083<br />

#4 CDC : CD (Signal quality detection) for RS-232-C interface<br />

0 : is checked<br />

1 : is not checked<br />

Minimum baud rate for receiving reception clock from the other device<br />

(Remote buffer RS-422 only)<br />

Boundary value at which the clock received by the CNC is to be<br />

synchronized with the host clock.<br />

1: 50 9: 2400<br />

2: 100 10: 4800<br />

3: 110 11: 9600<br />

4: 150 12: 19200<br />

5: 200 13: 38400 [bps]<br />

6: 300<br />

7: 600<br />

8: 1200<br />

When using PROGRAM FILE Matc, set 13.<br />

NOTE<br />

1 At 38400 bps or higher, the received clock must always<br />

be synchronized. If the transfer rate exceeds this<br />

parameter, the clock received by the CNC is<br />

synchronized with the clock on the host.<br />

(They are synchronized when the setting of parameter<br />

No. 5073 is equal to or more than the setting of<br />

parameter No. 5070.)<br />

2 Using the RS-422 interface enables asynchronous<br />

communication to be performed at high speed because<br />

the transmission clock obtained from the transmitting<br />

station is used as the reception clock by the receiving<br />

station. This technique is called clock synchronous<br />

communication.<br />

To perform clock synchronous communication, the following<br />

conditions must be satisfied:<br />

(1) The value of parameter No. 5073 is equal or greater than<br />

the value of parameter No. 5070. The CNC assumes the<br />

use of clock synchronous communication when this<br />

condition is satisfied.<br />

-62-


B-63322EN-1/01 10. PARAMETER<br />

(2) The TT signal from the CNC is connected to the RT signal<br />

for the host, and the TT signal from the host is connected to<br />

the RT signal for the CNC, in both cases via cables.<br />

(3) A synchronizing clock, the same as the baud rate clock, is<br />

output from the TT pins. JIS refers to this signal as the<br />

transmission signal element timing.<br />

CNC Host<br />

In clock synchronous communication, the transmission clock is<br />

determined from the baud rate. The transmission clock output<br />

by the transmitting station is used as the reception clock. To<br />

perform clock synchronous communication, set the following<br />

from the host computer:<br />

(1) The host shall output the transmission signal element<br />

timing as the TT signal (ST1 signal, as defined by JIS).<br />

(2) The TT signal clock cycle shall be the same as the baud rate<br />

clock cycle (clock rate: 1).<br />

5071 RS-422 I/O specifications number (Remoto buffer)<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 0 to 8<br />

Set the specification number of the host (reader/punch device) of the<br />

remote buffer.<br />

The specification numbers and their corresponding reader/punch<br />

device specifications are as follows.<br />

Specification<br />

No.<br />

1<br />

2<br />

3<br />

4<br />

8<br />

TT<br />

*TT<br />

RT<br />

*RT<br />

-63-<br />

Reader/punch device specification<br />

Uses the control codes (DC1-DC4). Outputs feed by<br />

punching. Tape reader.<br />

Does not use the control codes (DC1-DC4). Outputs feed<br />

by punching.<br />

Uses the control codes (DC1-DC4). Does not outputs feed<br />

by punching.<br />

Does not use the control codes (DC1-DC4). Does not<br />

outputs feed by punching.<br />

PROGRAM FILE Mate<br />

Handy File (remote mode)<br />

RT<br />

*RT<br />

TT<br />

*TT


10. PARAMETER B-63322EN-1/01<br />

5072 RS-422 Number of stop bits (Remote buffer)<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 1 to 2<br />

Set the number of stop bits of the RS-422 device of the remote buffer.<br />

NOTE<br />

When this stop bit is set to 1, the parity bit is also<br />

provided.<br />

5073 RS-422 baud rate (Remote buffer)<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 2 to 15<br />

Set the baud rate of the RS-422 device of the remote buffer.<br />

The settings and their corresponding baud rates are as follows.<br />

Setting value baud rate Setting value baud rate<br />

- - 9 2400<br />

2 100 10 4800<br />

3 110 11 9600<br />

4 150 12 19200<br />

5 200 13 38400<br />

6 300 14 76800<br />

7 600 15 86400<br />

8 1200<br />

5074 RS-422 Selection of protocol (Remote buffer)<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 1 to 3<br />

NOTE<br />

When this parameter is specified, the power must be<br />

turned off and then on again for the parameter settings to<br />

take effect.<br />

-64-<br />

1 : Protovol B<br />

2 : Expansion protocol B<br />

3 : Protocol A/expansion protocol A by the<br />

parameter .


B-63322EN-1/01 10. PARAMETER<br />

NOTE<br />

In the case when the protocol A/expansion protocol A<br />

were selected, if the following parameters are modified,<br />

they become valid after the power is turned off and then<br />

on.<br />

No. 5070, 5072, 5073<br />

5081 RS-232-C Specification of I/O device (Remote buffer)<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 0 to 8<br />

Set the specification number of the RS-232-C I/O device of the<br />

remote buffer.<br />

The specification numbers and their corresponding reader/punch<br />

device specifications are as follows.<br />

Specification<br />

Reader/punch device specification<br />

No.<br />

Uses the control codes (DC1-DC4). Outputs feed by<br />

1<br />

punching. Tape reader.<br />

Does not use the control codes (DC1-DC4). Outputs feed<br />

2<br />

by punching.<br />

Uses the control codes (DC1-DC4). Does not outputs feed<br />

3<br />

by punching.<br />

Does not use the control codes (DC1-DC4). Does not<br />

4<br />

outputs feed by punching.<br />

7 FANUC CASSETTE (Bubble cassette)<br />

FLOPPY CASSETTE, PROGRAM FILE Mate<br />

8<br />

Handy File (remote mode)<br />

5082 RS-232-C Number of stop bits (Remote buffer)<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 1 to 2<br />

Set the number of stop bits of the RS-232-C device of the remote<br />

buffer.<br />

NOTE<br />

When this stop bit is set to 1, the parity bit is also<br />

provided.<br />

5083 RS-232-C BAUD rate (Remote buffer)<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 1 to 12<br />

-65-


10. PARAMETER B-63322EN-1/01<br />

Set the baud rate of the RS-232-C device of the remote buffer.<br />

Setting value baud rate Setting value baud rate<br />

1 50 7 600<br />

2 100 8 1200<br />

3 110 9 2400<br />

4 150 10 4800<br />

5 200 11 9600<br />

6 300 12 19200<br />

5084 RS-232-C Selection of protocol (Remote buffer)<br />

[Input type] Setting input<br />

[Data type] Integer<br />

[Valid data range] 1 to 3<br />

NOTE<br />

When this parameter is specified, the power must be<br />

turned off and then on again for the parameter settings to<br />

take effect.<br />

-66-<br />

1 : Protocol B<br />

2 : Expansion protocol B<br />

3 : Protocol A/expansion protocol A by the<br />

parameter .<br />

NOTE<br />

In the case when the protocol A/expansion protocol A<br />

were selected, if the following parameters are modified,<br />

they become valid after the power is turned off and then<br />

on.<br />

No. 5070, 5072, 5073


B-63322EN-1/01 10. PARAMETER<br />

10.3 PARAMETERS RELATED TO BINARY INPUT OPERATION<br />

2010 Delay time of strobe signals MF, SF, TF, and BF<br />

[Input section] Parameter input<br />

[Data type] Integer type<br />

[Unit of data] msec<br />

[Valid data range] 0 to 32767<br />

Set the time from the point an M, S, T, or B code is sent until the<br />

strobe signal MF, SF, TF, or BF signal is sent.<br />

2012 Output time of strobe signals MF, SF, TF, and BF<br />

[Input section] Parameter input<br />

[Data type] Integer type<br />

[Unit of data] msec<br />

[Valid data range] 0 to 32767<br />

Set the time from the point the strobe signal MF, SF, TF, or BF is sent<br />

until it is turned off.<br />

2034 Type of auxiliary function used in binary input operation mode (remote buffer)<br />

[Input section] Parameter input<br />

[Data type] Integer type<br />

[Valid data range] 0 to 3<br />

M, S, T, or B code<br />

MF, SF, TF, or BF signal<br />

M, S, T, or B code<br />

MF, SF, TF, or BF signal<br />

Set the type of auxiliary function used in binary input operation mode.<br />

0: Second auxiliary function<br />

1: Miscellaneous function<br />

2: S function<br />

3. T function<br />

-67-<br />

Delay time<br />

Delay time Sending time


10. PARAMETER B-63322EN-1/01<br />

#7 #6 #5 #4 #3 #2 #1 #0<br />

7609 RAX RDS<br />

[Input section] Parameter input<br />

[Data type] Bit type<br />

#2 RDS The data format for the travel distance along an axis in<br />

remote buffer binary input operation mode is:<br />

0: Special format<br />

1: General format<br />

#3 RAX In remote buffer binary input operation mode, auxiliary<br />

functions are:<br />

0: Not used.<br />

1: Used.<br />

#7 #6 #5 #4 #3 #2 #1 #0<br />

2007 G5S<br />

[Input section] Parameter input<br />

[Data type] Bit type<br />

#3 G5S In binary input operation mode, the single-block stop is:<br />

0: Disabled.<br />

1: Enabled.<br />

#7 #6 #5 #4 #3 #2 #1 #0<br />

7618 TM2 TM1 TM0<br />

[Input section] Parameter input<br />

[Data type] Bit type<br />

NOTE<br />

When this parameter is specified, the power must be<br />

turned off and then on again for the parameter settings to<br />

take effect.<br />

#0 TM0<br />

#1 TM1 Travel distance per unit time along each axis<br />

#2 TM2 In the format for remote buffer binary input operation<br />

data, the travel distances per unit time along the<br />

individual axes are arranged sequentially. Set the unit<br />

time in msec.<br />

-68-


B-63322EN-1/01 10. PARAMETER<br />

TM2 TM1 TM0 Unit time<br />

1 0 0 1 msec<br />

0 0 1 2 msec<br />

0 1 0 4 msec<br />

0 0 0 8 msec<br />

0 1 1 16 msec<br />

7635 Number of axes in a single block that can accept commands (remote buffer)<br />

[Input section] Parameter input<br />

[Data type] Integer type<br />

[Valid data range] 0 to number of controlled axes<br />

Set the number of axes in a single block that can accept commands<br />

when using binary input operation mode. Do not change this<br />

parameter during operation.<br />

NOTE<br />

The axes that can accept commands from the remote<br />

buffer are the first n axes in the controlled axis list, where<br />

n is the number of axes specified for this parameter.<br />

For example, when this parameter is 3, the fourth and<br />

any subsequent axes in the controlled axis list cannot<br />

accept commands.<br />

#7 #6 #5 #4 #3 #2 #1 #0<br />

7713 G5H<br />

[Input section] Parameter input<br />

[Data type] Bit type<br />

#3 G5H In binary input operation mode, acceleration/deceleration<br />

before look-ahead interpolation or fine HPCC is:<br />

0: Enabled.<br />

1: Disabled.<br />

Only when the unit time is 1 msec (2 msec for a system<br />

with 11 or more controlled axes),<br />

acceleration/deceleration before look-ahead interpolation<br />

or fine HPCC can be disabled in binary input operation<br />

mode by using this parameter.<br />

Note that to do this, acceleration/deceleration before<br />

look-ahead interpolation or fine HPCC must be enabled.<br />

In operation with the unit time shorter than 8 msec,<br />

acceleration/deceleration before look-ahead interpolation<br />

or fine HPCC must be enabled.<br />

-69-


11. ALARM B-63322EN-1/01<br />

11 ALARM<br />

Error code Message Description<br />

PS0010 IMPROPER G-CODE An unavailable G code is specified.<br />

PS0011 IMPROPER NC-ADDRESS An address that cannot be specified in an NC statement is specified. Or,<br />

parameter No. 1020 is not specified.<br />

PS0012 INVALID BREAK POINT OF<br />

WORDS<br />

SR0807 PARAMETER SETTING<br />

ERROR<br />

SR0855 DATA SET READY DOWN<br />

(RMT-BUF)<br />

SR0856 BUFFER OVERFLOW<br />

(RMT-BUF)<br />

Data that is not in the word format of address + numeric value is found in<br />

an NC statement.<br />

This alarm is also issued if data that is not a reserved word is specified or the<br />

syntax is not followed correctly in a custom macro.<br />

An input/output interface not attached with an option is specified.<br />

The parameter setting for the baud rate for communication with an<br />

external input/output device, the number of stop bits, or the protocol<br />

selection contains an error.<br />

The data set ready signal for reader/punch interface 10 turns off. Or, the CD<br />

signal (for the RS-232-C interface only) turns off.<br />

When the NC received data via reader/punch interface 10, the stop code<br />

(DC3) was sent, but data exceeding a constant amount (512 characters<br />

for the protocol B and 2560 characters for the extended protocol B) was<br />

received.<br />

SR0890 CHECK SUM ERROR (G05) A check sum error occurred. (Remote buffer binary input operation)<br />

SR0891 ILLEGAL COMMAND G05 G05 was issued when it could not be issued.<br />

SR 941 COMMUNICATION ERROR<br />

(RMT-BUF)<br />

The remote buffer side detected an illegal command (CNC abnormality).<br />

SR 944 COMMUNICATION ERROR<br />

(RMT-BUF)<br />

Time-out resulted in protocol A (abnormality in host).<br />

SR 945 COMMUNICATION ERROR The number of retry times has been exceeded in protocol A (abnormality<br />

(RMT-BUF)<br />

in host).<br />

SR 946 COMMUNICATION ERROR<br />

(RMT-BUF)<br />

Framing error and overrun error resulted.<br />

SR 947 COMMUNICATION ERROR Invalid response command has been received in protocol A (abnormality<br />

(RMT-BUF)<br />

in host).<br />

SR 948 COMMUNICATION ERROR Protocol A detected an error code (abnormality in HOST).<br />

(RMT-BUF)<br />

Three possible causes are:<br />

1. An END code is detected in a command name.<br />

2. The command is undefined.<br />

3. A command other than the expected one is received.<br />

-70-


B-63322EN-1/01 12. MAINTENANCE<br />

12 MAINTENANCE<br />

12.1 LED INDICATIONS<br />

12.1.1 Normal State<br />

The arrangement of the LEDs on<br />

the R.B. board is as shown in the<br />

figure on the right.<br />

The upper two LEDs (green)<br />

indicate the current state of the<br />

software.<br />

The lower three LEDs (red)<br />

indicate the state of the hardware.<br />

The meanings of the LEDs are<br />

explained below.<br />

When the LEDs are either on or off (not flashing) and no error<br />

messages are displayed on the screen, the LEDs indicate the current<br />

state of the remote buffer board, and the remote buffer board is in the<br />

normal state.<br />

No. LED indication<br />

Table 12.1.1 LED (green) indications and their meanings (STATUS LED)<br />

Meaning Code Remarks<br />

1<br />

1<br />

2<br />

The power has just been turned on, and the remote buffer CPU has not<br />

been activated.<br />

3<br />

2<br />

1<br />

2<br />

The board is in the power-on process, waiting for all the modules to be<br />

initialized.<br />

3 1 The board is idle, waiting for requests (commands) from the CNCs. 1<br />

2<br />

4<br />

1<br />

The board has received a request (command) from a CNC, and is<br />

handling it.<br />

2<br />

5 1 The board has received a stop request due to a reset/alarm/program<br />

2<br />

end, and is waiting for the CNC to shut down.<br />

: On : Off<br />

-71-<br />

1<br />

2<br />

A<br />

B<br />

C<br />

STATUS LED<br />

ALARM LED<br />

0<br />

2<br />

3<br />

: Green<br />

: Red


12. MAINTENANCE B-63322EN-1/01<br />

12.1.2 System Errors<br />

When the LEDs are in any of the statuses shown below, there is a<br />

system error. For recovery, the board must be turned off then on<br />

again. The hardware may have to be replaced in some causes.<br />

Table 12.1.2 (a) LED (green) indications and their meanings (STATUS LED)<br />

No. LED indication Meaning Code Message<br />

1 1 An error occurred during a DRAM module test. ("RMT-BUF DRAM<br />

Displayed.<br />

2<br />

TEST:ERROR" is displayed on the screen, and the system fails to<br />

start.)<br />

2 1<br />

2<br />

The results of the parity check could not be accepted upon loading into<br />

the code area. (A system alarm error message is displayed, and the<br />

system fails to start.) (See Table 12.1.2 (c), "System alarm error<br />

messages.")<br />

1 Displayed.<br />

3 1 NMI occurred in a module other than the remote buffer. 2 Not<br />

2<br />

displayed.<br />

4<br />

1⇔ 1<br />

2⇔ 2<br />

LEDs 1 and 2<br />

flash<br />

alternately.<br />

Together with this LED indication, a system alarm error message is<br />

displayed. (See Table 12.1.2 (c), "System alarm error messages.")<br />

a) Hardware failure<br />

b) Illegal interrupt (generation of an invalid interrupt)<br />

c) F-BUS error<br />

d) DRAM parity error<br />

e) ARES bus error<br />

f) LFP bus error<br />

g) F-BUS write bus error<br />

h) Non-F-BUS write bus error<br />

: On : Flashing : Off<br />

-72-<br />

4<br />

5<br />

6<br />

7<br />

8<br />

9<br />

A<br />

B<br />

Displayed.<br />

When the LEDs are in any of the statuses shown above, perform an<br />

address search for 4n80E014 on the memory display screen, make a<br />

note of the contents of the nine words prior to 4n80E024, and report<br />

them.<br />

In the above explanation, n is the logical slot number of the remote<br />

buffer (609I series).<br />

(See "Determining the Logical Slot Number of the Remote Buffer<br />

Board," described below.)<br />

NOTE<br />

The DRAM area of the remote buffer is 4n8000000H to<br />

4n9FFFFFH. If an attempt is made to display an address<br />

outside this range, a system error occurs.


B-63322EN-1/01 12. MAINTENANCE<br />

Table 12.1.2 (b) LED (red) indications and their meanings (ALARM LED)<br />

No. LED (red) indication Meaning<br />

A 1<br />

This board is reset.<br />

2<br />

It is not activated by the main CPU.<br />

3<br />

B 1<br />

L-BUS bus error<br />

2<br />

3<br />

An error occurred inside this printed circuit board.<br />

The printed circuit board must be replaced.<br />

C 1<br />

DRAM parity error<br />

2<br />

3<br />

An error occurred in the DRAM module mounted in this printed circuit board.<br />

Replace the DRAM module.<br />

: On : Off<br />

Table 12.1.2 (c) System error messages<br />

Code Message Description<br />

1 DRAM CHECK SUM ERROR The results of the parity check could not be accepted upon<br />

loading into the code area.<br />

4 HARD ERROR The printed circuit board must be replaced.<br />

5 UNDEF IRT 00nn(aaaaaaaa) ERR-CODE:cccc An illegal interrupt was generated.<br />

00nn: Type of the generated interrupt<br />

cccc: Error code<br />

6 F-BUS ERROR(aaaaaaaa) When the R.B. board is the F-BUS bus master, a cycle<br />

results in a bus error.<br />

7 DRAM PARITY 000n(aaaaaaaa) A parity error occurred in DRAM.<br />

000n: Byte train in which the error occurred<br />

8 BUS ERROR(ARES) (aaaaaaaa) When the ARES is the L-BUS bus master, a cycle results<br />

in a bus error.<br />

9 BUS ERROR(LFP) (aaaaaaaa) When the LFP is the L-BUS bus master, a cycle results in<br />

a bus error.<br />

A WRITE BUS ERROR(F-BUS) (aaaaaaaa) When F-BUS is the L-BUS bus master, a write cycle<br />

results in a bus error.<br />

B WRITE BUS ERROR(aaaaaaaa) When a device other than the F-BUS is the L-BUS bus<br />

master, a write cycle results in a bus error.<br />

* aaaaaaaa is the execution address (next instruction) at the time<br />

the error occurs.<br />

-73-


12. MAINTENANCE B-63322EN-1/01<br />

12.2 MATERIAL FOR REMOTE BUFFER TROUBLESHOOTING<br />

NOTE<br />

For an explanation of the logical slot number of the R.B.<br />

(remote buffer) board, see "Determining the Logical Slot<br />

Number of the Remote Buffer Board," below.<br />

No. External phenomenon Investigation method<br />

1 Operation does not start even after a cycle start. Follow the procedure described below:<br />

1 Check if the LED indication is No. 4, described under<br />

It is assumed that the following parameters "Normal state" in Section 1.1. If it is not, see the<br />

are set correctly:<br />

"Explanation of LED Indications."<br />

• Baud rate<br />

2 Perform address searches for the following addresses on<br />

RS422: parameter 5073<br />

the memory display screen to check the contents of the<br />

RS232C: parameter 5083<br />

buffer (with "long" specified for the read/write pointers and<br />

• Number of stop bits<br />

"byte" specified for the buffer).<br />

RS422: parameter 5072<br />

n: logical slot number of the R.B. board (Note 1)<br />

RS232C: parameter 5082<br />

4n810500(long) : read pointer<br />

• Protocol type<br />

4n810504(long) : write pointer<br />

RS422: parameter 5074<br />

4n810508(Byte)<br />

RS232C: parameter 5084<br />

: : buffer (8Kbyte)<br />

• External synchronization baud rate<br />

4n812507(Byte)<br />

RS422: parameter 5070<br />

• If the read pointer is equal to the write pointer, the<br />

• I/O device specification number<br />

buffer is empty and the cause of the error is in the<br />

RS422: parameter 5071<br />

remote buffer or in the host.<br />

RS232C: parameter 5081<br />

• If the read pointer is not equal to the write pointer, the<br />

cause of the error is in the NC.<br />

3 Perform address searches for the following addresses on<br />

the memory display screen to check the latest send data<br />

(256 bytes) in the remote buffer (with "long" specified for<br />

the write pointer and "byte" specified for the send buffer).<br />

4n823100(long) : write pointer<br />

4n823104(Byte)<br />

:<br />

4n823203(Byte)<br />

: send buffer (256byte)<br />

2 Operation stopped prior to its completion.<br />

The address equal to 4n823104 + (write pointer - 1)<br />

contains the latest send data.<br />

Note) The DRAM area of the remote buffer is 4n8000000H to<br />

4n9FFFFFH. If an attempt is made to display an<br />

address outside this range, a system error occurs.<br />

Follow the same procedure as that described above.<br />

The causes are the same as those described above.<br />

-74-


B-63322EN-1/01 12. MAINTENANCE<br />

No. External phenomenon Investigation method<br />

3 (1) SR807<br />

PARAMETER SETTING ERROR<br />

(2) SR855<br />

DATA SET READY DOWN(RMT-BUF)<br />

(3) SR856<br />

BUFFER OVWERFLOW(RTM-BUF)<br />

(4) SR941<br />

COMMUNICATION ERROR(RMT-BUF)<br />

(5) SR946<br />

COMMUNICATION ERROR(RMTR-BUF)<br />

(1) A required parameter is out of range.<br />

1 Baud rate: parameter 5073 = 1 to 15, 5083=1 to 12<br />

2 Number of stop bits: parameter 5072 or 5082 = 1 or 2<br />

3 Protocol type: parameter 5074 or 5084 = 1 to 3<br />

The DR signal is OFF or the CD signal (which can be<br />

detected when the setting is RS232C and bit 4 of parameter<br />

No. 5000 is 0).<br />

1 A connector or signal line is not connected.<br />

Check the signal line connections, referring to the<br />

connection diagrams shown in Sections 3.2 and 3.3.<br />

2 The I/O device is not turned on.<br />

3 An I/O device detected an error.<br />

The remote buffer is full.<br />

1 An interruption (DC3/RS signal OFF) request cannot be<br />

accepted.<br />

(Error on the host)<br />

Software error on the NC<br />

1 An illegal command code request was made from the NC.<br />

Framing error, overrun error<br />

1 The baud rate is not appropriate.<br />

2 The number of stop bits is not set correctly.<br />

3 Reception overrun<br />

-75-


12. MAINTENANCE B-63322EN-1/01<br />

12.3 DETERMINING THE LOGICAL SLOT NUMBER OF THE<br />

REMOTE BUFFER BOARD<br />

12.3.1 Determining the Logical Slot Number on the Screen<br />

Displayed at the Time a System Alarm Occurs<br />

Display hardware information 1 (display of F-BUS slot information),<br />

shown below, using the <br />

FANUC Series 15I F001A<br />

SYS_ALM 300 SYSTEM ALARM (F-BUS SLOT (1))<br />

OTHER-CPU<br />

ERROR OCCURRED AT 1999/03/12 12:34:56<br />

HARDWARE INFORMATION 1<br />

F-BUS SLOT CONFIGURATION<br />

-76-<br />

<br />

6/27 MODULE NAME M ID SLOT IO DATA<br />

+---------+-----------------------------+----------+---------------------------------------+<br />

00:00 MOTHER BOARD 1234 0000 0000 0000 0000 0000<br />

02:09 REMOTE BUFFER 10E1 0000 0000 0000 0000 0000<br />

PA<strong>GE</strong> UP OR DOWN (PA<strong>GE</strong> 6/ 8)<br />

page keys.<br />

On the screen, the second half of the number identified by the SLOT<br />

column and the row containing REMOTE BUFFER (shown in the<br />

MODULE NAME column) is the logical slot number. In the<br />

example, the logical slot number of the remote buffer is 09.


B-63322EN-1/01 12. MAINTENANCE<br />

12.3.2 Determining the Logical Slot Number on the System<br />

Configuration Screen<br />

Once the system has started normally, the logical slot number of the<br />

remote buffer printed circuit board can be determined by displaying<br />

the module configuration screen from the system configuration screen<br />

by means of the procedure described below.<br />

(1) Press key <br />

.<br />

(2) Press soft key [SYSTEMCONFIG].<br />

(3) Select the remote buffer module configuration screen, shown<br />

below, using the <br />

-77-<br />

<br />

page keys.<br />

• Slot number: Number of the logical slot in which the remote<br />

buffer printed circuit board is installed.<br />

The number enclosed in parentheses ( ) is the<br />

physical slot number.


B-63322EN-1/01<br />

A<br />

Alarm 70<br />

Alarm and reset of CNC 49<br />

B<br />

Binary input operation function 53<br />

Buffer control 48<br />

C<br />

Code system 14<br />

Command 17<br />

Command table 17<br />

Communication example 32<br />

Communication system 15, 27, 42<br />

Control code 48<br />

D<br />

Data interface 51<br />

Data packet format 28<br />

Data part 52<br />

Description of data part<br />

Determining the logical slot number of the remote<br />

19<br />

buffer board<br />

Determining the logical slot number on the screen<br />

76<br />

displayed at the time a system alarm occurs<br />

Determining the logical slot number on the system<br />

76<br />

configuration screen 77<br />

E<br />

Electrical interface 3, 5<br />

Error process 24<br />

Exclusive parameter for remote buffer 61<br />

Expansion protocol A 26<br />

Expansion protocol B (RS-422) 50<br />

F<br />

Function explanation 54<br />

I<br />

i-1<br />

INDEX<br />

Input device number 60<br />

Interface between remote buffer and host computer 2<br />

Interface of data part 52<br />

L<br />

LED indications 71<br />

M<br />

Maintenance 71<br />

Material for remote buffer troubleshooting 74<br />

Message format 14<br />

Monitor packet format 30<br />

N<br />

Normal state 71<br />

P<br />

Parameter 59<br />

Parameter table 23<br />

Parameters related to binary input operation 67<br />

Protocol A 13<br />

Protocol B 41<br />

R<br />

RS-232-C interface 7<br />

RS-422 interface 10<br />

S<br />

Software interface 4<br />

Status transition 25<br />

System errors 72<br />

T<br />

Transfer rate 57<br />

Transmission system 6<br />

W<br />

When the CNC alarm/reset is not posted to the host 42<br />

When the CNC alarm/reset is posted to the host 44


01 Jul., ’99<br />

Revision Record<br />

FANUC Series 15i/150i-MODEL A Remote Buffer DESCRIPTIONS (B-63322EN-1)<br />

Edition Date Contents Edition Date Contents

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!