fanuc fapt for pc operator

Upload: sunhuynh

Post on 03-Apr-2018

310 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Fanuc Fapt for PC Operator

    1/311

    Computer Numerical Control Products

    GE Fanuc Automation

    FAPT Ladder for PC

    Operators Manual

    B-66131EN/05 Japan 1995

  • 7/28/2019 Fanuc Fapt for PC Operator

    2/311

    Warnings and notices for

    this publication

    GFLE-003

    Warning

    In this manual we have tried as much as possible to describe all the variousmatters. However, we cannot describe all the matters which must not be done,or which cannot be done, because there are so many possibilities.

    Therefore, matters which are not especially described as possible in thismanual should be regarded as impossible.

    NoticeThis document is based on information available at the time of its publication. While efforts have

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

    variations in hardware or software, nor to provide every contingency in connection with

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

    all hardware and software systems. GE Fanuc Automation assumes no obligation of notice to

    holders of this document with respect to changes subsequently made.

    GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutory with

    respect to, and assumes no responsibility for accuracy, completeness, sufficiency, or usefulness of

    the information contained herein. No warranties of merchantability or fitness for purpose shall

    apply.

    The following are Registered Trademarks of GE Fanuc Automation

    CIMPLICITY Genius

    The following are Trademarks of GE Fanuc Automation

    Alarm Master

    CIMSTAR

    Field Control

    Genet

    Helpmate

    LogicMasterModelmaster

    PowerMotion

    ProLoop

    PROMACRO

    Series Five

    Series 90

    Series One

    Series Six

    Series ThreeVuMaster

    Workmaster

    Copyright 1998FANUC Ltd.Authorized Reproduction GE Fanuc Automation Europe S.A.

    All Rights Reserved

    No part of this manual may be reproduced in any form.

    All specifications and designs are subject to change without notice.

  • 7/28/2019 Fanuc Fapt for PC Operator

    3/311

    CONTENTS

    I. BASICS (NORMAL OPERATIONS)

    1. OVERVIEW ...................................................... l-1

    2. INSTALLATION ................................................... 1-52.1 Operating Environment .......................................... 1 - 6

    2.1.1 PC9801 operating environment ............... ._ ............. 1 - 72.1.2 IBM PC/AT operating environment ........................... l-10

    2.2 Installation Procedure .......................................... l-11

    3. ACTIVATION .................................................... l-15

    4. BASICOPERATION ....................... ..q ..................... l-174.1 Menu Configuration ........................................... l-174.2 Common System Operations ..................................... l-194.3 Model Setting ................................................ l-21

    5. OPERATION ....................................................5.1 Editing .....................................................

    5.1 .l Title data editing ........................................5.1.2 Ladder diagram editing ...................................5.1.3 Symbol and comment editing ...............................5.1.4 Message editing ........................................5.1.5 I0 module editing .......................................5.1.6 System parameter editing .................................

    5.2 Printout ....................................................5.3 Compilation .................................................

    5.3.1 Operation .............................................5.3.2 Password set function

    (PMCRAlRA3/RB3/RB4RB5/RB6/RC3!RC4/NB!NB2) .............5.3.3 Changing the Order of Subprograms .........................5.3.4 It is possible to choose output data

    (Symbol/Comment. Net comment) to ROM format file .............5.3.5 The list of source program ................................5.3.6 DOS command ........................................

    5.4 Decompilation ..............................................5.4.1 Operation ............................................5.4.2 Outputting to split files ...................................5.4.3 Converting a step sequence program according to the model .......5.4.4 Merge ..............................................5.5 Link ......................................................

    l-22l-22l-25l-26l-60l-68l-70l-73l-851 - 94l-95

    l-991 - 103

    l-103l-105l-109l-110l-110l-1121-1131-113l-116

  • 7/28/2019 Fanuc Fapt for PC Operator

    4/311

  • 7/28/2019 Fanuc Fapt for PC Operator

    5/311

    1.4.7 Setting the title of printout ................................. 2-191.4.8 Setting the cross-reference list output format guidance information .... 2 - 191.4.9 Setting the cross-reference list output information ................ 2 - 201.4.10 Specifying the cross-reference list output format ................. 2 - 201.4.11 Setting the cross-reference list readiwrite coil guidance information .... 2-211.4.12 Specifying the cross-reference list linefeed ..................... 2-211.4.13 Specifying the cross-reference list page break ................... 2 - 211.4.14 Setting the output format guidance ........................... 2 - 221.4.15 Setting the output information ............................... 2-221.4.16 Setting the output format .................................. 2-221.4.17 Setting the read/write coil guidance ........................... 2 - 231.4.18 Setting line feed ........................................ 2-231.4.19 Setting form feed ....................................... 2-23

    III.THE STEP SEQUENCE FUNCTIONS

    1. OVERVIEW ...................................................... 3-l1.1 WhatisaStepSequence? ....................................... 3-l1.2 Programming with the Step Sequence Method ......................... 3 - 11.3 A Program Configuration Screen ................................... 3 - 11.4 The Configration of a Sequence Program ............................. 3 - 21.5 DataFlow ................................................... 3-3

    2. SETTING A MODEL ................................................ 3-42.1 Operation .................................................... 3-4

    3. EDITING ........................................................ 3-63.1 Basic Operation ............................................... 3 - 63.2 Creating a Step Sequence ....................................... 3 - 9

    3.2.1 Creating a subprogram of the step sequence ..................... 3 - 93.2.2 Creating a step sequence program ........................... 3 - 10

  • 7/28/2019 Fanuc Fapt for PC Operator

    6/311

    APPENDIX

    APPENDIX 1 DATA TRANSFER CABLES .................................. Al - 1APPENDIX 2 FUNCTION FOR OPERATING THE PMC-L/M WITH RAM ............ A2 - 1APPENDIX 3 ERROR MESSAGES ...................................... A3 - 1APPENDIX 4 MODULAR PROGRAMMING (PMC-RA3/RB3/RC3 ONLY) ............ A4 - 1APPENDIX 5 BOOT SYSTEM OPERATING PROCEDURE (FOR THE FS20) ......... A5 - 1APPENDIX 6 MEMORY CARD COMPATIBILITY (FOR THE PMC-RAl!RA3, NB, AND QC) A6 - 1APPENDIX 7 CAUTIONS FOR USING THE O/S ............................. A7- 1APPENDIX 8 TOOL FOR CHANGING MESSAGE DATA (CHGMES) ............... A8 - 1APPENDIX 9 SOFTWARE VERSION TABLE ................................ A9 - 1APPENDIX lOMANAGING A SOURCE PROGRAM .......................... AlO- 1APPENDIX 11 SYSTEM CONFIGURATION FILE %%?oFLSET.CNF.. ............. Al 1 - 1APPENDIX 12 INQUIRY FORM ......................................... A12- 1

  • 7/28/2019 Fanuc Fapt for PC Operator

    7/311

    I. BASICS(NORMAL OPERATIONS)

  • 7/28/2019 Fanuc Fapt for PC Operator

    8/311

    1. OVERVIEW

    1. OVERVIEWThis manual describes the software products listed below which are included in the FAPT LADDERoffline programming system for FANUC PMC sequence program generation. These softwareproducts are designed to run on standard personal computers.

    Personalcomputer Name Specification Remarks

    JEC PC9801 FAPT LADDER PMC-L/M/P A08B-9200-J500#JP For the NEC PC9801FAPT LADDER PMC-N A08B-9200-J501 #JP Series and compatibleFAPT LADDER PMC-RB/RC A08B-9200-J502#JP machines (Japanese

    language version)BM PC/AT FAPT LADDER PMC-UM/P A08B-9201 -JSOO#EN For IBM PC/AT and

    FAPT LADDER PMC-N A08B-9201-J501#EN compatible machinesFAPT LADDER PMC-RB/RC A08B-9201-J502#EN (English language version)

    This manual explains procedures required to install, activate, and operate the software above thatare specific to the system designed for use with personal computers. For PMC operations andhow to create PMC sequence programs, refer to the manuals listed below.

    FANUC PMC-MODEL K/UM!PProgramming Manual (LADDER language) B-551 93E

    FANUC PMC-MODEL NProgramming Manual (LADDER language) B-61013E

    FANUC PMC-MODEL PA1 :PA3:RAl RA2!RA3/RBRB2!RB3iRB4!RBSRBG;RC!RC3RC4!NBNB2Programming Manual (LADDER language) B-61 863E

    Inquiry formIf you have any questions after reading this operators manual and the manuals listed above,use the inquiry form attached at Appendix 12 to consult us the questions.

    l-l

  • 7/28/2019 Fanuc Fapt for PC Operator

    9/311

    1. OVERVIEW

    The following abbreviations are used in this manual for PMC models.

    AbbreviationsPMC-UM!P

    * PMC-L* PMC-M* PMC-P

    Pfk-NPMC-R Series

    * PMC-RAl _ ** PMC-RA2 .-* PMC-RA3- PMC-RB- PMCRB2* PMC-RB3- PMC-RB4- PMC-RB5* PMC-RB6. PMC-RC* PMGRC3* PMCRC4

    PMC-PA1PMC-PA3PMC-QAPMC-QCPMC-NAPMC-NBPMC-NB2

    PMC Models

    FANUC PMC-MODEL LFANUC PMC-MODEL MFANUC PMC-MODEL PFANUC PMC-MODEL N

    FANUC PMC-MODEL RAlFANUC PMC-MODEL RA2FANUC PMC-MODEL RA3FANUC PMC-MODEL RBFANUC PMC-MODEL RB2FANUC PMC-MODEL RB3FANUC PMC-MODEL RB4FANUC PMC-MODEL RB5FANUC PMC-MODEL RB6FANUC PMC-MODEL RCFANUC PMC-MODEL RC3FANUC PM&MODEL RC4FANUC PMC-MODEL PA1FANUC PMC-MODEL PA3FANUC PMC-MODEL QAFANUC PMC-MODEL QCFANUC PMC-MODEL NAFANUC PMC-MODEL NBFANUC PMC-MODEL NB2

    1-2

  • 7/28/2019 Fanuc Fapt for PC Operator

    10/311

    1. OVERVIEW

    The major functions of the software are listed below.

    (1) Sequence program input. display, and editing(2) Transmission to and from PMC (RAM), and PMC verification(3) ROM (EPROM, ROM cassette, and ROM modules) write, read, and verification(4) Sequence program print-out

    Memorycard

    . . . . .

    c=e

    ,................................ > (-NCRS232C PMC

    RS232C 3FLOPPYCASSETTE/Handy File

    Machine ToolDVDO

    Personal computerFloppy disk NEC PC9801

    IBM PC/AT

    Input/Editsequenceprogram

    Memory cardinterface

    Drawing

    1-3

  • 7/28/2019 Fanuc Fapt for PC Operator

    11/311

    1. OVERVIEW

    Operation flow for FAPT LADDER activation

    Prepare personal computer. MS-DOS, and FAPT LADDER

    +Install MS-DOS4Create directory for FAPT LADDER1Install FAPT LADDER+Install device drivers@et CONFIG.SYS and AUTOEXECBAT)J.

    Reset personal computer

    Activate FAPT LADDER

    Set model (PMC)

    Operations includinq editing

    J/End?JI Yes

    Reference chapter/section

    Section 2.2

    - Section 2.1

    - Section 5.6

    - Chapter 3

    - Section 4.3

    - Chapter 5

    Terminate FAPT LADDER

    l-4

  • 7/28/2019 Fanuc Fapt for PC Operator

    12/311

    2. INSTALLATION

    2. INSTALLATIONFAPT LADDER software is stored on the floppy disks listed below. Before the system can beused, the contents of these system floppy disks must be written to a hard disk; the software cannotbe run directly from the floppy disks. To install the system on a hard disk, the user needs to befamiliar with the hardware and software of his or her personal computer, particularly with basic MS-DOS command operation and files such as CONFIG.SYS and AUTOEXEC.BAT.

    The names of the floppy disks are listed below.

    FAPT LADDER PMC-L;M:P system floppy diskVols.1 and 2FAPT LADDER PMC-Lmodule floppy disk

    FAPT LADDER PMC-M module floppy disk

    A08B-9200-J500 #JP (PC9801)A08B-9201 -J500 #EN (IBM PC/AT)A08B-9200-J600 #JP (PC9801)A08B-9201-J600 #EN (IBM PCAT)A08B-9200-J601 #JP (PC9801)A08B-9201-J601 #EN (IBM PC/AT)

    FAPT LADDER PMC-M (MMC) module floppy disk A08B-9200-J602 #JP (PC9801)A08B-9201-J602 #EN (IBM PCAT)

    FAPT LADDER PMC-NNAQA system floppy disk A08B-9200-J501 #JP (PC9801)Vols.1, 2, and 3 A08B-9201-J501 #EN (IBM PCAT)

    FAPT LADDER PMCRAlIRA2IRA3:RBiRB2/RB3/RB4/RC A08B-9200-J502 #JP (PC9801)/RC3/RC4/PAl !PAYQCNB system floppy disk A08B-9201 -J502 #EN (IBM PC/AT)Vols. 1, 2, and 3FAPT LADDER PMC-RAl IRA2iRA3;PAl iPA modulefloppy diskFAPT LADDER PMC-RB1RB2RB3.RB4RCRC3.1RC4module floppy diskFAPT LADDER PMC-QC module floppy disk

    FAPT LADDER PMC-NB module floppy disk

    A08B-9200-J603 #JP (PC9801)A08B-9201 -J603 #EN (IBM PCAT)A08B-9200-J604 #JP (PC9801)A08B-9201-J604 #EN (IBM PCAT)A08B-9200-J605#JP (PC9801)A08B-9201 -J605#EN (IBM PCAT)A08B-9200-J606#JP (PC9801)A08B-9201-J606#EN (IBM PC AT)

    l-5

  • 7/28/2019 Fanuc Fapt for PC Operator

    13/311

    2. INSTALLATION

    2.1 Operating Environment

    PMC model CombinationPMC-L 0.8PMC-M @, @PMC-M (with MMC) 0. @IPMC-P 0PMC-N @PMC-PA1 @, @PMC-PA3 0, ZJPMC-QA @PMC-QC 43, @?MC-NA 6JMC-NB 0, @

    PMC model CombinationPMC-RAl 0, QJPMC-RA2 @, @PMC-RA3 @. QJPMC-RB @, @PMC-RB2 @, @PMC-RB3 @, @PMC-RC 0, @PMC-RC3 0, @PMC-RC4 8, @

    To use the software, the requirements indicated in the table below must be satisfied. Beforeinstalling the software, check these requirements.

    Main memoryHard diskOSPrinter

    EMS

    Others

    (Note 1)(Note 2)

    NEC PC9801 IBM PC/ATFree area of 500K bytes or more is required (Note 1) (Note 2).About 3M bytes is required for installing the system (Note 3).MS-DOS Version 3.1 or later PC-DOS Version 3.3 or laterNEC PR20lH EPSON VP1 000Epson VP1000 (Note 4)A LIM type EMS (expanded memory specification) memory board may berequired depending on the PMC model and the size of a sequence programto be created. For details, see 2.1.1.

    The EGA graphic interface isrequired.

    If the standard memory size of the machine is insufficient, memory expansion isrequired.Even if the machine has 640K-byte memory, the memory may not be large enoughwhen an installed driver. for example, uses a large memory space. The size of freespace in main memory can be checked with the MS-DOS command CHKDSK.

    l-6

  • 7/28/2019 Fanuc Fapt for PC Operator

    14/311

  • 7/28/2019 Fanuc Fapt for PC Operator

    15/311

    2. INSTALLATION

    Expanded memory (EMS)Extended memory (XMS)

    EMS and/or XMS of 4 Mbytes or more(recommended) (Kate 1)

    * Better to include EMS of 256 kbyteor more (Note 2)

    Note 1) The quantity of the EMS and XMS memory effects on the performance to handleSymbol data and Net comment. Please prepare enough EMS or XMS memoryspecially for Symbol data or Net comment of large number.

    Note 2) At the system with EMS less than 256 kbytes, the maximum number of steps whichFAPT LADDER can handle may be restricted. Please prepare 256 kbytes or moreEMS if possible.

    About size of EMS and XMS memory to be used:

    Although FAPT LADDER runs with no EMS nor XMS, enough size of EMS and/or XMS memoryaccording to the source program to handle will be necessary for better performance.

    1)

    2)

    3)

    EMS memory for Ladder sequence programFAPT LADDER uses EMS memory for Ladder sequence program if available.When no EMS memory is found, the convenGonal memory is used, and the size ofconventional memory may restrict the number of steps able to be edited.Ladder sequence program occupies 256 kbyte of EMS, regardless of the type of PMC, orthe size of the ladder sequence program to edit.

    EMS and XMS memory for Symbol & Comment dataFAPT LADDER uses EMS and/or XMS memory for Symbol & Comment data if available.When neither of them are available, FAPT LADDER will make temporary file on the harddrive, and processing large number of Symbol & Comment data may be slower.About 200 kbytes of EMS or XMS memory are used for every 1,000 Symbol data.

    EMS and XMS memory for Net commentFor Net comment, FAPT LADDER also uses EMS and/or XMS memory, or temporary fileas same as Symbol & Comment data.About 200 to 300 kbytes of EMS or XMS memory are used for every 1,000 Net comments.

    (3) Using a Japanese language input FEPFAPT LADDER for PC9801 allows comments in Japanese to be entered on the symbol andcomment editing screen. (See Section 51.3.)For Japanese language input, a front-end processor (FEP) for Japanese language input isrequired. For information about the installation and operation of an FEP, see the relevantmanual.

    1-8

  • 7/28/2019 Fanuc Fapt for PC Operator

    16/311

    2. INSTALLATION

    The following Japanese language input FEPs can be used:

    Supplier

    NEC

    Driver name

    NECAlKl. DRVNECAIK2. DRV

    Memory size required

    About 130K bytes

    Remarks

    Al step-by-step conversionAl multiple-block conversionStep-by-step conversionMultiple-block conversion

    NECDIC. DRVJust Systems ATOKGA. SYS

    ATOKGB. SYS

    About 40K bytes Single-block conversionAbout 100K bytes ATOKG

    ATOK7A. SYSATOK7B. SYS

    About 115K bytes ATOKWhen the EMS is used

    Main : 50K bytesEMS : 64K bytes 1

    Note the following points on Japanese language input:

    (a)

    (W(c)

    60

    09

    When a Japanese language input FEP is activated (in the Japanese language input mode),the Japanese language input FEP displays data on a section of the screen. As a result, theFAPT LADDER screen may temporarily be in disarray. However, the FAPT LADDERscreen returns to normal when Japanese language input is completed (Japanese languageinput mode is terminated).When a comment is entered using only Japanese, up to 14 characters can be entered.

    A comment entered in Japanese can be displayed on the editing screen or printed out, butcannot be written into a ROM cassette or transferred to the PMC. At compile time, amessage is output indicating this restriction and all Japanese characters are converted toblanks. Note, however, that sequence program operation is not affected.

    A Japanese language input FEP is installed as a resident driver in the system. This meansthat memory available to FAPT LADDER is reduced accordingly. Check that the size ofmemory usable for FAPT LADDER is 500K bytes or more to allow FAPT LADDERexecution.Editing alone can be performed without installing PRINT.SYS and RSDRV.SYS in order toallocate a free area of 500K bytes. Note that when FILES or BUFFERS is specified inCONFIG.SYS. a main memory size of 1K bytes is used per file (buffer) specified. Makeadjustments as required.

    A Japanese language input FEP can also be installed with ADDDRV and DELDRV by usinga subprocess after calling COMMAND.COM in user batch execution.

    An example is provided below.

    l - 9

  • 7/28/2019 Fanuc Fapt for PC Operator

    17/311

    2. INSTALLATION

    2.1.2(1)

    First. change the contents of FLMNE.BAT under the directory where FAPT LADDER isinstaed, as follows:

    FLMNE. BATr! OMMAND

    In ddition, create a file with the name FEP.DEF with the definitions below. The examplebelow assumes use of ATOK7. For detailed information, see the manual of the relevantFEP.

    FEP.DEFDEVICE=A:YDEV+ATOK7A.SYS/D=A:+ATOK7L.DICDEVICE=A:YDEV)CATOK7B.SYS >

    Select MNEEDT (mnemonic editing) from the main menu, and select F3 (user batch fileexecution). The following message appears:

    Execute 'FLMNE.BAT'.Add parameter(s)? [A(Add), N(Not add), S(Stop)]

    Enter N to return to MS-DOS. Execute the following commands to install and remove theFEP:

    ADDDRV FEP.DEF

    DELDRV 1

    (To install the FEP)

    (To remove the FEP)

    The user can return to FAPT LADDER by pressing Fi .

    IBM PC/AT operating environmentCONFIGSYS, AUTOEXEC.BATThe system uses ANSI-based escape sequences. Therefore, ANSI.SYS needs to be installedusing CONFIG.SYS.Add the line indicated below to CONFIG.SYS.ANSI.SYS is assumed to be under directory \DEV on drive A.

    DEVICE=A:\DEV\ANSI.SYS

    l -10

  • 7/28/2019 Fanuc Fapt for PC Operator

    18/311

    2. INSTALLATION

    (2) Using EMSThe expanded memory specification (EMS) memory can be used with the system as a workarea for a sequence program. The EMS memory allows a larger sequence program to beused. (An EMS memory size of 256K bytes or more allows 24000 steps to be edited.)If EMS memory is not used, a sequence program of up to about 21840 steps can be handledwhen the main memory has a free area of 570K bytes.)Ladder diagram editing cannot be started if a free area sufficient for 16000 steps cannot beallocated in main memory due to the space taken up by resident device drivers. In this case,EMS memory is required.FANUC has confirmed that the setting described below ensures normal operation.

    MS-DOS Version 4.0Specify the statements below as the first DEVICE statements of the CONFIG.SYS file. Eachdevice driver is assumed to be under directory \DEV on drive A.

    DEVICE=A:\DEV\XMAEM.SYSDEVICE=A:\DEV\XMA2EMS.SYS FRAME=COOO

    2.2 Installation ProcedureAn installation batch file is used to install the programs on the system and module floppy disks.(See (3))Note that there are two different installation procedures. They are selected according to the typeand edition of the system.

    0 Installation of ordinary files (see item (1) for the procedure.)The programs on the following system and module floppy disks are distributed in ordinaryfile format.

    - PMC-L/M/P system floppy disk (AOSB-9200/9201-J500) editions 06.1 and earlier. PMC-N system floppy disk (A08B-920019201 -JSOl). PMC-RB!RC system floppy disk (A08B-9200/9201 -J502) editions 07.1 and earlier* All module floppy disks

    @ Installation of compressed files (see item (2) for the procedure.)The programs on the following system and floppy disks are distributed in compressed fileformat.

    * PMC-L/M/P system floppy disk (AOSB-9200/9201-J500) editions 06.2 and earlier* PMC-RBRC system floppy disk (AO8B-9200/9201-J502) editions 08.0 and earlier

    Note 1) The installation procedure of the programs on each floppy disk is subject to change.Before starting installation, refer to a README.DOC file (if there is one). If there is noREADME.DOC, use the ordinary file format installation procedure (1).

    1-11

  • 7/28/2019 Fanuc Fapt for PC Operator

    19/311

    2. INSTALLATION

    Note 2) The compressed file is a self-extracting file produced using an archive program utilitynamed LHA. LHA is freeware created by Mr. Haruyasu Yoshizaki.

    (1) Installation procedure for ordinary files on system floppy disksThe following procedure uses an example in which ordinary files are read from each PMC-Nsystem floppy disk in drive B:, and installed in the directory Y FLADDER created on the harddisk drive (C:).

    [Operation]Insert the system floppy disk VOLl in a drive.

    Enter the following commands to execute an installation batch file.

    B:Y> CD INSTALLB:YINSTALL> INSTALL B:Y C:+FLADDER

    0 When the following message appears, confirm it, and press any key.SYSTEM PROGRAM will be installed from DRIVE B:\ to C:\ FLADDER(HARD DISK)SET [SYSTEM FD Vol.11 on DRIVE B:\When stop "CTRL+C"Press any key to continue

    If it is necessary to discontinue installation, press the CTRL + C keys to stop execution of thebatch file.

    VOLI is installed on the hard disk.

    When the following message appears, insert the system floppy disk VOL2 in a drive, andpress any key.SET [SYSTEM FD Vol.21 on DRIVE B:\When stop "CTRLtC"Press any key to continue

    VOL2 is installed on the hard disk.

    When the following message appears, insert the system floppy disk VOL3 in a drive, andpress any key.SET [SYSTEM FD Vol.31 on DRIVE B:\When stop "CTRLtC"Press any key to continue

    VOL3 is installed on the hard disk.

    1- 12

  • 7/28/2019 Fanuc Fapt for PC Operator

    20/311

    2. INSTALLATION

    (2)

    9 The following message appears.

    Installation procedure for compressed files on system floppy disksThe following procedure uses an example in which ordinary files are read from each PMC-RB.RC system floppy disk in drive B:, and installed in the directory Y FLADDER created on thehard disk drive (A:).

    [Procedure ]

    Note

    Note

    Insert the system floppy disk VOLl in a drive.

    Enter the following commands to execute an installation batch file.

    I:Y> CD INSTALLB:YINSTALL> INSTALL 9: A:YFLADDERY I1) When specifying the files to be installed, enter only their drive name; do not specify a

    directory (that is, do not enter 4h .

    2) When specifying the directory in which the system is to be installed, suffix it with Y .When the following message appears, confirm it. and press any key.

    SYSTEM PROGRAM will be installed from DRIVE B:\ to A:\ FLADDER(HARD DISK)SET [SYSTEM FD Vol.11 on DRIVE B:\When stop "CTRL+C"Press any key to continue

    If it is necessary to discontinue installation, press the CTRL + C keys to stop execution of thebatch file.

    VOLl is installed on the hard disk.When the following message appears, insert the system floppy disk VOL2 in a drive, andpress any key.

    SET [SYSTEM FD Vol.21 on DRIVE B:\When stop "CTRLtC"Press any key to continue

    VOL2 is installed on the hard disk.

    1-13

  • 7/28/2019 Fanuc Fapt for PC Operator

    21/311

    2. INSTALLATION

    When the following message appears. insert the system floppy disk VOL3 in a drive, andpress any key.

    SET [SYSTEM FD Vo1.3) on DRIVE B:\When stop "CTRL+C"Press any key to continue

    @I VOL3 is installed on the hard disk.

    @I The following message appears.

    (End/

    (3) Installation batch filesThe following table lists the installation batch files and their directories.

    File name Directory@ PMC-L/M/P system floppy disk LMPINSTSAT Ic INSTALL8 PMC-L module floppy disk LINST.BAT Y$J PMC-M module floppy disk MINST.BAT Y@ PMC-M (MMC) module floppy disk MMINSTBAT gc@J PMC-NINAQA system floppy disk INSTALL.BAT +J NSTALL@ PMC- INSTALL.BAT qC NSTALLRA~/RA~JAA~RB:RB~;RBYRB~/RC~RC~!RC~/PA

    1 PA3IQCINB system floppy disk(3 PMC-RAl !RA2IRAS/PAl IPA3 module floppy disk RA12lNST.BAT Y INSTALLEMC-RB!RB2/RB3;RB4IRCIRC3iRC4 module RBRCINST.BAT Y INSTALL

    floppy disk?) PMC-QC module floppy disk QCINST.BAT Y INSTALLI@ PMC-NB module floppy disk NBINST.BAT gC NSTALL

    (Note) Systems for different PMC models can be installed in the same directory. However,restrictions may be placed depending on the edition of the software. See Appendix9 for details. For systems that cannot be installed in the same directory, install themin separate directories.

    1 - 14

  • 7/28/2019 Fanuc Fapt for PC Operator

    22/311

  • 7/28/2019 Fanuc Fapt for PC Operator

    23/311

  • 7/28/2019 Fanuc Fapt for PC Operator

    24/311

    4. BASIC OPERATION

    4. BASIC OPERATION4.1 Menu ConfigurationThe configuration of the menu screens displayed by the system are shown below.

    MS-DOS$- 4initial screenf 4Main menu- Fl Edit

    itle data

    Ladder diagramSymbol and commentMessageI/O moduleSystem parameter

    Print Executionl-Setting

    qz[TEXEC Compression (PMC-R seriesKXiNB)

    c (PMC-N/NA/RC/RC3!QC4;QC/NB)LPASCAL (PMC-N, NA)

    -PMC writer, FA writer ReadWriteVerificationBlank check

    -PMC-E

    DownloadUploadComparison

    -Handy file/Floppy cassette adapter-Memory card

    (Note 1) The format of the source program of this system is different from that of FAPTLADDER for the P Series. Thts system uses the mnemonic edit function (F8) to edit afile having the format of FAPT LADDER for the P Series.

    (Note 2) An object file has the ROM format of FAPT LADDER for the P Series. This systemreads a sequence program created by the P Series In the ROM file format. The formatof the floppy disk must be converted.

    1-17

  • 7/28/2019 Fanuc Fapt for PC Operator

    25/311

    Diagram of relationships among the functions of the system

    P-G -FAPTLADDER- . . .i Source i; format :s: program i: . . . .

    . . . . . .; ROM ;; format :4: program I: . . . .

    FAPTPASCAL -. . .: PASCAL ;: load :-:module i. . . .

    U-inchffOPPY

    3.5inchffOPPY

    -+I+35inchffOPPY

    - PC9801 - IBM-PC/AT- FAPT LADDER

    Edit Setup

    qzq+J4ASC format

    FLOAD98 IFLOADAT

    +q+-+Binary format

    II I IFLPGMS k-1 Q I +1 IBinary format

    ASC format

    v :: Communication by FEZ-2324(Refer to Appendix 1 for cables)

    fg-pii?-~-

    Q-l_),3.5inchffPPY

    CNC -

    Memorv

  • 7/28/2019 Fanuc Fapt for PC Operator

    26/311

    4. BASIC OPERATION

    4.2 Common System OperationsThe operations described below are basic operations applicable to all screens.

    (1) Function keysWhen the menu items shown below are displayed in reverse video, the user can select thedesired menu item by pressing the corresponding function key.

    .:,:.. j., .j.,, ;z:,i,:lE D,T,i,j,I:( j; :... ..:. j. ;::i,:pR,$& )j:..:::::; :.:_. ./ .::.?::is z 3 :;C*MP,i..: 4 j .&&...y s :;.:;& :y ; fj&:::q ,y:)):., .., :,.: ::::..:: :.: ::...: .j,. .,, ::: ;;:. ;::.;&p~:., * .;&JE+ 9 ,:,: : :. :: 5 :.>::;:;;g( +j ,,,,

    WI PI F31 IF41 WI F61 ( F , ] WI WI IF101(2) Escape key

    The escape key has the same effect as selecting [END] with the function key. Theescape key terminates the current screen then returns the display to the previous screen in themenu hierarchy.

    (3) Cursor keysThe cursor keys < t >, < 1 >, < + >, and < + > are used to move the cursor toselect input items.When two or more cursors can be used on a single screen, the second or subsequent cursorcan be moved by pressing the key together with the < + > or -z -+ > key.

    (4) Scroll keysThe scroll keys and scroll the screen up (to display theprevious one page) and scroll the screen down (to display the next one page), respectively (forthe PC9801).The scroll keys and display the next page and the previouspage, respectively (for the IBM PC/AT).

    (5) [INS] keyThis key switches between the overwrite mode c 0 > and insert mode -z I >.

    (9) [HELP] key

    When the < HELP > key is pressed, help information may be output for the specified item.

    1-19

  • 7/28/2019 Fanuc Fapt for PC Operator

    27/311

    4. BASIC OPERATION

    (7) Status line

    A status line is displayed at the top of the screen.

    Main menu PMC-RB2 [A::FLADDER 1

    (8)

    t- Item name t Model currently selectedcurrently selected

    L Currentdirectory name

    Edit mode (overwritefinsert)

    (Note) The indications on the key tops may slightly vary from the descriptions of thismanual. depending on the personal computer used.

    Pop-up menuWhen the following pop-up menu appears, the desired processthe three methods described below.

    can be selected using any of

    The file already exists.Fl UpdateF2 QuitF3 Append

    1)

    2)

    3)

    Cursor movementTo select an item, press the cursor key < ? > or c 1 >, such that the item to be selectedis displayed in reverse video. Then, pressing the key selects that item.

    Function keyA function key is indicated at the left of each item. To select an item, press thecorresponding function key.

    Command nameAn uppercase letter in (usually, the initial of) an item name is the command name. In theabove case, pressing the letter key -z U >, , or can select the Update. Quit, orAppend command, respectively.

    l-20

  • 7/28/2019 Fanuc Fapt for PC Operator

    28/311

    4. BASIC OPERATION

    4.3 Model SettingIn this case, the user needs to select the PMC model by selecting [SETUP] before selectrnganother menu item. This setting, once executed, is preserved (i.e. setup need not be repeated).

    [Operation]Select [SETUP].

    The setup menu is displayed. (The screen is of PMC-R08.0 version)

    PUCMPICRA?PUCRA3PUGRBpcuc;;;PUCRB4PICRB4 (STEP SpPMCRC*PWCRC3PVCAC4PVCRC4 (STEP SWPUCPAPUCPA3PVCPCPVCNB

    Select the PMC model using the arrow keys.

    Press the key. Then the following message appears and the model namedisplayed in the status line changes.

    Setup completed.

    Select [END].

    The display returns to the setup menu screen.

    Select [END].

    The display returns to the main menu screen.

    (Note) When PMC-NA is used, select PMC-N (l/O) on the above screen.

    l-21

  • 7/28/2019 Fanuc Fapt for PC Operator

    29/311

  • 7/28/2019 Fanuc Fapt for PC Operator

    30/311

    5. OPERATION

    6! Enter the name of a source program to be edited.No more than 36 characters can be entered to specify a program name.An MS-DOS file name must be entered (extension (.xXx) must be excluded).

    (i) When a new file is created

    +6utput Specify the OUTPUT PROGRAM NAME only.program(ii) When an existing file is edited directly

    6/O Specify the same program name in the INPUT PROGRAM NAMEprogram field and OUTPUT PROGRAM NAME field.(ii) When an existing file is modified and its contents are stored in a separate file

    I=7inputnrnnram Specify the name of the existing file to be edited in theINPUT PROGRAM NAME field. Specify the name of the file, yvy , in which to store the program in the OUTPUT PROGRAM< 2 L-2 NAME field.

    To specify a file that exists in the current directory displayed at the status line, enter the filename. To specify a file in another directory, enter the relative path and the file name.

    Example) A : iFL ADDER 7t -IT

    Current directory L DATA - SAMPLE 1i-- SAMPLE2

    In this case, the following two lines specify the same file.

    A:FLADDERDATASAMPLElDATAsAMPLE

    l-23

  • 7/28/2019 Fanuc Fapt for PC Operator

    31/311

    5. OPERATION

    @ The following editing menu screen appears:ED T i x-x Q NA: wADI ; i R\ I

    FI kEY : TI TLEI ?? RY : LWDEK DI %R+F3 m : SMKI L 6 CONEI I TF4 KFI : , WSAGEF5 KEY : I , ; 0I DLLE!FE hEY : SYSTMP. ! J &WTERFl O kEY : E! l u

    ($3 Select data to be edited with the corresponding function key.

    $3 The editing screen for the selected data appears. For example, the screen below isdisplayed when [TITLE] is selected.

    EDIT TITLL : fPf.z-fc \\ ,slb~:at. :\ : :: f

    51 EDI TI OS O6) PROCRMI l l ~~ hl V607) MT\ OF I ' RO(; f f i l WG8) PRG- XI I HI CSEDBY9) RUMhRI TTL5 Y

    1 ? 3 4 5 6 i R 9 10 mu

    (2) Termination

    [Operation]Q Select [END] or press the < ESC > key on the editing screen.

    G3 The following message appears:

    l-24

  • 7/28/2019 Fanuc Fapt for PC Operator

    32/311

    5. OPERATION

    (3 Press the desired function key.(i)(ii)

    (iii)

    When UPDATE is selected, the editing operation is terminated after the results ofediting are written to a file.When QUIT is selected, the editing operation is terminated without writing the resultsof editing to a file.When RESUME is selected, the editing is continued.

    @ When UPDATE or QUIT is selected, the display returns to the editing menu screen.(i) To continue editing, select the appropriate function key.(ii) To terminate editing, select [END]. The display returns to the main menu.

    5.1.1 Title data editingTitle data represents the titles of sequence programs generated by a machine tool builder.

    (1) Start

    [Operation]0 Select [TITLE] on the editing menu screen.

    @ The following title editing screen appears:

    (2) Input

    EMT ( TI TLE ) M -i s 6hfA: ' ZtNXI % \

    : I Xt LC ' 41C- HNELC & Fl t NI

    f

    [Operation]0 Select an input item (displayed in reverse video) with the < 1 > and < 1 > keys.

    l-25

  • 7/28/2019 Fanuc Fapt for PC Operator

    33/311

    5. OPERATION

    e Enter data.

    The maximum number of characters usable for each title data item is listed below.MACHINE TOOL BUILDER NAME : 32 charactersMACHINE TOOL NAME : 32 charactersCNC b NC NAME : 32 charactersPMC PROGRAM NO : 4 charactersEDITION NO : 2 charactersPROGRAM DRAWING NO : 32 charactersDATE OF PROGRAMMING : 16 charactersPROGRAM DESIGNED BY : 32 charactersROM WRITTEN BY : 32 charactersREMARKS : 32 characters

    (3) Termination

    [Operation]0 Select [END] on press the c ESC > key to return to the editing menu screen.

    0 The following message appears.

    Fl UpdateF2 QuitF3 Edit

    0 Press the desired function key. The system returns to the editing menu.

    5.1.2 Ladder diagram editingIn ladder diagram editing, the user can perform sequence program input, addition, deletion, andsearch operations.

    (1) Start

    [Operation]@ Select [LADDER] (LADDER DIAGRAM) from the editing menu.

    1-26

  • 7/28/2019 Fanuc Fapt for PC Operator

    34/311

    5. OPERATION

    (a)09

    (c)W)

    The following ladder diagram editing screen appears:

    u StBl PO001:sp

    l-AD=xooo.QTEST 0 SY=S:rFE 00026552 -DATA NO I 0110306553S -H- z+F- 3-a 4+3 %ztn + c--,-.. 6 t 9 _t 1ocuBm

    When the [View] command is used, a different line is shown. (For the [View] command,see (5) Connecting Sequence Program in Section 3.1.1 of the supplement.)The line shows the name of the file which is being edited, number of the net which isdisplayed on the screen, and the number of program stepsmaximum number of steps thatcan be edited.The line shows a sub-program number (P address) or label number (L address).The lines show a symbol and comment added to the data at the address selected by thecursor.@ AD = X000.0 : Address on which the cursor is placed8 SY = SAMPLE : Symbol

    000216552 Number of current symbols!Maximum number ofsymbols

    @ CO = TEST DATA NO.1 : Comment0003Of65535 Number of characters specified in the comment/

    Maximum number of characters permitted in thecomment

    1-27

  • 7/28/2019 Fanuc Fapt for PC Operator

    35/311

    5. OPERATION

    (2) Function key indications and selection

    The ladder diagram editing functions correspond to the function keys as indicated below.

    -@ [coman_d]

    Q Under condition CD),holding down [SHIFT] lets you select the following items.r ::.>,:.:.,.:c.::~:~;:i:.:jl::,:..:,:.:.\.:.:.:,:,: ... I. .., .:g:.:;er:.,_:~:::~i,~.~:1:I:I.~::1:1:::1:~.:81:~~~.~:~~:~::.:,:! .v.w ,l:... . .:.:,:,~.:.:.:,:.:.:,::.::::::.i:.:...:.:.:.:,~:.:.:.:.:.:.;::,::,::::: :.:...:., ~~~~~~~ 2 ;,$;!&k&; 3 ~~~~~~~~~~~~~~~~~~:~~~~~~~~~:;~~~~~~~~~~~~~~ 6 :~:~~~~~~~~~~~~~~~~~~~~~~~~~~~~:~~:~~~~~~~~~,~~~~~~~~~~~:~~~~Oii,i~::i:;~~~I~:::::ii>::.:_:...:.:.::.__,...):.:_:.:..l.,. >: . ._.... .y.._ ..\.,.:.:.:.:s...I :, :..:.:,.:..:.:.:.:_..::: .:,~):.:.:,..,, ,:.:Q..:.).i:: ,.,.,.,.,.,,,_,., .~)~);:_:_:.):.::.:.::.~.,..:.:,.,.i,.,.,__.@ [Delnet]

    @ [Search]. . ,. . : ,. .. . .., .,. ,. . . ::..:.:...:..: . ..:,_,).):: ::,.,:.. ,,., ,5 ;;,;;w&& 6 ;,&&i; : :i$&.~. 8 ;. .,~&~:~~.Y: _.,:_,::l:;,~.;i:i0,:: ;&.;;;:;I..:.: ., : .C,.: ,.,.,:,..: : ...

    CB [Copy1 1Wove1I $$&;:;.; 2 :l~a;~&;: 3 : .karch ..I4 i_down 5 .t;p,., 6 ,., 7.;, . . . . . . . 3.,A :.,,:,:: Y. 8 . .:. ..I :,. . .. .x. . g .Y .: --

  • 7/28/2019 Fanuc Fapt for PC Operator

    36/311

    5. OPERATION

    (3)

    (Note) While the function keys of @ are displayed in ladder diagram editing, a command ofQ can be executed. For example, entering and [COMAND] on the @ screenhas the same effect as selecting F4 [Adress] on the .a screen. To select acommand of 8 in this way, enter the upper-case letter (not necessarily initial letter)in the corresponding command name shown on the 8 screen.

    Sequence program input

    For sequence program input, select [LADDER] from the editing menu. The function keyprogrammer menu is displayed. When no sequence program has been entered, the screendisplays only the right and left vertical rails of a ladder diagram.

    At this stage, program input can be started.

    Use the cursor keys to move the cursor to any location in the ladder diagram.Examples of basic instruction program input and function instruction program input are shownbelow.

    (a) Example of basic instruction program input

    I x0.1 D30.2 F14.2 Y52.7

    3[Operation ]Move the cursor to the start position, then press [ -I I- 1.The [ -I I- ] symbol appears on the screen. The message HORIZONTAL LINEILLEGAL appears at the lower-right corner of the screen. This message warns theuser that horizontal ladder diagram line creation is not completed. Enter an addressand bit data.

    Enter X0.1 on the keyboard and press the < RETURN > key. The address is set atthe contact, and the cursor moves right.

    As in @ and 8, enter contact A of 030.2.

    Enter contact B of F14.2.Press [ e ] and enter address F14.2. then press the key. Theaddress is set on contact B and the cursor moves right.

    Without moving the cursor, press [ 4 1.A horizontal line segment extending to the right is drawn automatically and a relay coilsymbol appears near the right vertical rail.

    l-29

  • 7/28/2019 Fanuc Fapt for PC Operator

    37/311

  • 7/28/2019 Fanuc Fapt for PC Operator

    38/311

    5. OPERATION

    [Operation]@ Enter a control condition.

    Press [ -i t- 1. Next, enter an address and bit data, then press the key. The cursor moves right.

    Q Enter a function instruction.Press the [functn] key. Next, enter SUB number 8, then press the key.The function instruction diagram shown above appears.

    &! Enter the oarameters of the function instruction.First, enter the high-order 4-bit logical multiplication data of the first parameter, thenpress the key. The cursor automatically moves downwards. Enter theremaining three parameters one by one.

    (c) Restrictions and notes on ladder creation

    [Restrictions]@ Restrictions related to the ladder 1 net (corresponding to the portion between the RD

    and WRT instructions)a) When the ladder 1 net exceeds 256 steps (as counted as steps in the

    corresponding mnemonic program), the following message appears:A limit of 256 steps per net was exceeded.If there are more than 256 steps, no net is displayed.

    @ Restrictions related to a ladder diagram display per screenIf an attempt is made to display more than 70 ladder net lines per screen, the errordescribed below occurs.a) Symptom(a-l) When there are more than 70 lines per net, the following message appears.

    The NET being created is too large.If 70 lines are exceeded, the following message appears, and no net isdisplayed.A limit of 70 lines per net was exceeded.

    (a-2) When there are more than 70 lines totaled over two or more nets, the followingmessage appears.The NET being created is too large.If 70 lines are exceeded when totaled over two or more nets, the followingmessage appears for a net that is the current net when 70 lines are exceeded,and the display of the current net is discontinued.The NET is larger than the editing buffer.In this case, specify the net to be displayed. rrsing the ladder diagram searchfunction (such as net number search).

    b) How to obtain the number of lines per screenEven if part of a net is displayed on a screen, all lines of the net are included in the

    l-31

  • 7/28/2019 Fanuc Fapt for PC Operator

    39/311

    5. OPERATION

    total for that screen. In addition, a space line between nets is counted as a valid line.The number of lines in each net to be displayed is determined as follows:

    (b-l) Basic instructionsOne line is comprised of one basic instruction.

    b-1- 1 line

    L-I *lines(b-2) Function instructions

    The number of lines in a function instruction is: The number of control conditionsor parameters, whichever is greater, plus 1Examples of calculation follow.

    - When the number of control conditions < number of parameters

    RST r umber of control conditions = 2Number of parameters = 4Number of lines = number ofparameters + 1 = 5 lines- When the number of control conditions > number of parametersRlOO Number of control conditions = 3Number of parameters = 1Number of lines = number of controlconditions + 1 = 4 lines1-32

  • 7/28/2019 Fanuc Fapt for PC Operator

    40/311

    5. OPERATION

    (b-3) Data table section of function instructionsThe data table section of the COD, CODB, or DISP instruction is calculated asfollows:

    When the data table is one or two bytesNumber of lines = number of data tables16 ( + 1 if there is a remainder)

    0000000000000000

    0000 0000 Number of lines in the data table0000 0000 section = 11/60000 00000000 1 = 1 with remainder 5= 2 linesI

    When the data table is four bytesNumber of lines = number of data tables/4 ( + 1 if there is a remainder)

    SUB 27 0005CODB

    00070300D320

    00000000 000000000000000000000000

    00000000 1umber of lines in the data tablesection = 514= 1 with remainder 1= 2 lines

    l-33

  • 7/28/2019 Fanuc Fapt for PC Operator

    41/311

    5. OPERATION

    (b-4) Example of calculating the number of lines per screenFor the ladder shown below, the number of fines in the screen display section isobtained as follows:

    - The valid nets on the display screen are nets A and B.- Number of lines in net A

    Function instruction section + data table section = 6 lines -I-+ 8 lines(3+1) (1116) I- The number of lines in net B is 2.

    ACTNet A r-Screen display section. . . .

    Net B: . . . .

    Net C

    . . . . . . . .I.000

    003006009

    SUB 49 0011DISP

    0003T300. . . . . . . . . . . . . . . .0000 00000000 00000000 00000000 0000 . . . . . . . . . . .000000000000. ................c) Examples of symptomsExample of symptom (a-l)

    - The ladder diagram can be edited only when the total numberparameter of the DISP instruction (SUB 49) is less than 396.the total number of steps is 396, the net consists of 70 lines.

    of message data stepsThis is because when

    If a net that consists of a total of 396 steps or more is created during mnemonicediting, the following message appears, and the display of the net is discontinued.The data table is too large.

    1-34

  • 7/28/2019 Fanuc Fapt for PC Operator

    42/311

    5. OPERATION

    Example of symptom (a-2)- If an attempt is made to enter the net of a function instruction on the same screen as

    that of a basic instruction, the following message is displayed, and the attempt isrejected.The NET being created is too large.For example, if the basic instruction net has 68 lines, the MOVE instruction (SUB 8)cannot be entered, (because the total number of lines exceeds 70). The results ofcalculation are described below.

    . t+risplay screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1

    : . . .

    68-line net

    ! Number of MOVEi instruction lines =i number of parameters; (4) + 1 = 5

    ..! 68 + 5 = 73 lines

    < Measure >If the display of the 68-line net is not scrolled, the MOVE instruction can be entered._ A basic instruction net cannot be entered together with another basic-instruction net, if

    the total number of lines is greater than 70.For example, if a 68-line basic-instruction net is followed by another basic-instruction net,the element of the third line of the latter net cannot be entered.

    Display screen I++,..................................................._.___.....,_...........................

    I . . . . ::!j .I...l

    ] 68-line net

    < Measure >If the display of the 68-line net is not scrolled. the latter basic instruction can be entered.

    - When the CODB instruction (SUB 27) and DISP instruction (SUB 49) are edited on thesame screen, if an attempt is made to enter 396 as the total number of message datasteps for the DISP instruction (SUB 49) the following message appears, and the

    l-35

  • 7/28/2019 Fanuc Fapt for PC Operator

    43/311

    5. OPERATION

    attempt is rejected.The NET being created is too large.

    This symptom also occurs in a combination of two DISP instructions and a combination ofCODB and COD instructions.For example, if the number of tables for the CODB instruction is 200, the total number ofsteps for the DISP instruction can be only 66 at maximum. The calculation results areshown below.

    Display screen. . . . . .

    FIST-II-

    ACT-II-

    000 00000000 00000000002 00000000 00000000

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196 00000000 00000000198 00000000 00000000

    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4 bytes200 data tables

    ..I[

    . .

    Number of CODB_ instruction lines = 55Function instructionsection = 4 parameters

    + 1Data table section

    = 20014 = 50 I_alculation of DISP- instruction data items -that can be enteredFunction instructionsections = 3 parameters

    + 1Number of remaininglines = 70 - 55 - 4

    = 11 linesData tables

    = 11%=66

    < Measure >Moving the DISP instruction to the top of the display screen makes it possible to set thetotal number of steps to 396.

    8 Restriction on the maximum number of stepsThe maximum number of ladder steps that can be edited is as follows:Without EMS : 21840 stepsWith EMS : 24000 steps

    Note, however, that the maximum allowable number of steps can decrease, dependingon how memory is used.If a ladder being edited exceeds the maximum allowable number of steps, editing isdisabled and the following message is displayed:

    MNEMONIC BUFFER OVER

    l-36

  • 7/28/2019 Fanuc Fapt for PC Operator

    44/311

    5. OPERATION

    (4)

    (5)

    [Notes]CD An attempt to scroll a program on the screen with a scroll key or other keys fails if the

    ladder program is incomplete (for example, without addresses) or invalid.A correct ladder program must be created before the screen can be scrolled.

    Q Up to eight contacts and one coil can be entered in one line on the screen.However, this restriction does not apply to a sequence program created in mnemonicformat. When a sequence program created in mnemonic format exceeds this limit, it isdisplayed over several lines with a continuation symbol.This continuation symbol cannot be deleted with [ ----- 1. Use [Delnet] (netdeletion) to delete this symbol. (See Item (6) in this section.)

    Replacing sections of a sequence program

    Lines in an already created sequence program can be replacedin Item (3) above.in the same way as described

    Move the cursor to a program section to be changed, then enter new data.

    Sequence program addition

    Press the [comand] soft key of the function key programmer menu and use the function keysindicated below.To terminate the programmer menu, press the < ESC > key.

    I I, &&t .......................:.................:........................................ .... .... ......... :. ~::::&I&:1 > &if:$:: :zi~~~~~~::~$z$,$@:i;i . ................. : :..:.q.::::. :;. ,,:::: :,: : :.:.:.:. . : :::.:+~:.~~x~: .: ,y,:: ... . . :, . ..... .::::I ... ................ .:::.y $&&$ ~~~;fjiii.~~~!$zzyrdit:::;,.................:.:.:::::::::::::: ........y.. ......... ,.: :: ,.:,:: ... .::..: .: .... .:::::.:.:. ........... : : ::.:. .:::.:[Insert]

    As described below, there are four types of sequence program addition in a ladder diagram.

    (a) Example: when a relay contact is added on a line

    l Addition on a line

    Move the cursor to the position to add item(s), then enter item(s) in the way described inItem (3) above.

    l-37

  • 7/28/2019 Fanuc Fapt for PC Operator

    45/311

    5. OPERATION

    l When a vertical line affects addition

    [Operation]Move the cursor to the position shown above.Press [ 4 ] to delete the vertical line to the left extending upward. Thisdisappears.Press [ A ] to create a vertical line extending upward to the right of the cursor,then press [ - ). A horizontal line and vertical line are created.Move the cursor to the point on the line where a contact is to be added.Press [ -j j- ] to add a contact.

    (b) When a line is added vertically

    -To be added

    To add a line vertically. an arealower part of the ladder diagramcursor to any point in the ladderkey.

    is required for the addition. To create such an area, themust be shifted down by one line. To do this, move thediagram enclosed in dashed lines, then press the [insnet]

    Each time the [insnet] key is pressed, the lower part of the ladder diagram is shifted oneline down to create an area for addition. Make an addition in this area.After line addition, any remaining area (as in the case where two lines are added in an arealarge enough for three lines) can be left as it is.

    [Operation]@ Move the cursor to any point in the ladder dragram enclosed in dashed lines.G? Press [insnet].

    The lower part of the ladder diagram is shifted down by one line.

    l-38

  • 7/28/2019 Fanuc Fapt for PC Operator

    46/311

    5. OPERATION

    When the [insnet] key is pressed without entering a numeric value, one line is inserted.When the [insnet] key is pressed after entering a numeric value, the number ofspecified is inserted.

    Move the cursor to the desired position and press [ -_( l-j. Then set addressand press the key. The the cursor moves right.Press the [ L ] soft key to create an OR circuit.

    lines

    data

    (c) Line insertion in a single-net sequence program

    Blank lines are inserted one by one.

    [Operation)0 Enter the number of lines to be inserted, then press the [insfin] key. The enterednumber of lines is inserted.

    (When the [inslin] key is pressed without entering a number, just one line is added.)

    If the [inslin] key is pressed when the cursor is positioned as shown in the left-handfigure. a blank line is inserted as shown in the right-hand figure.

    (d) Element insertion in a single-net sequence program

    Elements are added one by one.

    [Operation]0 Enter the number of elements to be inserted, then press the [inselm] key. The entered

    number of elements is inserted.If the character is prefixed to the number of elements to be inserted and the[inselm] key is pressed. elements are inserted after the cursor.(If the [inselm] key is pressed without entering the number of elements to be inserted,just one element is inserted.)

    _~&$+ - , :.....:.>:... ( I4Cursor

    1-39

  • 7/28/2019 Fanuc Fapt for PC Operator

    47/311

    5. OPERATION

    If the (inselm] key is pressed when the cursor is placed as shown in the left-handfigure, an element is inserted as shown in the right-hand figure. The element isinserted before the cursor.

    If the character is entered and the [inselm] key is pressed when the cursor isplaced as Shown in the left-hand figure, an element is inserted as shown in the right-hand figure. The element is inserted after the cursor.-_ -

    (6) Deletion in asequence program

    (a) A program can be partially deleted by positioning the cursor at the location to be deleted-_ &td pressing one of the below three soft keys

    [ e__-- 1 : Deletes a horizontal line, relay contact, relay coil, etc.[4 I: Deletes a vertical line extending upward to the left of the cursor.1 2 ] : Deletes a vertical line extending upward to the right of the cursor.

    (b) Use the [Delnet] key to delete a program net (section from an RD instruction to a WRTinstruction).

    (c) Multiple nets can be deleted one by one.

    [Delnet] 1

    [Operation]DeletionMove the cursor to the net to be deleted, then press the [Delnet] key. The net to bedeleted is displayed in red.

    Deleting multiple netsMove the cursor by using keys such as the cursor down key, [c-down] key, or [search]key, then display the nets to be deleted In red. If the [c-down] key is pressed after anumeric value is entered. the cursor moves as many times as the entered numericvalue.

    Execution : Press the [exec] key.Cancellation : Press the [cancel] key.

    l-40

  • 7/28/2019 Fanuc Fapt for PC Operator

    48/311

    5. OPERATION

    @ When the nets to be deleted are known beforehand, move the cursor to the first net todelete, enter the number of nets to delete. then press the [Delnet] key. With thisoperation, steps G and 8 can be omitted.

    (7) Searching in a sequence program

    A sequence program can be searched using the following soft keys:

    (Search1 1

    When this key is pressed, the start of the sequenceand the cursor is moved to the start of the program.

    (b) [bottom]

    program is displayed on the screen

    When this key is pressed, the end of the sequence program is displayed on the screen andthe cursor is moved to the end of the program.

    (c) [srchlSearch operation using this key searches the program for aspecified address from thecurrent location for the cursor on the screen to the end of the program. When an addressis found, it is displayed on the screen. An address to search for can be specified in one oftwo ways.0 Address specification usina the cursor

    Move the cursor to the relay contact of the address to search for, then press the [srch]key. This operation searches the program for the specified address from the currentlocation of the cursor on the screen to the end of the program.If the specified address is found, the section of the program containg the address isdisplayed on the screen. The cursor is automatically positioned at the found address.If the search operation fails to find the specified address, the cursor does not move.To terminate searching, press the c ESC > key.

    l-41

  • 7/28/2019 Fanuc Fapt for PC Operator

    49/311

    5. OPERATION

    Gll.6

    -- When the same address as this addressY49.1 is to be searched for. move the cursor to

    this position, then press the (srch] key.D32.0

    Address soecification bv address inoutEnter the address to find with the keyboard, then press the [srch] key.This operation searches the program for the specified address from the current locationof the cursor on the screen to the end of the program.When the specified address is found, the section of the program containing the addressis displayed on the screen. The cursor is automatically positioned at the foundaddress.If the search operation fails to find the specified address, an error indication appears.

    04 (w-srch] (WRT coil search)

    IIF54.1 ,.x0.4 -II .IIx0.5

    GE.1

    021.2When the same address is found,the cursor moves to this location.

    This key is used to search the program for a relay coil with a specified address from thecurrent location of the cursor on the screen to the end of the program. When a relay coilis found. it is displayed on the screen. If multiple relay coils are found, the coil which is theclosest to the cursor is displayedThe address of a relay coil to search for can be specified in one of two ways.

    @ Address soecification usino the cursorMove the cursor to the relay coil with the address to search for, then press the [w-srch] key.This operation searches the program for relay coils with the specified address from thecurrent location of the cursor on the screen to the end of the program.When a relay coil with the specified address is found, the section of the programcontaining it is displayed on the screen and the cursor is positioned at the relay coil.If the search operation fails to find a relay coil with the specified address, an errorindication appears.

    @ Address specification bv address inoutEnter the address of relay coils to search for with the keyboard, then press the (w-srch] key.This operation searches the program for relay coils with the specified address from thecurrent location of the cursor on the screen to the end of the program.

    l-42

  • 7/28/2019 Fanuc Fapt for PC Operator

    50/311

    5. OPERATION

    When a relay coil with the specified address is found, the section of the programcontaining it is displayed on the screen and the cursor is positioned at the relay coil.If the search operation fails to find a relay coil with the specified address, an errorindication appears.

    (e) [n-srch] (net-number search)This key displays those ladders that have a specified net number, starting from the top ofthe screen. If the [n-srch] key is pressed without entering a number, the display isadvanced by one net.

    (f) [s-srch ] (function-instruction search)This key searches for function instructions. Searching is performed by entering a functioninstruction name or number, then pressing the [s-srch] key. If the [s-srch] key is pressedwhile the cursor is on a function instruction, function instructions with the same number asthat function instruction are searched for.

    (g) Search operation using the cursor keys (< c >, -z + >)l Enter an address or symbol, then press a cursor key. The address is searched for.l Enter a NET No., then press a cursor key. The NET No. is searched for.l Enter a function instruction name, or enter S followed by a function instruction number,

    then press a cursor key. The function instruction is searched for.Example: Enter Sl, then press a cursor key. The function instruction END1 is

    searched for,(h) Searching in all main/sub-programs(G-SRCH)

    When the source program type is FORMAT-B/C, global searching in all main/sub-programs is enabled.Refer to APPENDIX 6 Managing a Source Program for source program type.

    1) The range of searchAll programs, which include a currently displayed subprogram, are searched for.The subprogram is searched for in the ascending order of P address.a) From the current cursor position to bottom of currently opening subprogram.b) From next numbered subprogram to last numbered one.c) From LEVEL1 to subprogram of which P address is small next to a).d) From top to cursor position in subprogram of a).

    l-43

  • 7/28/2019 Fanuc Fapt for PC Operator

    51/311

    5. OPERATION

    G-SRCH mode continues unless pushing the < ESC > key or the [cancel] key.

    __1. A1st net of LEVEL18I@@@

    m t cursor t displaying on one ofthe screen Whole@ 1 subprograms program0@

    ThFinal net of the maximum numbered subprogram v

    (Searching in the order of @ -@I)

    a Searching resultWhen the object of search is found, the cursor will move to the position.In case of finding in another program the program which is currently displayed will beclosed.Then, the program which contains the object, will be opened to display the objectposition with the cursor.At this time, whether to save or quit modifications is inquired, in case there aremodifications in the program to be closed.When two or more objects exist, the result of search are displayed in order of 1) oneby one.

    l-44

  • 7/28/2019 Fanuc Fapt for PC Operator

    52/311

    5. OPERATION

    3) OperationThe global search is operated with the following function key.

    0

    8 [comand](comand] J

    @ Select the [G-srch] with pushing the [SHIFT] (the following will be displayed) in state of 8

    [G-SRCH] 1

    (Shortcut command is + [COMMAND])

    a) Beginning of G-SRCH modeIt switches to the mode of G-SRCH by the operation of 0 + 9.After that, all programs are searched unless quitting G-SRCH mode.

    b) Execution of searchRefer to (c) [search],(d) [w-srchjY(e) [s-srch] in (7)Searching in a sequenceprogram, for how to specify the target of global search.

    c) End of G-SRCH modeG-SRCH mode is ended by pushing < ESC > or [CANCEL] key. The end method isdifferent individually.- = Only G-SRCH mode is ended. The program on the opening now

    is the state as it is.- [CANCEL] = It returns to the program which was opened at beginning the G-

    SRCH mode. The program on the opening now closes.Whether will save or quit modifications is inquired, in case there aremodifications in the program which IS currently displayed.

    Copying sections of a sequence program

    A multiple-net sequence program can be copied net by net. Specify the net to be copied. Thenet can be copied in the same file that IS being edited or Into another file. The selected netremains as it was.

    l -45

  • 7/28/2019 Fanuc Fapt for PC Operator

    53/311

    5. OPERATiON

    File which is beinq edited

    [COPY1Range to be copied

    [until]

    Fig. 51.2 (6)

    Specified file

    [COPY]

    I .,:/..:...\:::..:...;...., :, ..Z_ , . ..). .:.:.::,:.:..:.:.:.:,:.;,, ..:.:.:...:.:.:.::....:.:.:.:.L:.,.:.:.:.:.:.:.:,.:y(.:.~.::: :.:.:ii .:,:,y . :.>;.x ,:.y .......:.:Q:.:.:~:.:.~.:.: 1:.$$::;$$,j:$;~:++t :I;, $ S;+b ;; ;:&J&&,l ~~i~~~~~~,~~~:~~pI~~, j@$j$$:: ::..:.:- ,. .::::::::: $+.:. .:.:.:.:i.::,.:::::::: .,:.:..::::: .~:::.:.:.~.:::.:.;::.._,._. .: I[Operation]

    Copying a netPlace the cursor on the net to be copied and press the [Copy] key. The selected net isdisplayed in yellow.Copying two or more netsTo select the nets to be copied, first move the cursor to the first net of the range to becopied, then move the cursor to the net at the other end of the range to be copied bypressing the cursor up, cursor down, [c-up], [c-down], or [search] key. The selected netsare displayed in yellow.Alternatively, enter a numeric value and press the [c-up] or [c-down] key. The cursormoves according to the specified value.

    Setting the net or nets to be copiedPress the [until] key.

    Specifying the copy destination using thefile)

    [to] key (Copying the net or nets in the same

    Move the cursor to the copy destination in the same file and press the (to] key. The

    l-46

  • 7/28/2019 Fanuc Fapt for PC Operator

    54/311

    c3

    -*

    @

    5. OPERATION

    selected net or nets are copied immediatelv above the CODY destination specified by thecursor. To copy the selected net or nets two or more times, enter the number of timesthey are to be copied before pressing the [to] key.

    Specifying the copy destination using the [to-fill key (Copying the net or nets into anotherfile)1)

    2)3)

    4)

    Press the [to-fit] key. The following message is displayed.If no program is specified, LATMP is created.

    c, i:~l::::::~~:l::t:l:::ill:~:~~:~:~:~:~. . :.:.:::::::::,:,,:. .:. .$,, ix::::,.,. ~:~~.:.:.:.:.:c.:.:.:.::~~~~:~:~:~:~~~::ii:: ::;.:~ ;:?:(.. ::: . .:...:...:.:.:.)):::.:~l:~.~:..:.~.:,,,...,:.: : :,: .y : . ... ..(LATMP file: Provisional work file used in editing)Enter the-name of the file into which the net(s) is to be copied and press the key.Select desired processing from the following POP-UP menu:

    /IIf the selected destination file is present, the following POP-UP menu is displayed.Select desired processing from the menu.

    The file already exists.~1 UpdateF2 QuitF3 Append

    Updates the selected file. The new copy replaces theprevious data of the file.Cancels output to the selected file.Appends the copy to the selected file.

    If the nets to be copied are known beforehand, place the cursor on the first net to becopied, enter the number of nets to be copied, then press the [Copy] key. Steps @, ai,and @ can be skipped.

    (Note) Incorrect nets cannot be copied.

    (9) Moving sections of a sequence program

    A multiple-net sequence program can be moved net by net. Specify the net or nets to becopied. The selected net or nets can be moved to another place in the same file that is beingedited or output to another file. The selected net or nets are deleted.The only difference between copying and moving is that the selected net or nets are deleted inmoving.

    -tIWlet Delnet Insert Adress Search WY Move File syEdit[Move]

    until cancel search c-down c-up

    to cancel search c-down C-UP to-fil +org

    l-47

  • 7/28/2019 Fanuc Fapt for PC Operator

    55/311

    5. OPERATION

    [Operation]Substituting [Move] for [Copy], follow steps 0 to $3 for copying.

    (Note) incorrect nets cannot be moved.(10) Combining a sequence program

    A source program can be combined to another source program that is being edited.The source program to be combined can be displayed and edited separately, then combined tothe original source program that is being edited.

    [}-9Section to be edited

    Original screenFile being edited

    (original file)

    t

    View screenr

    I F-01Combine 1ditEdited file to becombinedFig. 51.2 (7) Combining a Sequence Program

    The model specified for the FAPT LADDER system must agree with the PMC model of the fileto be entered on the original screen. However, the file to be combined can be specified for(TO) or entered for (VIEW) even if the two models do not agree with each other. (If adisagreement is found, a warning message is displayed.)In this case, no errors will be detected even if the file to be combined contains an addressrange or function instruction format that does not agree with the specified model. (The errorwill be detected in compilation.) When ignoring the warning message to continue theoperation, extreme care is needed.

    l-48

  • 7/28/2019 Fanuc Fapt for PC Operator

    56/311

    5. OPERATION

    1) Function keys

    [Comand ] ::. :. .... . :! . & . .inmet ~ BPiiiei: I_lnreti. : :Adiers Se&&. j r &,fjjf ;:;:: ;,.:&qove.. syEdii

    ORIGINAL = display when the file is opened for the first timeView = display when the file is opened using the [File] command

    PMC Model on which editing is carried out on the View 1 screen

    - ORCSAL = Intia dspa) at openng the file=Dspay opened by [Fle comand-- Mode o PMC edted in Vew screenEDT .~LAN!Eii: VlCW

    A: YFLADDERFTEST :LA PYCfiC3; x0000+;+ SiB71 I PO@@ISP I

    Kmmm NET 0000100002 STEYOOO 0

    sY=AwE 00026552 1

    I

    Fig. 51.2 (8) Screen Displayed when a File is Opened by the (File] Command

    l -49

  • 7/28/2019 Fanuc Fapt for PC Operator

    57/311

    5. OPERATION

    2) Operation flowchart for combining a sequence program

    Specify an insertion point (Thedata is inserted immediatelyabove the cursor.)

    I

    [ Press thl:LE] key 1

    ) Specify ; view file 1

    c POP-UP menu >4 (View) + (To)

    Combines the file withthe Ladder program onthe original screen

    Shows the ladderdiagram of the file to becombined (View screen)1.

    2.

    Check the displayeddata of the file to becombinedEdit the data of thefile to be combinedand combine it

    Edit the Ladder programon the view screen(Normal editing)I ress the c ESC > key to terminate editing

    1. The file isimmediatelycombined. Thedata of the file isnot displayed.

    < POP-UP menu s+ (Save)Saves the Ladder

    program shown on theview screen

    $ (Edit)Returns to the ladderdiagram screen (Theview screen iscontinued.)

    * 1: The name of the provisional work file is LATMP.Fig. 51.2 (9) Operation Flowchart for Combining a Sequence Program

    1 - 50

  • 7/28/2019 Fanuc Fapt for PC Operator

    58/311

    5. OPERATION

    3) Examples

    Example 1. Combining a sequence program file

    [Operation]Place the cursor on the insertion point on the original screen.

    Select [File].

    Enter the name of the file to be combined and press the key.

    From the following menu, select Fl (To).

    The file is inserted immediately above the net specified in step 0. (Originalscreen)

    Example 2. Combining a modified sequence program

    [Operation]Place the cursor on the insertion point on the original screen.

    Select [File].

    Enter the name of the file to be combining and press the key.

    From the following menu, select F2 (View).

    Edit the Ladder program on the view screen. To terminate editing, press the key. (Ladder editing can be performed and terminated in theconventional way.)

    l-51

  • 7/28/2019 Fanuc Fapt for PC Operator

    59/311

    5. OPERATION

    @I From the following menu, select Fl (Save).

    Temp (Outputs the data to the LATMPm file.)

    8 Return to the screen of step-@and check -the name of the file output in step @.Then, select Fl (To).

    Y.- @I -The-file is inserted immediately above the net specified in step 0. (Original

    screen)

    Example 3. Combining a specified section of a sequence program

    [Operation]Place the cursor on the insertion point on the original screen.

    Select [File].

    Enter the name of the file to be combined and press the key.

    From the pop-up menu, select F2 (View).

    Select [Copy] or [Move] on the view screen and specify a desired range with(until].

    From the following function menu, select [to-org]. (Specify insertion into theoriginal screen.)[until]

    to cancel search c-down c-up to-fil to-org

    From the following menu, select Fl (Exec).

    jj

    The data is inserted immediately above the net specified in step 0. (Originalscreen)

    1-52

  • 7/28/2019 Fanuc Fapt for PC Operator

    60/311

    5. OPERATION

    (11) Editing a symbol and comment from the ladder diagram editing screen

    On the ladder diagram editing screen, a symbol and comment added at the specified addresscan be edited.

    [Comand]

    [syEdit] 1I :,Y;~y~r::~:~ .: ~~:;~::;:::::.,:,:j :::ig:::iexee+::..I. .?. .A. . . . .,.,., .,.,. ,: aiijans~l, j3: . . . . I[Operation]

    Specifying an addressTo edit a symbol and comment in a ladder diagram, place the cursor on the correspondingaddress and press the (syEdit] key.

    Editing the symbol and commentThe cursor moves to the symbol editing section in the bottom right part of the screen. Editthe symbol and press the key. The cursor moves to the comment field.

    Terminating editing(exec] key : Terminates editing after modifying the data.[cancel] key : Terminates editing without modifying the data.

    (12) Abbreviated input with the [cornand] key

    Each function key can be directly selected with the [comand] key. Enter one of the characterstrings below, then press the [comand] function key. Those portions that are enclosed inbrackets can be omitted.

    I (nsert) D (elnet) (SY)E NWS (earth) c (OPY)M (ove) F (ile)

    The function keys in the menu above can be used for program creation and search operations.

    (Note) The keys [ k or L ] and [J orJ ] are used to create or delete a vertical lineextending upward to the left or right of the cursor in a ladder diagram. The solid verticalline is for creation and the dashed vertical line IS for deletion. The menu item applyingto a function key depends on the ladder diagram and cursor position.

    l-53

  • 7/28/2019 Fanuc Fapt for PC Operator

    61/311

    5. OPERATION

    (13) ZOOM

    When the source program type is FORMAT-B, it is realized with easy operation to refer andedit another subprogram, which is called by the CALU CALLU instruction from the programnow on the opening.For the source program type, refer to APPENDIX 6 Management a source program.

    1)

    2)

    3)

    Start up of zooma) Moved the cursor to the parameter of the CALUCALLU instruction and push the

    key.

    b) The program now on opening hides from the editing screen. Then the subprogramwhich is specified by the parameter in mentioning above appears on the screen.

    Start up under editingWhen ZOOM is attempted while editing the program, the preservation of modifications willbe inquired. Select either.

    End of ZOOM

    Close the current program.I Il Save 8 zoomF2 Cancel IWhen the end operation with the =zESC > key is attempted in the program editing screenby ZOOM, it will return to the state when ZOOM is started. Moreover, it is possible toreturn to the program configuration screen all at once.

    End menu of editing screen (pop-up screen)

    Fl Save(update) & quitF2 QuitF3 Renamesave & quitF4 EditF5 Main

    a) Fl:Save(update) & quitIt returns to the program screen where ZOOM was started, after the content of currentprogram screen is preserved.

    b) F2:QuitIt returns to the program screen where ZOOM was started, after the content of currentprogram screen is cancelled.

    l-54

  • 7/28/2019 Fanuc Fapt for PC Operator

    62/311

    5. OPERATION

    c) F3:Rename, save & quitIt returns to the program screen where ZOOM was started, after the content of currentprogram screen is preserved into specified subprogram name.

    (14) List of subprograms in use

    The list of subprograms called from currently displayed program is displayed.

    For the function. refer to the., chapter 12. Creating a st ep sequence (14) Li st"of "FAPTLADDER (personal computer) supplementary operators manual B-66131/04-6.Only the operation is described here.

    1) OperationThe command List is operated with the following function key.

    0

    [comand] 18 [comand]

    .................................................. ,.,:.:................ : .......... ..:. I :,,,:y::.Ii:: ;.,,:y.., . : .: :. . : . .\ . .:.::; .L... ). . . . . . .::,:.:::.y::/~ :. :,:,: :::j ..I(Shortcut command is < L > + [COMMAND])

    (15) To edit Net comment

    It is able to write the comments between ladder nets. These comments are called Netcomment, and each of them occupies two steps in sequence program.

    1) To enter Net commenta) Move the cursor to the position you want to write a net comment.

    And then press + [netcmt].

    R1OO1. O R1000.2 Y2000. 4n

    R1OO1. O R1000. 2 Y23. 4+*I A

    l-55

  • 7/28/2019 Fanuc Fapt for PC Operator

    63/311

    5. OPERATION

    b) Lines at the cursor and after are shifted down, and the area for comment enclosed by( and ) is inserted.Then the cursor changes into character-size cursor, and type comment sentence ontothe area.The area for Net comment expands and shrinks by two lines (four lines at four linesdisplay mode) automatically according to the comment sentences. Every Net commentcan expands up to a hundred lines.

    R1OO1.O R1000.2

    =LiR120.3Y2000.4n

    character cursor( Net comment is written in here. 4 9(* All characters you can enter are available. )

    R1OO1.O R1000.2 Y23.4+H-

    2) To determine or cancel the editing Net comment

    a) To determine the editing Net comment, press [ end ] or < ESC>. Then the editingcomment is fixed, and the Net comment editing mode is finished.

    b) To cancel the editing Net comment, press [cancel]. The new Net comment will becancelled and erased.

    Note) The number of characters in a Net comment is limited to 4095 bytes: counting oneASCII character as one byte, one Japanese kana as one byte, one kanji characteras two bytes.Line feed is also available on Net comment. Line feed is helpful to save memoryfor Net comment.

    3) To modify Net comment

    a) Place the cursor on the Net comment which you want to modify and press + [netcmt] or < RET > . The Net comment editing mode becomes active,and the Net comment will be ready to modify its contents.

    b) At Net comment editing mode, to insert a blank line into Net comment, press [inslin].( Net comment is written in here.( All characters you can enter are available. I:::

    )3

    1-56

  • 7/28/2019 Fanuc Fapt for PC Operator

    64/311

    5. OPERATION

    c) At Net comment editing mode, to delete by line, press [dellin].( Net comment is written in here. 3:.:.:.:(* Net comment will expand or shrink automatically. .iz( All characters you can enter are available.(*

    [dellin) will delete whole one line at the cursor and shift lines after the cursor up by oneline.

    d)( Net comment is written in here. )( &I characters you can enter are available. )

    To exit from Net comment editing mode, press [ end ] or < ESC >.

    e) To cancel the modifications you have just made, press [cancel]. [cancel] will abandonthe modifications and the Net comment will be restored as it was before themodifications.

    [inslin] will shift lines at the cursor and after down by one line, and make a blank lineat the cursor position.

    ( Net comment is written in here..( y::. .( All characters you can enter are available.

    l))

    ( l

    333

    4) To delete Net commentThere are two ways to delete Net comment.

    - Use [Delnet] as same as deleting normal ladder nets.[command] + [Delnet] --) specify area to delete -+ [exec]

    - Entering Net comment editing mode by c Shift > + [netcmt] or with thecursor on the Net comment which you want to delete, and then press [delete].

    5) Lost Net commentA Net comment consists of the information of position in sequence program which is calledNet comment pointer, and Net comment string data which is comment sentencesthemselves. These two elements are usually combined one to one to make a Netcomment, but the partner might be lost by illegal file operations or something, such ascopying the ladder file .#LA or modifying the Net comment data file NETCMT.OOO byuser. When a Net comment pointer loses its Net comment string data, the Net comment iscalled Lost Net comment.Lost Net comment is displayed as blank Net comment enclosed by I( and ) which isdisplayed in purple or dimly on monochrome display. Lost Net comment can be

    1 - 57

  • 7/28/2019 Fanuc Fapt for PC Operator

    65/311

    5. OPERATION

    normalized by editing operation. Lost Net comment can be edited as a normal Netcomment, such as deletion, copying and so on.

    (16) To edit New page

    It is able to specify the position to feed page at printing ladder diagram. This specification ofthe position is called New page, and each of them occupies two steps in sequence program.

    1)

    2)

    To enter New pagea) Move the cursor to the position you want to feed page. And then press -z Shift > +

    I paw I.

    R1OO1.O R1000.2 Y2000.4

    xl-+

    AR120.3R1OO1.O R1000.2 Y23.4+Hf Aw

    b) Lines at the cursor and after are shifted down, and the mark of New page is inserted.

    R1OO1.O R1000.2 Y2000.4

    x-+nv

    R120.3

    R1OO1.O R1000.2 Y23.4+HI n

    Other operation to edit New page

    New page can be handled as same as other ordinary ladder nets. The operations such ascopying [ Copy 1, moving [ Move 1, and deleting [Delnet] ladder nets are also effective onNew page.

    (17) Terminating editing of a sequence program[Operation ]

    @ Press the (ESC > key on the following editing screen.

    l-58

  • 7/28/2019 Fanuc Fapt for PC Operator

    66/311

    5. OPERATION

    The following editing end menu(pop-up menu) appears.

    a)

    W

    d)

    e)

    1Fl Save(update) & quitF2 QuitF3 Renamesave & quitF4 EditF5 Main

    1 Save(update) 81quitAfter current content of the editing is preserved, the editing screen will be ended.

    F2:QuitAfter current content of the editing is cancelled, the editing screen will be ended.

    F3:Renamesave & quitAfter current content of the editing is preserved into specified subprogram name, theediting screen will be ended.

    F4:EditThe c ESC > key operation is canceled and it returns to the editing screen of former.

    F5:MainWith the operation a).b) or c), it returns to the program screen where ZOOMwas started. But with this operation, it returns to a program configuration screen at allonce from the nested state.

    Either the above-mentioned is selected and it returns to the program configuration screen,the main menu or the program screen where ZOOM was started.

    When error net existsWhen the error net exists, ERROR NET NO. is displayed and the end menu is notdisplayed. Cope this case by the following.a) After the error net is corrected or deleted and the state of the error is released, the end

    operation will be done.

    b) When pressed key in the state of 0 after CAN is typed (meaning ofCANCEL), the menu of 6, will be displayed.- When Save is ordered, it will be preserved after removing the error net.- When Quit is ordered, it will be able to return to the state before editing by

    cancelling the content of the editing.

    l -59

  • 7/28/2019 Fanuc Fapt for PC Operator

    67/311

    5. OPERATION

    5.1.3 Symbol and comment editingThe definition of terms

    TermsSymbol(Extended)

    definition and usesName assigned uniquely to each relay/coil, to be used in place of PMC address

    displayx0.0 INPUT++++I--

    Relay comment(New)

    Coil comment(Extended andRenamed, oldname: Comment)

    Text assigned to relays/coils to explainthem.

    Text assigned to coils to explain them.

    ;wCOMMEiT CO&NT

    YO.0--I

    HERE ISCOILCOMMENT

    Net comment Text assigned between ladder nets toexplain them. $n_

    t- COMMENT 1

    Tables for Symbol & Comment specifications

    In FAPT LADDER, you can assign names or add notes to l/O signals, internal relays, and can addnotes to a sequence program.

    Symbol/Comment for l/O signals and internal relays

    1) Ver. 8.1 or earlier

    I Data kindAvailablecharacters

    I aximumnumberDuplicateddefinition

    t-Display onCRT MDI

    SymbolASCII characters(lower- case alphabeticcharacters not allowed)

    Not supported

    6 bytes Not supported

    6552 entries

    Not allowed

    Yes

    Relay comment 1 CommentASCII charactersJapanese kanalkanji characters

    (Note 1)30 bytes

    Not supportedI

    64 kbytes - 1 byte(65535 bytes)

    l-60

  • 7/28/2019 Fanuc Fapt for PC Operator

    68/311

    5. OPERATION

    2) Ver. 8.4 or later

    Data kindAvailablecharacters

    Maximumcharacter

    SymbolASCII characters(lower- casealphabeticcharacters notallowed)16 bytes

    Relay comment CommentASCII characters ASCII characters JapaneseJapanese kanal kana/kanji characters kanji characters

    (Note 2) (Note 1)

    16 bytes 30 bytes

    MaximumnumberDuplicateddefinition

    20,000 entries 20,000 entries 20, 000 entries(Note 3) (Note 3) (Note 3)

    Not allowed Allowed Allowed

    Display onCRT/MD1

    Yes, if it is 6 bytes or No Yes, if the symbol assignedshorter. to the same address is 6(Note 4) bytes or shorter. (Note 4)

    Note 1) CRTiMDl can not display Japanese characters, replaced to blank.(Japanese characters can be handled with only PC98 series)

    Note 2) Japanese characters in relay comment are replaced to blank when printing.Note 3) Free area size of hard drive, EMS and XMS on personal computer may restrict

    them.Note 4) When the total size of all coil comments exceeds 64 kbytes, no symbols and

    comments are displayed on CRTIMDI.

    Comment for ladder sequence program

    * Ver.8.4 or later

    I Data kind Net commentAvailable characters ASCII characters

    Japanese kana/kanji charactersLine feed (Note 1)

    Steps to occupyI2 steps/Net comment

    Maximum charactersiline

    Maximum linesMaximum number

    64 charactersiline4095 characters/Net comment (Note2)100 lines/Net comment (Note2)About 20,000 Net comments (Note3)

    Display on CRT/MD1 No

    Note 1) Japanese characters are replaced to blank when printing.Note 2) The limitation which is reached first becomes the limitation for the Net comment.Note 3) Number of characters in each Net comment effects on maximum number of Net

    comments. Free area size of hard drive, EMS and XMS on personal computer mayfurther restrict them.

    l-61

  • 7/28/2019 Fanuc Fapt for PC Operator

    69/311

    5. OPERATION

    Before using extended symbol comment

    Note the followings in case of using extended symbofcomment.

    1)

    2)

    These functions are available to the undermentioned PMC setting.- PMC-RB4!RB4( STEP)- PMCRC4/RC4(STEP)- PMC-RBSiRB6- PMC-NB2

    Source programs for above-mentioned PMC, created with ver.8.1 or earlier, needconversion.The operation is the followings.a) Prepare source programs and start the ver.8.4.b) Adapt PMC setting to a source program.cl Convert it into ALL-format mnemonic data.4 Reconvert the mnemonic data into a source program with another program name.The conversion is completed by above-mentioned procedure.