Navigation

  • Page 1

    GE Fanuc AutomationComputer Numerical Control ProductsSeries 0Series 00Descriptions Manual (Remote Buffer)GFZ-61392EN-1/01July 1997

  • Page 2

    GFL-001Warnings, Cautions, and Notesas Used in this PublicationWarningWarning notices are used in this publication to emphasize that hazardous voltages, currents,temperatures, or other conditions that could cause personal injury exist in this equipment ormay be associated with its use.In situatio...

  • Page 3

    B–61392EN–1/01DEFINITION OF WARNING, CAUTION, AND NOTEs–1DEFINITION OF WARNING, CAUTION, AND NOTEThis manual includes safety precautions for protecting the user and preventing damage to themachine. Precautions are classified into Warning and Caution according to their bearing on safety.Als...

  • Page 4

    B–61392EN–1/01PREFACEp–1PREFACEThe models covered by this manual, and their abbreviations are :Product NameAbbreviationsFANUC Series 0–TC0–TCFANUC Series 0–TF0–TFFANUC Series 0–MC0–MCSeries 0FANUC Series 0–MF0–MFSeries 0FANUC Series 0–GCC0–GCCFANUC Series 0–GSC0–GSCF...

  • Page 5

    B–61392EN–1/01Table of Contentsc–1DEFINITION OF WARNING, CAUTION, AND NOTEs–1. . . . . . . . . . . . . . . . . . . . . . . . . . PREFACEp–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1. GENERAL1. . . . ....

  • Page 6

    B–61392EN–1/01Table of Contentsc–28.1NC PROGRAM FORMAT47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.2COMMANDS IN HIGH–SPEED MACHINING SECTIONS48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.3MODAL MA...

  • Page 7

    B–61392EN–1/011. GENERAL11 GENERALThe remote buffer for Series 0/00 is an option and is used to allow a largenumber of data to be continuously supplied to the CNC at high speed byconnecting it to the host computer or I/O device through a serial interface.Series 0Series 00RemotebufferRS–232...

  • Page 8

    2. INTERFACE BETWEEN REMOTE BUFFER AND HOST COMPUTERB–61392EN–1/0122INTERFACE BETWEEN REMOTE BUFFER AND HOSTCOMPUTER

  • Page 9

    B–61392EN–1/012. INTERFACE BETWEEN REMOTE BUFFER ANDHOST COMPUTER3The following two interfaces are provided as standard specifications.1) RS–232–C interface2) RS–422 interface (Note)RS–232–CRS–422InterfaceSerial voltage interface (start–stop system)Balance transmission serial in...

  • Page 10

    2. INTERFACE BETWEEN REMOTE BUFFER AND HOST COMPUTERB–61392EN–1/014The following three protocols for communication between the remotebuffer and host computer are provided. The protocol meeting therequirement of specifications of connection device can be selected bysetting a parameter.Prot...

  • Page 11

    B–61392EN–1/013. ELECTRICAL INTERFACE53 ELECTRICAL INTERFACE

  • Page 12

    3. ELECTRICAL INTERFACEB–61392EN–1/016It is the start–stop system for adding the start bit before and stop bit sfterthe information bits, respectively.The format for adding one parity bit to each byte of data to be transmittedis also allowed.1) Format with no parity bit1 characterStart bitS...

  • Page 13

    B–61392EN–1/013. ELECTRICAL INTERFACE71) Connection between devicesM77 (in the CNC cabinet)MR–20RMD (Male)141516CD17ER18DR19CS20RS8RD9SD101112131234567SGH20. FCable 1HostcomputerNC sideOutputInputI/O device sideSDRDRSCSERDRCDSGFG9820191718167SDRDRSCSERDRCDSGFGWhen no CS is used, short–cir...

  • Page 14

    3. ELECTRICAL INTERFACEB–61392EN–1/0182) Signal descriptionSignal nameRS–232–C circuit numberInput/ outputDescriptionSD103OutputSend dataSee “3.1” for the bit RD104InputReceive dataconfiguration.RS105OutputRequest to sendIt is used to inform whether the remotebuffer is ready to receiv...

  • Page 15

    B–61392EN–1/013. ELECTRICAL INTERFACE91) Connection between devicesM73 (in the CNC cabinet)MR–20RMD (Male)14CS15*CS161718RT19*RT208TT9*TT10RD11*RD12RR13*RR1SD2*SD3TR4*TR5RS6*RS7SGH20. FCable 3HostcomputerSimplified figure showing the signal connectionRemote bufferHost computer12101156141512...

  • Page 16

    3. ELECTRICAL INTERFACEB–61392EN–1/01102) Signal descriptionSignal nameRS–232–C circuit numberInput/ outputDescriptionSD103OutputTransmission dataSee “3.1” for the bitRD104InputReception dataconfiguration.RS105OutputTransmission requestIt is used to inform whether the remotebuffer is ...

  • Page 17

    B–61392EN–1/014. PROTOCOL A114 PROTOCOL AIt is used for the handshake system where the communication between theremote buffer and host computer repeats transmission/reception eachother.

  • Page 18

    4. PROTOCOL AB–61392EN–1/0112The information (character–string) exchanged between the remote bufferand host computer is called “message”. The general type of message isshown as below:Message2 byte3 byte1 byteVariable length(it can be omitted.)SumCommandData partETXFieldByte lengthAbbre...

  • Page 19

    B–61392EN–1/014. PROTOCOL A13The communication codes between the remote buffer and host computerare described below:FieldCommandCodeRelatedparametersChecksum–––ISO/ASCIINo.0055#0(ASCII)Command name–––ISO/ASCIINo.0055#0(ASCII)Data partDATISO/ASCII/EIA/BinNo.0051#3(RSASC)Commands ot...

  • Page 20

    4. PROTOCOL AB–61392EN–1/0114It is used to perform communication between the remote buffer and hostcomputer.When the both are ready to operate after power on, the communicationstarts from the transmission of remote buffer and reception of hostcomputer and then the transmission/reception is re...

  • Page 21

    B–61392EN–1/014. PROTOCOL A15(2) The minimum time period between bytes is determined by theparameter Ti (msec) of SET command. There is no prescription ofminimum time period between reception bytes.(3) Switching from transmission to receptionImmediately the remote buffer side can be ready to ...

  • Page 22

    4. PROTOCOL AB–61392EN–1/0116Commands used in the protocol A are described below:Origin stationR: Remote bufferH: Host computerCommandOriginstationFunctionsData partExecutedcommand atCNC sideSYNRInitialization commandIt is used to command the initialization of host.MeaninglessSYNHResponse of ...

  • Page 23

    B–61392EN–1/014. PROTOCOL A17CommandExecutedcommand atCNC sideData partFunctionsOriginstationRDIHDI reading requestIt is used to request transmission of image of specified 8–bit DI.The DI image at that time is responded by the SDI command inthe remote buffer.This command can be transmitted ...

  • Page 24

    4. PROTOCOL AB–61392EN–1/0118Byte positionDefault value (hexadecimal)Meaning and code21 to 24Current value of parameter TpPolling time interval(Four–digit hexadecimal number)000525 to 28Current value of parameter ToTime–out time(Four–digit hexadecimal number)001429 to 32Current value of...

  • Page 25

    B–61392EN–1/014. PROTOCOL A193) Data part of DATUp to 4096 bytes of NC data can be received at the data part ofcommand <DAT>.In general, the number of NC data bytes should be less than or equalto the value specified with parameter Nb–No of the SET command.Transmit the NC data dependin...

  • Page 26

    4. PROTOCOL AB–61392EN–1/0120Parameters which can be set in the data part of SET command are shownas below:ParameterMeaningUnitRangeOn turningon powerNbNumber of bytes of minimum bufferempty area on transmission ofGTDByte1 to 40002000NoMaximum amount of overrun onreception of dataByte2 to 200...

  • Page 27

    B–61392EN–1/014. PROTOCOL A211) Open–line errorWhen the following error occurs, it may be an open line error. Restartthe initialization of remote buffer for recovering the line.When the line is recovered, it waits for transmission of SYN and isSYN wait status.The procedures are the same as ...

  • Page 28

    4. PROTOCOL AB–61392EN–1/0122The status transition diagram of remote buffer is shown as below:Turning on powerNon–completed status of operationpreparation0SYN receptionLine error (Note 1)After 2 msecReset status 1Open linestatus 4NC resetNC resetEOD receptionReceptionerror NC alarmGTD trans...

  • Page 29

    B–61392EN–1/015. EXPANSION PROTOCOL A235 EXPANSION PROTOCOL AIt allows the NC data between the remote buffer and host computer to beefficiently transferred by adding the high–speed reception function to theprotocol A.

  • Page 30

    5. EXPANSION PROTOCOL AB–61392EN–1/0124The expansion protocol A is the same as the protocol A excluding thetransmission of NC data.The expansion protocol A mode is initiated after the <GTD> is output tothe host computer by the remote buffer according to the data request fromthe CNC side...

  • Page 31

    B–61392EN–1/015. EXPANSION PROTOCOL A25The NC data is transferred to the remote buffer using the following formatby the host computer after receiving the <GTD>.When the NC data transmitted becomes multiple packets, the packets canbe transmitted in order without waiting the response from...

  • Page 32

    5. EXPANSION PROTOCOL AB–61392EN–1/0126The host computer should shift to the protocol A when thecommand of protocol A is received after transmitting the endpacket.c) Invalid packet: Other than aboveTransmit this invalid packet with the dummy data of “256*n”bytes when the time out may occu...

  • Page 33

    B–61392EN–1/015. EXPANSION PROTOCOL A27The monitor packets transmitted from the remote buffer to the hostcomputer are shown as below. All packets have the fixed length consistingof 5 bytes.1) Stop requestCAN (18h)Meaningless (20h)Checksum (2 byte)End Code (0Dh)The stop request is transmitted ...

  • Page 34

    5. EXPANSION PROTOCOL AB–61392EN–1/01281) NormalRemote bufferHost computer2) Stop requestRemote bufferHost computerRESET5.4COMMUNICATIONEXAMPLE

  • Page 35

    B–61392EN–1/015. EXPANSION PROTOCOL A293) Retransmission (i)Remote bufferHost computerChecksum errordetectionRetransmit fromthe packet (1)

  • Page 36

    5. EXPANSION PROTOCOL AB–61392EN–1/01303) Retransmission (ii)Remote bufferHost computerChecksum errordetection

  • Page 37

    B–61392EN–1/015. EXPANSION PROTOCOL A313) Retransmission (iii)Remote bufferHost computerPacket No. Out–of–orderdetectionPacket No. Out–of–orderdetection

  • Page 38

    5. EXPANSION PROTOCOL AB–61392EN–1/01324) Interruption –> RestartRemote bufferHost computerEmpty bufferRemainingone blockEmpty bufferRemainingthree block

  • Page 39

    B–61392EN–1/015. EXPANSION PROTOCOL A335) Interruption –> StopRemote bufferHost computerEmpty bufferRemainingone blockRESETTransmit the endpacket for ending theexpansion protocol Aalthough the DC3 iscurrently beingreceived.

  • Page 40

    5. EXPANSION PROTOCOL AB–61392EN–1/01346) Interruption –> RetransmissionRemote bufferHost computerEmpty bufferRemainingone blockChecksumerror detectionEmpty bufferRemainingtwo blocksTransmit only an errorpacket since the DC3is receiving data.Restart transmissionof packets followingthis a...

  • Page 41

    B–61392EN–1/015. EXPANSION PROTOCOL A357) Time–out detectionRemote bufferHost computerTime–outdetectionNOTEThe time–out monitoring period lasts until the next onepacket is received immediately after output of <GTD>. Afterthat, it is the time between reception of one packet and tha...

  • Page 42

    6. PROTOCOL BB–61392EN–1/01366 PROTOCOL BProtocol B controls the communication between a remote buffer and ahost computer with control codes.One of two communication modes can be selected by setting parameterSYNAK (bit 2 of No. 0051).

  • Page 43

    B–61392EN–1/016. PROTOCOL B371) When parameter SYNAK is set to 0The remote buffer turns on the ER signal and sends the DC1 code toreceive data from the host computer when the DNC operation startsor NC programs start to be entered. When the buffer receives the EORcode, it sends the DC3 code an...

  • Page 44

    6. PROTOCOL BB–61392EN–1/0138(5) The remote buffer transmits the DC1 code when theremainder of buffer data becomes less than the level specifiedand requests the host computer to start transmitting data.(6) The host computer should start transmitting data again by theDC1 code. The transmission...

  • Page 45

    B–61392EN–1/016. PROTOCOL B39b) Timing chart when the NAK or SYN code is sent while the bufferis receiving dataReceiving data startsAlarm resetER (on) (Output)RS (Output)SD (Output)RD (Input)DR (Input)CD (Input)CS (Input)DC1NAK or SYNDataDC3

  • Page 46

    6. PROTOCOL BB–61392EN–1/0140(1) The remote buffer transmits the DC1 code.(2) The host computer starts to transmit the DC3 code to the remotebuffer by the DC1 code,(3) When the empty area of remote buffer area becomes the valuespecified, the DC3 code is transmitted.(4) The host computer shoul...

  • Page 47

    B–61392EN–1/016. PROTOCOL B41The control code is as shown below regardless of the ISO, EIA, andBinary data:Code (Hexadecimal)Control codeFunctionParameter ASCII (No. 0055#0) = 0Parameter ASCII (No. 0055#0) = 1DC1Host transmission start11H11HDC3Host transmission stop93H13HNAKInformation of NC ...

  • Page 48

    6. PROTOCOL BB–61392EN–1/0142The buffer control method for the remote buffer is as follows:DC3 transmission conditionFree b\loch\f19 uffer space x 1024 charactersDC1 transmission conditionFree buffer space y 2048 charactersAllowable overrunLess than 1024 charactersIf the CNC enters the alarm ...

  • Page 49

    B–61392EN–1/017. DATA INTERFACE437 DATA INTERFACE

  • Page 50

    7. DATA INTERFACEB–61392EN–1/0144Data received from the host computer is largely classified into two parts,namely the control part and data part.With the protocol B/expansion protocol B, all data received from the hostcomputer become the data part.See the following figure for the data part of...

  • Page 51

    B–61392EN–1/017. DATA INTERFACE45The interface of data part is in conformity the provisions of data which canbe handled through the serial port by the Series 0/00.The end of data part is judged by the detection of EOR code. Also, all dataafter EOR code is ignored.In general, the data part con...

  • Page 52

    8. DISTRIBUTION PROCESSING FUNCTION (HIGH–SPEED REMOTE BUFFER B FUNCTION)B–61392EN–1/01468DISTRIBUTION PROCESSING FUNCTION (HIGH–SPEEDREMOTE BUFFER B FUNCTION)In distribution processing, the remote buffer converts the NC program,received from the host computer, to distribution data, then ...

  • Page 53

    B–61392EN–1/018. DISTRIBUTION PROCESSING FUNCTION(HIGH–SPEED REMOTE BUFFER B FUNCTION)47This function uses the same format as that for ordinary NC programs.Some sections of a program are, however, to be subjected to distributionprocessing while other sections are passed directly to the CNC....

  • Page 54

    8. DISTRIBUTION PROCESSING FUNCTION (HIGH–SPEED REMOTE BUFFER B FUNCTION)B–61392EN–1/0148The following table lists the commands which can be specified inhigh–speed machining sections. During distribution processing (withina distribution section), any addresses other than those listed in ...

  • Page 55

    B–61392EN–1/018. DISTRIBUTION PROCESSING FUNCTION(HIGH–SPEED REMOTE BUFFER B FUNCTION)49(1) FeedrateWhen distribution by the remote buffer is used, the followingrestrictions are imposed on the feedrate command:1. Maximum cutting feedrateMetric system : 1500 mm/minInch system: 600 inch/min2....

  • Page 56

    9. BINARY INPUT OPERATION FUNCTION (HIGH–SPEED REMOTE BUFFER)B–61392EN–1/01509BINARY INPUT OPERATION FUNCTION (HIGH–SPEED REMOTE BUFFER)

  • Page 57

    B–61392EN–1/019. BINARY INPUT OPERATION FUNCTION (HIGH–SPEED REMOTE BUFFER)51Command the “G05;” single block by the normal NC command formatwithout any other NC commands in the block, and then command themove data and auxiliary functions using the following format to performthe binary i...

  • Page 58

    9. BINARY INPUT OPERATION FUNCTION (HIGH–SPEED REMOTE BUFFER)B–61392EN–1/0152Example) when the move distance is 700 µ per unit time (mm systemsetting unit IS–B):15 14 13 12 11 10987654321000001010011110005) The check byte is obtained by adding the other bytes, namely (2 * N),in units...

  • Page 59

    B–61392EN–1/019. BINARY INPUT OPERATION FUNCTION (HIGH–SPEED REMOTE BUFFER)53The CNC reads the data for 2 * N + 1 bytes (N: number of axes) from theremote buffer. Thus, the transfer BAUD rate between the host and remotebuffer should be at least (2 * N + 1) * 11 / T * 1000 BAUD (T: unit time...

  • Page 60

    9. BINARY INPUT OPERATION FUNCTION (HIGH–SPEED REMOTE BUFFER)B–61392EN–1/01541) All modal commands are invalid during binary input operatin mode.Only the linear interpolation based on the command data format canbe executed (it is equivalent to the linear incremental command).2) An alarm...

  • Page 61

    B–61392EN–1/0110. PARAMETERS5510 PARAMETERSSetting parameterI/O = 3: Remote buffer channel selection#70038#6#5#4#3#2RSCMD3#1DEVFL3#0RSCMD3, DEVFL3 Devices connected to remote buffer00FANUC Bubble Cassette01FANUC Floppy Cassette (B1/B2)FANUC Program File10FANUC PPR11FANUC Program File MateFAN...

  • Page 62

    10. PARAMETERSB–61392EN–1/0156#7RMSTS0055#6IT2#5IT1#4IT0#3RS42#2PROTA#1EXT#0ASCIIRMSTS 0 : In protocol A, data 0 is always sent by the SAT command for the state of remote/tape operation.1 : In protocol A, the state of remote/tape operation reported by the SETcommand is sent by the SAT command...

  • Page 63

    B–61392EN–1/0111. ALARMS5711 ALARMSNo.MessageDescription085COMMUNICATION ERRORAn excess data error, parity error, orframing error occurred while the remotebuffer was reading data. The number ofinput bits is incorrect, or the baud rate isnot specified correctly.086DR SIGNAL OFFThe line was dis...

  • Page 64

    B–61392EN–1/0112. CONNECTION5812 CONNECTION

  • Page 65

    B–61392EN–1/0112. CONNECTION59The remote buffer is an optional function used to supply a large amountof data to the CNC continuously and at high speed. The remote buffer isconnected to the host computer or an input/output device via a serialinterface.Table 12.1 (a) lists the types of remote ...

  • Page 66

    B–61392EN–1/0112. CONNECTION60Table 12.1 (b) Software functions of remote bufferRemote bufferHigh–speedremote buffer AHigh–speedremote buffer BProtocol AAvailableAvailableAvailableExtended protocol AAvailableAvailableAvailableProtocol BAvailableAvailableAvailableData formatNC format data...

  • Page 67

    B–61392EN–1/0112. CONNECTION61As shown in the figure below, install the remote buffer card into the leftside of the master printed circuit board. The (A02B–0098–K121) flatmetal bracket for the remote buffer card (A02B–0098–K121) contains thetwo flat cables and bracket.JB1JB2JA2 JA1Re...

  • Page 68

    B–61392EN–1/0112. CONNECTION62The following illustration is an outline drawing for installing the remotebuffer card into controller A.Installation holefor 6–M5Remote buffer card12.3OUTLINE DRAWING12.3.1Outline Drawing inCase of Control Unit A

  • Page 69

    B–61392EN–1/0112. CONNECTION63Remote buffer card for controlunit B (Type C)(Remote buffer)Remote buffer card for controlunit B (Type A) or SUB CPU cardSlot SUBSlot SP12.3.2Outline Drawing inCase of Control Unit B

  • Page 70

    B–61392EN–1/0112. CONNECTION64Remote buffer cardConceptional diagram of signal connectionSDRDSDRDRSCSRSERDRCDSG123411121314567SG8RD1516 CD17 ER18 DR9SD19 CSM77:MR20MH1020 RS1FG2SD3RD4RS5CS6DR7SG8CD91011121314151617181920 ER2122232425Host computer (ex)DBM–25SCNC sideoutputInputHost sideCSERD...

  • Page 71

    B–61392EN–1/0112. CONNECTION65Cable wiring82RDSD1820DRER194CSRS168CDCD93SDRDShield176ERDR205RSCS1FG77SGSGConnect CS to RS if CS is not used. However, when protocol A orexpanded protocol A is used, connect as shown above because CS is usedfor busy control. Connect DR to ER when DR is not use...

  • Page 72

    B–61392EN–1/0112. CONNECTION66Remote buffer cardM73:MR20MH1FG234SD56RD7RS8RT9CS1011DM12 TR1314151617 TT1819 SG202122 *SD2324 *RD25 *RSHost computer (Ex.)26 *RT27 *CS2829 *DM30 *TR3132333435 *TT36371SD2*SD3TR(ER)4*TR(*ER)11*RD12 DM(DR)13*DM(*DR)14 CS5RS6*RS7SG8TT15 *CS161718 RT9*TT19 *RT10 RD2...

  • Page 73

    B–61392EN–1/0112. CONNECTION67Cable wiring1011422RD*RDSD*SD18191735RT*RTTT*TT1415725CS*CSRS*RS12131230DM*DMTR*TR719SGSG12624SD*SDRD*RDShield89826TT*TTRT*RT56927RS*RSCS*CS341129TR*TRDM*DM1FGNOTE1 Be sure to use twisted pair cable.2 The connection of TT, *TT, RT, and *RT is required onlywhen an...

  • Page 74

    B–61392EN–1/0112. CONNECTION68Signal nameRS–422 circuit No.Input/outputDescriptionSD103OutputTransmitted dataRD104InputReceived dataRS105OutputRequest to sendThe remote buffer uses this signal to post reception en-abled status. The remote buffer can receive data whileboth this signal and t...

  • Page 75

    B–61392EN–1/0112. CONNECTION69The remote buffer of type A is required to connect to a buttery unit.Battery unit+4.5V-0VM4 screw terminal120VCPA834.5VRemote bufferJapan FCISMS3PWS-5Connect the remote buffer to the battery unit on the memory printedcircuit board, using the supplied cable.CAUTIO...

  • Page 76

    IndexB–61392EN–1/01i–1[A]Alarms, 57[B]Binary Input Operation Function (High–Speed Re-mote Buffer), 50Buffer Control, 42[C]Cautions, 54CNC Alarm and Reset, 42Code System, 13Command, 16Command Table, 16Commands in High–Speed Machining Sections, 48Communication Example, 28Communication Mod...

  • Page 77

    B–61392EN–1/01Indexi–2[S]Software Interface, 4Status Transition, 22[T]Transfer Speed, 53Transmission System, 6

  • Page 78

    Revision RecordFANUC Series 0/00 Supplement for Remote Buffer DESCRIPTIONS (B–61392EN–1)01Jul., ’97EditionDateContentsEditionDateContents

  • Page 79

    · No part of this manual may bereproduced in any form.· All specifications and designsare subject to change withoutnotice.

x