GE Fanuc Automation

Computer Numerical Control Products

Ladder-III
Operator’s Manual
GFZ-66234EN/04 December 2002

GFL-001

Warnings, Cautions, and Notes as Used in this Publication
Warning
Warning 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 or may be associated with its use. In situations where inattention could cause either personal injury or damage to equipment, a Warning notice is used.

Caution
Caution notices are used where equipment might be damaged if care is not taken.

Note
Notes merely call attention to information that is especially significant to understanding and operating the equipment.

This 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 for every possible 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 the accuracy, completeness, sufficiency, or usefulness of the information contained herein. No warranties of merchantability or fitness for purpose shall apply.

©Copyright 2002 GE Fanuc Automation North America, Inc. All Rights Reserved.

• No part of this manual may be reproduced in any form. • All specifications and designs are subject to change without notice. The export of this product is subject to the authorization of the government of the country from where the product is exported. In this manual we have tried as much as possible to describe all the various matters. 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 this manual should be regarded as ”impossible”. This manual contains the program names or device names of other companies, some of which are registered trademarks of respective owners. However, these names are not followed by  or  in the main body.

B-66234EN/04

SAFETY PRECAUTIONS

SAFETY PRECAUTIONS
This manual includes safety precautions for protecting the user and preventing damage to the machine. Precautions are classified into Warnings and Cautions according to their bearing on safety. Also, supplementary information is described as Notes. Read the Warnings, Cautions, and Notes thoroughly before attempting to use the machine.

WARNING Applied when there is a danger of the user being injured or when there is a danger of both the user being injured and the equipment being damaged if the approved procedure is not observed. CAUTION Applied when there is a danger of the equipment being damaged, if the approved procedure is not observed. NOTE Notes is used to indicate supplementary information other than Warnings and Cautions.
- Read this manual carefully, and store it in a safe place.

s-1

SAFETY PRECAUTIONS

B-66234EN/04

GENERAL WARNINGS AND CAUTIONS
The following warnings and note describe precautions on handling CNCs, which must be observed to ensure safety when using machines equipped with a CNC.

WARNING 1 Before operating the machine, thoroughly check the entered data. Operating the machine with incorrectly specified data may result in the machine behaving unexpectedly, possibly causing damage to the workpiece and/or machine itself, or injury to the user. 2 The parameters for the CNC and PMC are factoryset. Usually, there is no need to change them. When, however, there is no alternative other than to change a parameter, ensure that you fully Failure to set a parameter correctly may result in the machine behaving unexpectedly, possibly causing damage to the workpiece and/or machine itself, or injury to the user. NOTE Command programs, parameters, and variables are stored in nonvolatile memory in the CNC. Generally, the contents of memory are not lost by a power on/off operation. However, the contents of memory may be erased by mistake, or important data in nonvolatile memory may have to be erased upon recovering from a failure. To enable the restoration of data as soon as possible if such a situation arises, always make a backup of the data in advance.

s-2

B-66234EN/04

SAFETY PRECAUTIONS

WARNINGS AND NOTES RELATING TO FANUC LADDER-III
Warnings and notes relating to FANUC LADDER-III appear in this manual. Before using the software, read this manual thoroughly and take time to read the Warnings, Cautions, and Notes in this manual carefully. In addition, "READ THE FOLLOWING:" which appears in the next section, summarizes the note to be kept in mind when FANUC LADDER-III is used, which is not described in the chapters in this manual. Before using this software, also read this part.

s-3

SAFETY PRECAUTIONS

B-66234EN/04

READ THE FOLLOWING:
The following summarizes the points that the user should keep in mind when using FANUC LADDER-III. Before using FANUC LADDER-III, read the following:

CAUTION In this manual we have tried as much as possible to describe all the various matters. 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 this manual should be regarded as “impossible”

s-4

This manual describes the programming system-specific items including the methods of installing. This manual does not cover common basic Windows operations. This software runs under the Microsoft® Windows® environment. and using this software. Thank you for purchasing FANUC LADDER-III (Specification : A08B-9210-J505). p-1 . be sure to uninstall the software. NOTE 1 If FAPT LADDER-III is installed. FANUC LADDER-III is a programming system for developing sequence programs for FANUC PMCs. then install FANUC LADDER-III. For details on how to create sequence programs for FANUC PMCs and how to operate PMCs. starting. If you are a beginner to Windows. 2 Both of FAPT LADDER-III and FANUC LADDER-III cannot be installed on the same personal computer. If the old name is displayed by any FANUC PMC programming tool. read the Windows manual first to learn the basic Windows operations. refer to the following manuals: "FANUC PMC MODEL PA1/PA3/SA1/SA2/SA3/SA5/SB/SB2/SB3/ SB4/SB5/SB6/SB7/SC/SC3/SC4/NB/NB2/NB6 Ladder Language Programming Manual" B-61863E Read this manual thoroughly to ensure the correct use of FANUC LADDER-III.B-66234EN/04 PREFACE PREFACE Renaming This software has been renamed as follows: Old name: FAPT LADDER-III New name: FANUC LADDER-III Any specifications of this software have not been changed (they are same as of the product with the old name). read the old name as referring to the new name.

sell. you must be licensed to use as many copies of this software as the number of the computers being used. lend. Microsoft and Windows are registered trademarks of Microsoft Corporation in the United States of America. When using this software on more than one computer. even if you are not running this software on multiple computers at the same time. lease. You may make one copy of this software for backup or archiving purposes.PREFACE B-66234EN/04 NOTE This software you purchased can be used on a single computer. You must not transfer. distribute. or rent this software to a third party. p-2 . Copyright to this software is reserved by FANUC.

Transferring sequence programs . With some PMC models. refer to the relevant PMC programming manual. these functions are not available. 3 For Ethernet. CNC/PMC RS-232C Machine DI/DO Input/output using PMC I/O function FLOPPY CASSETTE /HANDY FILE Online functions using RS-232C or Ethernet . FANUC LADDER-III can be connected to a maximum of four PMCs when using RS-232-C.B-66234EN/04 PREFACE FEATURES OF FANUC LADDER-III This software has the following features: Features This software provides a Windows-based environment for developing sequence programs for FANUC PMCs. p-3 . 2 Multiple FANUC LADDER-III programs can be started at the same time.Setting and displaying PMC parameters Floppy disk Memory card Personal computer FANUC LADDER-III Keyboard Mouse Input and editing Memory card interface Printer Drawing Hard disk Outline Diagram NOTE 1 The specifications of the online functions using the RS-232C or Ethernet interface vary depending on the PMC model being used. therefore providing the user with easy-to-use operating environment.Writing to flash ROM . Multiple FANUC LADDER-III programs cannot be connected to one PMC at the same time. while it can be connected to a maximum of 10 PMCs when using Ethernet.Monitoring and debugging sequence programs . I/O operations that use [HOST] of the PMC I/O function cannot be performed. For one PC. For details on the functions.Executing and stopping sequence programs .

and PMC status. editing. Refer to the following Note. alarms. and outputting sequence programs Monitoring and debugging sequence programs (Displaying the signal status.PREFACE • B-66234EN/04 Main functions Inputting.) p-4 . displaying. and ladder diagram online monitoring) Setting and displaying PMC parameters Executing and stopping sequence programs Transfer to and from the PMC (RAM) Writing to flash ROM Printing sequence programs Supported PMC models PMC-NB/NB2/NB6/PA3/SA1/SA3/SA5/SB3/SB4/SB5/SB6/ SB7/SC3/SC4 PMC models and supported functions The following table lists the available functions for each PMC model: Function • • PMC model Step Online Offline sequence function function program B B B B B A B B A B A B B A B B B A B B B A C *1 C *1 C A A A A A *1 C *1 C *1 C *2 C *3 C *3 C *3 C A *1 I/O device PMC A A A A A A A A A B B A A A A A A A C Hand File A A A A A A A A A A A A A A A A A A C Memory card C C C C A A A A A A A C A A A A A A A PMC-SA1 PMC-SA3 PMC-SA5 PMC-SB3 PMC-SB4 PMC-SB4(STEP SEQ) PMC-SB5 PMC-SB6 PMC-SB6(STEP SEQ) PMC-SB7 PMC-SB7(STEP SEQ) PMC-SC3 PMC-SC4 PMC-SC4(STEP SEQ) PMC-PA3 PMC-NB PMC-NB2 PMC-NB2(STEP SEQ) PMC-NB6 A A A A A A A A A A A A A A A A A A A A : Available. B: Not available C : Available under certain conditions (The supported functions vary depending on the CNC and PMC series and edition.

B1A1/20. *3 . The supported CNC software series and editions are 8880/11 and later. The supported CNC software series and editions are 8838/01.Available when the PMC software series and edition are 4078/04 or later. *2 .Available when the PMC software series and edition are 4074/01 or later. 883C/02.B-66234EN/04 PREFACE NOTE *1 . BDA1/12.Not available with the 4046 or 4047 PMC software series.Available when the PMC software series and edition are 4066/12. 4068/11. . .Available when the PMC software series and edition are 4048/10. 883E/03. 8839/01. 4068/08. p-5 . or later and the CNC software series and edition are B0A1/23. Not available with the 4075 series. 8834/07. and later. or later. BEA1/12. or later.

The release note provides detailed information on the package and information not included in the operator's manual. p-6 .PREFACE B-66234EN/04 CHECKING THE PACKAGE CONTENTS The package contains the following: CD-ROM disks FANUC LADDER-III (A08B-9210-J505) NOTE You must read the release note (READMEJ.TXT) on the “\Disk1 folder” of the product package.

5. 1. MNEMONIC EDITING Describes conversion to mnemonic files and the mnemonic file format. 10. 4. CONVERTING SEQUENCE PROGRAMS Describes how to convert DOS sequence programs to Windows sequence programs. CREATING AND EDITING SEQUENCE PROGRAMS Describes how to create and edit sequence programs. 8. ERROR MESSAGES Describes the error messages displayed by this software. 7.B-66234EN/04 PREFACE ORGANIZATION OF THIS MANUAL This manual is organized as follows: SAFETY PRECAUTIONS Describes general precautions that must be observed to ensure the safe use of this software. COMPILATION AND DECOMPILATION Describes how to compile and decompile programs and also describes ladder program protection by password. 6. and signal analysis. PREFACE Briefly describes the main features of this software. APPENDIX Provides information that is to be read as necessary. 3. PRINTING SEQUENCE PROGRAMS Describes how to print sequence programs. DIAGNOSIS Describes the online diagnosis functions including ladder monitoring. Also describes how to use this manual and other information to understand the use of this software. BASICS Describes the basic items that the user should understand before using this software. 9. 2. p-7 . signal tracing. SETUP Describes the software operating environment and explains how to set up this software to ready it for use. 11. EXECUTING AND STOPPING SEQUENCE PROGRAMS Describes how to execute and stop sequence programs. INPUT/OUTPUT Describes input/output of sequence programs (loading sequence programs from the PMC and storing them into the PMC).

.PREFACE B-66234EN/04 NOTATION CONVENTIONS IN THIS MANUAL This manual uses the following notation and conventions: . and screens Notation example Explanation [File] menu Menu names appear in brackets ([ ]). . [↑].Keys and their operation Notation example Explanation [Enter] key Key names are indicated in brackets ([ ]). Direction keys The [→]. [←]. [Ctrl]+[Tab] key When two or more keys are held down at the same time by pressing them sequentially. the title displayed on the title bar of the screen appears in brackets ([ ]). p-8 . and then releasing the button at a desired position. To click a mouse button twice in rapid succession. . the keys are connected using “+”.Mouse operations Example of notation Click Double-click Drag Explanation To press and then immediately release a mouse button. commands.Menus. as shown on the left. <OK> button Command buttons on the screen appear in angle brackets (< >). To move the mouse while holding down a mouse button. and [↓] keys are collectively called direction keys. [Setting…] Command names appear in brackets ([ ]).Folders Directories and folders are collectively referred to as folders. [Program List] screen As the name of a screen.

PMC-SA3 FANUC PMC-MODEL SA5 .PMC models In this manual.B-66234EN/04 PREFACE .PMC-SB6 FANUC PMC-MODEL SB7 .PMC-SA1 FANUC PMC-MODEL SA3 .PMC-SB3 FANUC PMC-MODEL SB4 .PMC-SA5 FANUC PMC-MODEL SB3 .PMC-SC3 FANUC PMC-MODEL SC4 .PMC-SC4 PMC-PA3 FANUC PMC-MODEL PA3 PMC-QC FANUC PMC-MODEL QC FANUC PMC-MODEL NB PMC-NB FANUC PMC-MODEL NB2 PMC-NB2 FANUC PMC-MODEL NB6 PMC-NB6 p-9 .PMC-SB5 FANUC PMC-MODEL SB6 .PMC-SB4 FANUC PMC-MODEL SB5 .PMC-SB7 FANUC PMC-MODEL SC3 . the PMC models are abbreviated as follows: PMC Model Abbreviations Abbreviation PMC model PMC-S series FANUC PMC-MODEL SA1 .

.

.................................................................................................................... 14 Toolbar .........2......... 17 Status Bar........................................................................................ 29 Opening Programs Opened by Another User .................................1 1............................2.................................1 2............1..........1 2...............4 2.............................3 CREATING NEW PROGRAMS .........2 INSTALLATION AND UNINSTALLATION .........................1 1...................................................................................... 12 Terminating FANUC LADDER-III......B-66234EN/04 TABLE OF CONTENTS TABLE OF CONTENTS SAFETY PRECAUTIONS ................ 16 Edit Toolbar....................................1.....................................................3 1.........1 START AND END ............12 2...............2 WINDOW NAMES AND FUNCTIONS......... 17 2.....11 2..................................................................................2........................................................................................................................................................................................................................................................................................3.............20 3....2 2......................2 2......................1..................... 27 Procedure ......................... 34 c-1 3............................................................. 9 2 BASICS ........33 3.................................................... 20 PMC Programming Method ................ 17 Soft Keys .. s-1 PREFACE.......2........2 3.................. 32 Procedure .......................................4 EDITING TITLES ................................ p-1 1 SETUP ......2...............3 Starting FANUC LADDER-III..... 25 Selecting Devices ............................... 3 Uninstallation ................................................................................3 OPENING EXISTING PROGRAMS.............................................................................. 30 Opening Programs with the Read-only Attribute ...........3..................4 Procedure for Creating Sequence Programs..........................................................................................................................................................29 3..................................................................................1..............3 DISPLAYING VERSION INFORMATION ..... 12 Main menu.....................................................27 3.......................................................2....................................1 3.......3 3........................1 1..........................2 3............................. 12 Starting FANUC LADDER-III (Online Connection)......................... 24 Work Folders and Online Program Files........................................................1 ......................1 3............5 2....................19 3............2 Installation ................................................................................................4........................3 2...............................................1.........2 3............2 OPERATING ENVIRONMENT ....................2.....3....... 26 Procedure ............2.13 2........................1 SEQUENCE PROGRAMS ...............................................................................1 3......................1.................................................................................................18 3 CREATING AND EDITING SEQUENCE PROGRAMS ..........1.....................................

................5....... 61 Deleting Ladder Subprograms.......91 3................................................................18...14 3..18 Preparing for Offline Editing......................... 74 3...................5.............4 Entering function instructions ............................................5.......................18..................................... 37 Method of Displaying the Ladder Diagram Editing Screen .... 103 Step Sequence Configuration ..................... 66 Adding Page Breaks ....................................5................................5...............5............ 109 c-2 3................6 EDITING STEP SEQUENCES .21 3.................1 Setting collective display extraction conditions ........................................................................................ 85 Checking the Number of Program Steps .......................79 3....... 36 Preparing for Online Editing ....... 62 Editing Net Comments ............................................................................ 64 Deleting Net Comments ........5........................................... 51 Entering Function Instructions ....8 3..........5 B-66234EN/04 EDITING LADDER DIAGRAMS.................................97 3.2 3................................ 68 Deleting Nets ...5......5...................5.............2 Executing collective display.................10 3...............2 Inserting an edit line.....20 3......................5...............................................................5........................................................1 Changing the ladder editing mode................5............................................5......25 Deleting Symbol or Comment Data..........................................17 3...................6...... 67 Deleting Page Breaks..........................13 3.....................................................................................................104 3...... 69 Search ................4 Deleting collective display extraction conditions..5......36 3................5.......... 86 Replace ...............5.................... 49 Entering Basic Instructions................................................. 59 Entering and Deleting Vertical Lines ......... 55 Entering Horizontal Lines ...............................5 Entering horizontal lines ............5.............................. 91 3.93 3.........................24........................1 ....3 Modifying collective display extraction conditions............. 81 Changing Signal Addresses and Function Instruction Parameters in the Display Window .....................3 3.....................................24 Setting Ladder Display .............5.......... 60 Adding Ladder Subprograms...........101 3...........................................102 3............ 84 Changing Contacts and Coils in the Display Window ......5...78 3..........................................15 3..................................18.........18.............................................. 88 Changing Ladder Programs on the Display Window ............................................................5........5.5...........................................12 3................4 3............................5............................80 3...................5.............TABLE OF CONTENTS 3.......1 3...............5...............................5...........................................19 3.........................................24......................................................5 3........................................24................16 3.....5......24................................74 3.........................................................5...................................5..........6 3.......... 46 Inserting Ladders from the Edit Window into a Ladder Program..........................5..................................................................5..........................................................................6 Entering and deleting vertical lines .........5.......9 3...5...............................24................................7 3............................ 39 Changing Ladder Programs ..............................22 3............................... 70 Collective Display ......................5.............................92 3..3 Entering basic instructions .....................................24.............................23 3............................................................11 3...........................................

......... 119 Specifying Jump-to Label..................9................................................................4...........................................................................................................7......... 130 Procedure .................8.............B-66234EN/04 TABLE OF CONTENTS 3.9.....................................................1 3......................................... 143 Procedure ...... 123 Deleting Step Sequence Subprograms..................................................................................... 121 Checking Syntax. 139 Tool bar .........................6......1 3........................................................1 3..12 EDITING SYSTEM PARAMETERS .................................. 125 Symbol and Comment Data..1 3............................147 SAVING PROGRAMS WITH NAMES .........................................................8 3.......................................................................................................5 3...........................................................1 SAVING PROGRAMS ..............7.....................................................................6 3..................................................................................................................126 3.....................3 3.. 118 End of Selective Branch ........................6 3.........................4.......10 3......................7 3.................. 122 Adding Step Sequence Subprograms........................................ 117 Beginning of Selective Branch ......................................2 3.............................4 3.......6...............................................2 3.................7...................................................................8.......................... 135 3............................................9.....7 EDITING SYMBOLS AND COMMENTS................ 118 Beginning of Parallel Branch ................142 3......................... 141 Procedure .................................7 Tool Bar................ 119 End of Parallel Branch........8..11............................................................................12 3.....9 EDITING I/O MODULE ASSIGNMENT............ 116 Entering Transitions ......................................12............2 3...........6.................................................6.......................... 132 Models and Quantity of Usable Characters......................................................................................6...................................................6.....13 Entering Steps.... 137 Shortcut keys .............................. 128 Toolbar ......11 3......6................................ 134 Memory Addresses Required to Display Messages ..............................................................5 3..........................................................................................................................6.......................................2 New line character. 124 Search .........................................................................4 3...............................8 EDITING MESSAGES ....................1 3............10 3......................6........................... 137 Procedure ..............................135 Numeric data .................................................................. 141 Shortcut Keys ..........................................8...............135 3...............148 ...6.....................................8.11 3......... 148 c-3 3............................................6.....8.........8...............8... 136 Status Bar............................................................... 130 Context Menu .................................4 3..6...................138 3.... 135 Entering Special Characters ............................1 3...................................................................... 126 Procedure ........................10.................8............3 3................131 3.9 3................. 120 Specifying Label Jump ...............................................7.............................................................................3 3................................................................2 3......3 3.............................................................. 147 Procedure ....................................................................................

.......4....................................................1 3....................................7 4.........1 4.........................................................2 4................................................................166 PRINTING STEP SEQUENCES........163 4.................. 164 Procedure ............ 184 Procedure .........................................................1 Procedure ......189 5 COMPILATION AND DECOMPILATION ........................... 186 Procedure ......178 PRINTING CROSS-REFERENCES .................4 4.................10 4........180 PRINTING BIT ADDRESS MAPS........1 4.......................................3 4............184 SETTING UP COMMON OPTIONS ...............5 4........196 5............11 4...........14 3..............................8......................................... 171 Procedure .......1 5.....2 Procedure .........................1 4........149 3......................................150 EXPORTING PROGRAMS ...........................................................................................9 4......................................16 B-66234EN/04 CLOSING PROGRAMS................................187 SETTING UP PRINTER.............................................. 187 Procedure .. 190 PRINTING LADDER DIAGRAMS ....................................................................................................... 178 Procedure ....................174 PRINTING I/O MODULE ASSIGNMENT ....................................................15.197 DECOMPILATION .................................169 PRINTING SYMBOLS AND COMMENTS ..6..............................................................................................................................................................................................................13......................6 4............................................. 174 Procedure .................1 4..201 c-4 .............TABLE OF CONTENTS 3.........1 4...........................................................................1....................................1 4........................14.........1 4........................2 COMPILATION ............. 149 Procedure .....................1 4............................176 PRINTING SYSTEM PARAMETERS ............................................................................... 189 Setting up Pages...............................................................................................1 4....................................................................1 4..................................................................................12 PRINTING TITLES ...... 169 Procedure .......... 157 IMPORTING PROGRAMS.............................................................................. 166 Procedure ...10............157 OPENING MOST RECENTLY USED PROGRAMS .................186 SAVING AND READING OPTION FILE ...........................................................................9.........................................................................................3........................15 3.....................................................................1 4.........................12.. 150 Procedure ............1 4..................2.......7......8 4...................................5.................................................11...............................................................................................................................................................................................................162 4 PRINTING SEQUENCE PROGRAMS..................... 180 Procedure ................12.1 4...........................................................1 3..............164 4.................................................................................... 176 Procedure .........................................................................13 3.......................................................................171 PRINTING MESSAGES..........................

...............2..................246 c-5 ........................................4..1......204 PROTECTING LADDER PROGRAMS BY PASSWORDS.........................2 6................210 MNEMONIC FILE FORMAT .........4......................................B-66234EN/04 TABLE OF CONTENTS AUTOMATIC COMPILATION AND DECOMPILATION..1 Procedure .......................224 7.............................................................................................223 7....6 WRITING SEQUENCE PROGRAMS INTO F-ROM ...................1 Procedure ........................................1 7.......................5 STORING SEQUENCE PROGRAMS IN THE PMC (DURING CONNECTION WITH THE PMC) ............................................1 Procedure ....................4 CONVERTING SOURCE PROGRAMS TO MNEMONIC FILES ........... 236 7.................................. 221 6.......2 [Option] Dialog Box...............................244 7...............3 5...........................................3 ALL format...........................226 Setting up RS-232C.........................................................................................................................2 Setting up RS-232C...1 Procedure ..................................4............................................220 I/O module .............. 228 7....................................218 Ladder .......................................236 7..3....................2 7................................1..............1......208 CONVERTING MNEMONIC FILES TO SOURCE PROGRAMS .......................1 6.........................220 Title ...................1.................2..... 218 6..........................5 CONVERTING STEP SEQUENCE PROGRAMS TO MNEMONIC FILES 222 7 INPUT/OUTPUT ............................2....4.................................3 6....................................................5.........................1 7...........................4..................1 6........... 230 7.................................1.....230 7.......................228 Setting up Ethernet .4 Parameter ..............215 Symbol and comment .....................2........4 STORING SEQUENCE PROGRAMS IN THE PMC (DURING CONNECTION WITH THE PMC) .......1...................... 244 7...........1 Partial Protect Functions ..................................................................................................2.1............................................................................................1 6..................................4...........238 7......................................................................1...................3 6...2............2 6.......2 LOADING SEQUENCE PROGRAMS FROM THE PMC (DURING DISCONNECTION WITH THE PMC) ............................................................................4 6 MNEMONIC EDITING ...................................3 LOADING SEQUENCE PROGRAMS FROM THE PMC (DURING CONNECTION WITH THE PMC) ..............................................................1...................................................................1 [Communication] Dialog Box ................................................................................207 6..............4................................................................................................................. 238 7...........1 SETTING UP COMMUNICATION .................229 7..205 5. 224 7......................................................1 6................. 206 5..224 Setting up Ethernet .........................................................212 MNEMONIC FILE SAMPLE .....................................................................215 6.............219 Message...... 215 6..............................4....................2.............................................4.......4........................2 Single Format ..

.........................255 9................................1 9..................................1 9.7......................................................3.................................................................................................2.....................................................4 9..............................3..........................................3..............................2....................... 265 Procedure .........1 7................................................................................................................267 Status bar.........................................................................3..................................................................................................................................................................7 COMPARING WITH PMC..2..............................2....249 7.........................250 8...............2 9......................254 9..........268 Shortcut keys ........................................................................................6...............7.............1 9............................. 265 Context Menu .............6 Procedure ..................3............1.......259 Terminating the signal trigger stop function...........1......................2 Selecting a transfer method .........................................2..2..........4.......................... 255 [Monitor] Screen ................252 STOPPING SEQUENCE PROGRAMS ....................1 9.....................................262 9................................4 9..................248 Selecting a transfer direction..................................................................2 EXECUTING SEQUENCE PROGRAMS .............2.............................2 9..3 9............. 256 [Edit] Screen.....................................3....................258 Executing the signal trigger stop function ........................................1 LADDER MONITORING .................. 264 Status Bar...........................247 7.......1.. 266 Timer .................4 Procedure ..... 257 Signal Trigger Stop Function .....................................................................1 9..................................262 Shortcut key list.......1...... 270 c-6 .268 Context menu ......................7.......................................5 Procedure ..................1...............................2.1..........................................................3......................................267 Toolbar.....................2...........................................................................................................................................1 7...................266 9.... 248 7... 266 9.................................. 265 Shortcut Keys ........................................ 268 9.253 9 DIAGNOSIS ..1 8.........................................................4......................3 9.............................4...260 [Trigger Parameter] screen..4 Toolbar..........................3..................... 263 Toolbar ...2 9...............................3 9....3......267 Shortcut keys .......3 9..................................................................................................1.......................4...............................................2............................................................................................5 9...........................................................4............................................3............................................................3 Counter ................................................................................................................261 Context menu ...............................................................2 SIGNAL STATUS .................................................. 247 Program Transfer Wizard ..1.....................................267 Context menu .................4....2.3 PMC PARAMETERS ........4 Keep Relay ....................................................................7..........................2 9..........................3........... 246 Menu Bar ........3 9.............................3...........................2 8 EXECUTING AND STOPPING SEQUENCE PROGRAMS .................................... 258 9..TABLE OF CONTENTS 7..........................2 9................1 9...........................269 9......1..................3................................................................1...........263 9...............1 B-66234EN/04 Procedure ..........................................................................3.................2 9.....

.. 291 Shortcut Keys ................................4 Toolbar..279 9....6 Setting PMC Setting Parameters .............................3.....................................................................................6...................4..................276 Warning message .......................3..............8 ..............................6.....3..............................................................................................7 9......................270 Context menu .........6 SIGNAL TRACING....................... 286 Automatic Trace Function at Power-On.....283 9..................4..........................3.....................5 9............................................7....................................7................................6.275 Setting items.....5............................ 274 9...........................................................................................................7......3 9...................................6.........2 Procedure ...........6...6......................3..5 9............................4 PMC ALARM STATUS ............................................. 288 Toolbar ..............................5......................................274 Procedure ......................6.............. 281 Switching the Language in Which PMC Alarm Messages Are Displayed .3 9............................................................... 285 Shortcut Keys .......... 282 Display Items ... 291 Context Menu ............................................5.......................3......................................................1 9......................................1 9............................................3.....................273 Context menu .......4...... 282 Procedure ..............................1 9.......................1 9...................3.............................................................................................................................................2 9..........7................................5...........................................3............................................................... 296 c-7 9.............6.............................................................. 285 Status Bar.............................................3.......................................288 9...4 9....270 Data for PMC control software ..271 Toolbar.........................................6......2 9.............................................4 9............5...........................................................3....................... 285 Context Menu ..............................6..270 Shortcut keys ....7.............................................. 283 Toolbar .................................4 9............. 295 [Gridline Format] Screen.................. 285 [Signal Trace Parameter] Screen ..........4.....2 9.................. 289 Status Bar.........................................7 SIGNAL ANALYSIS ........2 9...................1 9...........................................................................................1 9...........................7.........................7..............................................4 9..... 293 [Signal Analysis Format] Screen...................4.........................................................................................................7 9..........3........282 9.....................................................................273 Shortcut keys .................278 Setting screen of the selectable I/O link assignment function ........ 287 Procedure ............................................3 9.....273 Programmer protect function...................................................................................................................................................................5 9..3 9.................................6...............................................2 9...........3...........................1 9.........................................................................................................5...................... 272 9...................................273 Input data range.....................3............................................3................... 281 Procedure ......7...................2 9.....281 9...................................................5 Data Table .......................5 PMC STATUS.....................................................................................................................6 9....................................6.............3 9..............6 9.5 9.......4......... 292 [Signal Analysis Parameter] Screen ......................B-66234EN/04 TABLE OF CONTENTS 9................................3...272 Status bar........5........

TABLE OF CONTENTS
9.7.9

B-66234EN/04

Automatic Signal Sampling Function at Power-On ............................................ 296 Procedure ............................................................................................................. 297 Procedure ............................................................................................................. 298 Procedure ............................................................................................................. 299 Toolbar ................................................................................................................ 300 Status Bar............................................................................................................. 301 Setting Trace Parameters..................................................................................... 302 Setting Details of Trace Mode............................................................................. 304 Setting Trace Parameters (Sampling Addresses) ................................................ 306 Context Menu ...................................................................................................... 307 Shortcut Keys ...................................................................................................... 308 Automatic Sampling Function at Power-On........................................................ 308

9.8 9.9 9.10

CLEARING PMC AREAS ..........................................................................297
9.8.1 9.9.1 9.10.1 9.10.2 9.10.3 9.10.4 9.10.5 9.10.6 9.10.7 9.10.8 9.10.9

ACTIVATING THE I/O LINK ......................................................................298 SIGNAL TRACE FUNCTION (PMC-SB7)..................................................299

10 COMMAND LINE EXECUTION FUNCTION ......................................309
10.1 10.2 10.3 10.4 OUTLINE ...................................................................................................310 PROCEDURE ............................................................................................311 COMMANDS..............................................................................................312 COMMAND SPECIFICATIONS .................................................................313
10.4.1 10.4.2 10.4.3 10.4.4 10.4.5 10.4.6 10.4.7 10.4.8 10.4.9 Opening an *.LAD File ....................................................................................... 313 Closing an *.LAD File......................................................................................... 313 Compiling an *.LAD File .................................................................................... 314 Decompiling an *.LAD File ................................................................................ 315 Converting the Source Program of an *.LAD File to a Mnemonic File ............. 316 Converting a Mnemonic File to the Source Program .......................................... 317 Importing Data from the Specified File............................................................... 318 Exporting Data to the Specified File ................................................................... 320 Terminating Command Processing...................................................................... 322

10.5 10.6 10.7

SAMPLE COMMAND FILE ........................................................................323 NOTE.........................................................................................................324 EXECUTION LOG FILE.............................................................................324

11 CONVERTING SEQUENCE PROGRAMS .........................................326
11.1 11.2 CONVERTING FROM DOS-VERSION FANUC LADDER-II .....................327
11.1.1 Procedure ............................................................................................................. 327

CONVERTING TO DOS-VERSION FANUC LADDER-II ...........................329
c-8

B-66234EN/04

TABLE OF CONTENTS
11.2.1 Procedure ............................................................................................................. 329 Conversion by Changing System Parameters...................................................... 330 Using System Program Data for Another Program ............................................. 332

11.3

CONVERTING SEQUENCE PROGRAMS BETWEEN PMC MODELS ....330
11.3.1 11.3.2

12 ERROR MESSAGES .........................................................................333
12.1 ERROR MESSAGE FORMAT ...................................................................334
12.1.1 12.1.2 Function Symbols ................................................................................................ 334 Message Classification ........................................................................................ 335 File ................................................................................................................... 336

12.2

ERROR MESSAGES.................................................................................336
12.2.1 12.2.2 12.2.3 12.2.4 12.2.5 12.2.6 12.2.7 12.2.8 12.2.9 Title Editing......................................................................................................... 337 I/O Module Editing.............................................................................................. 337 System Parameter Editing.................................................................................... 338 Ladder/Step Sequence Editing ............................................................................ 338 Message Editing .................................................................................................. 342 Print ................................................................................................................... 342 Compile ............................................................................................................... 342 Decompile............................................................................................................ 347

12.2.10 Mnemonic Conversion ........................................................................................ 349 12.2.11 Input/Output......................................................................................................... 355 12.2.12 Online .................................................................................................................. 355

APPENDIX A B C CABLE FOR DATA TRANSFER ........................................................359 CONVERSION USING A SIGNAL ADDRESS CONVERTER ............360 LANGUAGE PROGRAM LINK FUNCTION .......................................362

c-9

B-66234EN/04

1.SETUP

1

SETUP
This chapter describes the operating environment of FANUC LADDER-III. This chapter also describes how to set up FANUC LADDER-III to make software ready for use.

-1-

1.SETUP

B-66234EN/04

1.1

OPERATING ENVIRONMENT
The operating environment required for this software is as follows: • Computer PC/AT-compatible computer running Windows 95, 98, NT4.0, 2000, Me, or XP (English/Japanese system) • CPU Pentium 133 MHz or better • Memory For Windows 95 and Windows 98 - 16MB or more (32MB or more recommended) For Windows NT 4.0 - 24M or more (32MB or more recommended) For Windows 2000, Me, or XP - 32MB or more (64MB or more recommended) • Hard disk 20MB of free space required (at installation) 100MB of free space required (at execution)

NOTE 1 Time required for ladder diagram editing and processing of symbols and net comments is affected by the free spaces of memory and the hard disk. When handling a source program including many ladders, symbols, comments, or net comments or editing ladder diagrams on multiple screens, allocate much more free spaces as far as possible. 2 We recommend that FANUC LADDER-III be run under Windows 95, Windows 98, Windows NT 4.0, Windows 2000, Windows Me, or Windows XP.

-2-

B-66234EN/04

1.SETUP

1.2

INSTALLATION AND UNINSTALLATION
This section describes how to install or uninstall this software.

NOTE 1 Both of FAPT LADDER-III and FANUC LADDER-III cannot be installed on the same personal computer. 2 Normally, when FANUC LADDER-III is installed, FAPT LADDER-III is automatically uninstalled. 3 If FAPT LADDER-III is not automatically uninstalled, uninstall the software manually, then install FANUC LADDER-III.

1.2.1
Procedure

Installation
1 Preparation prior to installation 1-1 Before installation, see Section 1.1, "OPERATING ENVIRONMENT" to check the environment of the computer being used. 2 Starting the installer 2-1 If any programs are running, terminate them. 2-2 Set the disk (A08B-9210-J505) in the CD-ROM drive. Windows automatically starts installation. 2-3 If Windows does not automatically start installation, click [Start Menu] - [Run]. Type the following in the Open field, and then click <OK> (CD-ROM drive name):\Disk1\SETUP.EXE

-3-

1.SETUP

B-66234EN/04

3

Starting setup and confirming the license agreement 3-1 FANUC LADDER-III setup starts, displaying the [Choose Setup Language] screen. Select Japanese or English, and then click the <OK> button.

Fig. 1.2.1 (a)

3-2 The [Welcome to the InstallShield Wizard for FANUC LADDER-III] screen appears.

Fig. 1.2.1 (b)

-4-

click the <Yes> button. the [License Agreement] screen appears. -5- . 1. Fig.B-66234EN/04 1. Clicking the <No> button stops installation. and wish to continue installation.2. Then.1 (c) 3-4 When you agree to the terms of the license agreement.SETUP 3-3 Click the <Next> button.

and [Serial Number] and then click the <Next> button. Fig. -6- . Then.1 (e) 4-3 Check that the registration information is correct. To continue the installation. [Company Name].1 (d) 4-2 Enter [User Name]. Clicking the <No> button returns you to the [Customer Information] screen.1.SETUP 4 Entering user information 4-1 The [Customer Information] screen appears. the [Registration Confirmation] screen appears. 1. click the <Yes> button.2. B-66234EN/04 Fig.2. 1.

2. 1. -7- . Then. Fig. 1. To change the installation destination. 5-3 Click the <Next> button. the program is installed in C:\Program Files\FANUC PMC Programmer\FANUC LADDER-3.1 (f) 5-2 By default. click the [Browse…] button. and then select the installation destination.SETUP 5 Selecting the installation destination and program folder 5-1 The [Choose Destination Location] screen appears. 5-4 The [Select Program Folder] screen appears. click the <Next> button.1 (g) 5-5 Select the program folder in which you want to install the program or create a folder. Fig.2.B-66234EN/04 1.

SETUP 6 B-66234EN/04 Starting file copy operation and ending the installation 6-1 The [Start Copying Files] screen appears. Check that the displayed information is correct.1 (h) 6-2 Information for starting the program file copy operation is displayed. Then. file copy operation starts.1 (i) 6-4 Clicking [Finish] terminates installation. 1.2. the [InstallShield Wizard Complete] screen appears. 6-3 As the file copy operation terminates. -8- .1.2. Fig. click the <Back> button. Fig. To change the information. and then click <Next>. 1.

Fig. 2-2 On the [Control Panel] screen. and then click -9- . click [Add/Remove Programs]. Terminate FANUC LADDER-III.2.B-66234EN/04 1.2 (a) 2-4 Select FANUC <Add/Remove>. 2 Starting the uninstaller 2-1 Click [Start Menu] .[Control Panel]. 1.2 Procedure Uninstallation 1 Terminating FANUC LADDER-III 1-1 FANUC LADDER-III cannot be uninstalled while it is running.SETUP 1.[Settings] . and then uninstall it. 2-3 The [Add/Remove Programs Properties] screen appears. LADDER-III.2.

1.SETUP
3 Confirming uninstallation

B-66234EN/04

3-1 A dialog box appears, asking whether you really want to uninstall the program. Select <OK>.

Fig. 1.2.2 (b)

4

Executing uninstallation The installed files, folders, and start menu items are deleted, and the original system settings are restored. Uninstallation then ends. The uninstaller sometimes cannot uninstall all the files and folders of FANUC LADDER-III, such that some files or folders may remain after uninstallation. Should this occur, restart the system, and then delete the remaining files/folders by using My Computer or Explorer.

- 10 -

B-66234EN/04

2.BASICS

2

BASICS
This chapter describes the basic items the user should understand before using FANUC LADDER-III.

- 11 -

2.BASICS

B-66234EN/04

2.1
2.1.1

START AND END
This section describes how to start and end FANUC LADDER-III.

Starting FANUC LADDER-III
To start this software, use the following procedure: Procedure 1 Click the [Start] button. 2 From the [Start] menu, select [Program]. 3 From the [Program] menu, select the [FANUC LADDER-III] folder. 4 From the [FANUC LADDER-III] folder, select FANUC LADDER-III.

2.1.2

Starting FANUC LADDER-III (Online Connection)
By specifying the following argument in the executable file of FANUC LADDER-III, you can automatically connect FANUC LADDER-III to a specified port. For an RS-232-C port Fladder.exe/COM=<COM-port-number> Example) Fladder.exe/COM=1 For an Ethernet port Fladder.exe/H=<host-name>:<port-name> Example) Fladder.exe/H=190.0.55.55:8193

-

2.1.3

Terminating FANUC LADDER-III
To terminate this software, use the following procedure: On the [File] menu, click [Exit]. Alternatively, click button) in the upper right corner of the parent window. (<Close>

- 12 -

B-66234EN/04

2.BASICS

2.2

WINDOW NAMES AND FUNCTIONS
This section describes the names and functions of the windows displayed by this software. As shown in the figure below, child windows are displayed within the parent window. These are required for operations such as the creation of sequence programs for the FANUC PMC.
Main menu Parent window

Toolbar

Edit toolbar

Child window

Child window

Status bar Fig. 2.2

Soft keys

• Parent window The main window of this software. Multiple child windows can be displayed within the parent window. • Child window Child windows are displayed within the parent window. Child windows are used for displaying and editing FANUC PMC sequence programs.
- 13 -

2.BASICS

B-66234EN/04

2.2.1

Main menu
Each main menu has submenus, as listed below.
Table 2.2.1

Main menu Submenu File New Program Open Program Close Program Save Save As Import Export Print Preview Exit Edit Undo Cut Copy Paste Select All Add Data Delete Delete All Find Replace Jump View ToolBar Status Bar Softkey Edit ToolBar Program List Grid Lilne

Reference chapter, section, or subsection 3.2 CREATING NEW PROGRAMS 3.3 OPENING EXISTING PROGRAMS 3.13 CLOSING PROGRAMS 3.11 SAVING PROGRAMS 3.12 SAVING PROGRAMS WITH NAMES 3.14 IMPORTING PROGRAMS 3.15 EXPORTING PROGRAMS 4 PRINTING SEQUENCE PROGRAMS 4 PRINTING SEQUENCE PROGRAMS 2.1.2 Terminating FANUC LADDER-III

3.5 EDITING LADDER DIAGRAMS 3.7 EDITING SYMBOLS AND COMMENTS 3.9 EDITING I/O MODULE ASSIGNMENT 3.9 EDITING I/O MODULE ASSIGNMENT

3.5 EDITING LADDER DIAGRAMS 3.5 EDITING LADDER DIAGRAMS

- 14 -

B-66234EN/04

2.BASICS

Table 2.2.1 (Continued) Main menu Submenu Diagnose Signal Status PMC Parameter Timer Counter Keep Relay Data Table Set Up PMC Alarm Status PMC Status Signal Trace Signal Analysis Ladder Online/Offline Monitor/Editor Tool Mnemonic Convert Source Program Convert Data Conversion Data File→LAD File Data File←LAD File Compile Decompile Communication Device Select Load from PMC Store to PMC Clear PMC Memory I/O Link Restart Backup Program Run/Stop Option Window Cascade Tile Arrange Icons Help Topic Help About version information Reference chapter, section, or subsection 9.2 SIGNAL STATUS 9.3 PMC PARAMETERS 9.3.2 Timers 9.3.3 Counters 9.3.4 Keep Relays 9.3.5 Data Table 9.3.6 Setting PMC Parameters 9.4 PMC ALARM STATUS 9.5 PMC STATUS 9.6 SIGNAL TRACING 9.7 SIGNAL ANALYSIS 3.5 EDITING LADDER DIAGRAMS 3.5 EDITING LADDER DIAGRAMS 8.1 CONVERTING SOURCE PROGRAMS TO MNEMONIC FILES 8.2 CONVERTING MNEMONIC FILES TO SOURCE PROGRAMS 10 CONVERTING SEQUENCE PROGRAMS 10.1 CONVERSION FROM DOS FANUC LADDER-II 10.2 CONVERSION TO DOS FANUC LADDER-II 5.1 COMPILATION 5.2 DECOMPILATION 7.1 SETTING COMMUNICATION 7.2, 7.3 LOADING SEQUENCE PROGRAMS FROM PMC 7.4, 7.5 STORING SEQUENCE PROGRAMS IN PMC 9.8 CLEARING PMC AREAS 9.9 ACTIVATING THE I/O LINK 7.5 WRITING SEQUENCE PROGRAMS INTO F-ROM 8 RUNNING AND STOPPING SEQUENCE PROGRAMS

- 15 -

2.BASICS

B-66234EN/04

2.2.2

Toolbar
The toolbar contains a set of buttons used for file operations and editing. <1> <2><3> <4><5> <6> <7><8> <9><10><11><12><13><14>
Fig. 2.2.2

<1> New Program Creates a new program. <2> Open Program Opens an existing program <3> Save Saves a program. <4> Cut Removes a selected portion. <5> Copy Copies a selected portion. <6> Paste Pastes a cut or copied portion. <7> Print Prints a program. <8> About version information Displays version information. <9> Context-sensitive help Displays the help text for the portion specified with the mouse. <10> Run/stop program Runs or stop a Ladder program. <11> Online/Offline Switches the system between online and offline modes. <12>, <13> Ladder monitor, Online editing Switches the system between ladder monitor and online editing. <14> Signal trigger stop Runs the signal trigger stop function.

- 16 -

2. "EDITING LADDER DIAGRAMS" for details.2. See Section 3.5 Status Bar The status bar provides information such as a sequence program name and PMC model name.5. You can input contacts and coils by using the edit tool bar. 2.4 2.2.2. . you can select the displayed soft keys either by using the mouse or by pressing keys. Fig.BASICS 2.4 Soft Keys To perform operations with the currently selected child window. You can change the display size of soft keys using [Softkey] in the [View] menu.3 Edit Toolbar The edit tool bar contains a set of buttons used for editing ladder diagrams.B-66234EN/04 2. 2.17 - .

BASICS B-66234EN/04 2. for example. Procedure Select [Help] . Fig.3 .3 DISPLAYING VERSION INFORMATION This section describes how to display the version information of this software for purposes of.2. maintenance.18 - . 2.[About version information…].

B-66234EN/04 3. A sequence program consists of a title. I/O modules.CREATING AND EDITING SEQUENCE PROGRAMS 3 CREATING AND EDITING SEQUENCE PROGRAMS This chapter describes how to create and edit sequence programs. messages. comments. and ladder/step sequences. symbols. system parameters. .19 - .

FANUC LADDER-II Operator's Manual (B-66184EN) . and print sequence program FANUC LADDER-III CNC (PMC) Edit ladder diagram Edit mnemonic Edit ladder diagram Compile Decompile No Debug completed? No Yes Debug completed? (Online function) Yes Print sequence program In online editing. coding) Enter.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.1 SEQUENCE PROGRAMS This section describes sequence programs. Procedure for Creating Sequence Programs The following flowchart illustrates the procedure for creating a sequence program.20 - . edit.3. programming and monitoring are carried out on a personal computer connected to the CNC (PMC). The other PMC programming systems (for use on personal computers) include FANUC LADDER (DOS) and FANUC LADDER-II (DOS).FANUC LADDER (for PC) Operator's Manual (B-66131E) .1 3. debug. Refer to the following manuals: .1. programming is carried out on a personal computer not connected to the CNC (PMC). Start control system development Determine targets of control (machine and CNC) Specify control behavior (calculate the number of DI/DO points and determine scale of control) Specify interfaces (assign DI/DO ) Create sequence program (design. address mapping. In offline editing.

I/O module comments .Ladder level 3 .B-66234EN/04 3.21 - .CREATING AND EDITING SEQUENCE PROGRAMS • Sequence programs A sequence program consists of the data listed below.Ladder level 1 .Step sequence subprograms .Ladder subprograms .I/O module data .Symbols/comments .Net comments .Title data .Memory card format data .Message data . .Ladder level 2 .System parameters .

9.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 In FANUC LADDER-III. . a file with extension .3.LAD (hereafter called a LAD file) holds all sequence program data. See Section 3." for details.22 - . 2 An I/O module comment is one given to a module address in the I/O unit. a sequence program to be printed or edited offline is called a source program. "Editing I/O Module Assignment. Sequence program (LAD file) Source program System parameters Title data Symbols/comments Message data I/O module data I/O module comments Ladder level 1 Ladder level 2 Ladder level 3 Subprogram P1 Subprogram P2 : Subprogram Pn Net comments Object code Memory card format data NOTE 1 In FANUC LADDER-III.

23 - .CREATING AND EDITING SEQUENCE PROGRAMS • Data flow FANUC LADDER-III Source program System parameters Title data Symbols/comments Message data I/O module data I/O module comments Ladder level 1 Ladder level 2 Ladder level 3 Subprogram P1 Subprogram P2 : Subprogram Pn Net comments Mnemonic conversion Mnemonic program Conventional mnemonic not Source conversion using step sequences Compile/Decompile Object code Memory card format data CNC .B-66234EN/04 3.

This method is intended to represent a flow of control directly using a flowchart. With this method. See "Introduction--Features of FANUC LADDER-III and its Functions Classified by PMC Model. it is suitable for total process control.3.1. however.Ladder subprogram .2 PMC Programming Method The ladder method is one of the most extensively used methods for programming PMC-based sequence control. As the number of PMC functions has increased.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. Therefore.24 - . • What is the step sequence method? The step sequence method is a sequence control programming method that is based on a programmable controller. sequence programs have become large and complicated.Step sequence subprogram NOTE Ladder level 3 is omissible. So. Because this method was originally based on control circuits in relay panels. • Sequence configuration Ladder programs can take any one of the following five configurations.Ladder level 1 . we have introduced step sequence programming. To cope with this situation. an individual control module is described using the conventional ladder method.Ladder level 3 . the step sequence method allows the user to visually describe the entire process flow.Ladder level 2 . LEVEL1(LADDER) LEVEL2(LADDER) LEVEL3(LADDER) Sub Program P1(Step Sequence) Sub Program P2(LADDER) Sub Program P3(LADDER) : Sub Program Pn(Step Sequence) . it was initially easy for sequence control engineers to understand." for details on the models that can use step sequences. .

LAD to PMC0009.3 Work Folders and Online Program Files • Work folder A program work folder is created automatically on a path set up in the TMP environment variable. an online program file that matches that on the PMC is opened automatically. A user file can be saved if required.LAD to PMC1009. • Online program file If communication is started with no program open. NOTE Only up to ten online program files can be held. when LAD programs are saved. The work folder is called WFLAD* where * represents a number.1. • User file folder A user file folder. When you finish program debugging. If connected with the main PMC: PMC0000. and the following LAD files are created automatically in the LAD folder. When there is an online program file.25 - . . Therefore. to a LAD file. a program is loaded from the PMC.CREATING AND EDITING SEQUENCE PROGRAMS 3.B-66234EN/04 3. PMC_PRM.LAD These files are referred to as online program files. When PMC parameters are transferred with the input/output function.LAD If connected with the loader PMC: PMC1000. along with other data files.PRM in the user file folder is initially set for a parameter file transfer destination and transfer source file name. save the program file under a different file name. called MyFladder. and if communication is started with no program opened. the program can be debugged online without loading it from the PMC so often. is created automatically in the work folder mentioned above.

4 Selecting Devices If using loader control functions.4 2. Select the device you want to connect using the [↑] and [↓] keys. . Procedure 1.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. 3. Click the <Exec> button. display and use the PMC on either the CNC main unit or the loader by switching between them with the dialog box for selecting [Current Device]. the following dialog box automatically appears at the start of communication.1.26 - .1. If the loader has been installed.3. 3. Fig.

1 1-1 Set the necessary data. however.2 3.B-66234EN/04 3. 3. PMC Type Select a PMC model.CREATING AND EDITING SEQUENCE PROGRAMS 3.1 CREATING NEW PROGRAMS This section describes how to create a sequence program (LAD file). Procedure 1 Select [File] . The [New Program] screen appears. Use the extension . LEVEL3 Program Using Select this item if you want to enable ladder level 3. Name Enter the name of a program file you want to create.[New Program]. You can omit it.LAD. . Fig.27 - .2.2.

click the <Cancel> button.3.0 to Y127.0 to Y327.0 to X127. When using other models. X200.7) increase to the input signals (X0. 3 Ladder programs for loader board control functions can be created on PMC-SA1 only. 2 When PMC-QC is used. Y200. 2 channels are used even if you do not check the check box for I/O Link expansion. The [Program List] screen appears. NOTE A new ladder program is created in the last file folder used for creating or modifying a ladder program.7) and output signals (Y0.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 I/O Link expansion Check this check box to enable the I/O Link expansion function after selecting a model that allows multiple channels to be set. you cannot check the check box for I/O Link expansion.0 to X127. the input/output signals increase from the input signals (X0. Checking this box displays "2 channels. 2 To create a program. click the <OK> button.0 to Y127." When the I/O Link expansion function is enabled.7. To quit. NOTE 1 The models that allow multiple channels to be set are PMC-SB6 and PMC-SB6 (SFC).7.28 - .0 to X327.7).7) and output signals (Y0. Loader board control Check this box to create Ladder programs for loader control functions. .

1 1-1 Set the necessary data. click the <Open> button. Fig.CREATING AND EDITING SEQUENCE PROGRAMS 3.LAD. The [Program List] screen appears.3. the last file folder used for creating or modifying a ladder program is displayed in [Look in:].1 Procedure 1 Select [File] . Use the extension . . 2 To open the program. The [Open] screen appears. 3.29 - .[Open Program].3. 3. click the <Cancel> button. To quit. You can omit it. however.B-66234EN/04 3.3 OPENING EXISTING PROGRAMS This section describes how to open an existing sequence program (LAD file). NOTE On the [Open] screen. File name Enter the name of the existing program file you want to open.

3.") An opened file cannot be overwritten. the following error message appears: Fig. this button displays a notification message.] screen appears. If an attempt is made to save an opened file by specifying the same name. "Opening Programs with the Read-only Attribute.. 1 If a user attempts to open a program that is already opened by another user. An opened file can be saved only by assigning a new name to it.3. .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.2(b) <Notify> button When the first user closes the file.3.3.. Fig.2(a) <Read-only> button This button opens a file with the read-only attribute.3. 3.2 Opening Programs Opened by Another User This subsection describes access by multiple users to the same file on the network.3. the [File is opened. <Cancel> button This button cancels an attempt to open a file.30 - . (See Subsection 3.3.

but can save the file only by assigning a new name to it.3.31 - . the first user cannot overwrite the file.] screen.. <Open> button This button is the same as the normal button for opening a program. the following message appears: Fig.2(d) <Read-only> button This button is the same as described in Item 1 above. 3 If the first user closes the file when another user has clicked the <Notify> button and the [File is opened. For example.Waiting. <Cancel> button This button is the same as described in Item 1 above. contact the other user(s) using the program... . .2(c) <Read-only> button This button is the same as described in Item 1 above. 3... 3. If this button is selected. Fig.CREATING AND EDITING SEQUENCE PROGRAMS 2 Clicking the <Notify> button displays the [File is opened.. <Cancel> button This button is the same as described in Item 1 above. Waiting.B-66234EN/04 3. Be careful when selecting this button.] screen is displayed.. <Owner> button This button opens a file with a privilege.3..

3 Opening Programs with the Read-only Attribute When a program with the read-only attribute is opened.3. but can be saved only by assigning a new name.3. Such a file cannot be overwritten.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.3 . 3. a character string (for read-only indication) is added after the file name in the status bar.32 - . the following error message appears: Fig.3. If an attempt is made to save such a file by assigning the same name.

To change the programmer mode to offline. .[Online/Offline].CREATING AND EDITING SEQUENCE PROGRAMS 3.B-66234EN/04 3.33 - . NOTE Titles can be displayed and edited only when the current programmer mode (offline/online) is offline.4 EDITING TITLES This section describes how to enter a title for a program created by the machine tool builder. select [Ladder] .

4.4. 3.1 (b) . Fig.3.34 - . The [Edit Title] screen appears.1 Procedure 1 Double-click the <Title> item in the [Program List] screen.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.1 (a) Fig.4. 3.

The maximum number of characters that can be entered is as listed below: Table 3.1 Data Machine Tool Builder Name Machine Tool Name PMC & NC Name PMC Program No. See Section3. Program Drawing No.11. "Closing Programs." for an explanation about how to save data entered on the [Edit Title] screen." . <Close> button This operation has nothing to do with saving data entered on the [Edit Title] screen.35 - .12. Edition No. click the <Close> button." for an explanation about how to close the sequence program without saving the data entered on the [Edit Title] screen."Saving Programs.B-66234EN/04 3.4.CREATING AND EDITING SEQUENCE PROGRAMS 1-1 Set the necessary data. See Section 3. Date Of Programming Program Designed By ROM written by Remarks Maximum number of characters that can be entered 32 32 32 4 2 32 16 32 32 32 1 To close the [Edit Title] screen.

The first method is offline editing.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. . The second method is online editing. without being connected to the CNC (PMC). select [Ladder] [Online/Offline] to change the current programmer mode to offline. that is.5. Two different methods can be used to edit ladder diagrams.1 : Online 2. in which a personal computer for editing ladder diagrams is connected to the CNC (PMC).5 EDITING LADDER DIAGRAMS This section describes how to edit ladder diagrams.5. 3.1 Preparing for Offline Editing Procedure 1. in which a personal computer for editing ladder diagrams is used standalone. Check the current programmer mode (offline or online) on the status bar.36 - . 3. If the current programmer mode is online.3. Programmer mode Blank: Offline / Fig.

5. Before trying to match the ladder to be edited to that in the PMC. select [Ladder] [Online/Offline] or click the [On Line/Off Line Change] button to change the programmer mode to online.) 3. Level 3 programs can be added only when the current programmer mode is offline.37 - . 6.5. NOTE 1 If a ladder program to be edited online does not match one in the PMC. If the programmer mode is offline.3. (See Fig. select [Ladder] .2 Preparing for Online Editing Starting online editing Procedure 1.) 2. 4.[Ladder Mode] to change the ladder mode (monitor or editor) to editor." for details. 2 A level 3 program can be added by right-clicking the [Program List] screen and then clicking [Add LEVEL3]. .CREATING AND EDITING SEQUENCE PROGRAMS 3. FANUC LADDER-III automatically stores or loads the ladder program. After that. store or load the ladder program to be edited.3. Connect the personal computer to the NC (PMC) with a data transfer cable. "AUTOMATIC COMPILATION AND DECOMPILATION.B-66234EN/04 3. automatic decompilation is performed and ladder monitoring starts. Check the current programmer mode (offline or online).1. (See Appendix A for an explanation about the data transfer cable. (See Section 5.) 5. Then. it is impossible to change the ladder mode to edit. When you select a ladder program which is not currently used in the PMC.

) . Select [Ladder] . Fig. If the ladder program in the PMC is not updated. Update the ladder program. the following dialog box appears." for details. "WRITING SEQUENCE PROGRAMS INTO FROM. Perform decompilation.3. a dialog box appears.6.[Online/Offline] or click the [On Line/Off Line Change] button to change the programmer mode to offline.2 2. NOTE Back up any online-edited ladder program in the PMC to F-ROM of the PMC. After that. (See Section 7.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 Terminating online editing Procedure 1.38 - . which prompts you to perform decompilation to make the contents of the ladder program in the PMC consistent with those of the ladder program on the personal computer. 3.5.

5.[Program List].B-66234EN/04 3.39 - . The [Program List] screen appears. 3.3 (a) . Select [View] .) Ladder program Step sequence program Fig. this screen appears automatically when a LAD file is created or opened.3 Method of Displaying the Ladder Diagram Editing Screen Procedure 1.5.CREATING AND EDITING SEQUENCE PROGRAMS 3. (Usually.

5.3.5.3 (b) Global search button Browse button Fig.40 - . 3. 3. B-66234EN/04 On the [Program List] screen. • Summary of the ladder diagram editing screen Resize button Ladder program name Search button Address display format Update button Undo button Zoom-out button Zoom-in button Display window Display always button Insert button Delete all button Replace button Edit window Error status Display net [total number of nets] Ladder mode Input mode Fig. select the ladder program and press the [Enter] or [F10] key. double-click the ladder program you want to edit. Alternatively.CREATING AND EDITING SEQUENCE PROGRAMS 2.3 (c) .

(This operation nullifies all the changes you made after the latest update.41 - .CREATING AND EDITING SEQUENCE PROGRAMS Display window Ladder program is displayed here. Resize button Make the size of a ladder diagram display match the window size. Update button(for online editing only) Updates the ladders in the PMC with the those in the display window. Address display format Specifies the display format for ladders on the display or edit window. the ladder program in the display window is changed Insert button Inserts ladders in the ladder program (display window) to the edit window. Replace button Replaces ladders in the ladder program (display window) with those in the edit window. Erase all button Erases all ladders from the edit window. . Undo button(for online editing only) Returns the ladders in the display window to the state existing the last time the [Restore] button was pressed. When the ladder program in this window is inserted or overwrote to the display window. Edit window Ladder program is edited here.B-66234EN/04 3. Error status Displays information about errors. Zoom-out button Reduces (shrinks) ladder diagrams. Zoom-in button Magnifies ladder diagrams. Search button Searches the display or edit window for an address or symbol.

3 (f) NOTE To display soft keys.42 - . displays the range of displayed net numbers and the total number of nets. 3. Input mode To change the input mode (insert or overwrite).[Softkey].5. . To change the ladder mode.5. Display Ctrl+W Opens a window for browsing another part of the ladder diagram being edited. • Soft keys .通常状態 Fig. On the edit window. the displayed window is automatically closed. 3. press the [Insert] key.When the Shift key is pressed Fig.[Monitor/Editor]. displays the current cursor position.3. select [Ladder] . Ladder mode Display the current ladder mode (monitor or edit). Display always Ctrl+T Keeps the ladder diagram editing window displayed.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 Display net [total number of nets] On the display window.When the Ctrl key is pressed Fig.3 (d) . 3. When another ladder diagram editing window is opened with this button set to off.5.3 (e) . Global search Ctrl+F2 Changes the search mode to global search. select [View] .

CREATING AND EDITING SEQUENCE PROGRAMS • Edit tool bar Fig. Under this condition. using the mouse.5 (g) The edit tool bar contains buttons for entering relays and coils.[Edit ToolBar]. . When you click a button on the edit tool bar and move the mouse pointer to the edit window.43 - . 3. Right-clicking resumes the usual mouse pointer shape. NOTE 1 To display the edit tool bar. left-clicking causes the relay or coil to be entered in the current mouse pointer position. the mouse pointer changes its shape to the relay or coil corresponding to the clicked button.B-66234EN/04 3. 2 The edit tool bar can be detached from the window to which it belongs and moved to any position on the screen by clicking between its buttons and dragging. select [View] .

Select All Edit .Change Address Display Edit .Replace Display always Edit .5 Shortcut key [F2] [Shift] + [F2] [Ctrl] + [F2] [F3] [Shift] + [F3] [Ctrl] + [F3] [F4] [Shift] + [F4] [F5] [Shift] + [F5] [Ctrl] + [F5] [F6] [Shift] + [F6] [F7] [Shift] + [F7] [Ctrl] + [F7] [F8] [Shift] + [F8] [Ctrl] + [F8] [F9] [Shift] + [F9] [Ctrl] + [F9] [Ctrl] + [F10] [Delete] [Ctrl] + [A] [Ctrl] + [C] [Ctrl] + [D] [Ctrl] + [F] [Ctrl] + [G] [Ctrl] + [H] [Ctrl] + [T] [Ctrl] + [V] [Ctrl] + [W] [Home] [End] [Ctrl] + [Home] [Ctrl] + [End] [Ctrl] + [↑] [Ctrl] + [↓] [Ctrl] + [PageUp] [Ctrl] + [PageDown] Replace Function ↓ coil search ↑ coil search Global search Search next (downward) Search next (upward) Search address B-66234EN/04 S R Vertical line (left) Vertical line (right) Insert element Horizontal line Delete (Can be repeated.CREATING AND EDITING SEQUENCE PROGRAMS • Shortcut keys Table 3.Jump to specified net number Edit .3.44 - .Copy Edit .) Insert line Function instruction Net comment Insert before net Insert after net Delete Edit .Search Edit .Paste Display browse window Display left end Display right end Jump to beginning Jump to end Jump to previous net Jump to next net Jump to next page Jump to previous page .

CREATING AND EDITING SEQUENCE PROGRAMS Context menu Right-clicking the ladder editing screen or pressing [Shift]+[F10] displays the context menu. 3.3 for details of each function. See Table 3. Fig.3(h) .B-66234EN/04 3.5.5.45 - .

Procedure 1.3. On the display window. Fig.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. 2 If there is a ladder error in the ladders on the edit window.46 - . 3.4 (a) . NOTE 1 To modify a ladder program.5.5. using the cursor control keys. change them on the display window and substitute the ladders on the display window with those modified on the edit window. it is impossible to select the <Insert> and <Replace> buttons. position the cursor to the ladder you want to modify. Then. 3 Double-clicking a ladder on the display window causes the ladders in the same net as the clicked ladder to be copied to the edit window. copy ladders from the display window to the edit window.4 Changing Ladder Programs This subsection describes how to modify ladder programs.

6 "Entering Basic Instructions" 3.5.5. 3.5.5. Press the [Enter] key.7 "Entering Function Instructions" .) Fig. Modify the ladder on the edit window.CREATING AND EDITING SEQUENCE PROGRAMS 2. For an explanation of how to operate ladders on the edit window. (Alternatively.8 "Entering Horizontal Lines" 3.B-66234EN/04 3.9 Entering and deleting vertical lines "Entering and Deleting Vertical Lines" Entering function instructions 3.5.47 - .5. double-click the ladder you want to modify. see the subsections listed below: Table 3.4 Operation Entering basic instructions Entering horizontal lines Subsection 3.4 (b) 3.

Fig.4 (c) 5.5.3. using the [↓] key or [↑] key. 3. and then click the <Exec> button Fig. click the <Replace> button. B-66234EN/04 After you finished modifying ladders.5. 3. Select the replacement position.CREATING AND EDITING SEQUENCE PROGRAMS 4.4 (d) .48 - .

B-66234EN/04 3. Procedure 1.5.5.8 "Entering Horizontal Lines" Entering and deleting vertical lines 3.5 (a) .5. NOTE 1 If there is a ladder error in a ladder in the edit window.6 "Entering Basic Instructions" Entering horizontal lines 3. 2 Double-clicking a ladder in the display window causes the ladders in the same net as the clicked ladder to be copied to the edit window.9 "Entering and Deleting Vertical Lines" Entering function instructions 3.49 - . For an explanation about how to operate the ladders on the edit window. see the subsections listed below: Table 3.5 Operation Subsection Entering basic instructions 3.CREATING AND EDITING SEQUENCE PROGRAMS 3.5.5.5. create the ladders you want to insert into a ladder program.7 "Entering Function Instructions" Fig.5 Inserting Ladders from the Edit Window into a Ladder Program This subsection describes how to insert ladders from the edit window into a ladder program (on the display window). 3.5. In the edit window. it is impossible to select the <Insert> and <Replace> buttons.

using the [↓] key or [↑] key.5.50 - . Fig. 3.5 (c) . Click the <Insert> button.5 (b) 3. and then click the <Exec> button. 3.3.CREATING AND EDITING SEQUENCE PROGRAMS 2.5. Select the insertion position. B-66234EN/04 Fig.

(Alternatively. This subsection describes how to enter basic instructions (relays and coils) in the edit window. using the cursor control keys. click the point.6 Basic instruction Key [F5] [Shift] + [F5] [F6] [Shift] + [F6] [Shift] + [F7] [Shift] + [F8] S R .) Fig. Table 3. 3.5.5.6 (a) 1-2 Press the key that corresponds to the basic instruction you want to enter.5.CREATING AND EDITING SEQUENCE PROGRAMS 3.51 - . Procedure 1-1 Position the cursor to the point where you want to enter a basic instruction.B-66234EN/04 3.6 Entering Basic Instructions 1.

(Alternatively.6 (c) . double-click the basic instruction.5. 3. Fig.) Fig.3. and then press the [Enter] key.5.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 1-3 Position the cursor to the basic instruction you entered.52 - .6 (b) 1-4 Enter an address or symbol. using the cursor control keys. 3. and then press the [Enter] key.

5.B-66234EN/04 3. (Alternatively.) Fig.CREATING AND EDITING SEQUENCE PROGRAMS 2. using the cursor control keys. After entering an address or symbol. click the point.6 (d) 2-2 Enter an address or symbol. Procedure 2-1 Position the cursor to the point where you want to enter a basic instruction.5.6 (e) .53 - . you can enter basic instructions using function keys. 3. Fig. 3.

6. (See Table 3.5.3. 3.5.) Fig.6 (f) .54 - .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 2-3 Press the key that corresponds to the basic instruction you want to enter.

7 (b) .5. Procedure 1-1 Position the cursor to the point where you want to enter a function instruction.) Fig. 3.CREATING AND EDITING SEQUENCE PROGRAMS 3. Fig.7 Entering Function Instructions 1.55 - .B-66234EN/04 3. (Alternatively.5. 3. using the cursor control keys. This subsection describes how to enter function instructions in the edit window.7 (a) 1-2 Press the [F9] key to display the [Select function] dialog box.5. click the point.

and then press the <OK> button. 3.7 (d) . Fig.5.56 - .5. 3.7 (c) 1-4 Enter the parameters for the instruction you entered.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 1-3 Select the function instruction you want to enter.3. Fig.

(Alternatively.) Fig.57 - . 3. using the cursor control keys. click the point.7 (e) 2-2 Enter a function instruction number or name.7 (f) .5. Fig. 3.CREATING AND EDITING SEQUENCE PROGRAMS 2 After entering a function instruction number or name.5.B-66234EN/04 3. Procedure 2-1 Position the cursor to the point where you want to enter a function instruction. you can enter a function instruction using the [F9] key.

58 - .7 (g) . 3. B-66234EN/04 Fig.5.3.CREATING AND EDITING SEQUENCE PROGRAMS 2-3 Press the [F9] key.

8 (b) .5. (Alternatively.5. Press the [F8] key.59 - .B-66234EN/04 3.5.8 Entering Horizontal Lines This subsection describes how to enter horizontal lines in the edit window.CREATING AND EDITING SEQUENCE PROGRAMS 3. 3. Fig. 3. Procedure 1.8 (a) 2.) Fig. Position the cursor to the point where you want to enter a horizontal line. click the point.

3.5.) Fig. using the cursor control keys. Position the cursor to the point where you want to enter a vertical line.5. click the point. Procedure 1.60 - .9 Entering and Deleting Vertical Lines This subsection describes how to enter and delete vertical lines in the edit window. and then press the [↑] or [↓] key. The vertical line is entered.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. (To delete the vertical line. hold down the [Shift] key and then press the [↑] or [↓] key. Press the [F7] key.3.5.) Fig.9 (b) . 3.(Alternatively.9 (a) 2.

CREATING AND EDITING SEQUENCE PROGRAMS 3. 3. Select [Ladder] from [Kind of Ladder].B-66234EN/04 3.10 Adding Ladder Subprograms This subsection describes how to add ladder subprograms. The [Add sub-program] dialog box appears.5. 4. Fig. and the screen for the added ladder program appears. 6. Fig. Procedure 1. 5.5. Enter [sub-program].61 - .5. The subprogram is added.10 (b) 3. Right-click on the program list screen. . and then click the <OK> button. and then click [Add subprogram F9]. Enter [Symbol] and [RelayComment]. 3.10 (a) 2.

Fig.5. 3. click <Yes>. position the pointer to the subprogram you want to delete and right-click. Fig.11 Deleting Ladder Subprograms This subsection describes how to delete subprograms. The following dialog box appears.62 - . click [Delete sub-program F6].11 (b) . 3.11 (a) 2. Then.3.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. On the program list screen.5. Procedure 1.5. To delete the subprogram.

B-66234EN/04 3.CREATING AND EDITING SEQUENCE PROGRAMS 3. 3-2 Click the [Symbol&RelayComment Delete] button.11 (c) 3-1 Click the right mouse button and select [Property]. .5. Delete the symbols and relay comments from a subprogram.63 - . 3. Fig.

position the mouse pointer to the point where you want to add a net comment. 3.5. Procedure for adding net comments Procedure 1. Fig. press the <Preview> button.12 Editing Net Comments This subsection describes how to edit net comments.12 (a) 2. The preview screen appears.5.5. Fig.5.12 (b) To check the number of characters in the entered net comment.[Net comment] . and then right-click. Fig.64 - . 3. 3. In the display window.3.12 (c) . and then enter a net comment.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. Select [Insert] .

After you finish editing. 3.B-66234EN/04 3.12 (d) Procedure for editing net comments Procedure 1. press the <OK> button. Edit the character strings for the net comment.5. The [Net comment] screen appears. . Fig. The net comment in the display window is updated. Fig. double-click the net comment you want to modify.5. press the <OK> button. In the display window.65 - . 3.CREATING AND EDITING SEQUENCE PROGRAMS 3. After you finish entering the net comment.12 (e) 2.

5. Fig.13 (a) 2.13 Deleting Net Comments This subsection describes how to delete net comments.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.[Net comment]. To delete the net comment. 3. and then right-click.3. Fig. position the mouse pointer to the net comment you want to delete. Procedure 1.5. select <OK>.5. 3. Select [Delete] . The following dialog box appears.66 - . In the display window. 3.13 (b) .

The page break is added.[New page]. position the mouse pointer to the point where you want to add a page break. In the display window.5. Select [Insert] . Procedure 1.67 - . Fig.14 Adding Page Breaks This subsection describes how to add page breaks.B-66234EN/04 3. . 3.CREATING AND EDITING SEQUENCE PROGRAMS 3.14 2. and then right-click.5.

5. Fig. In the display window. 3.5.15 (b) .15 Deleting Page Breaks This subsection describes how to delete page breaks. 3. The following dialog box appears. Select [Delete] . Procedure 1.3. 3. Fig.5. select <OK>.68 - . position the mouse pointer to the page break you want to delete.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. and then right-click.15 (a) 2.[New page]. To delete.

5. In the display window. The following dialog box appears. 3.CREATING AND EDITING SEQUENCE PROGRAMS 3.5. select the range of nets you want to delete. select <OK>. Fig.16 (b) . Position the mouse pointer to the selected range. 4.B-66234EN/04 3. 2.69 - .16 (a) 3.16 Deleting Nets This subsection describes how to delete nets. and then rightclick. Select [Net] from [Delete]. Procedure 1. 3.5. Fig. To delete it. using the mouse or cursor control keys.

5. 1-2 Program Click the <Select> button to open the [Program select dialog] screen.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.17(b) .70 - .17(a) 1-1 Search kind Select Address/Symbol or Functional instruction.17 Search This subsection describes the ladder program search function. then select a search target program. Choose [Search] from the [Edit] menu. 1-3 Global search Check this check box to select multiple search target programs at a time. Fig. The [Search] screen appears.5. Fig.3. Procedure 1. 3. 3.5.

When Address/Symbol is selected Fig.5. 3.71 - .CREATING AND EDITING SEQUENCE PROGRAMS 2. 3. . 3. Write coils Searches for only write coils. When Function instruction is selected Fig.5.17(d) 3-1 Parameter Enter parameters as search conditions according to Functional instruction selected in Search kind.B-66234EN/04 3. Select Select a desired instruction you want to search for. All Searches for all types of instructions.17(c) 2-1 Instruction for search Check search target instructions.

and coil comments.CREATING AND EDITING SEQUENCE PROGRAMS 4. 3.72 - . two types of wildcards can be used: a question mark (?) and an asterisk (*). A wildcard substitutes for one or multiple characters. Specify a character string you want to search for. A question mark (?) is used to represent one character. 4-5 Search result list display Check this check box to display the search results on the [Search result list (call)] screen in a batch. In a character string to be found. 4-4 Search direction Select Upper direction or Lower direction as the direction of search. Multiple addresses can be specified by delimiting them from each other by a comma (.0.X0. ladder diagrams.0) 4-2 Wildcard search Check this check box if a specified character string to be found includes wildcards. The [Search result list (call)] screen displays program numbers.17(e) . An asterisk (*) represents zero or more characters. This wildcard can be used more than once to represent characters.3. (Example: Y0. net numbers.). B-66234EN/04 4-1 Search string Enter a character string to be searched for. Fig.5.) or semicolon (. 4-3 Multiple search strings Check this check box to specify multiple character strings to be searched for.

B-66234EN/04 3.73 - . Click the [Clear] button. click the <Next search> button. click the <Exec> button. If Search result list display is checked. . The setting of each item is initialized. In other cases. Clear search condition settings. 6.CREATING AND EDITING SEQUENCE PROGRAMS 5. Execute search operation.

5.18. The [Collective Display] screen appears.3.1 Setting collective display extraction conditions Procedure 1. 3.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.1(a) Fig.5.18. 3. Fig.18. For buttons and input items. 3.18 Collective Display Collective display is a function with which nets extracted under multiple search conditions can be monitored (in the online mode) and displayed in one window.5. see the next page and later.74 - . Double-click the <Collective Display> item on the [Program List] screen.1(b) .5.

see Subsection 3. The [Setting of search condition-name] screen appears.1(d) 3-1 A character string that consists of the words "Search of" added to the start of a character string set in Search string on the [Search] screen is displayed. Fig. 3. Fig.5. .75 - . A set character string is displayed as a search condition name in the search condition list on the [Search Monitor] screen. click the <OK> button. 3.B-66234EN/04 3." 3. 3-2 After setting a desired character string. click the <OK> button. "Search.13.0) A set character string can be modified. The [Search] screen appears. Click the <Add Condition> button.18.1(c) 2-1 After setting search conditions.18. (Example: Search of Y0.5.5. For each setting item.CREATING AND EDITING SEQUENCE PROGRAMS 2.

76 - . 3. 3. .18.5. Repeat steps 2 through 4 to add search conditions. 5-2 <Rename Condition> button This button is used to rename the search condition where the cursor is placed.5. The [Collective Display] screen updated appears.3.1(f) 5-1 <Edit Condition> button This button is used to edit the search condition where the cursor is placed.18.CREATING AND EDITING SEQUENCE PROGRAMS 4.1(e) 5. B-66234EN/04 Fig. Fig. 5-3 <Deletion Condition> button This button is used to delete the search condition where the cursor is placed.

77 - . 3.18.5.1(h) . then set a desired collective display condition name in Condition Name. 3.CREATING AND EDITING SEQUENCE PROGRAMS 6. Check the check boxes of search conditions to be enabled.18.B-66234EN/04 3.5. Extracted nets are collectively displayed on the screen. Fig.1(g) 6-1 Click the <OK> button. The same information can also be monitored in the online mode. An extraction condition is added to the <Collective Display> item on the [Program List] screen. Fig.

2 Executing collective display Procedure 1 On the [Program List] screen.18.5.18.2(b) . then click the right mouse button.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.5. Then.78 - . 3. move the mouse pointer to the extraction condition used for collective display execution. 3. the extracted nets are collectively displayed on the screen. Fig.5. The same information can also be monitored in the online mode.18.2(a) 2 Choose [Open].3. Fig.

For extraction condition setting. 3. On the [Program List] screen. then click the right mouse button. Then. "Setting collective display extraction conditions.3 2.B-66234EN/04 3.CREATING AND EDITING SEQUENCE PROGRAMS 3.5.18. the [Collective Display] screen appears. Fig.18. Choose [propeRty].3 Modifying collective display extraction conditions Procedure 1.5. see Subsection 3. move the mouse pointer to an extraction condition to be modified." .5.79 - .1.18.

Click the <Yes> button to execute deletion.18.4(b) . Click the <No> button to cancel deletion. Fig. 3.3. a message for checking whether the selected condition may be deleted appears.5.18.5.18. Choose [Delete].80 - .4 Deleting collective display extraction conditions Procedure 1. move the mouse pointer to an extraction condition to be deleted.5.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. On the [Program List] screen. then click the right mouse button.4(a) 2. Fig. 3. Then.

19(a) 1-1 Number of contacts + coil a line Set the desired number of contacts and coils per row. choose [Options].19 Setting Ladder Display You can change settings related to ladder screens (monitor.5. then double-click [Ladder]. (A value from 8 to 20 (columns) can be set. 1-3 Grid Specifies that grid lines are displayed. the information is displayed. 3. 2 A net that has more relays or coils than the set number of contacts and coils is displayed as a continuation net as conventionally done. and collective display).CREATING AND EDITING SEQUENCE PROGRAMS 3.) NOTE 1 If the number of contacts and coils per row is changed. 1-2 ToolTips Specifies that when the pointer is positioned to a basic instruction in a ladder diagram. Fig.81 - . .B-66234EN/04 3. and reediting is disabled. a ladder diagram in the edit window and clipboard is deleted. From the [Tool] menu. editing. Procedure 1.5.

specify the character font.CREATING AND EDITING SEQUENCE PROGRAMS 2..5. and size of characters displayed in a ladder diagram. colors. 3.. In this dialog box. and connection line thickness displayed in a ladder diagram. A dialog box appears. Fig.3.. A dialog box appears.5. 3.> button..19(b) 2-1 Font Click the <Setting. In this dialog box.> button. Fig.19(c) . specify the font name.82 - . B-66234EN/04 Click the <Details. style.

CREATING AND EDITING SEQUENCE PROGRAMS 2-2 Colors Click the <Setting. Fig.> button. In this dialog box.5. Fig.19(e) .. A dialog appears.83 - .. A dialog appears. 3. size.5. specify the font name.19(d) 2-3 Signal Off/Step Sequence Specifies the thickness of connection lines in the signal off state or in step sequence. 2-4 Signal On/Error Net Specifies the thickness of connection lines in the signal on state or in an erroneous net.> button. 3. 2-5 ToolTips Font Click the <Setting.. specify the colors of items displayed in a ladder diagram.B-66234EN/04 3. In this dialog box. style. and color of characters for tool tip display..

and the address or parameter will enter the change-enabled state. NOTE 1 You can also enter a symbol as a signal address. 2. AND. Procedure 1.20 Changing Signal Addresses and Function Instruction Parameters in the Display Window This subsection describes how to change signals addresses and function instruction parameters in the display window. Position the cursor to the signal address or function instruction parameter you want to change. Change the signal address or function instruction parameter.84 - . and SUBB. 3.3. MULB.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. DIVB. OR. EOR. . 2 You cannot change function instruction numbers or the first parameters of the function instructions ADDB.20 3.5. COMPB. and press the [Enter] key.) Fig.5. (You can also key in directly after positioning the cursor. Press and hold down the [Shift] key and press the [Enter] key.

Click the soft key that corresponds to the contact or coil you want to change.5.85 - .CREATING AND EDITING SEQUENCE PROGRAMS 3.21 (a) 2. Fig.5. .) Fig. 3.5. Procedure 1.21 (b) NOTE You cannot insert or delete contacts/coils. Position the cursor to the contact or coil you want to change. Nor can you enter horizontal/vertical lines.21 Changing Contacts and Coils in the Display Window This subsection describes how to change contacts and coils in the display window.B-66234EN/04 3. (You can also change the contact or coil to the one selected with the edit toolbar. 3.

position the pointer to a program for which you want to check the number of program steps and click the right mouse button. Fig.5.5. click [Properties].CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. Fig. 3.22 (a) 2-1 Ladder The total number of steps in the program is displayed. 3. On the [Program List] screen.3.22 (b) .22 Checking the Number of Program Steps This subsection describes how to check the total number of steps in a ladder program and the number of steps in each subprogram. Then.5.86 - . Procedure 1.

87 - .B-66234EN/04 3.22 (c) 2-3 Sub-program Displays the number of steps in each subprogram. Fig.5.5. 3.CREATING AND EDITING SEQUENCE PROGRAMS 2-2 LEVEL1 Displays the number of steps in each of LEVEL1 to LEVEL3. the total number of program steps is not displayed. 3 In online mode. the number of program steps is not displayed. . 3. 2 The number of steps in a step sequence program is not displayed.22 (d) NOTE 1 If a step sequence program is contained. Fig.

3. 3.23 (b) 1-2 Search string Enter a character string you want to search for. two types of wildcards can be used: a question mark (?) and an asterisk (*). From the [Edit] menu.5. Fig.5.5.88 - . In a character string to be searched for. Then. . The [Replace] screen appears. select the program in which you want to search for a string. 3.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.23 (a) 1-1 Program Click the <Select…> button to open the [Program select dialog] screen. choose [Replace].23 Replace This subsection describes the ladder program replace function. Procedure 1. Fig.

CREATING AND EDITING SEQUENCE PROGRAMS 1-3 Replace string Enter a character string you want to replace with. 2-1 <Next search> button Searches for the target character string. 2-5 <Clear> button Places all items in their initial state. 3 An asterisk (*) represents zero or more characters. In a character string to be replaced with. 2-4 <Cancel> button Cancels replace operation and closes the [Replace] dialog box. two types of wildcards can be used: a question mark (?) and an asterisk (*). NOTE 1 A wildcard can substitute for one or multiple characters. 2. 2-3 <Replace all> button Replaces all occurrences of [Search string] with [Replace string]. 1-4 Wildcard search Check this check box if a character string to be replaced with includes wildcards. 2-2 <Replace> button Replaces [Search string] with [Replace string]. This wildcard can be used more than once to represent characters. . Execute replace operation.89 - . 2 A question mark (?) represents one character.B-66234EN/04 3.

* X*.0 X1*. X0??0 → Y0??0 Cannot be replaced.0 X*1.0 Y0??0.0 → Y0??0.1 Y*. 3 No wildcards can be used in a signal name. 2 No wildcards can be used for replacing an address using a symbol. Wild card B-66234EN/04 3-1 Asterisk (*) The following types of wildcard replacement using asterisks are available: Character string to be replaced with Y200 Y* Y200.0 X*1*. X0??0 → X0??0 → X0??0 → X0??0 → X0??0.0 X100.0 X1*1.* 3-2 Question (?) The following types of wildcard replacement using question marks are available: Can be replaced.CREATING AND EDITING SEQUENCE PROGRAMS 3.0 X*.* Character string to be searched for A : Can be replaced.0 → Y0?00 Y0?0? Y0??? Y0??0.3. C : Can be replaced only when the signal names are the same.* *.0 NOTE 1 Address P can be replaced with another character string only in the CALL and CALLU instructions.90 - .0 → X0??0.1 A B B B A B B B B B A B B B A C B B A A Y200.1 The following types of wildcard specifications are not available: X1* X1*.* X*1* X*1*. . B : Cannot be replaced.0 → X*. (Example) X*.* X1*1 X1*1.* B B B A A X100 X* X100.? Y0??0 X0??0.* X*1 X*1.

24 Changing Ladder Programs on the Display Window This subsection describes how to modify a ladder program only on the display window without using the edit window.CREATING AND EDITING SEQUENCE PROGRAMS 3. a ladder program cannot be modified on the display window.5.B-66234EN/04 3.24. 3.5.5. Fig.1 Changing the ladder editing mode From the [Tool] menu. 3.91 - . NOTE In online editing mode. . choose [Option].1 Check [Editing ladder diagram on display window] under Method of editing ladder diagram (Offline).24. In the [Option] dialog box. click the [Ladder] tab.

5.92 - . Fig. 3. using direction keys.2 Inserting an edit line Procedure Move the cursor to a position where you want to enter an edit line.2 .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.3.24. Click the right mouse button and select the [Insert] menu.5.24.

CREATING AND EDITING SEQUENCE PROGRAMS 3. click the point.93 - .3 Basic instruction Key [F4] [Shift] + [F4] [F5] [Shift] + [F5] [F6] [Shift] + [F6] S R . (Alternatively. This subsection describes how to enter basic instructions (relays and coils). using the cursor control keys.) Fig.5.3 Entering basic instructions 1.24.24.3(a) 1-2 Press the key that corresponds to the basic instruction you want to enter. Procedure 1-1 Position the cursor to the point where you want to enter a basic instruction.B-66234EN/04 3.24. Table 3.5. 3.5.

CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 1-3 Position the cursor to the basic instruction you entered.94 - .3(c) .5.24. and then press the [Enter] key. Fig. (Alternatively.24.3(b) 1-4 Enter an address or symbol. double-click the basic instruction.5. 3. 3.3.) Fig. using the cursor control keys. and then press the [Enter] key.

Procedure 2-1 Position the cursor to the point where you want to enter a basic instruction.95 - . using the cursor control keys. 3. (Alternatively. click the point.5.B-66234EN/04 3.24.3(e) . 3. After entering an address or symbol.) Fig.3(d) 2-2 Enter an address or symbol.CREATING AND EDITING SEQUENCE PROGRAMS 2.24. you can enter basic instructions using function keys. Fig.5.

) Fig. 3.24.24.3.96 - .3(f) . (See Table 3.5.3.5.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 2-3 Press the key that corresponds to the basic instruction you want to enter.

click the point. Procedure 1-1 Position the cursor to the point where you want to enter a function instruction. 3.97 - .5.4(b) .CREATING AND EDITING SEQUENCE PROGRAMS 3.24.5.4(a) 1-2 Press the [F9] key to display the [Select function] dialog box. 3.24.4 Entering function instructions 1.B-66234EN/04 3. using the cursor control keys.5.24. This subsection describes how to enter function.) Fig. Fig. (Alternatively.

Fig.98 - .4(d) .3. Fig.5. 3.4(c) 1-4 Enter the parameters for the instruction you entered.5. and then press the <OK> button. 3.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 1-3 Select the function instruction you want to enter.24.24.

3.24. Fig. Procedure 2-1 Position the cursor to the point where you want to enter a function instruction. click the point.99 - .5. you can enter a function instruction using the [F9] key. 3. (Alternatively.4(e) 2-2 Enter a function instruction number or name.B-66234EN/04 3.4(f) .5.) Fig. using the cursor control keys.CREATING AND EDITING SEQUENCE PROGRAMS 2 After entering a function instruction number or name.24.

100 - .5.24.4(g) . 3. B-66234EN/04 Fig.3.CREATING AND EDITING SEQUENCE PROGRAMS 2-3 Press the [F9] key.

(Alternatively. Fig.5.24.5.CREATING AND EDITING SEQUENCE PROGRAMS 3. Press the [F8] key. click the point. Position the cursor to the point where you want to enter a horizontal line.5.) Fig.24. Procedure 1.5(b) .B-66234EN/04 3.24. 3.5(a) 2. 3.101 - .5 Entering horizontal lines This subsection describes how to enter horizontal lines.

3.102 - . press the same soft key again. click the point.5.6(b) .) Fig. 3.6 Entering and deleting vertical lines This subsection describes how to enter and delete vertical lines.3.24.5.5. Position the cursor to the point where you want to enter a vertical line. Procedure 1. Press [Shift]+[F7] to enter a vertical line at the right of the cursor position. using the cursor control keys.24.6(a) 2. Press the [F7] key to enter a vertical line at the left of the cursor position. (Alternatively.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. To delete a vertical line. Fig.24.

5. Fig.25 Deleting Symbol or Comment Data This subsection describes how to delete symbol or comment data in ladder diagram editing.5.25(a) 2. 3. using direction keys. The symbol or comment data is deleted.103 - . Click the right mouse button and choose [Property].B-66234EN/04 3. 2. Fig.25(b) .CREATING AND EDITING SEQUENCE PROGRAMS 3. 3. Procedure 1. Click the <Delete> button.5. Move the cursor to the position of a basic instruction for which you want to delete symbol or comment data.

select [Ladder] . The [Program List] screen appears.3. . To change the programmer mode to offline.6 (a) 2. Alternatively.) Ladder program Step sequence program Fig. On the [Program List] screen.[Program List].[Online/Offline].104 - . this screen appears automatically when a LAD program is created or opened. double-click the step sequence program you want to edit. select the step sequence program. Select [View] .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. How to display the step sequence edit screen Procedure 1.6 EDITING STEP SEQUENCES This section describes how to edit step sequence programs. 3. NOTE Step sequence programs can be displayed and edited only when the current programmer mode (offline/online) is offline. (Usually. and then press the [Enter] or [F10] key.

CREATING AND EDITING SEQUENCE PROGRAMS Summary of step sequence program edit screen Address display method selection button Step sequence program name Search button Check button Zoom-in button Zoom-out button Cursor Information about element in cursor position Fig.6 (b) Cursor position Zoom-out button Reduces the step ladder screen display. Zoom-in button Magnifies the step ladder screen display.B-66234EN/04 3. Information about element in the cursor position Displays a step number. Check button Check program syntax. 3.105 - . . action (subprogram). Search button Searches for a step number and action. Address display method selection button Switches between address and symbol displays. and label number.

106 - . 3. select [View] .6 (d) - When the Shift key is not pressed (the cursor is on the "condition specification TR") Fig. 3. 3.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 Cursor position Displays the row and column of the current cursor position.6 (e) - When the Shift key is pressed (the cursor is on the "condition specification TR") Fig.6 (f) NOTE To display soft keys. .3. Soft keys When the Shift key is not pressed (the cursor is on the "processing step line") Fig.6 (c) - When the Shift key is pressed (the cursor is on the "processing step line") Fig. NOTE The step sequence program edit screen consists of 32 horizontal elements by 64 vertical lines.[Softkey]. 3.

B-66234EN/04

3.CREATING AND EDITING SEQUENCE PROGRAMS

Context menu
Right-clicking the step sequence program edit screen displays this menu.

Fig. 3.6 (g)

- 107 -

3.CREATING AND EDITING SEQUENCE PROGRAMS

B-66234EN/04

Shortcut keys
Table 3.6 Shortcut key [F3] [Shift] + [F3] [F5] [Shift] + [F5] [F6] [Shift] + [F6] [F7] [Shift] + [F7] [F8] [F9] [Shift] + [F9] [Del] [Ctrl] + [C] [Ctrl] + [F] [Ctrl] + [G] [Ctrl] + [V] [Ctrl] + [X] [Home] [End] [Ctrl] + [Home] [Ctrl] + [End] Function Search (downward) Search (upward) Enter step program (step line) Enter transition (transition line) Enter label jump (step line) Enter initial step program (step line) Enter beginning of selective branch (transition line) Enter jump-to label (step line) Enter end of selective branch (transition line) Enter block step program (step line) Enter beginning of parallel branches (transition line) Enter end of block step (step line) Enter end of parallel branch (transition line) Enter continuation line Check syntax Zoom Clear element Edit - Copy Edit - Search Edit - Jump to specified position Edit - Paste Edit - Cut Display left end Display right end Jump to beginning Jump to end

- 108 -

B-66234EN/04

3.CREATING AND EDITING SEQUENCE PROGRAMS

3.6.1
Step

Step Sequence Configuration
A step sequence program consists of the following elements:

A step is a unit of processing in a program.

-

-

A step number [Sn] necessary to control execution and a subprogram [Pm] that describes actual processing are defined for a step. Each step is always assigned with a step number. A duplicate step number cannot be used in a program. A step can be in any one of three logical states: running, stopping, and stopped. The running state is also called an active state. The stopping and stopped states are collectively referred to as inactive states.
Table 3.6.1 Processing Sn.0 The step is active. The corresponding action program 1 (subprogram) is running. The step is shifting from running to stopped. The corresponding action program 0 (subprogram) is executed only once. After this it is stopped. The step is inactive. The corresponding action program 0 (subprogram) is not running.

State Active Running

Stopping Inactive Stopped

NOTE The state of a specified step can be read through a contact; it cannot be written, however. Sn.0 (where n represents a step number, which can take a value from 1 to 1000) Step numbers are used in a program so that transition between steps can be controlled in detail. Using step numbers makes it possible for any subprogram to detect the state of any step. However, the use of step numbers adversely affects program transportability and ease of understanding. Do not use step numbers excessively.

- 109 -

3.CREATING AND EDITING SEQUENCE PROGRAMS

B-66234EN/04

Initial step
An initial step is a step that automatically becomes active when the program starts running. Except for this point, the initial step behaves in the same manner as ordinary steps. Control can be passed from a usual step to the initial step again. In this case, the initial step behaves in exactly the same manner as an ordinary step.

-

-

A step number [Sn] necessary to control the execution and a subprogram [Pm] that describes the actual processing are defined for an initial step. All initial steps become active when no other step is running. Each block must have at least one initial step. It can have any number of initial steps. If a block has no initial step, it is not executed even if called. Each initial step is always assigned a step number. A duplicate step number cannot be used in a program. If there are initial steps in the middle of parallel branching, there must be at least one initial step in each flow.

Transition
A transition represents a condition under which transition occurs from one step to another.

-

There must be only one transition between steps. The transition of processing from one step to another is carried out as described below:
When S1 is running, only S1 and P101 are processed. The other steps or transitions are not executed. Even if P102 is satisfied, it is invalid unless S2 is running.

Transition from S1 to S2 can occur if P101 is satisfied. When P101 is satisfied, S1 ends regardless of the state of S1, allowing S2 to start.

-

When a signal becomes on in a transition, its state is held even after state transition occurs. So, if you do not want to maintain the state, you must turn off the signal, using another subprogram.

- 110 -

B-66234EN/04

3.CREATING AND EDITING SEQUENCE PROGRAMS
[Example of setting transition conditions] In this example, after an M7 code is decoded using the DEC function instruction, control is passed to the next step.
Subprogram P1

Subprogram P101

NOTE The TRSET function instruction is intended to describe that a transition condition is satisfied. It is used in a subprogram that is called from the transition.

Beginning of selective branch
A branch occurs from one step to two or more steps, passing control to a step below a transition where the condition is satisfied.

-

A transition is placed below a branch. A step leading to the first transition where the transition condition is satisfied becomes active. If transition conditions for more than one step are satisfied simultaneously, transition occurs to the leftmost step. A branch can occur to up to 16 flows.

End of selective branches
Two or more flows that branched out gather back into one flow.

-

The number of branching flows must match that of the gathering flows.

- 111 -

3.CREATING AND EDITING SEQUENCE PROGRAMS

B-66234EN/04

Beginning of parallel branch
A branch occurs from one step to two or more steps, which become active simultaneously.

-

A transition is placed above a branch. After branching, all steps become active simultaneously and are executed. A branch can occur to up to 16 flows.

- 112 -

B-66234EN/04

3.CREATING AND EDITING SEQUENCE PROGRAMS

End of parallel branch
Two or more flows that branched out gather into one flow.

-

How parallel flows gather again is explained below.

If transition P120 is satisfied, the processing of steps S10 and S20 is terminated, and step S21 becomes active.

-

How wait processing occurs is explained below.

Even if transition P109 is satisfied, transition does not occur to S20 unless S11 and S16 are active. If P109 is satisfied when both S11 and S16 are active, the processing of S11 and S16 is terminated, and step S20 becomes active. In this case, P109 contains the end conditions for both S11 and S16.

(Dummy)

If you want to set separate end conditions for steps S11 and S16, specify P111 and P116 as end conditions, and describe S12 and S17 as dummy steps, as shown on the (Dummy)left. Step and subprogram numbers must be specified for a dummy step, too. In addition, P110 must be specified as a dummy transition that is always on.

- 113 -

CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 Jump A jump is processed in conjunction with a transition to control the execution of steps. It is impossible to jump from one parallel branch flow to another. The step at a jump destination becomes active. It is impossible to jump from outside to inside a parallel branch and vice versa. - A jump-to label [Ln] is specified. Block step The block step is a step for representing a subprogram described with step sequences. - A jump-to label [Ln] is defined.3.114 - . A step number must be assigned to a step. Label A label represents a jump destination. - - A step number [Sn] necessary to control execution and a subprogram [Pm] that describes actual processing are defined for a block step. There must always be a transition below a block step. A subprogram for P102 must be a dummy transition that is always satisfied. The jump destination must be within the same program. If transition P102 is exchanged with P121. . Transition P102 cannot be omitted. Write a condition for terminating step S21 in transition P121. processing at step S21 does not work normally. Duplicate step numbers cannot be used in a program.

115 - .B-66234EN/04 3. It can have any number of end block steps. The function and representation of the initial block step are the same as for the initial step. - - A step number [Sn] necessary to control execution and a subprogram [Pm] that describes actual processing are defined for an initial block step. End block step The end block step represents the end of the steps in a block.CREATING AND EDITING SEQUENCE PROGRAMS Initial block step The initial block step is an initial step in a block. Each block must have at least one end block step. - An end block step is created to end block step processing. .

or label. . position the cursor to the desired element.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.116 - .2 Entering Steps Procedure 1. press the <OK> button. The [Action] dialog box appears. The [Action] dialog box appears.3. action. After you finish entering the items. double-click the element. Press the [F5] key.6. S12 P518 NOTE To change a step number. Position the cursor to the point where you want to enter a step. (An idle step number is used automatically.2 4. Alternatively.) Fig. 2. 3.6. Enter the necessary items. 3. and then press the [Enter] key.

The [Action] dialog box appears. press the <OK> button. .3 Entering Transitions Procedure 1.3 4. The [Action] dialog box appears. Or. After you finish entering the action (subprogram).B-66234EN/04 3.CREATING AND EDITING SEQUENCE PROGRAMS 3.117 - . double-click the element. 3. Enter the desired action. Position the cursor to the point where you want to enter a transition. Press the [F5] key. 2. position the cursor to the relevant element. 3.6.6. P519 NOTE To modify an action. and then press the [Enter] key. Fig.

S1 S2 .5 End of Selective Branch Procedure 1. 3.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. and then press the [F5] key. Hold down the [Shift] key.3. Position the cursor to the point where you want to enter the beginning of a selective branch. Position the cursor to the point where you want to enter an end of selective branch.4 Beginning of Selective Branch Procedure 1.6. 2. 2. Press the [F6] key.118 - .6.

CREATING AND EDITING SEQUENCE PROGRAMS 3. Hold down the [Shift] key. Position the cursor to the point where you want to enter the end of a parallel branch. and then press the [F6] key.119 - . 2.6.B-66234EN/04 3.7 End of Parallel Branch Procedure 1.6. Position the cursor to the point (transition line) where you want to enter the beginning of parallel branch. 2.6 Beginning of Parallel Branch Procedure 1. P100 3. Press the [F7] key. S1 S2 .

3. 3. press the <OK> button. Enter the label name. Position the cursor to the point (step line) where you want to enter a jump-to label (a label to which a jump is to be made). After you finish entering the label name.6. The [Action] dialog box appears. Hold down the [Shift] key.8 Specifying Jump-to Label Procedure 1.120 - .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.6. 2. and then press the [F6] key. Fig.8 4. ← S1 3. ← L10 S1 P500 .

6. After you finish entering the label. Position the cursor to the point (step line) where you want to enter a label jump.9 4.9 Specifying Label Jump Procedure 1. ←L10 S1 P10 P10 → L10 S2 P10 .6. ←L10 S1 P10 → S2 P10 P10 3. Hold down the [Shift] key. and then press the [F5] key. Fig.CREATING AND EDITING SEQUENCE PROGRAMS 3. 3. press the <OK> button. 2. Enter the label.B-66234EN/04 3. The [Action] dialog box appears.121 - .

6. Press the [F9] key. the following dialog box appears.10 (b) . Fig.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.122 - . 3. the following dialog box appears.3.6. 3.6.10 Checking Syntax Procedure 1. Fig. • If no error is found.10 (a) • If an error is found.

The [Add sub-program] dialog box appears. .6.123 - .6. 3. Enter [sub-program].11 (a) 2.6. 6. and the screen for the added subprogram appears. 3. Procedure 1.11 (b) 3. 5.11 Adding Step Sequence Subprograms This subsection describes how to add step sequence subprograms. Enter [Symbol] and [RelayComment].B-66234EN/04 3. and then click the <OK> button.CREATING AND EDITING SEQUENCE PROGRAMS 3. 4. Right-click the program list screen. Fig. Fig. Select [Step Sequence] from [Kind of Ladder]. and then click [Add subprogram F9]. The step sequence subprogram is added.

Fig. click <Yes>. The following dialog box appears.6. Procedure 1. click [Delete sub-program F6].6. 3. Then. Fig. Position the pointer to the step sequence subprogram that you want to delete from the program list screen.124 - .12 Deleting Step Sequence Subprograms This subsection describes how to delete step sequence subprograms.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.3. To delete.12 (b) .6. 3.12 (a) 2. and then right-click.

6.125 - .CREATING AND EDITING SEQUENCE PROGRAMS 3. 1-2 Search string Enter a character string to be searched for. Procedure 1 Choose [Find] from the [Edit] menu.13 Search This subsection describes the step sequence program search function. . 2 Execute search operation. For upward search operation.13 1-1 Search type Select Step number. For downward search operation. Label number.6. or Symbol/address. click the <OK> button while holding down the [Shift] key. 3.B-66234EN/04 3. The [Find] screen appears. Fig. No wildcard can be used. click the <OK> button.

[Online/Offline].7.1 (a) Definition Character string assigned to a contact or coil (on a one-to-one basis) and used in place of a PMC address Character string assigned to a contact or coil to describe the contents at a PMC address Character string assigned to a coil to describe it X0.0 Display INPUT Symbol Y0.0 Relay comment RELAY X COMMENT Y0.0 COIL Y COMMENT Coil comment (conventional comment) HERE IS COIL COMMENT Net comment Assigned to an arbitrary position between nets to describe the program (* HERE IS NET *) (* COMMENT *) .3.7 EDITING SYMBOLS AND COMMENTS This section describes how to edit symbols and comments.1 Symbol and Comment Data Names and comments can be assigned to the input signals and internal relays used in sequence programs. Table 3. 3.7. To change the programmer mode to offline.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. These names and comments are generically referred to as symbol and comment data. select [Ladder] . NOTE Symbols and comments can be displayed and edited only when the current programmer mode (offline/online) is offline.126 - .

kanji. whichever is reached first.B-66234EN/04 3.000 Allowed Usable characters Number of usable steps Maximum number of characters Maximum number of lines Maximum number of units that can be registered Table 3.7.000 Not allowed 16 bytes 20. They are not included in a memory-card-type file generated by the compile function. functions as a limit.000 NOTE 1 The maximum number of characters or lines.CREATING AND EDITING SEQUENCE PROGRAMS Table 3.1 (b) Symbol Relay comment ASCII characters ASCII characters (except lowercase Kana and Kanji Half-size kana letters) 16 bytes 20. . 20. kana.1 (c) Net comment ASCII characters.127 - .7. half-size kana 2 steps/net comment 64 bytes/line or 4095 bytes/net comment 100 lines/net comment Approx. 2 Relay comments are used only on the Ladder Edit screen of the FANUC LADDER-III.000 Allowed Usable characters Maximum number of characters Maximum number of units that can be registered Duplicate definition Coil comment ASCII characters Kana and kanji Half-size kana 30 bytes 20.

7. 3.3.2 (b) NOTE When you check [Ignore too long strings of the symbol]. . 3.2 Procedure 1 Double-click the <Symbol comment> item on the [Program List] screen.7.2 (a) Fig.128 - . Fig. The [SYMBOL/COMMENT] screen appears.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. the number of symbols that can be registered and the size of coil comments vary because the symbols that exceed the limit are assumed to be absent.7.

< Add New Data> button To quit without registering. Address Symbol Relay Comment Coil Comment 2-2 To register the entered data.CREATING AND EDITING SEQUENCE PROGRAMS 2 Click the <Add New Data> button on the toolbar. < Add New Data> button The [New Data] screen appears.B-66234EN/04 3.7.2 (c) 2-1 Set the necessary data. 3. click the <OK> button. .129 - . Fig. click the <Cancel> button.

7.CREATING AND EDITING SEQUENCE PROGRAMS 3 B-66234EN/04 To close the [SYMBOL/COMMENT] screen. "Saving Programs.130 - . See Section 3. "Closing Programs.3 Toolbar <1> <2> Fig.3. 3." for an explanation about how to save data entered on the [New Data] screen for [SYMBOL/COMMENT]. See Section 3.7.12. 3. <2> <Search> button The [Search] screen appears. click the <Close> button.7." for an explanation about how to close the sequence program without saving data entered on the [New Data] screen for [SYMBOL/COMMENT].11. 3.4 Context Menu Right-click the [SYMBOL/COMMENT] screen.7. The following context menu appears.3 <1> <Add New Data> button The [New Data] screen appears. 3. <Close> button This operation has nothing to do with whether to save the data entered on the [New Data] screen for [SYMBOL/COMMENT].4 . Fig.

NOTE Messages can be displayed and edited only when the current programmer mode (offline/online) is offline. .CREATING AND EDITING SEQUENCE PROGRAMS 3.8 EDITING MESSAGES Using the DISPB (SUB 41) function instruction enables the display of any message on the CRT/MDI screen of the CNC.[Online/Offline].B-66234EN/04 3. This section describes how to create messages. select [Ladder] . To change the programmer mode to offline.131 - .

1 (b) NOTE In Japanese-language input mode.8.8.1 Procedure 1 Double-click the <Message> item on the [Program List] screen.4. 3.1 (a) 2.8.132 - . "Numeric data." for details.2. Fig. (See Subsection 3.3. Japanese-language input mode 2-1 Edit messages using the Japanese-language input function of Windows. kana.) . 3. Change the input mode to code and enter numeric data. Enter kanji. you cannot enter data in the numeric data section. Fig.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.8. and half-size kana characters. The [Message Editing] Screen appears.

5.CREATING AND EDITING SEQUENCE PROGRAMS 3. You can check the new line code and special characters as displayed in the CNC. <Close> button This operation has nothing to do with whether to save the data entered on the [Message Editing] screen.11. "Closing Programs. click the <Close> button." for explanations about how to save data entered on the [Message Editing] screen. . 3." for an explanation about how to close the sequence program without saving the data entered on the [Message Editing] screen. [Message View] box 4-1 Clicking the <VIEW> button displays the [Message View] box. To close the [Message Editing] screen.8. Edit and check data in code format. "Saving Programs. Fig. See Section 3.133 - .1 (c) 4.12. Code input mode 3-1 Clicking the <CODE> button enables message editing using character code data.B-66234EN/04 3. See Section 3.

SA5.3. the number of characters in messages are counted starting at message No. 3 With the PMC-SB7. Others are deleted. NOTE 1 Lowercase letters (a to z) are converted to uppercase (A to Z) when entered.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. SB4. SB3. 1. up to 512. SA3. 2 Up to 65. and SC4. FANUC LADDERIII cannot check whether they can be displayed.2 CNC PMC Characters that can be entered JIS level-1/-2 Half-size Alphanumeric kanji set kana characters B B B B B A A A A A A A A A A PMC-SB3/SB4/SB5/SB6/SB7 PMC-SC3/SC4 PMC-SA1/SA3 FANUC Series 18 PMC-SB3/SB4/SB5/SB6/SB7 PMC-SC3/SC4 PMC-SA1/ SA5 FANUC Series 21 PMC-SB6 PMC-PA3 FANUC Power Mate PMC-SB5/SB6 FANUC Series 15 PMC-NB/NB2/NB6 FANUC Series 16 A: B: C: Usable Some kanji characters cannot be displayed. SB5. See the following table for details. Only the first 65.2 Models and Quantity of Usable Characters The types of characters usable in message text vary depending on the CNC/PMC model.535 characters are accepted. these characters cannot be entered.8. Specifically. SC3.535 characters can be used in messages in total with PMC-SA1.000 characters can be used in messages in total. SB6. but the number of characters is limited depending on the total capacity of the sequence programs. With FANUC LADDER-III. .8. Table 3.134 - . when the message edit function ends.

4. 2. a dot "•" is used to represent a new line character.4.3 Memory Addresses Required to Display Messages The following table summarizes the range of addresses that can be specified in each PMC and the quantity of messages that can be held.5. d: The number of digits in the decimal part (0 to 8) is specified. ____: Address where numeric data is stored.7 1000 2000 PMC PMC-PA3 PMC-SA1/SA3/SA5 PMC-SB3/SB5 PMC-SC3 PMC-NB PMC-SB4/SB6 PMC-SC4 PMC-NB2/NB6 PMC-SB7 3." Using the view function enables you to confirm whether the displayed message is actually continued on the next line. press the [Enter] key. "Toolbar. 3. a message is entered using the following numeric data format.8.8.5.4 3. as many number signs (#) as the number of specified digits are displayed in bold.___] Letter I prefixes the "bid" information. i: The number of digits in the integer part (0 to 8) is specified.2 Numeric data In code input mode.8.8." for an explanation of the code input mode and view function. . [Ibid. (Example: [I232.CREATING AND EDITING SEQUENCE PROGRAMS 3.1 Entering Special Characters New line character To enter a new line character.8. b: The number of bytes (1. as many dots "•" as the number of digits in the character string (from [ to ]) representing numeric data are displayed on the input mode screen.B-66234EN/04 3.0 to A249.135 - . See Subsection 3.8. or 4) is specified. (Example: ###. On the screen.7 A0.D300]) Usually.0 to A24. (Example: • • • • • • • • • •) With the view function.7 200 A0.##) See Subsection 3. On the code input mode screen.3 Message quantity Address range A0. "Toolbar. Table 3.0 to A124. enter "@" followed by "0A.8." for explanations about the code input mode and view function.

. <2> Search direction button Specifies the direction (upward or downward) in which a search is to be made. using numeric code (JIS).8.136 - . <4> Replace button Replaces the occurrences of a specified character string one by one.7). Enter a message.5 Tool Bar <1> <2> <3> <4> <5> <6> <7> <8> <9> <10> <11> <12> Fig. <5> Replace all button Replaces all the occurrences of a specified character string.5 <1> Search button Searches for a character string.) This button is enabled only with those PMC models that have a VGA indicator.8. <10>Jump address character string edit box Lets you specify a character string as a jump address. (When search operation reaches the end. <7> Code input mode button Lets you specify message data in code format. 3. <11>Jump address value up/down button Increases or decreases the jump address value. It is possible to specify the number of characters to be displayed per line (32 to 80 characters). search operation resumes from the beginning. Example: 2100 2100 @02467C4B5C386C493D4C2801@ <8> View button Lets you confirm that the message character string is in such a format that it is continued on a new line.3.0 to A24. <3> Find what edit box Lets you specify what to find.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. <9> Jump button Causes a jump to a specified address (A0. <12>Invalid kanji character check button Searches for kanji characters not displayable on the NC downward starting at the cursor position.7/A124. <6> Replace with edit box Lets you specify a character string for substituting an occurrence of a specified character.

8.CREATING AND EDITING SEQUENCE PROGRAMS 3.7 Corresponding function Search Search direction Replace Replace all Code input mode View Invalid kanji character check Jump Edit . 3.6 <1> The status bar displays the number of bytes in a message on the current line (that line with a caret).137 - .B-66234EN/04 3.Cut Edit .8. 3.8.6 Status Bar <1> Fig.7 Shortcut keys Shortcut key [F3] [Shift]+[F3] [F4] [Shift]+[F4] [F5] [F7] [F9] [Ctrl]+[G] [Ctrl]+[Z] [Ctrl]+[X] [Ctrl]+[C] [Ctrl]+[V] [Ctrl]+[Home] [Ctrl]+[End] [Home] [End] [PageUp] [PageDown] [↑] [↓] Table 3.Paste Move to the first display line Move to the last display line Move to beginning of line Move to end of line Move up 10 lines Move down 10 lines Move up one line Move down one line .Copy Edit .Undo Edit .8.

select [Ladder] .3. .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. NOTE I/O module assignment can be displayed and edited only when the current programmer mode (offline/online) is offline.9 EDITING I/O MODULE ASSIGNMENT This section describes how to set and delete an address for each module in an I/O unit.[Online/Offline].138 - . To change the programmer mode to offline.

1 (b) .9.9. 3.1 (a) Fig.139 - .1 Procedure 1 Double-click the <I/O Module> item on the [Program List] screen.9.B-66234EN/04 3. 3. Fig.CREATING AND EDITING SEQUENCE PROGRAMS 3. The [Edit I/O Module] screen appears.

The [Module] screen appears. Set the following data. To be set with 0. . [SLOT]: To be set to a unit number for the I/O Unit-B. [BASE]: To always be set to 0. however.3.1 (c) 1-2 Select a module name from those that can be specified.9. Fig. Group Base Slot Comment NOTE I/O Unit MODEL-B assignment is carried out as follows: [GROUP]: To be set with a group number within a configuration. 3. when information ‘##’ about power-on/-off is assigned.140 - .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 1-1 Double-click the line that you want to edit.

9.11. The [Edit I/O Module] screen appears. click the <Cancel> button.12. 3. "Saving Programs.9. <Close> button This operation has nothing to do with whether to save the data entered on the [Module] screen.3 Corresponding function Search . click the <OK> button. 2 To close the [Edit I/O Module] screen.9." for an explanation about how to save data entered on the [Module] screen.CREATING AND EDITING SEQUENCE PROGRAMS To assert the data you entered. See Section 3.2 Tool bar <1> <2> <3> <4> <5> <6> Fig.141 - . 3." for an explanation about how to close the sequence program without saving the data entered on the [Module] screen.9.B-66234EN/04 3.2 <1> <2> <3> <4> <5> <6> Next channel Previous channel Search Delete Delete channel Delete all 3. See Section 3. "Closing Programs. <OK> button To ignore the data. click the <Close> button.3 Shortcut Keys Shortcut key [Ctrl]+[F] Table 3.

To change the programmer mode to offline. NOTE System parameters can be displayed and edited only when the current programmer mode (offline/online) is offline. .10 EDITING SYSTEM PARAMETERS This section describes how to edit system parameters.3.[Online/Offline].142 - .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. select [Ladder] .

The [Edit System Parameter] screen appears.143 - .10.1 Procedure 1 Double-click the <System parameter> item on the [Program List] screen. Fig.10.1 (a) Fig.B-66234EN/04 3.1 (b) . 3. 3.CREATING AND EDITING SEQUENCE PROGRAMS 3.10.

PMCNB/NB2. Language Exec Ratio (Valid only with the PMC-SC3/SC4. PMC-QC. the processing time for levels 1 and 2 is 5 ms. The ladder execution time takes the value described below out of 8 ms. Note that increasing the ladder execution time decreases the processing time in "PMC Screen Display Time". even when the PMC screen display is active. Ladder Exec (Valid only with the PMC-SC3/SC4.144 - . and PMC-NB/NB2) Initial value: 000000 Setting: Address within the language program storage area Set the start address of the link control statement data in the language program. . If 100% is specified. Setting this parameter reduces the ladder scan time. Specify 000000H if no language program is included. "Language Program Processing Time". and "Ladder Level 3".5 ms. Language Origin (Valid only with the PMC-SC3/SC4. "Language Program Processing Time". the processing time for levels 1 and 2 is 7. and "Ladder Level 3". thus quickening ladder processing. and PMC-NB/NB2) Initial value: 50 Setting: 0 to 99 This parameter sets a ratio for dividing the processing time in "PMC Screen Display Time". because the language program and the PMC screen display have the same priority. PMC-QC. Setting this parameter makes it possible to run the language program cyclically.CREATING AND EDITING SEQUENCE PROGRAMS 1-1 Set the necessary data. If 150% is specified. and PMC-SB7) Initial value: 100 Setting: 1 to 150 Set an increment for the processing time for ladder levels 1 and 2. B-66234EN/04 Counter Data Type Initial value: BINARY Set the format of the counter value to be used in the CTR function instruction as binary or BCD.3. PMC-QC.

specify Basic Group Count.B-66234EN/04 3. If checking this box. specify an arbitrary internal relay area. the address of a KEY image transferred from the operator's panel.CREATING AND EDITING SEQUENCE PROGRAMS FS0 Operator Panel Initial value: No FS0 machine operator's panel (check off) Specify whether the FS0 machine operator's panel is available. Usually. Set the number of basic groups. and the address of an LED image to be transferred to the operator's panel. If you select this item. LED Address Setting range: Y0 to Y127 and Y1000 to Y1014 Set the PMC address corresponding to the start address of the external DO that is connected. The valid number is 0 to 16. LED Bit Image Address Set the PMC address corresponding to the start address of LED image to be referenced by a user program. specify an arbitrary internal relay area. Usually. Key Bit Image Address Set the PMC address corresponding to the start address of KEY image to be referenced by a user program. If checking this box. Basic Group Count This parameter is used to divide I/O link assignment data into a basic group section and a parameter selection group. Key Address Setting range: X0 to X127 and X1000 to X1019 Set the PMC address corresponding to the start address of the external DI that is connected. Channel 2 Enable Specify whether to enable or disable the selectable I/O link assignment function for channel 2. specify the actual DI/DO address connected to the machine operator's panel. Channel 1 Enable Specify whether to enable or disable the selectable I/O link assignment function for channel 1. . specify Basic Group Count.145 - .

" for an explanation about how to close a sequence program without saving the data entered on the [Edit System Parameter] screen. See Section 3. See Section 3." does not appear. <Close> button This operation has nothing to do with whether to save the data entered on the [Edit System Parameter] screen. NOTE 1 For details on the I/O link assignment data selection function. "Closing Programs.11.12. set the setting parameters (K910 to K930) correctly according to the I/O devices that are actually connected.146 - . click the <Close> button. which is shown in Subsection 9.CREATING AND EDITING SEQUENCE PROGRAMS 2 B-66234EN/04 To close the [Edit System Parameter] screen. 3 To enable the I/O link assignment selection function. "Setting PMC Setting Parameters.3. "Saving Programs.6. the screen for setting the I/O link assignment data selection function." for an explanation about how to save the data entered on the [Edit System Parameter] screen.3. 2 When channel 1 and channel 2 are not checked. . refer to the FANUC PMC MODEL PA1/PA3/SA1/SA2/SA3/SA5/SB/SB2/SB3/SB4/SB5 /SB6/SB7/SC/SC3/SC4/NB/NB2/NB6 Ladder Language Programming Manual (B-61863E).

To quit without saving.147 - . click the <OK> button.1 Procedure 1 Select [File] .11 SAVING PROGRAMS This section describes how to save new data to a sequence program (LAD file).[Save].CREATING AND EDITING SEQUENCE PROGRAMS 3.11. click the <Cancel> button. 3. 3. Fig. the [Program Update] screen appears.1 1-1 Select the type of data that you want to update. If the program has been updated.B-66234EN/04 3. . 1-2 To save the program.11.

.[Save As]. click the <Cancel> button. The [Save As] screen appears.3.1 Procedure 1 Select [File] .148 - . click the <OK> button.12. To quit saving.12.1 1-1 Enter the file name you want to use.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. 3. Fig. 1-2 To save the program.12 SAVING PROGRAMS WITH NAMES This section describes how to name and save a sequence program (LAD file). 3.

.1 2 The [Program Update] screen appears.CREATING AND EDITING SEQUENCE PROGRAMS 3.[Close Program]. To return to Program edit. Procedure 1 Select [File] . Fig. 2-2 To save the program.1 CLOSING PROGRAMS This section describes how to close a sequence program (LAD file). click the <Save> button. 3.B-66234EN/04 3.13. click the <Quit> button.13 3.13. 2-1 Select the types of data that you want to update.149 - . To quit saving. click the <Back> button.

Select import file type] screen appears.[Import]. 3.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. 3. The [Import/Export -. ladder diagrams. and subprograms from a LAD program to another sequence program that is currently open. ROM.14. Select [File] .14 IMPORTING PROGRAMS This section describes how to import (copy in overwrite mode) data files.1 (a) .150 - .14. 2 Fig.[Open Program] to open the program to which you want to import. It also explains how to import (convert and copy in overwrite mode) files on a memory card.3.1 Procedure 1 Select [File] . or Handy file format to a currently open sequence program file in memory card format.

See Subsection 3. It is written over a memory card file (MCARD) for the currently open sequence program.CREATING AND EDITING SEQUENCE PROGRAMS 2-1 Select the files you want to import.3.B-66234EN/04 3. ROM Format File A ROM format file is imported.1.LAD) A data file is imported from a sequence program (LAD file) for the same PMC model. Memory-card Format File A memory card format file is imported. "Work Folders and Online Program Files. the last file folder used for importing a file is displayed in [Look in:]. It is written over a memory card file (MCARD) for the currently open sequence program. It is written over a memory card file (MCARD) for the currently open sequence program." for an explanation about the user file folder. User File An arbitrary user file is imported to the user file folder (MyFladder) for the currently open sequence program. . FANUC LADDER-III File (*. NOTE On the [Open] screen displayed by clicking the <Browse> button. Handy-file Format File A Handy file format file is imported.151 - .

152 - .CREATING AND EDITING SEQUENCE PROGRAMS 3 B-66234EN/04 Click the <Next> button. The [Import/Export -. 3.1 (b) 3-1 Specify the file you want to import.Specify import file name] screen appears. . Fig.3.14.

Are you sure?" appears. Subprogram. Ladder Diagram. click the <Yes> button.1 (c) 4-1 Select the types of files you want to import. click the <No> button. 6 To quit importing.CREATING AND EDITING SEQUENCE PROGRAMS ♦ 4 If the FANUC LADDER-III file (*.14.14. To return to the [Import/Export -. The [Import/Export --Select Data File.153 - . Fig. Subprogram. 3. Ladder Diagram. and/or User File] screen.B-66234EN/04 3. Fig. Ladder Diagram. The message "Edit folder data file will be replaced/Added. click the <Cancel> button on the [Import/Export File--Select Data File. Subprogram. and/or User File] screen without continuing.LAD) is selected as an import-from file in step 2.Select Data File. and/or User File] screen appears. above Click the <Next> button. 5 Click the <Finish> button.1 (d) To import. . 3.

14. 3. and/or Handy file format files are selected as the types of files you want to import in step 2. To decompile. click the <No> button. ROM format file.154 - . 3. above Click the <Finish> button.14.3. . Fig. The message “Import completed” appears. The [Decompile] screen appears.14. Fig.1 (f) If you do not want to decompile.CREATING AND EDITING SEQUENCE PROGRAMS ♦ B-66234EN/04 4 If the memory format file. The message “Decompile” appears. Fig. above Click the <Finish> button.1 (g) ♦ 4 If a user file is selected as the type of file you want to import in step 2.1 (e) Click the <OK> button. click the <Yes> button. 3.

14.1 (h) .CREATING AND EDITING SEQUENCE PROGRAMS ♦ If the memory card format file is selected as the type of file you want to import in step 2 above and the PMC type of the specified memory card format file is not compatible with the import destination program.B-66234EN/04 3. which indicates that a new import destination program will be created. Fig.155 - . 3. a message appears.

156 - . specify another compatible PMC type. In this case. Select from among the displayed PMC types compatible with the import source memory card format file.3.1 (i) The file is imported and decompiled. Fig. NOTE When you can select from among multiple compatible PMC types. decompilation may not terminate normally. depending on the PMC type you specify.14. 3. .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 The [New Program] dialog box appears.

CREATING AND EDITING SEQUENCE PROGRAMS 3. FANUC LADDER-III File (*.15 EXPORTING PROGRAMS This section describes how to export (copy in overwrite mode) data files. and/or Handy file format. . Select [File] . The [Import/Export --Select export file type] screen appears.1 (a) 2-1 Select the types of files you want to export. Memory-card Format File A memory card file (MCARD) is exported from the currently open sequence program to a file in memory card format. 3.[Open Program] to open the program from which you want to perform export.157 - . It also explains how to export (convert and copy in overwrite mode) the currently open sequence program memory card format file to files on a memory card. in ROM.[Export].LAD) A data file is exported to a sequence program (LAD file) for the same PMC. 2 Fig.15.15. and subprograms from the currently open sequence program to another LAD program.1 Procedure 1 Select [File] .B-66234EN/04 3. ladder diagrams. 3.

See Subsection 3.15. The [Import/Export -. 3 Click the <Next> button. Handy-file Format File A memory card file (MCARD) is exported from the currently open sequence program to a file in Handy file format.1.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 ROM Format File A memory card file (MCARD) is exported from the currently open sequence program to a file in ROM format. If the type of a file to be exported is a user file.Specify export file name] screen appears. User File A user file is exported from the user file folder (MyFladder) for the currently open sequence program.1 (b) NOTE On the [Open] screen displayed by clicking the <Browse> button.3." for explanations about the user file folder.158 - . Fig. . specify the export-to folder. 3.3. "Work Folders and Online Program Files. the last file folder used for exporting a file is displayed in [Look in:]. 3-1 Specify an export-to file.

.15. and/or User File] screen without continuing. 3.Select Data File. Fig. above Click the <Next> button. 4 Fig.Select Data File.1 (c) 4-1 Select the files you want to export. click the <No> button.159 - . Subprogram. 5 Click the <Finish> button. and/or User File] screen appears. and/or User File] screen.CREATING AND EDITING SEQUENCE PROGRAMS ♦ If the FANUC LADDER-III file (*. The [Import/Export -. Are you sure?" appears. click the <Cancel> button on the [Import/Export -. click the <Yes> button. Ladder Diagram.1 (d) To export. 6 To quit exporting. Subprogram.LAD) is selected as a file to be exported file in step 2. Ladder Diagram.15.Select Data File. Ladder Diagram. The message "Export file data will be replaced/Added. 3. To return to the [Import/Export -.B-66234EN/04 3. Subprogram.

The [Import/Export -. . or Handy file format file is selected as the type of file to be exported in step 2. above Click the <Finish> button. ROM format file. The message “Export completed” appears. and/or User File] screen appears. Fig. Fig. 3.160 - .15.Select Data File. Ladder Diagram.1 (f) 8-1 Select the user files you want to export.1 (e) Click the <OK> button. 3. Subprogram.15. ♦ 8 If a user file is selected as the type of file to be exported in step 2.CREATING AND EDITING SEQUENCE PROGRAMS ♦ 7 B-66234EN/04 If a memory format file.3. above Click the <Finish> button.

B-66234EN/04 3.161 - . . click the <Yes> button. The message "Export file data will be replaced/Added.1 (g) To export. Fig.15. 3. click the <No> button. Are you sure?" appears.CREATING AND EDITING SEQUENCE PROGRAMS 9 Click the <Finish> button. To quit exporting.

. 3. 3.16 OPENING MOST RECENTLY USED PROGRAMS This section describes how to open the most recently used programs (up to four).16 2. Up to four most recently used programs are displayed above [Exit].CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.3. Select the program you want to display/edit.162 - . Display the [File] menu. Fig. Procedure 1.

which consists of a title. ladders and step sequences.B-66234EN/04 4.PRINTING SEQUENCE PROGRAMS 4 PRINTING SEQUENCE PROGRAMS This chapter describes how to print a sequence program.163 - . I/O modules. . system parameters. messages. symbols. comments.

. Fig.PRINTING SEQUENCE PROGRAMS B-66234EN/04 4.164 - .1.1 PRINTING TITLES This section describes how to print title data.1 (a) 1-1 Select Title Data from Print Data.[Print]. Procedure 1 Select [File] .1. 4.4.1 4. The [Print] screen appears.

Page No. click the <Cancel> button. click the <Cancel> button. Specify a start page number for title printing (the Initially value is 1).1 (b) 2 Set the following print options on the Title tab. Sub Title Specify a subtitle to be printed (the Initially value is blank). To quit without printing. 3 4 To preview title printing. click the <Preview> button. click the <OK> button. Fig. The [Option] screen appears. Title Specify a title to be printed (the Initially value is "Title Data").1.165 - . click the <OK> button. The [Print] screen appears again. 5 .PRINTING SEQUENCE PROGRAMS 1-2 Click the <Option> button. To cancel the setup of the print options. To set up the print options. To print.B-66234EN/04 4. 4.

166 - .2.1 (a) 1-1 Select Ladder Diagram from Print Data.PRINTING SEQUENCE PROGRAMS B-66234EN/04 4. 4.4. The [Print] screen appears.[Print].1 (b) .2. Procedure 1 Select [File] . Fig. Fig. 4.1 PRINTING LADDER DIAGRAMS This section describes how to print ladder diagrams.2. The [Option] screen appears. 1-2 Click the <Option> button.2 4.

167 - . or select it from the combo box. . specify the range of nets in the subprogram. Page No. Print Range Specify the range of ladder diagrams to be printed (the Initially value is <All>). Page No. Page Feed (Sub Program) (Initially not selected.: The ladder diagrams on the specified pages will be printed.PRINTING SEQUENCE PROGRAMS 2 Set up the following print options on the Ladder Diagram tab.) 3 To preview ladder diagram printing.B-66234EN/04 4. Net No. All: All ladder diagrams will be printed. All: All programs (including subprograms) will be printed. Sub Title Specify a subtitle for ladder diagram printing (the Initially value is blank). click the <Preview> button. Title Specify a title for ladder diagram printing (the Initially value is "Ladder Diagram"). When you specify [Unit] for the print target program.: The ladder diagrams in the specified nets will be printed. Unit: Enter the name of the subprogram you want to print. Print Program Specify the ladder programs you want to print (the Initially value is <All>). Specify a start page number for ladder diagram printing (the Initially value is 1).

4.168 - . Symbol: Symbol data for contacts will be printed. click the <OK> button.4. click the <Details> button.2.1 (c) Step No. To cancel the setup of the print options. click the <Cancel> button. Fig. (Initially not selected. click the <OK> button.PRINTING SEQUENCE PROGRAMS 4 B-66234EN/04 To specify ladder diagram printing in detail. To print. click the <Cancel> button.) Net No. Cross Reference (Initially not selected. (Initially selected. 6 . To quit without printing.) Hide Line No. The [Print] screen appears again. Relay/Coil Specify the data to be printed at a contact (the Initially value is <Symbol>).) 5 To set up the print options.) Line Spacing Specify line spacing for nets (the Initially value is <Narrow>). Relay Comment: Data for relay comments will be printed. (Initially selected.

1-2 Click the <Option> button. this item is not displayed.B-66234EN/04 4. The [Print] screen appears. Fig.3. The [Option] screen appears.1 (a) 1-1 Select Step Sequence Diagram from Print Data.1 PRINTING STEP SEQUENCES This section describes how to print step sequences.169 - . If the PMC model does not support step sequences. 4.1 (b) . Procedure 1 Select [File] .3 4.3.3.[Print].PRINTING SEQUENCE PROGRAMS 4. or if there is no step sequence. 4. Fig.

4.PRINTING SEQUENCE PROGRAMS

B-66234EN/04

2

Set up the following print options on the Step Sequence Diagram tab. Page No. Specify a start page number for step sequence printing (the Initially value is 1). Title Specify a title for step sequence printing (the Initially value is "Step Sequence Diagram"). Sub Title Specify a subtitle for step sequence printing (the Initially value is blank). Print Program Specify the step sequence programs you want to print (the Initially value is <All>). All: All programs (including subprograms) will be printed. Unit: Enter the name of the subprogram you want to print, or select it from the combo box. Sub Program No. (Initially selected.)

3

To preview step sequence program printing, click the <Preview> button. To set up the print options, click the <OK> button. To cancel the setup of the print options, click the <Cancel> button. The [Print] screen appears again. To print, click the <OK> button. To quit without printing, click the <Cancel> button.

4

5

- 170 -

B-66234EN/04

4.PRINTING SEQUENCE PROGRAMS

4.4
4.4.1

PRINTING SYMBOLS AND COMMENTS
This section describes how to print symbols and comments.

Procedure
1 Select [File] - [Print]. The [Print] screen appears.

Fig. 4.4.1 (a)

1-1 Select Symbol & Comment from Print Data.

- 171 -

4.PRINTING SEQUENCE PROGRAMS

B-66234EN/04

1-2 Click the <Option> button. The [Option] screen appears.

Fig. 4.4.1 (b)

2

Set up the following print options on the Symbol tab. Page No. Specify a start page number for symbol printing (the Initially value is 1). Title Specify a title for symbol printing (the Initially value is "Symbol & Comment"). Sub Title Specify a subtitle for symbol printing (the Initially value is blank). Print Range Specify the range of symbols to be printed (the Initially value is <All>). All: All the symbols will be printed. Line No.: The symbols on the specified lines will be printed. Page No.: The symbols on the specified pages will be printed. Comment Specify the type of comment you want to print (the Initially value is <Relay Comment>). Relay Comment: A relay comment will be printed. Coil Comment: A coil comment will be printed. Relay Comment/Coil Comment: Relay and coil comments will be printed.
- 172 -

B-66234EN/04

4.PRINTING SEQUENCE PROGRAMS

3 4

To preview symbol printing, click the <Preview> button. To set up the print options, click the <OK> button. To cancel the setup of the print options, click the <Cancel> button. The [Print] screen appears again. To print, click the <OK> button. To quit without printing, click the <Cancel> button.

5

- 173 -

4.PRINTING SEQUENCE PROGRAMS

B-66234EN/04

4.5
4.5.1

PRINTING MESSAGES
This section describes how to print messages.

Procedure
1 Select [File] - [Print]. The [Print] screen appears.

Fig. 4.5.1 (a)

1-1 Select Message Data from Print Data. 1-2 Click the <Option> button. The [Option] screen appears.

Fig. 4.5.1 (b)

- 174 -

B-66234EN/04

4.PRINTING SEQUENCE PROGRAMS

2

Set up the following print options on the Message tab. Page No. Specify a start page number for message printing (the Initially value is 1). Title Specify a title for message printing (the Initially value is "Message"). Sub Title Specify a subtitle for message printing (the Initially value is blank). Print Range Specify the range of messages to be printed (the Initially value is <All>). All: All the messages will be printed. Address: The messages in the specified address range will be printed. Page No.: The messages on the specified pages will be printed. Line Feed code(@0A@) is printed. (the Initially value is on). When this option is not selected (off), message data is printed with the code (@0A@) replaced with a carriage return.

3 4

To preview message printing, click the <Preview> button. To set up the print options, click the <OK> button. To cancel the setup of the print options, click the <Cancel> button. The [Print] screen appears again. To print, click the <OK> button. To quit without printing, click the <Cancel> button.

5

- 175 -

4.PRINTING SEQUENCE PROGRAMS

B-66234EN/04

4.6
4.6.1

PRINTING I/O MODULE ASSIGNMENT
This section describes how to print I/O module assignments.

Procedure
1 Select [File] - [Print]. The [Print] screen appears.

Fig. 4.6.1 (a)

1-1 Select I/O Module Data from Print Data. 1-2 Click the <Option> button. The [Option] screen appears.

Fig. 4.6.1 (b)

- 176 -

B-66234EN/04 4. click the <Preview> button. click the <OK> button.PRINTING SEQUENCE PROGRAMS 2 Set up the following print options on the I/O Module tab. click the <Cancel> button. 1 Channel (Initially selected. To quit without printing. Title Specify a title for I/O module printing (the Initially value is "I/O Module").) (This item is to be set if the PMC model is PMC-QC. The [Print] screen appears again. click the <Cancel> button. Specify a start page number for I/O module printing (the Initially value is 1).) 3 4 To preview I/O module printing.) 2 Channel (Initially selected. Sub Title Specify a subtitle for I/O module printing (the Initially value is blank). To print. click the <OK> button. 5 . To set up the print options. Page No.) (This item is to be set if the PMC model is PMC-QC. To cancel the setup of the print options.177 - .

4.178 - .7 4.1 (a) 1-1 Select System Parameter from Print Data.7. Fig. The [Option] screen appears.1 (b) .[Print]. 4.7.4. The [Print] screen appears. 1-2 Click the <Option> button.7.1 PRINTING SYSTEM PARAMETERS This section describes how to print system parameters. Fig. Procedure 1 Select [File] .PRINTING SEQUENCE PROGRAMS B-66234EN/04 4.

To cancel the setup of the print options. click the <OK> button. 3 To preview system parameter printing. Specify a start page number for system parameter printing (the Initially value is 1).179 - . 4 5 . click the <OK> button. To set up the print options. click the <Cancel> button.PRINTING SEQUENCE PROGRAMS 2 Set up the following print options on the System Parameter tab. To print.B-66234EN/04 4. Page No. To quit without printing. The [Print] screen appears again. click the <Cancel> button. Title Specify a title for system parameter printing (the Initially value is "System Parameter"). Sub Title Specify a subtitle for system parameter printing (the Initially value is blank). click the <Preview> button.

Procedure 1 Select [File] .1 (a) 1-1 Select Cross Reference from Print Data. 4.4.8.8.8.1 PRINTING CROSS-REFERENCES This section describes how to print cross-references. The [Option] screen appears. The [Print] screen appears. Fig. Fig.180 - . 1-2 Click the <Option> button. 4.PRINTING SEQUENCE PROGRAMS B-66234EN/04 4.[Print].8 4.1 (b) .

B-66234EN/04 4. Address Kind: Cross-references at addresses of the specified type will be printed (multiple address types can be selected). Title Specify a title for cross-reference printing (the Initially value is "Cross Reference").181 - .PRINTING SEQUENCE PROGRAMS 1 Set up the following print options on the Cross Reference tab. . Page Feed (Initially selected. Page No. click the <Preview> button. All: All the cross-references will be printed. Guidance Specify the type of output format guidance (the Initially value is "STEP NO. Print Range Specify the range of cross-references to be printed (the Initially value is <All>). Address: The cross-references in the specified address range will be printed.) Line Feed Count Specify the number (0 to 9) of blank lines to be placed between addresses (the Initially value is 1). Specify a start page number for cross-reference printing (the Initially value is 1). 3 To preview cross-reference printing. Sub Guidance Specify the type of output format subguidance (the Initially value is blank).")./NET NO. Sub Title Specify a subtitle for cross-reference printing (the Initially value is blank).

") Write: Specify a character string for displaying write references.1 (c) Step No. click the <Details> button.) Ladder Diagram Graphics The same graphics as those for ladder diagram printing will be used. Read: Specify a character string for displaying read references. (Initially selected. (Initially selected. User Define String User-defined character strings will be used for printing. Double Check (Initially not selected. /Net No.) Specify whether to check for duplicate coil writing and duplicate use of the coil write function instruction.PRINTING SEQUENCE PROGRAMS 4 B-66234EN/04 To specify cross-reference printing in detail. Fig.8.) Print No. Type (The Initially value is "Step No.182 - . Coil Guidance (The Initially value is <Ladder Diagram Graphics>.) Comment Specify the type of comment you want to print (the Initially value is <Relay Comment>).4. (The Initially value is "Write. ". User-defined character strings can be set up for the following four items (up to 13 characters for each).") . (The Initially value is "Read. 4.) Net No.

183 - . (The Initially value is "Reset.") Reset: Specify a character string for displaying reset references. click the <OK> button.PRINTING SEQUENCE PROGRAMS Set: Specify a character string for displaying set references.") 5 To set up the print options. To quit without printing. click the <Cancel> button.B-66234EN/04 4. 6 . (The Initially value is "Set. The [Print] screen appears again. To cancel the setup of the print options. click the <OK> button. To print. click the <Cancel> button.

184 - . Procedure 1 Select [File] .1 (a) 1-1 Select Bit Address Map from Print Data. 4. Fig.9 4.9.9. The [Option] screen appears.9. The [Print] screen appears.4.1 (b) .PRINTING SEQUENCE PROGRAMS B-66234EN/04 4. 4.[Print]. Fig. 1-2 Click the <Option> button.1 PRINTING BIT ADDRESS MAPS This section describes how to print bit address maps.

click the <OK> button. To set up the print options. Sub Title Specify a subtitle for bit address map printing (the Initially value is blank). Page No.185 - . click the <OK> button.PRINTING SEQUENCE PROGRAMS 2 Set up the following print options on the Bit Address Map tab. Using Address (Initially selected. Address: The bit map addresses in the specified address range will be printed. The [Print] screen appears again. To quit without printing. click the <Preview> button.B-66234EN/04 4. Address Kind: Bit map addresses at addresses of the specified type will be printed (multiple address types can be selected).) Page Feed (Initially selected. To cancel the setup of the print options. 3 4 To preview bit address map printing. 5 . Print Range Specify the range of bit address maps to be printed (the Initially value is <All>).) Use Address (The Initially value is "@"). All: All bit address maps will be printed. Any symbol (one character) can be specified as the address symbol to be used. Specify a start page number for bit address map printing (the Initially value is 1). To print. click the <Cancel> button. Title Specify a title for bit address map printing (the Initially value is "Bit Address Map"). click the <Cancel> button.

10.) First Language Specify a title for bit address map printing (the Initially value is <English>). Cover (Initially not selected. To cancel the setup of the print options.10.186 - . click the <OK> button.) If this item is selected (the check mark is on). Guidance Message Language Specify the language for guidance messages used when titles and system parameters are printed.4. 4.10 4. 2 To set up the print options.PRINTING SEQUENCE PROGRAMS B-66234EN/04 4. .1 (a) 1 Set up the following common options. click the <Cancel> button. Second Language This item can be specified if <First/Second Language> is selected for Guidance Message Language (the Initially value is <English>). (The Initially value is <First Language>.1 SETTING UP COMMON OPTIONS This section describes how to set up options common to all print items. The [Print] screen appears again. Procedure Fig. a meta file can be specified for the cover.

1 (b) 2-2 Specify a File name. .B-66234EN/04 4.11. Fig.11. 2-3 Click the <Save> button. 2-1 The [Save As] screen appears.11 4.187 - . Fig.[Print]. 4.1 (a) 2 To save the options to a file.1 SAVING AND READING OPTION FILE This section describes how to save the print options you set up to a file and how to read them from the file when printing. The [Print] screen appears.11. Procedure 1 Select [File] . 4. click the <Save Option File> button.PRINTING SEQUENCE PROGRAMS 4.

PRINTING SEQUENCE PROGRAMS 3 B-66234EN/04 To read options from a file.188 - . 4. Fig.4. . 3-2 Click the <Open> button.1 (c) 3-1 Specify a File name. click the <Restore Option File> button. 3-1 The [Open] screen appears.11.

4.12.PRINTING SEQUENCE PROGRAMS 4.1 (b) 2-2 Specify a printer name in Name. . 2-3 To set the displayed printer.12 4. Fig. 2-1 The [Printer] screen appears. Procedure 1 Select [File] . one can be selected from the drop-down list box.1 SETTING UP PRINTER This section describes how to set up a printer.1 (a) 2 Click the <Printer> button. Fig.12. If more than one printer has been installed in your system. To cancel the setup of the printer. click the <OK> button. 4.189 - . The [Print] screen appears.12.B-66234EN/04 4. click the <Cancel> button.[Print].

2 (a) Line Count Specify the maximum number of lines that can be printed on one page. (The Initially value is <Courier New>. click the Page button.2 Setting up Pages 1 2 On the [Printer] screen.4. It can also be selected by clicking the up/down arrows. A value can be entered directly. 2-1 [Line Count] tab Fig.190 - .12.) Char Point Specify the character spacing. It can also be selected by clicking the up/down arrows. (The Initially value is 9.12. (The Initially value is 9. in points. The number of lines and the font size may be adjusted automatically according to the specified line spacing.) . The font size may be adjusted automatically according to the specified character spacing. in points. A value can be entered directly.) Font Face Specify the font you want to use. It can also be selected by clicking the up/down arrows. A value can be entered directly. 4. Set the items on each tab.) Line Point Specify the line spacing. (The Initially value is 72.PRINTING SEQUENCE PROGRAMS B-66234EN/04 4.

It can also be selected by clicking the up/down arrows. and line spacing may be adjusted automatically according to the specified font size. (The Initially value is 8.PRINTING SEQUENCE PROGRAMS Font Size Specify the font size you want to use.12. The font size may be adjusted automatically according to the specified character spacing.2 (b) Line Count Specify the maximum number of lines that can be printed on one page.B-66234EN/04 4. character spacing.191 - . 4. It can also be selected by clicking the up/down arrows.) Char Point Specify the character spacing. A value can be entered directly. 2-2 [Line Count (Ladder)] tab Fig. The number of lines.) . A value can be entered directly. The line spacing and font size may be adjusted automatically according to the specified number of lines.) <Reset> button This button clears the settings of all the items on the [Line Count] tab to the respective Initially values. in points. (The Initially value is 9. (The Initially value is 78.

It can also be selected by clicking the up/down arrows.192 - . and line spacing may be adjusted automatically according to the specified font size. A value can be entered directly.12.PRINTING SEQUENCE PROGRAMS B-66234EN/04 Line Point Specify the line spacing. Font Face Specify the name of the font you want to use for an item specified in Ladder Data.) <Reset> button This button clears the settings for all the items on the [Line Count (Ladder)] tab to the respective Initially values. (The Initially value is <Courier New>. The number of lines and the font size may be adjusted automatically according to the specified line spacing. (The Initially value is 8. 2-3 [Margin] tab Fig. in points.2 (c) . (The Initially value is 8.) Font Size Specify the font size you want to use for an item specified in Ladder Data.4. The number of lines. character spacing.) Ladder Data Specify the ladder data for which you want to specify a font. 4.

4. (The Initially value is 10. It can also be selected by clicking the up/down arrows.) 2-4 [Paper Size] tab Fig.) Left Specify the left margin for each page.) . It can also be selected by clicking the up/down arrows.2 (d) Size Specify the size of the form you want to use. A value can be entered directly. (The Initially value is 10. (The Initially value is <A4>.) Under Specify the bottom margin for each page. (The Initially value is 10.B-66234EN/04 4. The entered value is assumed to be in mm. The entered value is assumed to be in mm.PRINTING SEQUENCE PROGRAMS Upper Specify the top margin for each page. The entered value is assumed to be in mm. A value can be entered directly.) Right Specify the right margin for each page. A value can be entered directly. (The Initially value is 20.193 - . It can also be selected by clicking the up/down arrows. A value can be entered directly.12. The entered value is assumed to be in mm. It can also be selected by clicking the up/down arrows.

Data Specify the data for which you want to set up a character string. (Initially values) Character definition 1: %[P] Character definition 2: %[T] Character definition 3: %[N] Character definition 4: %[S] Character definition 5: Unavailable .12. coordinate values. The following items can be set up only when this item is selected. %[T]: Title data will be printed. String Specify a character string set up in Data as print data. %[P]: A program name will be printed.4. %[N]: Page numbers will be printed.PRINTING SEQUENCE PROGRAMS 2-5 [Print Type] tab B-66234EN/04 Fig. and font. Data can be specified in the following data formats.194 - .2 (e) Frame Print Specify whether to print a frame. File Specify the meta file you want to use for frame printing. 4. %[S]: Subtitle data will be printed. The <File> button lets you select a file name.

(The Initially value is <Courier New>. (The Initially value is 12.B-66234EN/04 4.) Font Size Specify the font size you want to use to print the data set up in Data. (Initially values) Character string definition 1: 10 Character string definition 2: 10 Character string definition 3: 10 Character string definition 4: 15 Character string definition 5: 0 Font Face Specify the name of the font you want to use to print the data set up in Data. It can also be selected by clicking the up/down arrows. The entered value is assumed to be in mm. (Initially values) Character string definition 1: 10 Character string definition 2: 75 Character string definition 3: 180 Character string definition 4: 75 Character string definition 5: 0 Y Pos Specify the print start position (Y-coordinate) for a character string set up in Data. . A value can be entered directly. A value can be entered directly. click the <Cancel> button. It can also be selected by clicking the up/down arrows. To cancel the page settings.) 2-6 To use the entered page settings. click the <OK> button. The entered value is assumed to be in mm.PRINTING SEQUENCE PROGRAMS X Pos Specify the print start position (X-coordinate) for a character string set up in Data.195 - .

Object code Decompilation Source program NOTE To decompile an object code with a password. enter the password first. as well as automatic compilation and automatic decompilation. Source program Compilation Object code Transfer to PMC • Decompilation Decompilation involves converting object code to a source program.5. Unless source programs are compiled. The chapter also describes how to protect a ladder program using a password.COMPILATION AND DECOMPILATION B-66234EN/04 5 COMPILATION AND DECOMPILATION This chapter describes how to compile and decompile source programs. Data items uploaded from the PMC.196 - . online functions cannot be used and the source programs cannot be transferred to RAM of the PMC. and data items read from ROM and a memory card become object code. . you must decompile object code. Since object code can neither be edited nor printed offline. • Compilation Compilation involves converting an edited source program to object code that can be executed by the PMC.

197 - .1 COMPILATION This section describes how to compile source programs.COMPILATION AND DECOMPILATION 5.B-66234EN/04 5.1 (b) . Fig. Procedure 1 Select [Tool] .1 (a) 2 Click the [Option] tab to set the compile options. Fig.[Compile]. 5. 5. The [Compile] dialog appears.

and an accompanying coil comment are output to has been output an object code. Specify the format in which to output a coil comment to an object file when compiling a source program. (Conventional specification) Japanese: Japanese coil comments are converted directly and output to an object file. If Function parameter any. Output Netcomment A net comment pointer is output to an object pointers code. and DIFD are checked if they are duplicated.1 Option Explanation B-66234EN/04 When a ladder that has the same number of Compile in the steps is compiled.COMPILATION AND DECOMPILATION The details of the options are listed below. TMRB. Setting of Password Enter a password at the start of execution. Multiple used check of the Functions TMR. a warning is displayed. the object code is Condensation mode decreased. number A password is added to an object code. English: Japanese coil comments are replaced Coil-comment language by spaces and output to an object file. CTR.5.198 - . DIFU. Any symbol that exceeds six characters in Ignore too long strings of length is replaced by a space code of six characters and output to an object code the symbol together with a coil comment. A symbol (six bytes or less) that can be The Symbol/Coilcomment displayed on a CRT/MDI. Table 5. .

COMPILATION AND DECOMPILATION 3 To start compilation. then click the <OK> button. (For details of passwords. When [Setting of Password] in the compile option is checked.1 (c) . "Protecting Ladder Programs by Passwords. click the <Exec> button.4. Enter a password. see Section 7. 5. the [Password(Compile)] dialog appears.B-66234EN/04 5.") Fig.199 - .

2 Net comment pointer The net comment contains string information only in a source program. This position information enables the net comment to be restored at decompilation after a ladder is modified by online editing. . Fig. . the progress of the processing appears on the screen. The compiled object code does not include the net comment information. the setting to output the "net comment pointer" (position information of a net comment) as a function NOP to object code was developed.COMPILATION AND DECOMPILATION 4 B-66234EN/04 While data is being compiled.1." 4 PMC-SB7 On PMC-SB7. the number of errors and warnings appears. When completed. and if a ladder or symbol is added. the following restrictions must be observed: .Reduced compilation time.200 - . Pay careful attention to this point. . overlapping with the C language area might occur. .1 (d) NOTE 1 Condense mode Condense mode has the following advantages.The mode requires little ROM space. which is a type of symbol comment data. see Section 3.5. " Symbol and Comment Data.Reduced transfer time from a personal computer to the PMC. For details. 3 Symbol comment data A relay comment. On the other hand. Therefore.When data is edited by an integrated edit function. 5. is not included in a compiled object code. the "Condense" and "Ignore too long strings of the symbol" options are enabled unconditionally.7.

The [Decompile] dialog appears.2 (a) 2 Click the [Option] tab to set the decompile options.2 DECOMPILATION This section describes how to decompile object code.2 (b) . Procedure 1 Select [Tool] .201 - .COMPILATION AND DECOMPILATION 5. 5.B-66234EN/04 5. 5.[Decompile]. Fig. Fig.

the definition of the source to the Source data program is used.") Fig. If the same symbol and comment exist.202 - . (For details on passwords.COMPILATION AND DECOMPILATION Details of the options are listed below.5. The symbols of the source program and object code are merged only for a symbol Merging the Symbol/ Comment has given priority and comment. 5. 5. The symbols of the source program and object code are merged only for a symbol Merging the Symbol/ Comment has given priority and comment. the definition of the object to the Memory card data code is used. click the <Exec> button. If the same symbol and comment exist. see "Protecting Ladder Programs by Passwords. the [Password(Decompile)] dialog appears. The Symbol/ Comment is The definition of the source is directly not Merge used. Enter a password to permit display or to permit display and editing. Table 5. When object code with a password is to be decompiled. 3 To start decompilation.2 Option Explanation B-66234EN/04 No symbol/comment data is decompiled.2 (d) .2 (c) Fig. and then click the <OK> button.

To permit display and editing → Enter a password to permit display and editing . Fig.B-66234EN/04 5. 5. .203 - . the number of errors and warnings appears.To permit display → Enter the password to permit display .2 (e) NOTE Password The password to be entered differs depending on the type of the password added to an object code.COMPILATION AND DECOMPILATION 4 Once decompilation is complete.Both → Enter a password to permit display and editing .

Click the [Decompile] tab for setting.[Online/Offline]. The automatic compilation or decompilation processing is performed when the mode is switched between offline and online so that a source program in a sequence program (LAD file) is consistent with the object code (memory card-formatted data). . When memory card-formatted data is loaded from the PMC When a memory card-formatted file is imported When a Handy File-formatted file is imported When a ROM-formatted file is imported When online editing is executed When the time stamp of any data in a source program is older than that of memory card-formatted data (when data is converted) • NOTE Setting options for automatic compilation or decompilation (1) Compile option . • Execution condition of automatic compilation Select [Ladder] . When the mode is switched from online to offline.3 AUTOMATIC COMPILATION AND DECOMPILATION This section describes automatic compilation and decompilation.COMPILATION AND DECOMPILATION B-66234EN/04 5. (2) Decompile option . .Select [Tool] . When a source program (such as a title or ladder) is changed When a source program is imported When a source program is not compiled after a sequence program is created When the time stamp of memory card-formatted data is older than that of any data in a source program (when data is converted) Execution condition of automatic decompilation Select [Ladder] .5. . a source program is compiled automatically under one of the following conditions. When the mode is switched from offline to online.[Option].Click the [Compile] tab for setting.204 - .[Option]. object code is decompiled automatically under one of the following conditions.Select [Tool] .[Online/Offline].

Fig. and @ ) cannot be used. 5.B-66234EN/04 5. 4 When the [Password(Compile)] dialog appears. kanji character.) 3 A space. 2 Passwords are not case-sensitive. .COMPILATION AND DECOMPILATION 5. Then. enter a password.4 PROTECTING LADDER PROGRAMS BY PASSWORDS This section describes the protection of a ladder program. kana character. 2 Click the [Option] tab. which cannot be used in some rare cases. NOTE Entering a password 1 A password must consist of no more than eight alphanumeric characters. 3 Click the <Exec> button. and special character (for example. enter another string. *.205 - . then select [Setting of Password]. object code with the entered password is created. Adding a password to an object code prevents a ladder program from being displayed or edited on a CRT/MDI.[Compile].) In this case. (A lower-case letter is regarded as an upper-case letter. • How to create object code with a password 1 Select [Tool] . (An error message appears.4 (a) 5 Click the <OK> button. 4 There are combinations of characters. #.

) Example of a special password: #FANUC • Protection area and non-protection area A subprogram number identifies the protection area and nonprotection area.5.4.IO-2)/SB7/NB2(STEP) NOTE Object code with a special password can be decompiled without entering a password. (Except for its beginning with #. . When compiled.1 Partial Protect Functions This subsection describes the partial protect function. a special password is no different from a normal password. In this case. only a subprogram in the non-protection area (P1500 or later) can be displayed. An object code with a special password is created in the same way as an object code with a normal password. This enables only the non-protection area to be changed while a ladder program created by a machine tool builder is protected. and printed. Using a special password to permit display and editing enables the subprogram area to be divided into a protection area and nonprotection area. [Setting of Password] in the compile option is ignored and an object code is created by using a special password added to the object code.206 - . as well as enabling a ladder program to be partially protected. • Special password A special password begins with #. edited.COMPILATION AND DECOMPILATION B-66234EN/04 5. except for using the special password to permit display and editing. LEVEL1 LEVEL2 LEVEL3 P1 to P1499 P1500 to P2000 Protection area Protection area Protection area Protection area Non-protection area Main program Subprogram • Applied model PMC-SB4(STEP)/SC4(STEP)/SB6(STEP)/ SB6(STEP.

and vice versa. . as well as the mnemonic file format.207 - .MNEMONIC EDITING 6 MNEMONIC EDITING This chapter describes how to convert a source program to a mnemonic file.B-66234EN/04 6.

Then. ALL System Parameter Title Symbol&Comment Ladder I/O Module Message . Select [Convert Data Kind].6. Converts only messages. Converts only I/O modules. Converts only ladder programs.MNEMONIC EDITING B-66234EN/04 6. Converts only system parameters. The following items can be selected: Table 6. Fig. the [Mnemonic – Mnemonic Conversion] dialog appears. 6.1 CONVERTING SOURCE PROGRAMS TO MNEMONIC FILES This section describes the procedure for converting a source program to a mnemonic file that can be edited with a text editor.1 (a) Converts all source programs. Converts only titles. Procedure 1 Select [Tool] .208 - .1 2 3 Enter a mnemonic file name in [Mnemonic File].[Mnemonic Convet]. Converts only symbols and comments.

1 (b) Converts data to data in the format output by P-G. the step number of mnemonic data after conversion is different from the other settings.) . and comment part. the conversion results appear. The following items can be selected: Table 6. Converts Japanese messages to Japanese-formatted data. (To see the last converted results. click the <OK> button. Converts data in which the symbol and comment for an address as well as the function name of a function are used as comments. operand part. SP commands) used in a subprogram highlighted. Once the conversion is completed.) Converts Japanese messages to Japanese-formatted data.MNEMONIC EDITING 4 Select [Selection Item]. Converts Japanese messages to codeformatted data. Converts data that has an instruction part. click the <Log File> button. P-G Compatible - Full Options - - Label/Subprogram - - 5 To convert a source program to a mnemonic file. (The function part used in a subprogram is different. Converts data with the jump addresses (labels) of functions (JMPB. JMPC.B-66234EN/04 6.209 - . CALL. Converts comments in which kanji characters are included in the comment data. However.

click the <OK> button. K:W-4133. Once the conversion is complete.MNEMONIC EDITING B-66234EN/04 6. Target warning numbers: K:W-4131.) . Fig. K:W-4139 To convert a mnemonic file to a source program. click the <Log File> button.6. Procedure 1 Select [Tool] . the warnings and the number of occurrences are output to a log file at the end of conversion of a symbol & comment mnemonic file to a source program.[Source Program Convert]. a warning is output to a log file when it occurs during conversion of a symbol & comment mnemonic file to a source program. the [Mnemonic – Source Program Conversion] dialog appears. When checking is enabled.2 CONVERTING MNEMONIC FILES TO SOURCE PROGRAMS This section describes the procedure for converting a mnemonic file edited by a text editor to a source program in accordance with a certain format. the conversion results appear.2 2 3 4 Enter a mnemonic file name in [Mnemonic File Name]. Then.210 - . 6. (Conventional specification) When checking is disabled. (To see the most recently converted results.

created in A or B format. however. . the source program of the currently open sequence program is changed but is not stored. the lowercase characters are replaced with uppercase characters when a mnemonic file is converted to a source program. 2 For a coil comment. 3 If the name of defined symbol data is the same as a signal name available in ladder programs.211 - .B-66234EN/04 6. that contains single-byte lowercase alphabetic characters. an error may occur during conversion to source data.MNEMONIC EDITING NOTE 1 For conversion to a source program.

6. Consequently. data is defined using one of four types of identification code.This is used in a ladder data part to delimit net numbers and ladder data. Data before ":" is regarded as being net numbers. : (Colon) ." is not converted but deleted. This is used in ladder data and I/O module data. when a mnemonic file is converted to a source program.This is used in the I/O module data part to delimit channel numbers and I/O module data. (Semicolon) Table 6. Data before ":" is regarded as being channel numbers.3 MNEMONIC FILE FORMAT This section describes the mnemonic file format." is regarded as being a comment statement. Data after ".This is used in the ladder data part to delimit ladder data and a comment statement.3 (b) This is used in ladder data. Table 6. • Delimiter . beginning with %. data after ".212 - . • Identification code For a mnemonic file. CR (0DH) is ignored.3 (a) Identification code %@A %@E %@0 to %@5 Meaning Start of ALL-format data End of ALL-format data Start of each single-format data %@0: System parameter %@1: Title %@2: Symbol and comment (FORMAT-A/B) %@2-C: Symbol and comment (FORMAT-C) %@3 Ladder %@4: Message %@5: I/O module End of each single-format data Only % • Line feed code LF (0AH) is used as the line feed code. .MNEMONIC EDITING B-66234EN/04 6. . .

At the beginning of a line. describe an address. A string enclosed in the second single quotation marks is a coil comment. a dollar sign "$" is used as the control character. R0200.B-66234EN/04 6. $1 ‘’ ‘INITIALIZE OF SEQUENCE’ NOTE When you use a single quotation mark " ' " in a string of a relay comment or coil comment.MNEMONIC EDITING • Control character In a mnemonic file.213 - . describe a dollar sign plus a single quotation mark "$" + " '. describe "$$." . When a dollar sign is used in a string. describe a pair of single quotation marks for the relay comment part.0 UNIT-3-POWER Address Symbol Half-size space or tab - Specifying a relay comment and coil comment Describe a relay comment and coil comment after the specification of an address described in (1)." (1) Symbol and comment data Specifying address and symbol Describe an address and symbol on the same line. use a halfsize space or tab as a delimiter. A string enclosed in the first single quotation marks " ' " after "$1" is a relay comment. $1 ‘KEEPPOWERON’ ‘KEEPPOWERON’ Relay comment Coil comment Half-size space or tab Half-size space or tab Mark that represents comment data (always '$1') When you do not use a relay comment. and then describe a symbol.

Table 6.3 (d) Description $P or #p Meaning Specification of position of form feed character (printing ladder diagram) .3 (c) Description (* *) Meaning Start of a net comment End of a net comment - Specifying the position of a form feed character (printing a ladder diagram) To specify the position of a form feed character to print a ladder diagram.6.214 - . describe "$P" in a net comment." "*)" in a ladder mnemonic. Table 6.MNEMONIC EDITING B-66234EN/04 (2) Ladder data Starting and ending a net comment Describe a net comment with "(*.

4.MNEMONIC EDITING 6.4 MNEMONIC FILE SAMPLE This section provides examples of mnemonic files for the single format and All format.4.215 - .1 Single Format This section shows a sample file for each single-format data.1 Parameter %@0 2 BCD 3 NO 4 PMC-RC4 5 000000 6 50 7 100 % → Counter data type → Presence or absence of operator panel → PMC type → Head address of language program link control statement data → Time ratio to execute language program → Ladder execution time Counter data type BINARY or BCD Presence or absence of operator panel No operator panel: NO Operator panel: YES X0000 Y0000 R0000 R0010 KEY address KEY image address LED address LED image address .1.B-66234EN/04 6. 6. 6.

1 PMC model PMC-SA1 PMC-SA3 PMC-SA5 PMC-SB3 PMC-SB4 PMC-SB4 (STEP SEQ) PMC-SB5 PMC-SB6 PMC-SB6 (STEP SEQ) PMC-SB6 (IO-2) PMC-SB6 (STEP. IO-2) PMC-SB7 PMC-SB7 (STEP SEQ) PMC-RC3 PMC-RC4 PMC-RC4 (STEP SEQ) PMC-NB PMC-NB2 PMC-NB6 PMC-PA3 PMC-QC Head address of language program link control statement data 0. or 800000 to 8FFFFF (hex) Time ratio to execute language program 1 to 99 (%) Ladder execution time 100 (fixed at 100%) I/O link assignment selection function (channel 1) Used: USE Not used: UNUSE Number of basic I/O link groups (channel 1) 0 to 16 I/O link assignment selection function (channel 2) Used: USE Not used: UNUSE Number of basic I/O link groups (channel 2) 0 to 16 .6.MNEMONIC EDITING B-66234EN/04 PMC type Table 6.4.1. IO-2) PMC-SB7 PMC-SB7 (STEP SEQ) PMC-SC3 PMC-SC4 PMC-SC4 (STEP SEQ) PMC-NB PMC-NB2 PMC-NB6 PMC-PA3 PMC-QC Setting data (half-size string) PMC-RA1 PMC-RA3 PMC-RA5 PMC-RB3 PMC-RB4 PMC-RB4 (STEP SEQ) PMC-RB5 PMC-RB6 PMC-RB6 (STEP SEQ) PMC-RB6 (IO-2) PMC-RB6 (STEP.216 - .

Ladder execution time 11. Presence or absence of operator panel 4.217 - . Presence or absence of operator panel 4. PMC type 5. Presence or absence of operator panel 4. Ladder execution time (BINARY or BCD) (Presence: YES. Absence: NO) (PMC-RC3/PMC-RC4) (0 or 800000 to 8FFFFF(hex)) (1 to 99%) (fixed at 100%) (4) For PMC-NB/NB2 %@0 2 BINARY 3 NO 4 PMC-NB 5 000000 6 50 7 100 % 2. Ladder execution time (BINARY or BCD) (Presence: YES. Time ratio to execute language program 7. Presence or absence of operator panel 4. PMC type 7.B-66234EN/04 6. PMC type 7. Counter data type 3. Absence: NO) (PMC-NB/PMC-NB2) (0 or 200000 to 2FFFFF(hex)) (1 to 99%) (fixed at 100%) (5) For PMC-SB7 %@0 2 BINARY 3 NO 4 PMC-SB7 7 150 11 UNUSE 12 0 13 UNUSE 14 0 % 2. I/O link assignment selection function 12. Counter data type 3. PMC type 5. Absence: NO) (PMC-RB3/PMC-NB6) (fixed at 100%) (3) For PMC-SC3/SC4 %@0 2 BINARY 3 NO 4 PMC-RC3 5 000000 6 50 7 100 % 2. I/O link assignment selection function 14. Number of basic I/O link groups (BINARY or BCD) (Presence: YES.MNEMONIC EDITING The parameters for each model are described below. Number of basic I/O link groups 13. PMC type (BINARY or BCD) (Presence: YES. Presence or absence of operator panel 4. Head address of language program link control statement data 6. Time ratio to execute language program 7. Counter data type 3. Counter data type 3. Counter data type 3. Head address of language program link control statement data 6. Not used: UNUSE) (channel 2) (0 to 16) (channel 2) . Absence: NO) (PMC-SB7) (Used: USE. Ladder execution time (BINARY or BCD) (Presence: YES. (1) For PMC-PA3/SA3/SA5/SB4/SB5/SB6 %@0 2 BINARY 3 NO 4 PMC-RB5 % 2. Absence: NO) (PMC-PA3/PMC-RA3/PMC-RA5/PMCRB4/PMC-RB5/PMC-RB6) (2) For PMC-SB3/NB6 %@0 2 BINARY 3 NO 4 PMC-NB6 7 100 % 2. Not used: UNUSE) (channel 1) (0 to 16) (channel 1) (Used: USE.

06 PROGRAM DRAWING NO.MNEMONIC EDITING B-66234EN/04 6. 05 EDITION NO.218 - .6.4.2 Title %@1 01 MACHINE TOOL BUILDER NAME 02 MACHINE TOOL NAME 03 CNC & PMC NAME 04 PMC PROGRAM NO.2.4. 07 DATE OF PROGRAMMING 08 PROGRAM DESIGNED BY 09 ROM WRITTEN BY 10 REMARKS % 6.1 Symbol and comment %@2-C R0200.1 UNIT-2-ACT $1 ‘$’POWER$$’ ‘KEEP UNIT-4 $$POWER$’ ON’ R0300.0 UNIT-3-POWER $1 ‘KEEP POWER ON’ ‘KEEP UNIT-3 POWER ON’ R0200.0 $1 ‘KEEP POWER ON’ ‘KEEP UNIT-4 POWER ON’ P0008 OPEN-FRONT $1 ‘OPEN FRONT COVER L0100 INITIALIZE $1 ‘’ ‘INITIALIZE OF SEQUENCE % .

SPE .4 OR Y80. (XADRS2 ) “JMPC LABEL L001” . JMPB .6 WRT D300.4. END N00008: N00009: % . [SUB PROGRAM DATA NO. LBL .0 SUB 40 2 8191 D300 SUB 2 % • Full option %@3 N00001: N00002: SUB RD SUB RD SUB SUB SUB SUB RD DEC WRT SUB SUB 71 P1 X0. (SUBPR1 ) “SUB PROG. (LABEL1 ) . [LABEL L00001] .2. [LABEL L00001] .B-66234EN/04 6.0 68 L100 X0. JMPC . SP . (LABEL1 ) .2 Ladder • P-G compatible and Japanese comment %@3 RD X0. (RADRS00) . NO. [LABEL L00001] .01] .1” . (DADRS04) . SP . (SP1000 ) “SUB PROGRAM NO.0 72 64 N00003: N00004: N00005: N00006: N00007 .NOT X3. (LABEL1 ) .219 - . (XADRS1 ) “JUMPB LABEL L001” .0 D0 2 D0.1 73 L100 69 L100 72 71 P2 R0.01” .MNEMONIC EDITING 6. SPE .1 SUB 1 RD.

NO. [LABEL L00001] .2 2100020 EDTOK KEY SWITCH ON % 6. [SUB PROGRAM DATA NO.0 > “JUMPB LABEL L001” LABEL1 .0 % 6.0 > DADR04 .0 2100020 ACT DOOR NOT CLOSE A00.MNEMONIC EDITING B-66234EN/04 • Label and subprogram %@3 SUBPR1 SP RD JMPB RD JMPB LBL SPE SP RD DEC WRT SPE END LABEL1 SP1000 SUBPR1 . <P1 > “SUB PROG. <L100 > .01] XADRS1 . <L100 > .6. <D0 > 2 D0.4. <X0. NO. <R0.01” RADR00 .1 > “JUMPB LABEL L002” LABEL1 .2.3 Message %@4 A00. <L100 > [LABEL L00001] .4. [LABEL L00001] XADRS2 .2.01” . <X0.1 2101022 SPINDLE SPEED ARRIVAL SIGNAL NOT ON A00.220 - .4 I/O module %@5 X000 1 0 1 ID64A Y008 1 0 4 OD64B % . <P2 > “SUB PROG.

0 OR R123.4 % %@4 A00.4.4 (* $p *) ← Specification of the position of a form feed character (printing a ladder diagram) RD R101.0 UNIT-3-POWER $1 ‘KEEP POWER ON’ ‘KEEP UNIT-3 POWER ON’ R0200.0 AND R1000.4 AND R100.2 WRT Y23.0 OR R120.2 WRT Y200.B-66234EN/04 6. *) RD R1001. Any characters that can be entered from a PC are available.1 2101022 SPINDLE SPEED ARRIVAL SIGNAL NOT ON % %@5 X000 1 0 1 ID16C Y008 1 0 4 OD32A % %@E .0 $1 ‘KEEP POWER ON’ ‘KEEP UNIT-4 POWER ON’ P0008 OPEN-FRONT $1 ‘OPEN FRONT COVER L0100 INITIALIZE $1 ‘’ ‘INITIALIZE OF SEQUENCE % %@3 RD R1001.2 WRT Y2000.3 ALL format %@A %@0 2 BINARY 3 NO 4 PMC-RB4 % %@1 01 MACHINE TOOL BUILDER NAME : : 10 REMARKS % %@2-C R0200.4 (* Describe a net comment at this position.1 UNIT-2-ACT $1 ‘$’POWER$$’ ‘KEEP UNIT-4 $$POWER$’ ON’ R0300.3 AND R1000.221 - .MNEMONIC EDITING 6.0 2100020 ACT DOOR NOT CLOSE A00.

======== Mnemonic options definition ======== ..5 CONVERTING STEP SEQUENCE PROGRAMS TO MNEMONIC FILES This section describes the procedure for converting a step sequence program to a mnemonic file.ERR /OUT V /LX 8 20 28 /LS /LC /LF /LN /ICH JPN_LABEL_SUBPRG = /ERC FLMNE.[Mnemonic Convert. FANUC LADDER-III Initial Setting File .]. ( `key word =' <= 9characters ) . Select [Tool] .MNEMONIC EDITING B-66234EN/04 6. convert a step sequence program to a mnemonic file.6. The [Mnemonic] dialog box appears. ← When you want to convert a step sequence program to a mnemonic file or source program.ERR /OUT V /P-G JPN_COMMENT = /ERC FLMNE.ERR /OUT V /LX 10 21 31 /SJ /LAD /LC /LLS /LAS /LS /LFN /MJJ /ICH ENG_LABEL_SUBPRG = /ERC FLMNE.============================================================================== . set 1. Modify a mnemonic option definition in the %%%FLSET file in the FANUC LADDER-III installation folder. SFC=1..222 - .ERR /OUT V /LX 10 21 31 /LAD /LC /LLS /LAS /LS /LFN /ICH . . using a text editor. In this dialog box.ERR /OUT V /SJ /MJJ /ICH JPN_FULL_OPTIONS = /ERC FLMNE. ∼∼ *M. 2. Procedure 1. Use this function only when you change a conventional model to a new model.ERR /OUT V /LX 8 20 28 /SJ /LS /LC /LF /LN /MJJ /ICH ENG_FULL_OPTIONS = /ERC FLMNE. . NOTE Do not edit a step sequence program converted to a mnemonic file using a text editor. P_G_COMPATIBLE = /ERC FLMNE. .============================================================================== .

input or output (loading data from the PMC or storing data to the PMC) be performed. 2 While a screen created by the C language executor is displayed. however. It is recommended that input or output be performed while the NC is not being operated. the speed at which data (such as positions) is displayed on an NC screen may fall.INPUT/OUTPUT 7 INPUT/OUTPUT This chapter describes how to load and store programs. the communication speed falls. after moving to another screen such as the position display screen. It is recommended that. affect NC operation. This does not.223 - .B-66234EN/04 7. . NOTE 1 When input or output (loading data from the PMC or storing data to the PMC) is performed during NC operation.

1 7.224 - .7.1.] [Communication] dialog box.1..1(a) .1 SETTING UP COMMUNICATION This section describes how to set up communication required for editing a program in online mode and for input/output operations. 7. [Communication] Dialog Box This subsection describes how to set items related to communication in the [Communication] dialog box.INPUT/OUTPUT B-66234EN/04 7.1. 7. Select [Tool] ..1 Setting up RS-232C Procedure 1.1.[Communication. to display the Fig.1.

(300 to 19200 bps) . Select the added communication port and click the <Setting> button. 7. Fig.1.1(b) 3. 7.1. Select the [Setting] tab and a communication port you want to use from [Enable device] and click the <Add> button.1. Fig. Baud-rate Specify the baud rate. Set each item in [Communication parameter].INPUT/OUTPUT 2. Set the values according to values set for the PMC online monitor function.1.225 - .B-66234EN/04 7.1(c) 4.

Select [Tool] .7. 2. Specify the port number of the Ethernet function of the CNC to be connected.INPUT/OUTPUT Parity Specify the parity bit. to display the Select the [Network Address] tab and click the <Add Host> button. Port No.] [Communication] dialog box.2(a) Host Specify a host name (for example.0.1"). Stop-bit Specify the stop bit... Click the <Advanced> button to display [Host Setting Dialog].226 - .1.168. Time Out Specify the time out applied to the transmission/reception of PMC data.1. "190.1.[Communication.2 Setting up Ethernet Procedure 1. 7. Default Initializes the settings to their default values. Fig.1. in seconds. 5. B-66234EN/04 Click the <OK> button to make the settings take effect. "CNC1") or an IP address (for example. 7. .

[TRACE]. [PMCLAD]. NOTE If the PMC is displaying one of the following screens.2(b) 4. [GDT]. [USRMEM] . [ANALYS].227 - . Click the <Connect> button to start communication.1. you cannot communicate with the PMC. 7. [EDIT]. Use the online function after the PMC switches to another screen. [SYSPRM]. Fig.1. [I/O].INPUT/OUTPUT 3.B-66234EN/04 7. Select [Setting] and add a network address to "Use device". [USRDGN]. [DBGLAD].

1.INPUT/OUTPUT B-66234EN/04 7.2 [Option] Dialog Box This subsection describes how to set items related to communication in the [Option] dialog box.1. 4. Select the [Setting] tab and a communication port you want to use from [Use device] and click the <Add> button." .1. "Setting up RS-232C. Select [Tool] .1. Fig. 7.1.2. 7.1.2.1(a) 2. Set each item in [Communication parameter].228 - .7. Set the values according to the procedure described in Subsection 7. 7.[Option].1 Setting up RS-232C Procedure 1. Fig.2.1(b) 3. Select the added communication port and click the <Setting> button.1.

1.B-66234EN/04 7.229 - .2. In the [Network setting] dialog box. 7.2. Select the [Setting] tab and click the <Network setting> button. "Setting up Ethernet." Fig. Set the values according to the procedure described in Subsection 7.INPUT/OUTPUT 7.1. Fig.2.1.1.2(a) 2.1.2.2 Setting up Ethernet 1.2(b) . 7. click the <Add Host> button and then the <Advanced> button to display [Host Setting Dialog].

2.INPUT/OUTPUT B-66234EN/04 7.[Load from PMC]. <I/O by MONIT-ONLINE function> A communication function by an online monitor is used.230 - .2 7. only <I/O by MONIT-ONLINE function> is available. NOTE On PMC-SB7. On PMC-SB7. Select [Tool] . 2 Fig.1 LOADING SEQUENCE PROGRAMS FROM THE PMC (DURING DISCONNECTION WITH THE PMC) Procedure 1 Select [File] . The [Program transfer wizard Selection of transferred method] screen appears.7.2.1(a) 2-1 Select a transfer method. 7. <I/O by “I/O” key operation> Input or output is performed by the HOST operation of an I/O function.[Open Program] to open the program into which data is to be loaded. . this screen does not appear.

7. Fig.INPUT/OUTPUT ♦ <I/O by MONIT-ONLINE function> 3 Select <I/O by MONIT-ONLINE function>.1(c) 5 When there is a loader. and then click the <Exec> button.2.B-66234EN/04 7. the [Communication Current Device] screen appears. Fig. 7. Fig. 7.2.231 - .1(b) 4 To display the [Communication] screen to start access to the PMC. The following message appears. Select either CNC Main or LOADER. click the <Yes> button. and then click the <Next> button.2.1(d) .

" . Click the <Next> button.7. 7.3. see Section 7.232 - .INPUT/OUTPUT B-66234EN/04 6 The [Program transfer wizard Selection of loading/store] screen appears.2. "Loading Sequence Programs from the PMC (During Connection with the PMC).1(f) 8 For the remainder of the procedure.1(e) 7 The [Program transfer wizard Selection of program] screen appears. Fig.2. 7. Fig.

B-66234EN/04 7. The [Program transfer wizard Selection of program] screen appears.1(g) 4 Click the <Next> button.233 - . and then click the <Next> button. Fig.INPUT/OUTPUT ♦ <I/O by “I/O” key operation> 3 Select <I/O by “I/O” key operation>.2. 7. Fig. and then click the <Next> button. The [Program transfer wizard Selection of loading/store] screen appears. .2.1(h) 5 Select LADDER or ALL. 7.

2. and then click the <Next> button.INPUT/OUTPUT 6 B-66234EN/04 The [Program transfer wizard Setting of communication] screen appears. 7. 7.1(j) . Fig. Set a communication protocol.7.234 - .1(i) 7 The [Program transfer wizard Confirmation of processing] screen appears. Fig.2.

1(k) NOTE Set CHANNEL. refer to the FANUC PMC Ladder Language Programming Manual (B-61863E).235 - . Set HOST for DEVICE.INPUT/OUTPUT 8 Click the <Finish> button. Then. DEVICE. 9 Once I/O transfer is complete. Fig. Press soft key <EXEC> of the NC to place the NC in standby.2. 7.2.1(l) . and DATA KIND on the PMC I/O PROGRAM screen of the PMC in advance. the [Execution of I/O transfer] screen appears. 7. FUNCTION. the following message appears. Fig.B-66234EN/04 7. For details of the settings.

3. and PMC Parameter.3. Select [Tool] . 2-1 Set data. see Subsection 3. the [Communication] screen appears.3 7. 7." A PMC parameter file once transferred to a user file .7. Language program. Content of transfer As transfer information.3.1 LOADING SEQUENCE PROGRAMS FROM THE PMC (DURING CONNECTION WITH THE PMC) Procedure 1 Select [File] . The initial setting specifies that PMC parameters are transferred to PMC_PRM. When transferring PMC parameters.1.[Load from PMC].PRM in a user file folder. The [Program transfer wizard Selection of program] screen appears. Then. For a user file folder. establish connection.INPUT/OUTPUT B-66234EN/04 7. "Work Folders and Online Program Files. enter a transfer destination file name in [Selection of]. 2 Fig.1(a) NOTE When connection is not established.[Open Program] to open the program into which data is loaded.236 - . a selection can be made from Ladder.

For the export function. The [Program transfer wizard Confirmation of processing] screen appears. Those types of PMCs to which a C language board is attached do not allow loading and storing of language programs." NOTE Only PMC-SC3/SC4 allow loading and storing of language programs. Fig.INPUT/OUTPUT folder can be restored by using the export function. the [Transfer monitor] screen appears.237 - .3.1(b) 2-3 Check the setting items. Click the <Finish> button. see Section 3.1(c) . 7. Then.15. 7. 2-2 Click the <Next> button. Fig. and then the program is transferred.3. "EXPORTING PROGRAMS.B-66234EN/04 7.

1 STORING SEQUENCE PROGRAMS IN THE PMC (DURING CONNECTION WITH THE PMC) Procedure 1 2 Select [File] .[Open Program] to open the program to be stored.4. Select [Tool] .INPUT/OUTPUT B-66234EN/04 7. Fig.4. <I/O by “I/O” key operation> An input or output is performed by the HOST operation of an I/O function. . 7.[Store to PMC].7.1(a) 2-1 Selection of transferred method.4 7.238 - . <I/O by MONIT-ONLINE function> A communication function by an online monitor is used. The [Program transfer wizard Selection of transferred method] screen appears.

Fig. Fig.1(d) .1(c) 5 When there is a loader.4. after which access to the PMC is started.4.INPUT/OUTPUT ♦ <I/O by MONIT-ONLINE function> 3 Select <I/O by MONIT-ONLINE function>. and then click the <Next> button. 7.1(b) 4 Click the <Yes> button. 7.4. Fig. the [Communication Current Device] screen appears. The [Communication] screen appears.B-66234EN/04 7. Select CNC Main or LOADER. and then click the <Exec> button. 7. The following message appears.239 - .

7." . 7.INPUT/OUTPUT B-66234EN/04 6 The [Program transfer wizard Selection of loading/store] screen appears.240 - . see Section 7.5. Fig. 7.1(e) 7 The [Program transfer wizard Selection of program] screen appears.1(f) 8 For the remainder of the procedure. "Storing Sequence Programs in the PMC (During Connection with the PMC). Fig.4.4. Click the <Next> button.

The [Program transfer wizard Selection of loading/store] screen appears. 7.1(g) 4 Click the <Next> button. . 7. Fig.INPUT/OUTPUT ♦ <I/O by “I/O” key operation> 3 Select <I/O by “I/O” key operation>.1(h) 5 Select LADDER or ALL.4. and then click the <Next> button.241 - . The [Program transfer wizard Selection of program] screen appears.4.B-66234EN/04 7. then click the <Next> button. Fig.

1(j) . 7. Set a communication protocol.7.1(i) 7 The [Program transfer wizard Confirmation of processing] screen appears. 7.4. Fig. Fig.4.INPUT/OUTPUT 6 B-66234EN/04 The [Program transfer wizard Setting of communication] screen appears.242 - . and then click the <Next> button.

the following message appears. Fig. 7. FUNCTION. Set HOST for DEVICE. Press soft key <EXEC> of the NC to place the NC in the standby status. The [Execution of I/O transfer] screen appears.243 - .INPUT/OUTPUT 8 Click the <Finish> button.4. For details of these settings.4.B-66234EN/04 7. 7. and DATA KIND on the PMC I/O PROGRAM screen of the PMC in advance. 3 Once I/O transfer is complete. refer to the FANUC PMC Ladder Language Programming Manual (B-61863E).1(l) . Fig. DEVICE.1(k) NOTE Set CHANNEL.

14.7.1 STORING SEQUENCE PROGRAMS IN THE PMC (DURING CONNECTION WITH THE PMC) Procedure 1 2 Select [File] . For the import function. "Work Folders and Online Program Files. see Section 3. 7. Content of transfer As transfer information. see Subsection 3.5. For a user file folder. the [Communication] screen appears." An existing PMC parameter file can be stored in a user file folder by using the import function. enter a transfer source file name in [Selection of]. Language program.1.[Open Program] to open the program to be stored.1(a) NOTE When connection is not established.PRM in a user file folder is transferred.[Store to PMC] The [Program transfer wizard Selection of program] screen appears. Select [Tool] . 2-1 Set data. a selection can be made from Ladders.5 7. When transferring PMC parameters." .INPUT/OUTPUT B-66234EN/04 7. Then establish connection.244 - . Fig.3.5. and PMC Parameter. The initial setting specifies that PMC_PRM. "IMPORTING PROGRAMS.

When you want to store a program in the CNC.INPUT/OUTPUT 2-2 Click the <Next> button. Then. The [Program transfer wizard Confirmation of processing] screen appears. Store programs in the PMC while a ladder is being monitored. 2 After storing a program in the PMC. Click the <Finish> button. 7. the editing results are lost. Fig.245 - .1(b) 2-3 Check the setting items. no program can be stored in the PMC. the [Transfer monitor] screen appears.5.1(c) NOTE 1 During ladder editing in online mode. 7. . if the CNC is powered down without backing up the program. execute [Backup].B-66234EN/04 7. Fig. and then the program is transferred.5.

1 2 3 Choose the check boxes of the programs you want to back up. Fig.INPUT/OUTPUT B-66234EN/04 7. NOTE 1 Since the Power Mate-D (PMC-PA3) stores programs in S-RAM.[Backup]. . the edited programs and stored programs are lost. click the <Cancel> button. When backup is completed successfully. you cannot choose "User C program. The [Backup of program] screen appears.1 WRITING SEQUENCE PROGRAMS INTO F-ROM This section describes how to back up a program edited in online mode or a program stored in the PMC to F-ROM of the CNC.6. before powering down the CNC." To back up a program. To cancel the backup of a program. the [Backup of the program ended] message appears.6 7. click the <OK> button. if the CNC is powered down without first backing up the programs. Back up the programs. Procedure 1 Select [Tool] .6.7. 2 For other than the Power Mate-D (PMC-PA3). When the C language board is not mounted.246 - . the operation described above is not needed. 7.

and the transfer direction selection dialog box of the "Program transfer wizard" will appear. NB.7... and NB2.. Fig.1 COMPARING WITH PMC You can compare programs with the I/O function.7 7..247 - . HOST operation. 7.] or [Store to PMC. Menu Bar Select [Tool] .7.B-66234EN/04 7.].INPUT/OUTPUT 7. SC4.1 NOTE You can compare programs including language programs on each model of PMC-SC3.[Load from PMC. .

248 - .7.7.INPUT/OUTPUT B-66234EN/04 7.2.2. select "I/O by "I/O" key operation" as a transfer method.2 Program Transfer Wizard This wizard displays a group of dialog boxes for performing a series of setup operations necessary for program comparison operations. set the necessary items.7.1 Selecting a transfer method To perform program comparison operations.7. 7. 7. Fig.1 . At the prompts on the dialog pages.

INPUT/OUTPUT 7.249 - .7. select "PMC and comparison" and click the <Next> button.2 On the subsequent pages of the wizard. . To use the compare function.2.7.B-66234EN/04 7. Fig. follow the instructions indicated. 7.2 Selecting a transfer direction The transfer direction selection dialog box appears.2.

• How to check the execution or stop status Check the execution or stop status on the status bar.EXECUTING AND STOPPING SEQUENCE PROGRAMS B-66234EN/04 8 EXECUTING AND STOPPING SEQUENCE PROGRAMS This chapter describes how to execute and stop sequence programs.250 - . WARNING Special care is needed when you execute or stop a program. If a program is used inappropriately. It is recommended that you not use this machine while a person is near the machine. 8(a) . Execution/stop status Undisplay: When disconnected : Execution status : Stop status Fig. the machine may operate in an unexpected manner.8.

8(b) : Connection status 3 In the disconnection status.EXECUTING AND STOPPING SEQUENCE PROGRAMS • Preparation prior to accessing the PMC Procedure 1 Connect a personal computer to the NC (PMC) with a cable. Connection/disconnection status : Disconnection status Fig.B-66234EN/04 8. see Appendix A.) 2 Check the communications status (connection or disconnection) with the PMC. Click the <Connect> button to establish a connection. 4 .251 - . (For the specification of the required cable. select [Tool]-[Communication]. The [Communication] screen appears.

8.252 - .1(a) For a language program: Fig. .8. Unselected: A language program is to be executed from the last-terminated position.[Program Run/Stop]. 8. INITIAL START Selected: A language program is to be executed from the beginning. For no language program: Fig. No The dialog box is closed without executing a sequence program.1(b) Yes A sequence program is to be executed.1 EXECUTING SEQUENCE PROGRAMS This section describes the procedure for executing a sequence program.EXECUTING AND STOPPING SEQUENCE PROGRAMS B-66234EN/04 8. Procedure 1 Select [Tool] .

Fig.2 STOPPING SEQUENCE PROGRAMS This section describes the procedure for stopping sequence programs. 8. To stop the program. NOTE When the PMC-MDI screen is displayed by a language program on the NC. Procedure 1 Select [Tool] . No The dialog box is to be closed without stopping the sequence program. .EXECUTING AND STOPPING SEQUENCE PROGRAMS 8.253 - . no program can be stopped.B-66234EN/04 8. select another screen on the NC.2 Yes A sequence program is to be stopped.[Program Run/Stop].

DIAGNOSIS B-66234EN/04 9 DIAGNOSIS This chapter describes the online diagnosis functions including ladder monitoring. .9.254 - . display and modification of the PMC status and PMC parameters. and signal analysis. signal tracing.

2 If the system being used is not supported by the connected PMC. When the system is in offline mode.B-66234EN/04 9. When the <On-Line/Off-Line Change> button is in the up state.1 LADDER MONITORING CAUTION 1 The online monitor function for step sequence programs is not supported. the system is in online mode. On the [Monitor] screen.DIAGNOSIS 9.[Monitor/Editor] to switch between the [Monitor] screen and [Edit] screen. When the button is in the down state. the system is in offline mode. the <Ladder Monitor> button is in the down state. Use a system with a supported edition.1. 2 <On-Line/Off-Line Change button> 3 Select [Ladder] . select [Ladder] [Online/Offline] to set online mode. the <Online Editor> button is in the down state.1 Procedure 1 Select [File] . On the [Edit] screen. 9. the online functions sometimes cannot be used.255 - .[Open Program] to open the program you want to monitor. .

9. page keys.DIAGNOSIS B-66234EN/04 9. and scroll bars.2 [Monitor] Screen Fig.2 The screen is scrolled by using the direction keys.1.256 - .1. 9. The signal ON and OFF states are expressed by the line thickness. ON : OFF : .

Before executing the update function. 9. Before powering off the CNC. For other edit operations.3(b) CAUTION 1 Executing the update function alters the ladder program on the PMC. see Section 3.1.1. 9.3(a) The <Update> button on the toolbar writes the edited ladder program to the PMC.1.DIAGNOSIS 9. click the <Update> button on the toolbar and then back up the program.5. Except for the Power Mate-D (PMC-PA3).257 - .3 [Edit] Screen Fig. Fig. "EDITING LADDER DIAGRAMS. switch to offline mode to automatically execute decompilation. or execute decompilation manually." . powering off the CNC without backing up the program clears the program changes. carefully check whether it is safe to alter the ladder program. The <Restore> button restores the ladder program to its original state that existed before editing. 2 To reflect the results of editing a ladder program in online mode in the source program in the sequence program (LAD file).B-66234EN/04 9.

"[Trigger Parameter] screen.") Fig. Count. 9.4.4 9. The <Signal Trigger> button is held down. and the [Signal Trigger] screen appears.1 . <<Online/Offline Switch> button> 2 Choose [Ladder Mode .Signal Trigger] from the [Ladder] menu. Trigger Mode.1.1 Signal Trigger Stop Function Procedure 1 If the offline mode is set.9. The online mode is set when the button is down. choose [Online/Offline] from the [Ladder] menu to set the online mode.4. Check Point.258 - . and Time are displayed. (See Subsection 9.1.4. The offline mode is set when the <Online/Offline Switch> button is up.4. At the bottom of the screen. Address.1.1.DIAGNOSIS B-66234EN/04 9.

Fig.Start] from the [Ladder] menu.2 <Icon for indicating that the signal trigger stop function is being executed> .1. 9.259 - .2 Executing the signal trigger stop function 1 Choose [Signal Trigger .4.1.4.B-66234EN/04 9. During execution. The [Signal Trigger Stop Function] execution screen appears.DIAGNOSIS 9. the status bar of the main frame displays an icon indicating that the signal trigger stop function is being executed.

Fig.4. 9.9.DIAGNOSIS B-66234EN/04 9.4.3 Terminating the signal trigger stop function 1 When the signal trigger stop condition is satisfied.1. Fig. and sample data is collected.3(b) .1.4.3(a) 2 The [Signal Trigger Stop Function] termination screen appears. 9.260 - . Trigger stop time on the NC side is displayed.1. the [Signal Trigger] screen appears.

Count Set a trigger count (1 to 65535).) Check Point Select a trigger check point.1. Trigger Mode ON: Stops triggering on the rising edge of a specified address signal.4. (Symbol input is possible. <Init> button This button initializes the parameters as follows: Address: Blank Check Point: LEVEL1 Count: 1 Trigger Mode: Disabled . Make a selection from Level1 (start of LEVEL1).4 [Trigger Parameter] screen Fig. 9.B-66234EN/04 9. and END3 (after END3 instruction execution.DIAGNOSIS 9. selectable with a model that can use LEVEL3).4. END1 (after END1 instruction execution).1. OFF: Stops triggering on the falling edge of a specified address signal. END2 (after END2 instruction execution).4 Address Set a trigger address.261 - .

4. 9.1.6 Shortcut key [F3] [F4] [F5] Corresponding function Search Parameter setting Execution .5 Context menu Fig.4.5 9.9.6 Shortcut key list Table 9.4.1.1.262 - .DIAGNOSIS B-66234EN/04 9.4.1.

the CNC. Fig.B-66234EN/04 9. or an external I/O unit such as the I/O Link is repeatedly writing data into the address of the signal.2. If the change function is not used appropriately. the machine operation may be unpredictable. When there are people near the machine. CAUTION The statuses of some signals cannot be changed.DIAGNOSIS 9. 9.1 . the MMC repeatedly writes data to address M.2 SIGNAL STATUS The PMC signal status can be displayed and changed in real-time. The status of such a signal is not changed when a sequence program.) 9.2. this function should not be used. the MMC. (The CNC repeatedly writes data to address F.263 - . WARNING Special care must be taken when the signal status or PMC parameters are changed. The [Signal Status] screen appears. and the external I/O unit repeatedly writes data to address X.[Signal Status].1 Procedure 1 Select [Diagnose] .

9.) .2 Toolbar <1> <2> <3> <4> <5> <6> <7> <8> <9><10><11> <12> Fig. 9.264 - . <2> Search button <3> Combo box for inputting the character string for which a search is to be made <4> Symbol indication (off ↔ on) <5> Display format: Byte <6> Display format: Word <7> Display format: Double word <8> Display type: Binary <9> Display type: Decimal <10>Display type: Hexadecimal <11>Display type: BCD <12>Sign indication (off ↔ on) (Valid only when decimal notation is set as the display type.2 <1> Switches between the status screen and forced I/O screen.DIAGNOSIS B-66234EN/04 9.2.2.

9. [Hex].2.5 Shortcut Keys Table 9. 9. <3> Display type [Bit]. or [Dword] is indicated.2.4 9. [Word]. Search Shortcut key [F2] [F3] [F4] [F5] [Ctrl]+[F] .5 Corresponding function Turns on a signal. (Forced I/O) Symbol indication (off↔on) Switches between the status screen and forced I/O screen.B-66234EN/04 9. (Forced I/O) Turns off a signal. <2> Display format [Byte]. [Decimal].2.3 <2> <3> <1> Selection mode [Status] or [Force] is indicated. 9.2.DIAGNOSIS 9.2. or [Bcd] is indicated.2.265 - .4 Context Menu Fig.3 Status Bar <1> Fig.

[Counter]. When there are people near the machine. [Data Table]. Display the pull-down menu.3. the parameters may be protected. and data table) are displayed.DIAGNOSIS B-66234EN/04 9. or [Set Up]. counters. If the change function is not used appropriately.9. and then select [Timer].2 Timer The contents of the timer address locations (T) used with the TMR instruction can be displayed and modified. 9. CAUTION When PMC parameters should not be changed.3. 9. Fig.1 Procedure 1 2 Select [Diagnose] .[PMC Parameter].2 . [Keep Relay]. WARNING Special care must be taken when the signal status or PMC parameters are changed. the machine operation may be unpredictable. this function should not be used. keep relays.3.3 PMC PARAMETERS PMC parameters (timers.266 - . 9. Refer to the relevant programming manual for the PMC being used.

3.1 Toolbar <1> <2> <3> Fig.3.4 Corresponding function Symbol indication (off↔on) Search .4 Shortcut keys Shortcut key [F4] [Ctrl]+[F] Table 9.2.3.3 Context menu Fig.2.3.B-66234EN/04 9.2. min) 9.2.2.3. 9.3.3. 9.DIAGNOSIS 9.3.2.2. 9.3 9.1 <4> <1> Symbol indication (off↔on) <2> Search <3> Combo box for inputting the character string for which a search is to be made <4> Units of the displayed timer value (msec. sec.2 <2> <1> Minimum setting time for the timer selected with the cursor <2> Maximum setting time for the timer selected with the cursor 9.267 - .2.2 Status bar <1> Fig.

DIAGNOSIS B-66234EN/04 9.2 Context menu Fig. Fig.3.3.3 NOTE 1 The contents can be displayed and modified in binary or BCD according to the setting of the counter data type system parameter.268 - . 9.9.3.2 .3.1 Toolbar <1> <2> <3> Fig. 9.3 Counter The contents of the counter address locations (C) used with the CTR instruction can be displayed and modified.1 <1> Symbol indication (off ↔ on) <2> Search <3> Combo box for inputting the character string to be searched for 9.3. 2 Data which cannot be displayed in BCD is indicated with a question mark (?).3. 9.3. 9.3.3.3.

3.269 - .3.3 Corresponding function Symbol indication (off↔on) Search .3.3 Shortcut keys Shortcut key [F4] [Ctrl]+[F] Table 9.3.B-66234EN/04 9.DIAGNOSIS 9.

4.2 Context menu Fig.3.4. 9.3.270 - .3 Corresponding function Symbol indication (off↔on) Search .1 <1> Symbol indication (off ↔ on) <2> Search <3> Combo box for inputting the character string for which a search is to be made 9.3 Shortcut keys Shortcut key [F4] [Ctrl]+[F] Table 9.1 Toolbar <1> <2> <3> Fig.4. Fig.2 9.3. 9. 9.DIAGNOSIS B-66234EN/04 9.3.9.4.3.3.4.4.4 9.3.3.4 Keep Relay The contents of the keep relays (K) can be displayed and modified.

The bits marked * are used by the PMC control software and are not related to the online function operations. . 0 Does not display the ladder monitor screen.4. 0 Does not allow you to change the signal status.3.B-66234EN/04 9.271 - . sequence programs cannot use the data in these keep relays. This subsection describes only the signals relating to online function operations. Does not allow you to use the online edit function and I/O 0 function.4 Data for PMC control software Because some keep relays are used by the PMC control software. refer to the "PMC Ladder Language Programming Manual" (B-61863E). K19 or K902 #7 * #6 * #5 * Bit #0 #4 * Value 1 #3 * #2 * #1 * #0 FROM-WRT Meaning Displays a dialog box for writing to F-ROM at the end of online editing. K17 or K900 #4 #3 MEMINP * #7 DTBLDSP #6 * #5 * Bit #7 #4 #1 #0 #2 * #1 PRGRAM #0 LADMASK Value Meaning 1 Does not display the PMC parameter data table control screen. For detailed information and other signals.DIAGNOSIS 9.

1 Toolbar <1> <2> <3> <4> <5> <6> <7> <8> <9> <10> <11> Fig.5.5 Data Table The contents of the data table (D) can be displayed and modified.5 9.272 - .1 <1> Symbol indication (off ↔ on) <2> Search <3> Combo box for inputting the character string for which a search is to be made <4> Display format: Byte <5> Display format: Word <6> Display format: Double word <7> Display type: Decimal <8> Display type: Hexadecimal <9> Display type: BCD <10>Sign indication (off ↔ on) <11>Write protection .3.3.5. 9.DIAGNOSIS B-66234EN/04 9.3. Fig.3.9. 9.

999.647 0 to FFFFFFFF 0 to 99. or [Dword] is indicated.5.5. 9.5.4 Word -32.5 .273 - .147.3.483. or [Bcd] is indicated.5.3. [Hex].5.3.767 0 to FFFF 0 to 9. 9. [Word].5 Context menu Fig.648 to 2.2 Status bar <1> <2> <3> Fig.3.5.999 Decimal Hexadecimal BCD 9.3 Shortcut keys Shortcut keys [F4] [Ctrl]+[F] Table 9.3 Corresponding function Symbol indication (off↔on) Search 9.2 <4> <5> <1> Group name <2> Data area range <3> Number of data items <4> Display format [Byte].3.DIAGNOSIS 9.5.147.3. 9.3.4 Input data range Byte -128 to 127 0 to FF 0 to 99 Table 9.999 Double word -2.3.B-66234EN/04 9.483. <5> Display type [Bit].5.768 to 32. [Decimal].

Programmer protect function CAUTION The subsequent subsections contain information important to the developer of the application systems to be controlled by the PMC.6. The programmer protect function can be set with the appropriate setting parameter or keep relay data for PMC management software (PMC-SB7: K900 to 919. Use great caution when operating the functions described in the subsequent subsections and designing application systems using these functions. security problems are more likely to occur. These functions. PMC-SA1: K17 to 19). If the design of an application system is inappropriate. . which may disable the safety mechanism provided by sequence programs.3. If any of these functions are to be used for the maintenance and adjustment of the machine in the field.274 - .1 Setting PMC Setting Parameters PMC setting parameters can be made valid or invalid. These functions must be protected with appropriate settings or sequence programs from being inadvertently operated by regular operators after the machine has been shipped to the field.6 9. the machine developer is required to make sure that the machine is placed in a safe state before the means for enabling these functions are incorporated and that operators observe the techniques for ensuring safety. diagnosis.3.9. The parameters described in the subsequent subsections are designed so that the system designer can set the conditions necessary for preventing erroneous operations such as those that "stop the Ladder program inadvertently" and that "change the settings of sequence programs and various functions" and for operating PMC programmer functions safety and so that such conditions are controllable with sequence programs. and debugging functions to support sequence program development and debugging. The PMC provides a variety of editing. are assumed to be used only by those operators who are familiar with the operation of sequence programs and that of the PMC.DIAGNOSIS B-66234EN/04 9.

6. To cancel the changes. click the <Cancel> button. 9.275 - . Fig.3. .2 Procedure 1 Check the setting parameters you want to make valid.6. click the <OK> buttons.B-66234EN/04 9.2 2 To save the changes.DIAGNOSIS 9.3.

sequence programs will be automatically executed. Checked : Hides the PMC parameter data table control screen.3 Setting items HIDE PMC PROGRAM (PMC-SB7: K900. Checked : The trigger stop function automatically starts when the power is turned on. SIGNAL TRIGGER START (PMC-SB7: K901.276 - . RAM WRITE ENABLE (PMC-SB7: K900.4.8) Not checked : The trigger stop function does not automatically starts when the power is turned on. Checked : The signal trace function automatically starts tracing after the power is turned on.3.0) Not checked : Displays sequence programs. PMC-SA1: K17. PROGRAMMER ENABLE (PMC-SB7: K900. PMC-SA1: K17. SIGNAL ANALYSIS START (PMC-SB6: K900.2.9. Checked : The signal waveform display function automatically starts sampling after the power is turned on.2) Not checked : After the power is turned on.1) Not checked : Disables built-in programmer functions. SIGNAL TRACE START (PMC-SB6: K900. HIDE DATA TBL CNTL SCREEN (PMC-SB7: K900. PMC-SA1: K18. Checked : Sequence programs will be executed with the sequence program execution soft key. Checked : Enables the forcing and overwrite functions.DIAGNOSIS B-66234EN/04 9.5) Not checked : The signal trace function starts tracing with the trace execution button. LADDER MANUAL START (PMC-SB7: K900. PMC-SA1: K17. - - - - - - - .4) Not checked : Disables the forcing and overwrite functions.7) Not checked : Displays the PMC parameter data table control screen.6) Not checked : The signal waveform display function starts sampling with the execution button. Checked : Hides sequence programs.6.1. PMCSA1: K17. PMC-SA1: K17.0. Checked : Enables built-in programmer functions.2.7.

7.1) Not checked : Hides the I/O link group selection screen.2) Not checked : Disables the sequence program execution/ stopping operations.2. ALLOW PMC STOP (PMC-SB7: K902. . the changes will not be automatically written to F-ROM.B-66234EN/04 9.6. Checked : After a Ladder program is edited. Checked : Enables the sequence program execution/ stopping operations.6) Not checked : Disables sequence program editing. - - - - - CAUTION The [Display] button can be used if the following conditions are satisfied: . IO GROUP SELECTION (PMC-SB7: K906.DIAGNOSIS EDIT ENABLE (PMC-SB7: K901.7) Not checked : Enables the modification and reading of PMC parameters.IO GROUP SELECTION (K906.1=1) is also checked. . PMC-SA1: K18. Checked : Disables the display and external output of PMC parameters.0) Not checked : After a Ladder program is edited. Checked : Displays the I/O link group selection screen.277 - .1=1) is checked and PROGRAMMABLE ENABLE (K900. PMC-SA1: K19.0. PMC-SA1: K19.6. HIDE PMC PARAM (PMC-SB7: K902.The selectable I/O link assignment screen on the system parameter screen is enabled. Checked : Enables sequence program editing.6) Not checked : Enables the display and external output of PMC parameters. PMC-SA1: K19. WRITE TO F-ROM[EDIT] (PMC-SB7: K902. the changes will be automatically written to F-ROM. Checked : Disables the modification and reading of PMC parameters. PMC-SA1: K19. PROTECT PMC PARAM (PMC-SB7: K902.

9.3. 9. This setting screen must be protected with the programmer protect function so that the settings on the screen are not inadvertently changed by regular operators after the machine has been shipped to the field. The I/O device configuration may not match the I/O assignment data. possibly causing the machine to perform an unexpected operation after the power is turned on.4 OK Displays the selectable I/O link assignment function.278 - . Cancel Returns you to the SETTING screen for PMC setting parameters.DIAGNOSIS B-66234EN/04 9.6. the following warning screen appears first to warn you against the modification of parameters.3. WARNING If you modify these parameters inadvertently. Fig.6. These parameters are assumed to be modified only by those operators who are familiar with the operation of sequence programs and that of the PMC.4 Warning message When you click the [Display] button to call the setting parameter screen of the selectable I/O link assignment function. .

5 Channel 1 Select the group to which the I/O link assignment data for channel 1 is to be made valid.B-66234EN/04 9. Checked : The assignment data is valid. . 9.5 Setting screen of the selectable I/O link assignment function On this setting screen. set the unique group of I/O devices to be connected to each machine.6. Not checked : The assignment data is invalid.6.DIAGNOSIS 9. Fig. Not checked : The assignment data is invalid.279 - . Checked : The assignment data is valid.3. Channel 2 Select the group to which the I/O link assignment data for channel 2 is to be made valid.3.

.6. 2 Channels for which the "selectable I/O link assignment function" is disabled on the system parameter screen are displayed gray.3 reappears. 3 When you click the [OK] button.280 - . click the [OK] button below the warning message. These channels are noneligible for this setting. the warning message shown in Subjection 9.9.DIAGNOSIS B-66234EN/04 NOTE 1 The basic groups that have been specified for each "Basic Group Count" on the system parameter screen will have their numbers displayed gray with an asterisk mark (*) shown above them. These groups are noneligible for this settings.3. To reflect the settings to the keep relays.

2.9. Procedure 1 Select [Diagnose] .4 9.4. Select [Tool] .2 .1 For details on PMC alarm messages. refer to the ladder language programming manual. Select a language from "PMC alarm language".4.281 - .4. Fig. Fig.1 PMC ALARM STATUS PMC alarm messages are displayed.2 Switching the Language in Which PMC Alarm Messages Are Displayed You can switch the language in which PMC alarm messages are displayed. 9.B-66234EN/04 9.[Options].[PMC Alarm Status].4.DIAGNOSIS 9. 1. 9. The [PMC Alarm Status] screen appears.

1 PMC STATUS The PMC program status is displayed. Fig.5 9.282 - .5. Procedure 1 Select [Diagnose] .5.9.2 Display Items PMC type Model of the connected PMC Series and edition: Control software Series and edition of the PMC Series and edition: Ladder edit software (option board) Series and edition of the ladder edit card or option card Scan time: Current Current scan time Scan time: Maximum Maximum scan time Scan time: Minimum Minimum scan time - - - - - .1 9. 9.[PMC Status].DIAGNOSIS B-66234EN/04 9.5. The [[PMC Status] screen appears.

6.283 - .1(a) 2. 9.6. up to 256 items can be displayed.B-66234EN/04 9. The [Signal Trace] screen appears.DIAGNOSIS 9.1 Procedure 1.1(b) . Fig. Select the [Signal Trace] radio button and click the <OK> button. Fig. 9.[Trace].6 SIGNAL TRACING Changes in arbitrary signals are displayed on the screen. For two-byte tracing. The [Select Function] screen of the trace function appears. Up to 512 items can be displayed for one-byte tracing. Signals are traced one or two bytes at a time.6. For one-byte tracing. two addresses can be traced at the same time. Select [Diagnose] . 9.

6. and signal tracing terminates. See Subsection 9. 5. The [Signal Trace Parameter] screen appears. and signal tracing starts. The numbers of the bits not to be detected are indicated with grayed characters. Set data on the [Signal Trace Parameter] screen. The signal is on.6. and bits 0 to 3 are masked R9028 76543210 - .DIAGNOSIS 3. B-66234EN/04 <Parameter button> 4. The <Start> button then enters the up state. click the <Start> button again. Signal status indication The signal is off. To terminate tracing. Click the <Parameter> button.284 - ." Click the <Start> button. <Start button> 6.9. "[Signal Trace Parameter] Screen. Example:When the signals on bits 4 to 7 are detected. The <Start> button enters the down state. Mask bit name indication The numbers of the bits to be detected are indicated with bold characters.

6.5 Shortcut Keys Shortcut key [F3] [F4] [F5] [Ctrl]+[F] [Ctrl]+[Home] [Ctrl]+[End] Table 9.6. .B-66234EN/04 9.6.285 - .3 Status Bar <1> Fig.2 Toolbar <1> <2> <3> <4> <5> Fig.6. 9. 9.4 9.3 <2> <1> Status [Tracing Exec] or [Trace Stop] is displayed. Number search Displays data from the beginning.2 <1> Parameter <2> Start and stop of tracing <3> Symbol indication <4> Number search <5> Combo box for inputting the character string for number search 9.6. Displays data from the end.5 Corresponding function Number search Displays the [Parameter] screen.4 Context Menu Fig.6.6. 9.6. <2> Elapsed time 9. Starts and stops tracing.DIAGNOSIS 9.

the PMC signal trace screen cannot be displayed.6 Mode Signal data length (in bytes) Address Type PMC address or physical address Address Address for signal tracing of a specified address type Mask Bit Specify the bits of the signals that need not be traced. To specify a valid physical address.6. the signal trace function cannot be used. Refer to the " C language Programming Manual" (B61863E-1). and specify a valid memory address.6 [Signal Trace Parameter] Screen Fig.) The parameter settings become valid when the execution of signal tracing is selected. NOTE 1 While the signal analysis function is being used.DIAGNOSIS B-66234EN/04 9. 2 During online monitoring. starting tracing with an illegal memory address specified may result in a system error.9. the user needs to be familiar with PMC programming in C language.286 - . (The buttons of the signals to be traced are in the down state. CAUTION When the address type is physical address. 9. .6.

287 - . . and [Signal Trace Start] is selected on the [Set Up] screen for PMC parameters.7 Automatic Trace Function at Power-On If trace parameters are set.6.B-66234EN/04 9. tracing will start automatically when the power to the CNC is turned on.DIAGNOSIS 9.

<Parameter button> .DIAGNOSIS B-66234EN/04 9.7. Fig. 9.1 SIGNAL ANALYSIS The ladder signal status is sampled and displayed along with the time axis. Trigger conditions can also be set. Fig. 9. Click the <Parameter> button. Procedure 1.288 - . Select the [Signal Analysis] radio button and click the <OK> button.7. The [Select Function] screen of the trace function appears. Select [Diagnose] . The [Signal Analysis] screen appears.9.7.7 9.1(a) 2.[Trace].1(b) 3. The [Signal Analysis Parameter] screen appears.

and sampling starts. 9. When no grid line is displayed. when grid lines are displayed. the button is in the down state. The extension of signal analysis data files is SAN. and then displays waveforms.7. <4> Save As Saves signal analysis data in a file with a file name specified (extension: SAN). See Subsection 9. If the <Sampling> button is clicked during signal tracing." 2 When the automatic signal read function is executed at power-on. The <Sampling> button then enters the down state. <Sampling button> 5.289 - . To terminate sampling. <5> Grid line on/off Specifies whether to display grid lines.B-66234EN/04 9. . The color and line style of grid lines are set from the context menu which is displayed by right-clicking a displayed grid line.2 Toolbar <1><2><3> <4> <5> <6> <7> Fig. Maximum number of signals sampled simultaneously: 16 Sampling interval: 8 or 4 msec Maximum sampling period: 10 sec (when the sampling interval is set to 8 msec) 5 sec (when the sampling interval is set to 4 msec) 9. indicating "Signal Trace function is running. [Signal Analysis Parameter] screen.7. a message box appears. Set data on the [Signal Analysis Parameters] screen.6. which indicates that sampling is in progress.DIAGNOSIS 4.2 <8> <9> <1> Parameter <2> Start and stop of sampling NOTE 1 While the signal analysis function is being executed. the signal trace function cannot be used. 6. The button enters the up state. the button is in the up state. click the <Sampling> button again. the displayed button is in the down state.7. <3> Open File Reads a signal analysis data file. and sampling terminates. Click the <Sampling> button.

When the symbol format is selected. the button is in the down state. . <9> Search character string increase/decrease button Increases or decreases the search time in grid setting time units.DIAGNOSIS B-66234EN/04 <6> Symbol on/off Sets the display format of the trigger and sampling addresses. <7> Search Moves through the signal analysis area with a specified search time. <8> Text box for inputting the character string for which a search is to be made Specifies the search time.9. the button is in the up state.290 - . when the address format is selected.

9. <1> Sampling time <2> Condition <3> Trigger mode <4> Trigger address <5> Sampling start time <6> Sampling end time <7> The current mouse position is indicated as the time (msec) on the signal analysis display.3 <1> Status Bar <2> <3> <4> Fig.B-66234EN/04 9.3 <5> <6> <7> <1> to <6> are displayed when sampling terminates. [Executing] is indicated.7. During sampling.7.DIAGNOSIS 9.4 Context Menu Fig. 9.7.4 .291 - . 9.7.

Sets the signal waveform format. Scrolls to the end of the line.5 Corresponding function Sampling time search Displays the [Parameters] screen.7. Scrolls to the end of the signal analysis display. Scrolls the signal analysis display up by 1/2 page. Saves data with a name. Scrolls to the beginning of the line.5 Shortcut Keys Shortcut key [F3] [F4] [F5] [Ctrl]+[Shift]+[O] [Ctrl]+[Shift]+[A] [Ctrl]+[G] [Ctrl]+[R] [Ctrl]+[W] [Ctrl]+[Home] [Ctrl]+[End] PageUp PageDown [↑] [↓] [→] [←] [Home] [End] Table 9. Sets the grid line format. Scrolls to the right by one sampling interval (8 or 4 msec). Scrolls the signal analysis display down by one line. Scrolls to the left by one sampling interval (8 or 4 msec). Displays/does not display grid lines. Scrolls to the beginning of the signal analysis display. Scrolls the signal analysis display down by 1/2 page.9. Opens an existing signal analysis file.DIAGNOSIS B-66234EN/04 9.7. . Scrolls the signal analysis display up by one line.292 - . Starts and stops sampling.

1sec increments). indicating "No Trigger Address. with a PMC address or symbol.6 [Signal Analysis Parameter] Screen Fig.7. set one to 10 sec (in 0.6 Sampling Time Set the maximum sampling time. Condition Condition for starting sampling Start: Sampling start button on the toolbar Trigger-ON: Sampling start button + rising edge at the trigger address Trigger-OFF: Sampling start button + falling edge at the trigger address NOTE When Trigger-ON or Trigger-OFF is selected with no trigger address set." . When the sampling interval is 4 msec. When the sampling interval is 8 msec. a message box appears.293 - . 9. set one to five sec (in 0.DIAGNOSIS 9.7.1sec increments). Trigger Address Set the trigger bit address at which sampling starts.B-66234EN/04 9.

294 - . Table 9." Signal Address Set up to 16 sampling addresses with PMC addresses or symbols.6 Default Sampling Time Trigger Address Condition Trigger Mode Signal Address 10 sec Not set Start After Not set Once the settings are complete (the <OK> button is pressed). the trigger address and diagnosis address setting information is stored in the Windows registry on the disk. click the <RESET> button.DIAGNOSIS B-66234EN/04 Trigger Mode There is a buffer for holding data sampled for up to 10 seconds when the signal status is read at 8-msec intervals. (When the signal status is read at 4-ms intervals. . NOTE When About or Before is selected with the condition set to Start. a message box appears.) In trigger mode. Only: The signal status when the trigger address satisfies the trigger condition is read. and the previously made settings are restored in the list of the combo box. the read start and end points are specified. indicating "[About]/[Before] is illegal on [Start] selected.9. About: The signal status around the time at which the trigger address satisfies the trigger condition is read within the sampling time. the buffer can hold data sampled over five seconds. To reset the settings to the default values. After: The signal status after the trigger address meets the trigger condition is read until the sampling time elapses.7. Before: The signal status from when the <Sampling> button on the tool bar is pressed until the trigger address satisfies the trigger condition is read for up to the sampling time. the registry is read. When the dialog box is next opened.

peacock blue. dark yellow.7. Fig.DIAGNOSIS 9. purple. or 3 dots To reset the settings to the defaults. yellow.7 Line Color Fill Color Choose from the following 16 colors: Black. light blue.7 [Signal Analysis Format] Screen When [Signal Analysis Format] is selected from the context menu. light green. 9. white. 25% gray Line Size 1 dot.B-66234EN/04 9. 50% gray. 2 dots. blue. red.7. dark red.7.7 Default Line Color Fill Color Line Size Blue White 3 dots . Table 9. the [Signal Analysis Format] screen appears. click the <RESET> button. green.295 - . dark blue. pink.

white. or dashed line Scale When the sampling interval is 8 msec: 8 msec. light green. then [Signal Analysis Start] is checked on the [Set Up] screen for PMC parameters. purple. or 16 msec When the trigger mode is ONLY: 1 time. 16 msec. click the <RESET> button. . Fig.DIAGNOSIS B-66234EN/04 9. dark yellow. yellow. 2 times or 4 times To reset the settings to the defaults.8 Line Color Choose from the following 16 colors: Black. dark blue. green. 9.9 Automatic Signal Sampling Function at Power-On If sampling parameters are set. sampling will start automatically when the power to the CNC is turned on. 8 msec. 4 times) 9.296 - . Table 9.9.8 [Gridline Format] Screen When [Gridline Format] is selected from the context menu. 50% gray. 25% gray Line Style Solid line.8 Default Line Color Line Style Scale 50% gray Solid line 32 msec (16 msec.7. or 32 msec When the sampling interval is 4 msec: 4 msec. peacock blue. the [Gridline Format] screen appears. light blue. red. dark red.7. blue.7. pink. dotted line.7.

1 2 To clear the PMC area. Procedure 1 Select [Tool] .8 9. 9.DIAGNOSIS 9. this function should not be used.1 CLEARING PMC AREAS Addresses G. Fig. WARNING When PMC areas are cleared. CAUTION On PMC-SB7.297 - . R. When there are people near the machine.[Clear PMC Memory]. Y.B-66234EN/04 9. E Address is added below Initialized PMC memory. Clearing a PMC area may cause unpredictable machine operation. A.8. click the <OK> button. click the <Cancel> button. . special care must be taken.8. To cancel the clear operation. and S can be cleared. The [Clear PMC memory] screen appears. N.

click the <Cancel> button. special care must be taken.1 2 To activate the I/O Link.9. click the <OK> button. . this function should not be used. Fig.9.1 ACTIVATING THE I/O LINK Procedure 1 Select the [Tool] . Setting I/O module data may cause unpredictable machine operation.298 - . When there are people near the machine.DIAGNOSIS B-66234EN/04 9. The [I/O Link Restart] screen appears.9. WARNING When the I/O Link is activated. 9.[I/O Link Restart]. To cancel the activation of the I/O Link.9 9.

B-66234EN/04 9. "Setting Trace Parameters. the screen specifications of the signal trace function and signal analysis function of the PMC-SA5/SB5/SB6 are integrated to improve operability and functionality. and signal tracing terminates. Click the <Start> button. <Parameter> button 3.10. Fig. On the [Trace Parameter Setting] screen. To terminate tracing.299 - . . 9. See Subsection 9. The button enters the down state. Select [Diagnose] . set data. The [Signal Trace] screen appears.DIAGNOSIS 9." for details.10. The button enters the up state. Click the <Parameter> button.10 SIGNAL TRACE FUNCTION (PMC-SB7) For the PMC-SB7. The [Trace Parameter Setting] screen appears. 5.1 2.10. 9.1 Procedure 1. and signal tracing starts.[Trace]. <Start> button 4. click the <Start> button again.4.

Similarly. the range from the mark cursor position to the current position cursor. <14>Last trace result button Moves the cursor at the end of the trace result. When the button is in the down state. the button is in the up state. . when the address format is selected. <3> Symbol on/off button Sets the display format of the trigger and sampling addresses. [Mark position]. and [Range]. When the symbol format is selected.DIAGNOSIS B-66234EN/04 9. the <Trace start> button is in the down state. the mark cursor position.9. the current position cursor is displayed. * When the trace function is being executed. tracing is stopped. <12>Previous trace result button Scrolls the trace result display up by one page. <10>Search button Searches the trace display area for the specified time or frame number. When this button is in the up state.300 - . <2> Trace start button Starts or stops tracing. <13>Next trace result button Scrolls the trace result display down by one page. are displayed. <5><6> Zoom button Magnifies or reduces graphs. <8><9> Up-and-down replacement button Clicking the [UP] button replaces the trace result at the address cursor with the line immediately above. <11>First trace result button Moves the cursor at the beginning of the trace result. the button is in the down state. The display after replacement is held until the next execution of tracing.2 Toolbar <1><2><3><4><5><6><7><8><9> <10> <11><12><13><14> <1> Trace parameter setting button Displays the [Trace Parameter Setting] dialog box. <7> Grid line button Specifies whether to display grid lines. When the mark cursor and current position cursor overlap one another. <4> Marking button Marks the cursor position at that time and displays the mark cursor. clicking the [DOWN] button replaces the trace result with the line immediately below. At the bottom of the screen.10. tracing is executed.

<4> Trigger address The current setting of the sampling stop trigger address is indicated.DIAGNOSIS 9.3 <1> Status Bar <2> <3> <4> <5> <1> Sampling mode The current selected sampling mode is indicated. .10. <2> Resolution The current resolution setting is indicated. <3> Frame The current setting of the number of sampling frames is indicated.B-66234EN/04 9.301 - . <5> Sampling trigger address The current setting of the sampling trigger address is indicated.

RISING EDGE : Automatically stops at the rising edge of the trigger signal.4 Setting Trace Parameters Clicking the <Parameter> button displays the [Trace Parameter Setting] dialog box. Set the trigger mode for stopping tracing. TRIGGER : Automatically stops at a trigger. Signal Transition : Samples signal transition. Trigger Mode This item can be set when the tracing stop condition is [TRIGGER]. Trigger Address This item can be set when the tracing stop condition is [TRIGGER].10. FALLING EDGE : Automatically stops at the falling edge of the trigger signal. None : Does not stop automatically. BUFFER FULL : Automatically stops when the sampling buffer becomes full. . Time Cycle : Samples data in cycles.10. Stop Condition Set a tracing stop condition by selecting it from the list in the combo box.9. BOTH EDGE : Automatically stops when the trigger signal status changes. Fig. Set the trigger address at which tracing stops. 9.4 Sampling Set the sampling mode by clicking the corresponding radio button.DIAGNOSIS B-66234EN/04 9.302 - .

BOTH EDGE : Samples data when the trigger signal status changes. BOTH EDGE : Samples data when the sampling address signal changes. Set the trigger condition mode. New Parameter button Obtains the current PMC trace parameters. Initialization button Initializes the trace parameters in the PMC. Cancel Closes the dialog box without storing the settings. ON : Samples data when the trigger signal is on.B-66234EN/04 9.303 - . OFF : Samples data when the trigger signal is off. Details button Displays the [Trace Mode Details Parameter] dialog box. FALLING EDGE : Samples data at the falling edge of the trigger signal. Set the sampling condition. RISING EDGE : Samples data at the rising edge of the trigger signal. Sampling Trigger Mode This item can be set when the sampling mode is [Signal Transition] and the sampling condition is [TRIGGER].DIAGNOSIS Sampling Condition This item can be set when the sampling mode is [Signal Transition]. TRIGGER : Samples data when the sampling trigger condition is satisfied. . Set the address at which sampling is to be triggered. Sampling Trigger Address This item can be set when the sampling mode is [Signal Transition] and the sampling condition is [TRIGGER]. OK Stores the settings and closes the dialog box.

DIAGNOSIS B-66234EN/04 9.5(a) Resolution Sets the sampling resolution.10. 9. The default value is 8 msec.9.5(b) Time This item is displayed when [Time Cycle] is selected for the sampling mode.304 - .10. The valid data range of this item varies depending on the setting of [Resolution] and the number of signals to be sampled. The valid data range is displayed in the dialog box. . 9. The valid data range of this item varies depending on the setting of [Resolution] and the number of signals to be sampled. Setting range : 8msec to 1000msec The input value is rounded down to the nearest multiple of 8. The valid data range is displayed in the dialog box. Fig.5 Setting Details of Trace Mode Clicking the <Details> button displays the [Trace Mode Details Parameter] dialog box. Frame This item is displayed when [Signal Transition] is selected for the sampling mode. Set the sampling time.10. Set the number of samplings. Fig.

. set a small value. to check the signal changes before the trigger condition is satisfied. For example. set a large value. Set the ratio according to the purpose.DIAGNOSIS Stop Trigger Position This item is displayed when the tracing stop condition is [TRIGGER]. to check the signal changes after the trigger condition is satisfied.305 - . Example Graph display range when the sampling time is 10 sec and the sampling position is 10%: Trigger position <-1 sec-> <---| | -1 0 9 sec ----> | 9 (SEC) OK Stores the settings and closes the dialog box. Specify where the time at which the stop trigger condition is satisfied is placed during the entire sampling time (or count) with the ratio of the time to the sampling time (or count).B-66234EN/04 9. Cancel Closes the dialog box without storing the settings.

Change Address button Replaces the set address or symbol at the cursor with the contents of the edit box. Append Address button Adds the new sampling address entered in the edit box.10. Set a signal address with a bit address. The address or symbol is added to the list box.6 Setting Trace Parameters (Sampling Addresses) In the [Trace Parameter Setting] dialog box.306 - . If a byte address is entered.9. 9. . the address indicated by bits 0 to 7 of the entered address is input. Fig.6 Edit Box of Address Setting Enter the address or symbol of a signal to be sampled in the edit box and click the <Append Address> button. you can specify whether to use each set address as a sampling trigger signal. clicking the [Sampling Adr] tab displays the Sampling address setting screen. Delete Address button Deletes the set address or symbol at the cursor from the list box. Check the check box corresponding to a desired signal to use the signal as a sampling trigger signal.DIAGNOSIS B-66234EN/04 9. Up to 32 signal addresses can be set. Sampling Address List When the trace sampling mode is [Signal Transition] and the sampling condition is [ANY CHANGE].10.

307 - .DIAGNOSIS All Delete button Deletes all sampling addresses set in the list box.7 Context Menu . ↓ OK Stores the settings and closes the dialog box.B-66234EN/04 9. ↑ button Replaces the set address at the cursor with the address on the line immediately above. Cancel Closes the dialog box without storing the settings.10. 9. button Replaces the set address at the cursor with the address on the line immediately below.

10. Moves the current position cursor right. Moves the current position cursor left. Trace function start = 0 (0: Manual 1: Automatic) . Marking Zoom-in Zoom-out Moves the signal address up. tracing can automatically be started at power-on. Starts or stops tracing. Displays the [Parameter] screen. Scrolls the signal address display up. Displays the trace result on the previous page. Moves to the end of the trace result.8 Shortcut Keys Table 9.DIAGNOSIS B-66234EN/04 9. Displays or does not display grid lines.308 - . Moves the address cursor one line down.10. 9. Moves to the beginning of the trace result. This setting can be made on the [Set Up] screen for PMC parameters. Moves the address cursor one line up.8 Shortcut key [F1] [F3] [F4] [F5] [F7] [F8] [Shift]+[F4] [Shift]+[F5] [Shift]+[F6] [Shift]+[F7] [Ctrl]+[Home] [Ctrl]+[End] PageUp PageDown Ctrl + PageUp Ctrl + PageDown Ctrl + G [↑] [↓] [→] [←] [Home] [End] Function Help Searches for the time or frame. Moves the signal address down. Scrolls the signal address display down.9 Automatic Sampling Function at Power-On By setting a PMC parameter.9. Moves the address cursor to the end address. Displays the trace result on the next page. Moves the address cursor to the start address.10. Displays symbols.

.B-66234EN/04 10.COMMAND LINE EXECUTION FUNCTION 10 COMMAND LINE EXECUTION FUNCTION This chapter describes the command line execution function.309 - .

Opening an *.10.LAD file FANUC LADDER-III execution processing Importing and exporting source program files and data Importing and exporting source program files *.1 .COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10.LAD file .Compiling and decompiling an *. Command file .Converting a source program to a mnemonic file .LAD file .Closing an *.310 - .Converting a mnemonic file to a source program *.LAD file opened by another user Source program folder Fig.LAD file . compilation and decompilation.1 OUTLINE You can specify a batch command file as an argument of an executable file of FANUC LADDER-III to automatically perform operations such as input and output of a source program. 10. and conversion to a mnemonic file.

log You can specify the output destination of an execution log file with the /cmdlog option.cmd /cmdlog=D:\TEST LADDER\Sample. START /WAIT Fladder. NOTE To execute another command processing after completion of FANUC LADDER-III processing. If the /cmdlog option is omitted. execute the START command with the /WAIT option and call an executable file of FANUC LADDER-III. specify the /cmdfile option and then a command file name to automatically perform batch processing.exe /cmdfile=[Drive:][Path]command file name /cmdlog=[Drive:][Path]execution log file name Example) Fladder.log .exe /cmdfile=D:\TEST LADDER\Sample.cmd /cmdlog=D:\TEST LADDER\Sample.311 - .2 PROCEDURE Following an executable file of FANUC LADDER-III.TXT) is created on the same directory path as for the command file. Fladder.B-66234EN/04 10.exe /cmdfile=D:\TEST LADDER\Sample. an execution log file (COMMANDLOG.exe /cmdfile= [[Drive:][Path]command file name /cmdlog=[Drive:][Path]execution log file name Example) START /WAIT Fladder. Create the command file using a generalpurpose text editor in advance.COMMAND LINE EXECUTION FUNCTION 10.

LAD file to a mnemonic file.3 Function Opens an *. Closes an *.COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10.LAD file.10. . Converts the source programs of an *. Compiles an *. Converts a mnemonic file to a source program. Exports data to a file. Imports data from a file. Terminates command processing. Decompiles an *.312 - .LAD file.LAD file.3 COMMANDS Command FlOpen FlClose Compile DeCompile SrcToMnemonic MnemonicToSrc Inport Export End Table 10.LAD file.

1 Parameter COMMAND SPECIFICATIONS Opening an *.4. Note None 10. The changes made by command processing are stored as is.B-66234EN/04 10.2 Parameter Closing an *.4 10. Note None .4.COMMAND LINE EXECUTION FUNCTION 10.313 - .LAD File FlClose None Explanation Closes the ladder program for which commands have been executed.LAD File FlOpen [Drive:][Path]file name None Explanation Opens a ladder program for which to execute commands.

314 - .TXT) are created on the directory path specified for the /cmdlog option.If FANUC LADDER-III is installed with a non-Japanese language specified as the use language.10. "/lang=1" cannot be set. these logs are created on the same directory path as for the command file specified for the /cmdfile option. . /netcmt =0 : Outputs no net comment pointers. =1 : Use Japanese as the coil comment language.COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10. =1 : Checks function parameter numbers for duplication. . /multi =0 : Does not check function parameter numbers for duplication. If the /cmdlog option is omitted. /password =0 : Sets no passwords. /longsym =0 : Does not ignore too long strings of symbols. =1 : Outputs net comment pointers.4. /symbol =0 : Outputs neither symbols nor comments. =1 : Sets a password to permit display and a password to permit display and editing.TXT) and a map log (MAP. =1 : Compiles the file in the condense mode. =2 : Sets a password to permit display and editing. Explanation Compiles the open ladder program. =1 : Ignores too long strings of symbols. =1 : Outputs symbols and comments.3 Compiling an *.An error log (ERRORLOG. =3 : Sets a password to permit display. Note . string1 : String of a password to permit display (up to eight characters) string2 : String of a password to permit display and editing (up to eight characters) /lang =0 : Use English as the coil comment language.LAD File Compile [/condense=0 | 1] [/symbol=0 | 1] [/ longsym=0 | 1] [/netcmt=0 | 1] [/multi=0 | 1] [/password=0 | 1 | 2 | 3 [string1] [string2]] [/lang=0 | 1] Parameter /condense =0 : Compiles the file not in the condense mode.

LAD File DeCompile [/sysmerge=0 | 1 | 2] [/password= string] /sysmerge =0 : Merges no symbol/comment data. =2 : Memory card data is used for merging symbol/comment data. specify the password to permit display and editing.B-66234EN/04 10. .4. Note .When only a password to permit display and editing was specified during execution of compilation. .When only a password to permit display was specified during execution of compilation. specify the password to permit display.COMMAND LINE EXECUTION FUNCTION 10. . these logs are created on the same directory path as for the command file specified for the /cmdfile option.TXT) and a map log (MAP. Explanation Decompiles the open ladder program.When passwords to permit display and to permit display and editing were specified during execution of compilation. /password =string (up to eight characters) . specify the password to permit display and editing. =1 : The source program is used for merging symbol/comment data.4 Parameter Decompiling an *. If the /cmdlog option is omitted.An error log (ERRORLOG.TXT) are created on the directory path specified for the /cmdlog option.315 - .

5 Converting the Source Program of an *.A conversion log (FLMNE. "/mode=3" cannot be set.10. =1 : Converts data with in full option mode. =6 : Converts only message data.If FANUC LADDER-III is installed with a non-Japanese language specified as the use language. =4 : Converts only ladder program data. =3 : Converts only symbol and comment data. /file =[Drive:][Path]file name: : Specify the file name of a mnemonic file to be created. Explanation Converts the open ladder program to a mnemonic file.TXT) is created on the directory path on which the mnemonic file is created.4. =2 : Converts only title data.LAD File to a Mnemonic File SrcToMnemonic [/datatype=0 | 1 | 2 | 3 | 4 | 5 | 6] [/mode=0 | 1 | 2 | 3] [/file=[Drive:][Path]file name] Parameter /datatype =0 : Converts all source programs. =1 : Converts only system parameters. =5 : Converts only I/O module data. =2 : Converts data to label/subprogram format data. =3 : Converts data to Japanese comment format data. Note . /mode =0 : Converts data to P-G compatible data.COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10. . .316 - .

B-66234EN/04 10. =1 : Details warning messages.317 - .6 Parameter Converting a Mnemonic File to the Source Program MnemonicToSrc [/warning=0 | 1] [/file=[Drive:][Path]file name] /warning =0 : Does not detail warning messages. / file =[Drive:][Path]file name: :Specify the file name of a mnemonic file to be converted.TXT) is created on the same directory path as for the conversion source mnemonic file.4. .COMMAND LINE EXECUTION FUNCTION 10.A conversion log (FLMNE. Explanation Converts a mnemonic file to the open ladder program. Note .

Imports the message data file (MESSAGE). [Drive2:][Path2] Following the above parameter. This wildcard can be used more than once to represent characters. . Imports the system parameter file (SYSPARAM).LAD file already opened on FANUC LADDER-III. (Example) Import /Ladder=LEVEL1 D:\LAD_SRC Import /Ladder=P100 D:\LAD_SRC Import /Ladder=P* D:\LAD_SRC /Other=[Drive1:][Path1]file name Imports source files to a program already opened on FANUC LADDER-III. specify a subprogram number such as P1 or P100 for ***. An asterisk (*) represents zero or more characters. For [Drive1:][Path1]file name. or LEVEL3 for ***.#SS). /IOModule Imports the I/O module data file (IOMODULE). LEVEL2. .xxx).#LA or ***.318 - . A question mark (?) represents zero or one character.10. all ladder program files are imported.When only the /Ladder parameter is specified. enter a half-size space and specify the name of the file folder containing files to be imported.4.For a main program. Importing source files from the specified folder Import [/Title | /Syspara | /Message | /Symbol | /IOModule | /NetCmt | /Ladder =**] [/Other=[Drive1:][Path1]file name][Drive2:][Path2] Parameter /Title /Syspara /Message /Symbol Imports the title data file (TITLE). Imports the symbol and comment data file (XSYMBOL. /NetCmt Imports the net comment data file (NETCMT. specify the name of an *.Two types of wildcards can be used: a question mark (?) and an asterisk (*).7 Importing Data from the Specified File 1.xxx).For a subprogram. . . specify LEVEL1. .COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10. /Ladder=*** Imports a ladder program file (***.

.xxx”. /RomData Imports a ROM format file. ”SYSPARAM”. ”MESSAGE”. .#LA”.#SS” 2.Any data cannot be imported to a ladder program with a special password specified.If a source program file having the name of a file to be imported is found in the open ladder program. files cannot be imported. Importing data from the specified file Import [/MemData | /RomData | /HandyFile][Drive:][Path]file name Parameter /MemData Imports a memory card format file. [Drive:][Path]file name Specify the file name of a file to be imported. .Data can be imported only from a data file created with the same type as for the open ladder program.If the PMC type is different. Note . .xxx”. the source program file is overwritten with the imported file. Explanation Imports data from the file specified by [Drive:][Path]file name to the ladder program opened by the FlOpen command. imports the source program files to the ladder program. ”***.319 - . /HandyFileImports a Handy file format file. ”NETCMT.COMMAND LINE EXECUTION FUNCTION Explanation . . ”IOMODULE”.B-66234EN/04 10.The file name of each import source file must be the same as that of a format C file as shown below: ”TITLE”.When the name of a program already opened on FANUC LADDERIII is specified for the /Other option. . . Note .Any file cannot be imported to a program opened on another personal computer.Any source program file cannot be imported to a ladder program with a special password specified. imports all source files that can be specified with the above parameters from the specified folder. .When only [Drive2:][Path2] is specified with inputting no parameter. ”***.Imports source program files from the file folder specified by [Drive2:][Path2] to the ladder program opened by the FlOpen command. ”XSYMBOL.

specify a subprogram number such as P1 or P100 for ***. specify LEVEL1. /NetCmt Exports net comment data to the NETCMT. Exports system parameters to the SYSPARAM file. . Exports symbol and comment data to the XSYMBOL.xxx file. .320 - . [Drive2:][Path2] Following the above parameter. . enter a half-size space and specify the name of the export destination file folder.4. An asterisk (*) represents zero or more characters. or LEVEL3 for ***.LAD file already opened on FANUC LADDER-III. For [Drive1:][Path1]file name. Exports message data to the MESSAGE file. .Two types of wildcards can be used: a question mark (?) and an asterisk (*). specify the name of an *.#SS files.8 Exporting Data to the Specified File 1.10.xxx file. (Example) Export /Ladder=LEVEL1 D:\LAD_SRC Export /Ladder=P100 D:\LAD_SRC Export /Ladder=P* D:\LAD_SRC /Other=[Drive1:][Path1]file name Exports source files from a program already opened on FANUC LADDER-III. . /IOModule Exports I/O module data to the IOMODULE file. A question mark (?) represents zero or one character.#LA and ***.When only the /Ladder parameter is specified.For a subprogram. /Ladder=*** Exports a ladder program to ***. Exporting source files to the specified folder Export [/Title | /Syspara | /Message | /Symbol | /IOModule | /NetCmt | /Ladder =** ] [/Other=[Drive1:][Path1]file name][Drive2:][Path2] Parameter /Title /Syspara /Message /Symbol Exports title data to the TITLE file. This wildcard can be used more than once to represent characters.For a main program.COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10. LEVEL2. the entire ladder program is specified.

exports all source files that can be specified with the above parameters to the specified folder. the file is overwritten with the exported file. . . . Exporting data to the specified file Export [/MemData | /RomData | /HandyFile] [Drive:][Path]file name Parameter /MemData Exports a memory card format file. Note . /RomData Exports a ROM format file.When only [Drive2:][Path2] is specified with inputting no parameter.Exports source program files from the ladder program opened by the FlOpen command to the file folder specified by [Drive2:][Path2]. Explanation Exports data from the ladder program opened by the FlOpen command to the file specified by [Drive:][Path]file name.B-66234EN/04 10. .If a file having the name of a data file to be exported is found in the export destination file folder.321 - . Note .A format C source file name is attached to each exported file. 2.Any source program file cannot be exported from a ladder program with a special password specified.When the name of a program already opened on FANUC LADDERIII is specified for the /Other option. exports source program files from the ladder program to the file folder specified by [Drive2:][Path2].COMMAND LINE EXECUTION FUNCTION Explanation .Any data cannot be exported to a program opened on another personal computer. the file is overwritten with the exported file. [Drive:][Path]file name Specify the name of an export destination file. . . /HandyFileExports a Handy file format file.If a file having the name of a source program file to be exported is found in the export destination file folder.

Note None .9 Parameter Terminating Command Processing End None Explanation Terminates command processing.322 - .10.4.COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10.

000. <2> Imports source program D:\LAD_SRC\LEVEL1. <8> Saves the ladder program into D:\SB6_LAD\SB6_A.=========================================== FlOpen D:\SB6_LAD\SB6_A.LAD.#LA. <6> Executes compilation in condense mode with the symbol and comment output option specified.MEM. <7> Exports the ladder program to memory card format file D:\SB6_MEM\SB6_A. Example) <1> Opens ladder program D:\SB6_LAD\SB6_A.5 SAMPLE COMMAND FILE An example of programming a command file is shown below. <3> Imports source program D:\LAD_SRC\LEVEL2. FANUC LADDER-III Batch Command File .B-66234EN/04 10. <4> Imports source program D:\LAD_SRC\P15. Specify the command procedure for the above processing as follows: .LAD and closes it.#LA.=========================================== .MEM FlClose End .#LA. <5> Imports symbol and comment source program D:\SYMBOL_SRC\XSYMBOL.323 - . .COMMAND LINE EXECUTION FUNCTION 10.LAD Import /Ladder= LEVEL1 D:\LAD_SRC Import /Ladder= LEVEL2 D:\LAD_SRC Import /Ladder=P15 D:\LAD_SRC Import /Symbol D:\SYMBOL_SRC Compile /condense=1 /symbol=1 Export /MemData D:\MEMCARD\SB6_A. <9> Terminates batch processing.

processing stops at the point where the invalid item is found. command-name Indicates the name of a command. command-line-number Indicates the number of a line in the command file.10. .324 - .If an invalid command or nonexistent file or file folder is specified.7 EXECUTION LOG FILE An execution log is recorded in the following format: command-file-name command-line-number name:[/parameter-name] command- message-string Example) test.COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10. [/parameter-name] Indicates the name of a parameter. message-string Outlines the error or execution status.cmd line 2 DeCompile:[/sysmerge] Command error command-file-name Indicates a command file name. 10.6 NOTE .

A:E-6013 Second parameter is different from /Other. The error occurred in the command execution. A:E-6014 There is no export file. The destination folder name is not correct. The parameter value of the command is not correct. A:E-6017 Import file name is illegal. In import and the export command. Command parameter is excessively specified. Batch command completed Message A:E-6007 Command file was not found. The source file name is not correct. A:E-6020 Memory card format file not found. Confirm the parameter value. Open the specified ladder program. parameter is different from “/Other” in specified for the second parameter. A:E-6016 Export folder name is illegal. Insufficient password.LAD file open. Completed.325 - .LAD file close. A:E-6012 Too many parameters. . The memory card format file does not exist in the *. Delete any unnecessary parameters.LAD file. A:E-6011 Parameter is illegal. The error occurred in the *. The source folder name is not correct.B-66234EN/04 10.COMMAND LINE EXECUTION FUNCTION Table 10. The destination file name is not correct. A:E-6019 [/Other]There is no program. Confirm the command file pass. Beginning of command file execution. A:E-6018 Import folder name is illegal. A:E-6008 Command sentence is illegal.LAD file. A:E-6015 File name is illegal. /Other The specified ladder program has not been opened. A:E-6021 Password is insufficient "Command File Name" batch command start. The error occurred in the *. The command completed normally.7 Cause/action The command file specified by /cmdfile is not found. The command name is not correct. Execute the compilation. The export file does not exist in the *. A:E-6009 *. Batch command completed. Command error. A:E-6010 LAD file closing error.LAD file opening error.

.326 - .CONVERTING SEQUENCE PROGRAMS B-66234EN/04 11 CONVERTING SEQUENCE PROGRAMS This chapter describes how to convert DOS-version FANUC LADDER-II and FANUC LADDER-III sequence programs.11.

LAD Format File Enter the name of the Windows-version sequence program you want to create by the conversion. select [Data File → LAD File].1.327 - . The [Conversion into LAD Format File] screen appears. click the <OK> button. .LAD.B-66234EN/04 11. 11. Use the extension . however.1 Procedure 1 2 Select [Tool] – [Data Conversion.CONVERTING SEQUENCE PROGRAMS 11. 11.1.1 2-1 Input the required data. 3 To convert.1 CONVERTING FROM DOS-VERSION FANUC LADDER-II This section describes how to convert DOS-version sequence programs to the Windows version. To abandon the conversion.] On the pull-down menu. Program Name Enter the name (folder name) of the DOS-version sequence program you want to convert. click the <Cancel> button. You can omit the extension. Fig.

1(c) If an LAD file that has the read-only attribute is specified. and data conversion is terminated: Fig. the following error messages are displayed. 11.1. 11.1(d) Fig.328 - . and data conversion is terminated: Fig.1. 11.1.1(e) .CONVERTING SEQUENCE PROGRAMS B-66234EN/04 If an LAD file opened by another user is specified.1(b) Fig.1. the following error messages are displayed. 11.11.

1 Procedure 1 2 Select [Tool] – [Data Conversion. . The [Conversion into Program Data File] screen appears. NOTE 1 For conversion to FANUC LADDER-II sequence programs.B-66234EN/04 11.CONVERTING SEQUENCE PROGRAMS 11. You can omit the extension. however. 2 Any sequence program on the PMC-SB7 cannot be converted to a sequence program of FANUC LADDER-II. select [Data File ← LAD File]. select FormatC for Program Format.LAD. 11. Fig. click the <OK> button. 11.2.1 2-1 Input the required data.] On the pull-down menu. To abandon the conversion. LAD Format File Enter the name of the Windows-version sequence program you want to convert.2. click the <Cancel> button. 3 To convert. Program Format Select format A.2 CONVERTING TO DOS-VERSION FANUC LADDER-II This section describes how to convert Windows-version sequence programs to the DOS version. or C. Program Name Enter the name (folder name) of the DOS-version sequence program you want to create by the conversion. Use the extension .329 - . B.

1 PMC from which conversion is possible PMC .3.3.SA1 / SA3 / SA5 / SB3 / SB4 / SB5 / SB6 / SB7 SC3 / SC4 PMC . However. and the range of addresses vary from one PMC model to another.1 Conversion by Changing System Parameters For the following PMC models.3 CONVERTING SEQUENCE PROGRAMS BETWEEN PMC MODELS Converting a mnemonic file enables it to be used as a sequence program for another PMC model.11.PA1 / PA3 / SB5 / SB6 PMC .330 - . 11.NB / NB2 / NB6 CNC model FS16/18/20-B FS16/18/21-C FS16/18/21i-A FS16/18/21i-B Power Mate-D/F/H Power Mate i-D/H FS15-B FS15i NOTE It is impossible to convert step sequence data. the function instructions that can be used. Table 11. changing the system parameters in a mnemonic file enables a sequence program for another PMC to be edited. the format of the system parameters.CONVERTING SEQUENCE PROGRAMS B-66234EN/04 11. .

On FANUC LADDER-III. . and open a new source program. In the resulting mnemonic file. 3.CONVERTING SEQUENCE PROGRAMS Example of conversion (PMC-SB3 → PMC-SC3) 1. using a general-purpose text editor.1. return the values of system parameters to the previous ones. Convert the mnemonic file modified in 2. On the Edit System Parameter screen. "MNEMONIC FILE SAMPLE". On FANUC LADDER-III. 4. Mnemonic file to be converted (PMC-SB3) %@A %@0 2 BCD 3 NO 4 PMC-RB3 7 100 % %@1 01 ABC-KIKAI 02 S-DRILL : : % %@5 X000 1 0 1 ID16C Y008 1 0 4 OD32A % %@E Mnemonic file to be created by conversion (PMC-SC3) %@A %@0 2 BCD 3 NO 4 PMC-RC3 5 000000 6 50 7 100 % %@1 01 ABC-KIKAI 02 S-DRILL : : % %@5 X000 1 0 1 ID16C Y008 1 0 4 OD32A % %@E 2. change the settings of system parameters to PMC-SC3.331 - . 5. see Subsection 6.1.B-66234EN/04 11. into the source program opened in 3. set PMC-SC3 as the device. Changing system parameters NOTE For an explanation of the setting items of the system parameter section of each model. and convert the source program to be converted into a mnemonic file.4. "Parameter" in Section 6. set PMC-SB3 as the device.4.

Refer to the applicable programming manual for each individual model for a detailed explanation about how to change the range of their addresses.1 ZPY.0 ZPX. the range of addresses varies from one model to another. and I/O module data) of a sequence program usable as data for another sequence program. [Example: Making symbol and comment data for the PMC-SB usable for with PMC-SC3] %@A %@0 2 BCD 3 NO 4 PMC-RB 7 100 9 YES % %@1 : : % %@2 X000.11.M % : : % %@E Insert . symbols.332 - .M X000. However. ladders. messages.3.M X000.2 Using System Program Data for Another Program The following method makes the data (title.1 ZPY.CONVERTING SEQUENCE PROGRAMS B-66234EN/04 11. comments.M % : : % %@E %@A %@0 2 BCD 3 NO 4 PMC-RC3 5 000000 6 50 7 100 % %@1 : : % %@2 X000.0 ZPX.

ERROR MESSAGES 12 ERROR MESSAGES This chapter describes the error messages that may be displayed by FANUC LADDER-III.B-66234EN/04 12.333 - . .

1.1 Function Symbols The function for which an error occurred is represented using one alphabetic character.1 ERROR MESSAGE FORMAT FANUC LADDER-III outputs error messages in the following format: Function symbol:Classification-Four-digit-code Error message character strings 12.12. Function symbol Function name Function screen Create new program Open program Update program Save Import Export Data conversion Edit title Edit I/O module Edit system parameter Edit ladder Ladder monitor Edit symbol/comment Edit message Print Print preview Compile Decompile Mnemonic conversion Source program conversion Load from PMC Store in PMC Backup Signal status PMC parameter timer PMC parameter counter PMC parameter keep relay PMC parameter data table PMC parameter setting PMC alarm status PMC status Signal trace Signal analysis Run program Stop program Communication I/O Link start Clear PMC area A File B C D E F G H I J K L Title editing I/O module editing System parameter editing Ladder/step sequence editing Symbol/comment editing Message editing Print Compile Decompile Mnemonic editing Input/output N Online .ERROR MESSAGES B-66234EN/04 12.334 - .

B-66234EN/04 12. or in which processing is stopped State in which processing continues Warning with results produced.2 Message Classification A message type is represented using one alphabetic character.335 - .ERROR MESSAGES 12. but in which the results are unpredictable Type No. but cannot continue processing due to a Fatal error reason such as there being an invalid user program State in which processing continues but Error with no results produced.1. 2xxx 5xxx 3xxx 6xxx 4xxx 7xxx F E W . Classification Description State in which the system is operational.

a program of FORMAT-A/B was specified.(Memory card -> ROM) Hit any key Cannot create file **** The **** file could not be created. Check the models supported by this system. FORMAT-A/B cannot be used with FANUC LADDER-III. Check the entered source program name. A file cannot be output due to there being insufficient disk capacity. A specified path is not found. A:E-3124 Cannot create new program **** A:E-3125 Illegal path of source program name A:E-3126 A:E-3127 A:E-3128 A:E-3130 A:E-3131 A:E-3132 A:E-3133 A:E-3134 A:E-3135 A:E-3136 A:E-3137 A:E-3138 A:E-3139 A:E-3140 A:E-3141 Source program type is different Mismatched password **** file read error **** file read error. The **** file cannot be read. An entered source program cannot be created.ERROR MESSAGES B-66234EN/04 12. Some system files (****. Illegal source program name Illegal **** source program name Not found file Not found **** PMC-OS file . and then the free up space on the disk. The **** file cannot be opened.1 ERROR MESSAGES File Cause/action Error code Message A:F-2000 Insufficient memory A:F-2001 Insufficient disk space This data can not be handled at this A:F-2004 version of FAPT LADDER A:F-2005 A:F-2006 A:F-2007 A:F-2008 A:F-2009 A:F-2010 A:E-3120 A:E-3121 A:E-3122 Source program has wrong file Not found **** file Not found **** Source program Cannot open **** file Cannot close **** file **** Source program broken Enter program name The source program does not exist PMC model file is not found The source program includes an invalid file or does not include a necessary file.2. Reinstall. A source program for an unsupported model was entered. A source program cannot be created if a folder with the same name already exists. The **** file cannot be closed. Convert the program by using the data conversion function of the [Tool] menu.2 12. Program conversion error. Hit any key **** file open error **** file close error insufficient disk error Invalid option initialized. Enter another program name.336 - .12. The option file was initialized because its data was destroyed. Terminate the system. No source program is entered. Check the file configuration of the source program. The **** file cannot be read.(**** file was updated.TBL) are not found.(ROM -> Memory card) Hit any key Program conversion error. Enter the name of the desired source program. In source program copy operation.

The entered module does not exist. The **** file cannot be closed. Hit any key File write error. Since the timer cannot be used. The I/O module file (IOMODULE) or control file (CONTROL) cannot be written to. Hit any key. Hit any key File write error. Check the input range. Check if an output module is entered in address X. Specify an existing folder as the export destination for a user file. Select all the data files. Check the usable modules.3 I/O Module Editing Message File read error. ladder diagrams. A file access error occurred. the status bar display cannot be updated. Deselect the ladder file from export targets. Hit any key Cause/action The title file (TITLE) of a source program cannot be read. Error code A:E-3143 A:E-3144 A:E-3145 A:E-3146 A:E-3147 A:E-3148 A:E-6000 A:E-6001 A:E-6002 A:E-6003 A:E-6004 A:E-6005 A:E-6006 A:W-7000 A:W-7001 No timer available The **** file cannot be written to. Cause/action The I/O module file (IOMODULE) of a source program cannot be read. and subprograms to import a net comment. FANUC LADDER-III can be executed normally. Deselect the ladder file from import targets. Check the input range. Hit any key Input data invalid Appointed Group not exist Appointed Base not exist Appointed Slot not exist Appointed ID Code not exist Input key not used Address appoint illegal This address does not allow the entered module to be used. or if an input module is entered in address Y. Ilegal folder name PMC type is different Export Ladder File is protected Import Ladder File is protected Export Sub program File is protected Import Sub program File is protected Fail to delete file Net comment can be selected when all data is selected Cause/action The **** file cannot be opened. the PMC model of the import source must match that of the open program.2 Title Editing Message File read error. A file access error occurred. Hit any Key File I/O error. Error code C:E-3021 C:E-3022 C:E-3023 C:E-3024 C:E-3025 C:E-3026 C:E-3027 C:E-3028 C:E-3030 .337 - . Deselect the sub-program file from export targets. When an LAD file is imported. Deselect the sub-program file from import targets.2. Check the input range. 12.B-66234EN/04 12. Check the input method. Error code B:E-3020 B:E-3021 B:E-3022 12. Check whether the file you attempt to delete is used with another system. The title file (TITLE) or control file (CONTROL) of a source program cannot be written to.ERROR MESSAGES Message Cannot open file Cannot close file File I/O error **** file I/O error Unknown PMC series **** file write error.2.

or slot.5 Ladder/Step Sequence Editing Message Cannot read **** file Cannot write **** file Cannot seek **** file Illegal source code Buffer size over Number of nest branch too big Number of branch too big Cause/action Error code E:F-2100 E:F-2101 E:F-2102 E:E-3200 E:E-3201 E:E-3202 E:E-3203 . Check whether this poses a problem. base. base.2. base. Reenter by specifying slot 0. base. I/O Unit-A and I/O Unit-B cannot be specified in the same group. and slot are set more than once. set the following addresses: Key input address.338 - . appoint Invalid data except '0' is specified at the slot of * as I/O UNIT B Not Module Module Data Delete Error Get Module Data Error Set Module Data Error Get Module Comment Data Error Set Module Comment Data Error Module Comment Data Delete Error Channel Data Delete Error The same group base and slot are already specified B-66234EN/04 C:E-3032 C:E-3033 C:E-3034 C:E-6011 C:E-6021 C:E-6031 C:E-6032 C:E-6041 C:E-6042 C:E-6043 C:E-6050 C:W-4020 C:W-4021 Cause/action A module is already set in the entered group. Specify a different group. base. The same group. A module is already set in the entered group. Invalid data except '0' is specified at the base of I/O UNIT B Both I/O UNIT-A and UNIT-B are C:W-4022 specified in the same group Both I/O UNIT-B and CONNECTION C:W-7023 UNIT are specified in the same group 12. Hit any key Invalid value Input data invalid Operater panel address error When the use of the FS0 operator's panel is set. and slot. The same group. Hit any key File write error. The I/O Unit-B module can be set in base 0 only. Check the usable channels. LED bit image address Cause/action The system parameter file (SYSPARAM) of a source program cannot be read.ERROR MESSAGES Error code Message The same group base and slot are already specified Invalid Channel No. Error code D:E-3020 D:E-3021 D:E-3022 D:E-3023 D:E-3024 12. key bit image address.4 System Parameter Editing Message File read error. and slot cannot be set more than once.2. The system parameter file (SYSPARAM) or control file (CONTROL) of a source program cannot be written to. LED output address. and slot.12. I/O Unit-B (power-on/off information) can be set in slot 0 only.

The communication to PMC is not ready. By loading. Convert the model with the offline function. Start communication. The size of a ladder being edited exceeded the writable Ladder size over (PMC) size on the PMC. PMC type unmatch.ERROR MESSAGES Message Size of table buffer too big Unconnected step sequence diagram Selected branch error Parallel branch error Syntax error Step line syntax error Transition line syntax error Cannot insert Cannot make diagram Horizontal line illegal Jump forward check error Check incomplete error Chart sequence error Chart start code error Chart end code error Jump close error Horizontal line duplicate error Branch unconnected error Branch sequence error Cannot copy diagrams Cannot move diagrams Illegal specified position Strings not Found Step Number Duplicate Error Label Number Duplicate Error Cannot delete temporary file Same sub-program name exists Input invalid Expected address Too deep nesting of sub-program Illegal file name Sub-program already entried Cannot delete program Cannot change data Program data error.339 - . Cause/action Error code E:E-3204 E:E-3205 E:E-3206 E:E-3207 E:E-3208 E:E-3209 E:E-3210 E:E-3211 E:E-3212 E:E-3213 E:E-3214 E:E-3215 E:E-3216 E:E-3217 E:E-3218 E:E-3219 E:E-3220 E:E-3221 E:E-3222 E:E-3223 E:E-3224 E:E-3225 E:E-3226 E:E-3227 E:E-3228 E:E-3229 E:E-3230 E:E-3231 E:E-3232 E:E-3233 E:E-3234 E:E-3235 E:E-3236 E:E-3237 E:E-6035 E:E-6036 E:E-6037 E:E-6041 E:E-6042 E:E-6044 E:E-6045 E:E-6046 The size of a sequence program exceeded the size specified by an option. or restoring a program. storing. so processing An alarm occurs on PMC cannot be continued. on the PMC. An alarm was issued on the PMC. Cannot create temporary file. Program size error (OPTION). ensure a match with the program on the status=**** PMC. Reduce the size of the ladder being Error status = **** edited. Reduce the size of the sequence program.B-66234EN/04 12. Reset the alarm on the PMC. A program being edited does not match the program The program is not corresponding(PMC). .

Check that JMP is correctly paired with JMPE (SUB30).340 - . Create a sub-program. A ladder is destroyed. The method of using function instruction COM (SUB9) is incorrect. Change the sub-program number. END3. The method of using function instruction JMP (SUB10) is incorrect. and END is correct. Create function instructions CALL and CALLU on the second level of a ladder or in a sub-program. ensure a match with the program on the PMC. Alternatively. The same label number already exists. DUPLICATE SUB PROGRAM NOTHING END FUNCTION NOTHING SP FUNCTION MISSING LBL COUNT OVER LBL NO. or restoring a program. Check that SP is paired with SPEED correctly. CALL and CALLU cannot be created between COM and COME. Check if the ladder data being edited is correct. and END are incorrect. END2.ERROR MESSAGES Error code E:E-6047 Message An alarm occurs on PMC Error status = **** Ladder data error (PMC). By loading. Ensure that JMPB is not inserted between COM and COME. so processing cannot be continued. also create specified function instruction LBL between COM and COME. Error status = **** OBJECT BUFFER OVER 1ST LEVEL EXECUTE TIME OVER COM FUNCTION MISSING B-66234EN/04 E:E-6048 E:E-6051 E:E-6053 E:E-6054 Cause/action An alarm was issued on the PMC. Add the END instruction. Reduce the number of labels. Change the label number. Reduce the amount of ladder data.12. Function instructions END1. storing. Check that COM is paired with COME (SUB29) correctly. No jump can be made beyond COM and COME. END3. Function instructions CALL and CALLU are incorrect. E:E-6055 JUMP FUNCTION MISSING E:E-6056 E:E-6057 E:E-6058 E:E-6059 E:E-6060 END FUNCTION MISSING PROGRAM NOTHING LADDER BROKEN COIL NOTHING CALL CALLU FUNCTION MISSING E:E-6061 COM FUNCTION MISSING (CALL SP) E:E-6062 JMP FUNCTION MISSING (SP) E:E-6063 E:E-6064 E:E-6065 E:E-6066 E:E-6067 E:E-6068 E:E-6069 E:E-6070 SUB PROGRAM MISSING SP NO. A program does not match the program on the PMC. Function instruction JMPB is found between function instructions COM and COME. END2. Function instruction LBL specified by JMPB is not found. The sequence program is excessively large. The method of using function instruction JMP (SUB10) in a sub-program is incorrect. Add the LBL function instruction. The same sub-program number already exists. so that it cannot be updated. DUPLICATE LBL FUNCTION NOTHING (JMPB) E:E-6071 COM FUNCTION MISSING (JMPB) . Check that the order of END1. Reenter the ladder. The method of using function instruction SP is incorrect. Function instruction CALL or CALLU is found between function instructions COM (SUB9) and COME. Check that JMP is paired with IMPE (SUB30) correctly.

Alternatively. A jump cannot be made to a point between COM and COME. Connect the function instruction correctly. Connect the horizontal line of the net. Add a relay or coil. An unnecessary relay or coil is set. The online edit/input/output function (sequence program load/store) is protected. Check the keep relay. Error status = **** The program is not corresponding Allocate conventional memory. Create function instruction LBL at the second level of a ladder. loading.341 - . or by storing a correct program. Program read error. Reenter the ladder. Set the parameters. is not specified at the second level of a ladder.B-66234EN/04 12. specified by JMPC.ERROR MESSAGES Message JMPB FUNCTION MISSING LBL FUNCTION NOTHING (JMPC) Cause/action The JMPB instruction allows a jump to be made to a sub-program only. E:E-6160 E:E-6183 This function is protected. INPUT NET TOO LARGE A selected program does not match the program in PMC memory. Specified function instruction LBL is found between function instructions COM and COME. Delete the relay or coil. Ensure that LBL is not inserted between COM and COME. Ensure that a jump is made to a point within a sub-program. Check the keep relay. but an attempt was made to update or restore it. The signal status is write-protected. Check the keep relay. Add function instruction LBL. A relay or coil is missing. Ladder data write error. E:E-6187 E:E-6197 Write protect. ensure a match with the program in PMC memory. Error code E:E-6072 E:E-6073 E:E-6074 COM FUNCTION MISSING (LBL) E:E-6075 JMPC FUNCTION MISSING E:E-6076 E:E-6080 E:E-6090 E:E-6092 E:E-6093 E:E-6094 E:E-6095 E:E-6096 E:E-6097 E:E-6100 E:E-6101 E:E-6102 E:E-6111 E:E-6115 E:E-6150 E:E-6152 E:E-6154 E:E-6155 E:E-6156 LBL FUNCTION MISSING (JMPC) LADDER ILLEGAL RELAY OR COIL FORBIT HORIZONTAL LINE ILLEGAL FUNCTION LINE ILLEGAL RELAY OR COIL NOTHING VERTICAL LINE ILLEGAL PARAMETER NOTHING ADDRESS NOT DETECTED NET TOO LARGE PLEASE COMPLETE NET LARGE NET APPEARED ERROR NET FOUND PARA NO. Modify the error net. Not enough program memory. Function instruction JMPC is not specified in a subprogram. By specifying. Create function instruction JMPC in a subprogram. Reduce the size of the net being edited. Connect the vertical line of the net. Program read error. RANGE ERR Ladder diagram has not been modified. Reduce the size of the net. . A ladder is incorrect. The ladder diagram is not modified. Function instruction LBL. Set an address. The parameters of a function instruction are missing. Function instruction LBL. Display of the data table control screen is protected. specified by function instruction JMPC. Temporary file load error. also create function instruction JMPC between COM and COME. The net being edited has become larger than the edit buffer. is not found.

0. no coil is instruction which needs the coil.). A source file containing I/O module data is missing. Error code Message G:E-6000 Specify A address. I/O module read error. a period (. The **** source program is not found. **** file not found **** Source program format is different. There is no coil in the functional For a function instruction that requires a coil.2. type of program is included.6 Message Editing Cause/action Specify an A address like A0.2.ERROR MESSAGES Error code E:E-6362 Message Ladder diagram on the PMC side is being edited now. Try another word Only alphabetical and numerical A password including other than alphanumeric characters are allowed characters was entered. and digits 0 to 9. Try another password.7 Print Cause/action Error code Message H:F-2005 Source program has wrong file H:F-2008 Cannot open **** file 12. An entered password does not match the set password. Illegal range data. Title read error. System parameter read error.12. A source file containing system parameter data is missing.342 - . When the PMC model is PA3. The results of compilation could not be written. Cause/action B-66234EN/04 12. **** Source program not found. . full-size characters cannot be used. The format of the source program is FORMAT-A. G:W-7000 KANJI is not allowed 12. The characters you can use for addressing are the letter A. Verification error The source program could not be read. **** file read error. set. The maximum allowed A address is exceeded.2. Cause/action Error code I:F-2100 I:F-2101 I:E-3100 I:E-3101 I:E-3102 I:E-3103 I:E-3104 I:E-3105 I:E-3106 I:E-3107 I:E-3108 I:E-3109 I:E-3110 I:E-3111 I:E-3112 I:E-3200 I:E-3201 This word can not be used as password. An instruction that cannot be handled with a selected There is an undefined instruction.8 Compile Message Not enough disk space Out of memory **** read error **** write error **** Source program name illegal. A source file containing title data is missing. G:E-6001 G:E-6002 Illegal address data. An invalid source program name was specified.

No sub-program can be called from a level other than the second level of the main program. In a parameter of the **** instruction. The size of LADDER program is too large. An illegal program number is specified for the **** instruction. I:E-3270 I:E-3271 I:E-3272 I:E-3273 I:E-3274 I:E-3290 I:E-3291 I:E-3292 I:E-3293 I:E-3310 I:E-3211 I:E-3312 . An instruction is destroyed and unrecognizable. a program number that does not match the file name is specified. The number of divisions of the second level of the main program exceeded the maximum allowable value (99). At the end of the first level. The contents of a ladder program are empty. JMPC is an instruction for making a jump from a subprogram to the second level of the main program. There is no END2 instruction. no instruction can be specified. In a parameter of the sub-program start instruction SP. so that the ladder cannot be executed. LADDER execution time at the 1st level is too large. SPE instruction can not be used in the main program. SPE cannot be used with a main program. SP is the sub-program start instruction. a label number outside the specifiable range or an address other than a label number is specified. SP instruction is detected in the subprogram. a numeric value outside the specifiable range is specified. the CALL instruction cannot be used. Reduce the first level or increase the value of the system parameter by specifying a ladder execution time ratio. SPE is the sub-program end instruction. After SPE. JMPC cannot be used with a main program. At the end of the second level. No sub-program can be called from a level other than the second level of the main program. SP is the sub-program start instruction. There is no END3 instruction. There is no SPE instruction at the bottom of the subprogram.ERROR MESSAGES Message The **** parameter is out of range. The execution of the first level of the main program takes an excessively long time. SPE is the sub-program end instruction. There is no LADDER program. SP cannot be used with a main program. So. SP cannot be specified in the middle of a sub-program. There is no SP instruction at the top of the subprogram. Program number is different from program name. There is no END1 instruction. The size of a ladder program exceeds the maximum specifiable size of a selected type of program. so that the ladder cannot be executed. End a sub-program with the SPE instruction used to specify the end of a sub-program. the CALLU instruction cannot be used. the END1 instruction is missing. In a parameter of the **** instruction. The END1 or END2 instruction is required. the END2 instruction is missing. a program number outside the specifiable range or an address other than a program number is specified. CALL instruction can not be used excluding the 2nd level main program. SP instruction can not be used in the main program. So. the END3 instruction is missing.B-66234EN/04 12. Reduce the size of the second level or increase the value of the system parameter by specifying a ladder execution time ratio. JMPC instruction can not be used in the main program. Error code I:E-3220 I:E-3221 I:E-3222 I:E-3223 I:E-3250 I:E-3251 I:E-3252 I:E-3253 I:E-3254 The number of division of LADDER exceeds 99. LADDER program is broken. LADDER program exists beyond SPE instruction.343 - . Cause/action In a parameter of the **** instruction. At the end of the third level. Start a sub-program with the SP instruction used to specify the start of a sub-program. An illegal label number is specified for the **** instruction. CALLU instruction can not be used excluding the 2nd level main program.

The label **** for indicating the jump destination of a JMPB instruction cannot be found. the CALLU instruction cannot be used. the same label number **** is defined. The END2 instruction is used at a level other than the second level. Between a JMP instruction for specifying a jump start position and a JMPE instruction for specifying a jump end position. the COME instruction for ending a control range cannot be used. no instruction can be specified. The END3 instruction is used at a level other than the third level. After END. After END1. the COME instruction for ending a control range cannot be used. If a COM instruction control range is not started.ERROR MESSAGES Error code I:E-3313 I:E-3314 I:E-3315 I:E-3316 I:E-3317 I:E-3318 I:E-3319 I:E-3320 I:E-3330 Message LADDER program exists beyond END1 instruction. the CALL instruction cannot be used. A sub-program cannot be called from within a COM instruction control range. COME instruction is detected though the case of the coil number specification. CALLU instruction can not be used in the range controled COM instruction. There is no COME instruction.12. END2 instruction can not be used. The total number of LBL instruction jump destinations defined exceeded the maximum allocable value of a selected type of program. no instruction can be specified. END instruction can not be used. no instruction can be specified. JMPE instruction is detected though the case of the coil number specification.344 - . END3 instruction can not be used. The label of **** is used twice or more. Define a different label number. END2 is the end instruction for the second level. So. After END2. Another JMP instruction can not be used in the range of JMP instruction. COME instruction must be the pair with COM. So. END1 instruction can not be used. the COM instruction for starting a control range is defined again. Another COM instruction can not be used in the range controled COM instruction. The END instruction is used at the first level. At the jump destination of the LBL instruction. A sub-program cannot be called from within a COM instruction control range. the JMPE instruction for specifying a jump end position cannot be used. END3 is the end instruction for the third level. .the range is not defined. LADDER program exists beyond END2 instruction. JMPE instruction must be the pair with JMP. another JMP instruction is defined. END is the end instruction for all ladder programs. The COM instruction for starting a COM instruction control range is defined. Cause/action END1 is the end instruction for the first level. The JMP instruction for specifying a jump start position is defined. If the end of a COM instruction control range is defined by specifying the number of coils. There is no label of ****. Reduce the number of jump destinations defined. no instruction can be specified. In a COM instruction control range. the JMPE instruction for specifying a jump end position cannot be used. LADDER program exists beyond END3 instruction. but the COME instruction for ending . If the JMP instruction for specifying a jump start position is not defined. There is no JMPE instruction. CALL instruction can not be used in the range controled COM instruction. B-66234EN/04 I:E-3331 I:E-3332 I:E-3333 I:E-3334 I:E-3335 I:E-3340 I:E-3341 I:E-3342 I:E-3343 I:E-3350 I:E-3351 I:E-3352 Too many labels. After END3. The END1 instruction is used at a level other than the first level. but the JMPE instruction for specifying a jump end position is not. If a jump end position is defined by specifying the number of coils. LADDER program exists beyond END instruction.

An illegal program number is specified for the **** instruction. ladders. Program number is different from program name. the same label number **** is defined. A sub-program must end with the SPE instruction for specifying the end of a sub-program.B-66234EN/04 12. Reduce the number of jump destinations defined. The JMPB instruction can only be used to make a jump from one position to another both within a COM instruction control range or outside a COM instruction control range. SP is the sub-program start instruction. SP cannot be specified within a sub-program. no instruction can be specified. Define a different step number. a program number that does not match the file name is specified. The total size of the ladders and step sequences exceeded the maximum allowable value of a selected type of program. There is no SP instruction at the top of the subprogram. comments. An illegal step number is specified for the **** instruction. the same step number **** is used. I:E-3570 I:E-3600 Data too large. Step sequence program exists beyond SPE instruction. a label number outside the specifiable range or an address other than a label number is specified. In the **** instruction. A step sequence program includes an instruction that cannot be handled by a selected type of program. The step number **** is assigned for two or more step programs. The size of the message data is too large.(message + symbol + comment + LADDER + step sequence) . For a different step. symbols. Reduce the total number of characters. The label **** is assigned for two or more step programs. or from a point outside a COM instruction control range to a point within the range. or a destroyed instruction. I:E-3400 There is an undefined instruction. SPE is the sub-program end instruction.ERROR MESSAGES Message Cause/action The JMPB instruction cannot be used to make a jump from within a COM instruction control range to an external point. Reduce the size of the ladders/step sequences. In the **** instruction. a step number outside the specifiable range or an address other than a step number is specified. I:E-3420 I:E-3421 I:E-3422 I:E-3423 I:E-3440 I:E-3441 I:E-3442 I:E-3443 I:E-3460 I:E-3461 I:E-3462 I:E-3480 DSTEP instruction without DLBL. At a jump destination. The total number of message data characters exceeded the maximum allowable value of a selected type of program. An illegal label number is specifed for the **** instruction.(LADDER + step sequence) I:E-3601 Data too large. A sub-program must start with the SP instruction for specifying the start of a sub-program. SP instruction is detected in the subprogram. In a parameter of program start instruction SP. Reduce the amount of data. The label representing the jump destination of a DSTEP instruction cannot be found. Too many labels. The total size of the messages. Define a different label number. a program number outside the specifiable range or an address other than a program number is specified. and step sequences exceeded the maximum allowable value of a selected type of program. In the **** instruction. The total number of jump destinations defined exceeded the maximum allowable value for step sequence editing. After SPE. Error code I:E-3353 The destination of JMPB instruction is beyond COM/COME instruction. There is no SPE instruction at the bottom of the subprogram.345 - .

This parameter is ignored: FORMAT-B outputs symbols/comments at all times. instruction control range is determined based on the COME instruction. the file cannot be called. LADDER/step sequence program exists The END instruction is specified at the end of a subbeyond END instruction. The specification of The coil number specification of COM the number of coils is ignored. Editing sub-program has not completed. parameter is ignored: NET COMMENT Setting this item has no effect. Label **** representing the jump destination of the There is no label of ****. COM instruction. The end of a COM instruction control range cannot be defined using the number of coils. compiled first (P1. The ladder program is not There is no LADDER program. Define a different label number. time ratio. code.346 - . JMPC instruction cannot be found. The total number of LBL instruction jump destinations defined in the main program exceeded the maximum Too many labels.PANEL( PARAMETER ).#. the same label number **** is The label of **** is used twice or more. on the CNC was replaced with space Those characters are replaced with blank characters. LED output address) are not set. but the END instruction is specified at the end of level 2. The jump destination label **** of the JMPC instruction The label of **** exists in the range of the is specified within a COM instruction control range. A sub-program is being edited. Define the jump destination label **** at the second level. P1.#SS).LA. Reduce the number of jump destinations defined.ERROR MESSAGES Error code I:E-3620 Message B-66234EN/04 I:E-3640 I:E-3650 I:E-3651 I:E-3652 I:E-3653 I:E-3654 I:W-4100 I:W-4101 I:W-4102 I:W-4103 I:W-4104 I:W-4105 I:W-4200 I:W-4201 I:W-4202 Cause/action Because the sub-program file with number **** is not There is no subprogram ****. A sub-program with the same number exists (for Multiple sub-programs with same number example. but a sub-program with a greater program number exists. SYMBOL/COMMENT The source-program is FORMAT-B. The ladder program is exist. level. A sub-program exists. and the end of a COM instruction is not allowed. A ladder program is empty. Reduce the first level. assuming that the FS0 operator's panel is not used. In the main program. This FORMAT-B data does not include a net comment. for example). Complete the editing. The title data which could not be display Title data includes characters such as kana characters. included in the selected program. defined as the jump destination of the LBL instruction. program. A system parameter is set to use the FS0 operator's panel. Specify the label **** outside the control range. Create a sub-program with number ****. or increase the value of the LADDER execution time at the 1st level is system parameter by specifying a ladder execution too large. Proceed to compile using 'NO' Compilation is performed. The source-program is FORMAT-B.#LA and P1. JMPC is the instruction for making a jump from a subThe label of **** to refer exists in another program to the second level of the main program. .12. but addresses (such as a key input address and Illegal OP. allowable value of a selected type of program. output to a memory card format file.

space code. Select a correct program. $ number * is duplicated. but is output to a memory card format file. The pointer is not output to a memory card format file. None of the symbols/comment data is output to a memory card format file.B-66234EN/04 12. type of a selected program. An instruction that cannot be handled by a selected There is an undefined instruction. The **** Memory card format file read error. comment character string. Those characters only are display on the CNC was replaced with replaced with blank characters. or a destroyed instruction is included. The memory card format file **** could not be read. program is not output to a memory card format file. Symbol data includes special characters that cannot The symbol data which could not be be displayed by the CNC. DATA is for the file side. and the end position is determined instruction is not allowed. The step sequence There is no step sequence program. Those characters only are display on the CNC was replaced with replaced with blank characters. incorrect. and DATA is for the SYSTEM:************ system side. Symbol/comment data is not converted to exceeded 65535. file is invalid. The source program **** could not be written.ERROR MESSAGES Cause/action The end position of a jump cannot be defined using the number of coils.347 - . Message Error code I:W-4203 I:W-4204 I:W-4400 I:W-4500 I:W-4501 I:W-4502 I:W-4503 I:W-4504 I:W-4505 I:W-4570 I:W-4600 I:W-4601 12. Those characters only were display on the CNC was replaced with replaced with blank characters. Message Error code J:F-2100 J:F-2101 J:F-2102 J:F-2103 J:F-2104 J:F-2105 J:E-3100 . type of program. The total number of comment data characters Comment data size exceeds 64KB.2. The **** sub-program is not called from any program. may not be displayed. and is deleted. Install the correct system. Prepare a file. Enter the correct password.9 Decompile Cause/action There is a mismatch between the function codes in a Function code error memory card format file and the function codes of the DATA:*************** system. The comments uses a double-byte space character. therefore. Comment data includes special characters that cannot The comment data which could not be be displayed by the CNC. A step sequence program is empty. The specified memory card format file **** is not found. Double-sized space character in and the character is replaced by two single-byte space comment was changed to two singlecharacters. space code. The specification of the number of The coil number specification of JMP coils is ignored. the Memory card format file. **** Memory card format file not found. Execution is rejected because the password is Mismatched password. **** source program write error. A symbol that exceeds the character length limit (six Too long strings for symbol data characters) is found.) Message data includes special characters that cannot The message data which could not be be displayed by the CNC. sized speces. Unreferenced subprogram ****. PMC series is different from **** Memory The type of memory card format file **** differs from the card format file. based on the JMPE instruction. The character * in the comment may not The comment uses a character code not available to be displayed on the CNC the CNC and. (The comment remains valid. A ladder program includes a pointer to a lost net Unused NET COMMENT pointer found. space code.

Make corrections by step sequence editing. **** net comment pointers not corresponding to net comment character strings were detected. output to the source program. more. The number of steps of a sub-program in a ladder program exceeded the maximum allowable value of a The size of LADDER program is too selected type of program.(address ****) data cannot be recognized correctly. The symbol data at address ****/symbol **** is determined to be invalid by a symbol character string check based on the IEC standard. the symbol data is output to the source program. These sub-programs have not been decompiled. Some sub-programs are protected.CNF setting file is deselected. Make corrections by ladder editing as required. the total number of data items at address ****/symbol **** The number of symbol data exceeds the exceeded the maximum allowable value defined with limit. merge option. . The ID code defined at address **** in the I/O module ID code (I/O module) error. **** net comment character strings not corresponding to net comment pointers were detected.ERROR MESSAGES Error code J:E-3101 B-66234EN/04 J:E-3200 J:E-3300 J:W-4100 J:W-4101 J:W-4102 J:W-4103 J:W-4104 J:W-4105 J:W-4200 J:W-4201 J:W-4202 J:W-4203 Message Cause/action There is no SPE instruction at the bottom A sub-program in a selected program does not end of the subprogram. The net **** unused NET COMMENT pointer comment pointers are not output to the source found. Reduce the number of symbol program exceeds the limit. Either source data or memory **** symbol data at duplicated address card data is valid according to the setting of the symbol found. The symbol data is Illegal symbol. comment pointer. The net **** unused NET COMMENT strings comment character strings are deleted. The number of symbol data items in a selected program exceeded the maximum allowable value The number of symbol data in source defined with the system. Make found. **** duplicate net comment pointers were detected. corrections by ladder editing as required. During symbol data merge processing.(address **** symbol ****) the system. with the SPE instruction. program. **** duplicated NET COMMENT pointer Character strings are copied so that the same net comment character string corresponds to the same net found.12. data items.(address **** symbol at address ****/symbol **** is already defined at another address. but the sub-program is large. The step number of **** is used twice or The same step number **** is used for different steps. Data beyond the symbol data is not output to the source program. If the check option in the %%%FLSET. The symbol data is not output to the ****) source program. Make corrections by ladder editing as required.(address **** symbol ****) not output to the source program. The symbol character string defined in the symbol data Same symbol exists. Prepare a correct memory card format file.348 - . **** duplicate symbol data items defined for the same address were detected.

CNF' read failed. Too many parameters. Settings in the %%%FLSET.349 - . Create temporary file(s) in current directory. Settings in the option file of a selected program cannot 'OPTION' read failed.CNF file cannot be read. Prepare a file. Not found * file. Expected Idcode. Illegal parameter(s). is invalid. or correct the settings. Message Error code J:W-4204 J:W-4300 J:W-4301 J:W-4800 J:W-4900 J:W-4901 12. '%%%FLSET. Change the expanded R/D address.B-66234EN/04 12. Illegal option(s). The symbol data is not output to the source program. Insufficient parameter(s). The default setting was used. Prepare a file. If the PMC version of PMC-RC is less than 3. Symbol characters are not checked. Illegal Idcode. Execution is made possible by option resetting. Proceed to decompile using assuming that the specification of the operator's panel 'NO'. Expected terminator. is invalid. parameter). The header section of the memory card format file **** **** Memory card format file illegal. be read. R/D This Memory card format file is not for extended addresses are not supported. Execution is continued. Execution is possible if symbol characters are not checked. PMC series is different from Sourceprogram. or correct the settings. Not found **** file. Not found Set-up file. PMC version by system parameter editing. **** executable file not found. Too many parameters are specified in a function instruction. Input data illegal. Not specified environmental variable 'TMP'.(symbol ****) cannot be recognized correctly. . Cause/action Error code K:F-2000 K:F-2001 K:F-2006 K:F-2100 K:F-2101 K:F-2102 K:F-2103 K:F-2104 K:F-2105 K:F-2106 K:F-2107 K:F-2108 K:F-2109 K:F-2110 K:F-2111 K:F-2112 K:F-2113 K:F-2114 K:F-2115 K:F-2116 K:F-2117 System parameter /function instruction data is insufficient. Insufficient disk space. Expected '/PC' option. Set-up file broken.2. The specification of an operator's panel in the system Illegal operator panel (system parameter data is invalid. but execution is continued.ERROR MESSAGES Cause/action The address in the symbol data containing symbol **** Symbol data address illegal. Illegal name of Set-up file.10 Mnemonic Conversion Message Insufficient memory. Illegal Option-specified file.

Cannot specify the address prohibited using as parameter. Cannot specify the bit address. Cannot specify the input address. Cannot be handle data type '%@2-C'. An input module is specified at the output address of I/O module data. A system parameter includes a numeric value that is not a multiple of 2. Expected parameter(s). Invalid character data is contained in a system parameter. The identification code is not found in mnemonic file. An invalid address was specified in the data table of a function instruction. A function instruction has no parameter. An odd-numbered prohibition address was specified as an odd-numbered address. Cannot overwrite existing data. An output prohibition address was specified for a coil. Cannot convert files of the PMC series set up the system. The file cannot be executed. Cause/action B-66234EN/04 K:E-3102 When the format of %%%FLSET. or message data. Illegal Source-program name. the mnemonic of the extended symbol %@2-C was converted. Expected function number.CNF is FORMATA/B. Illegal character(s). A parameter prohibition address was specified in the address parameter of a function instruction. K:E-3103 K:E-3104 K:E-3105 K:E-3106 K:E-3107 K:E-3108 K:E-3109 K:E-3110 K:E-3111 K:E-3112 K:E-3113 K:E-3114 K:E-3117 K:E-3118 K:E-3119 K:E-3120 K:E-3121 K:E-3122 K:E-3123 K:E-3124 K:E-3125 K:E-3126 A bit address was specified in a byte address parameter of a function instruction. * Symbol & Comment data broken. Illegal address. Cannot specify input module at output address. symbol/comment data. An invalid address was specified as a symbol/ comment data/message setting address. Cannot specify the byte address. Illegal address of parameter. The specified source program name is illegal. A byte address was specified in a basic instruction. An invalid address was specified in the address parameter of a function instruction. Expected address. Expected a multiple of 2. Cannot specify the odd address. The model set with the system cannot be converted. Cannot specify the input address with coil.ERROR MESSAGES Error code K:E-3100 K:E-3101 Message **** file cannot execute. An output prohibition address was specified in the output address parameter of a function instruction. A system parameter includes a numeric value that is not a multiple of 5. Expected a multiple of 5. Cannot specify bit address of parameter.12. Cannot specify byte address on basic instruction. The data of **** is broken.350 - . Cannot specify output module at input address. title data. Illegal address in data table. K:E-3127 . A basic instruction has no address. An output module is specified at the input address of I/O module data.

An invalid value was specified for the group data of I/O module data. Not enough parameter(s) Not found base data. The slot data of I/O module data is missing.351 - . Invalid PMC series of specified Sourceprogram. Illegal Mnemonic file name. symbol/comment data. Invalid function's name. Return status from SPAWN is E2BIG(=7). An invalid data number was specified as a data identifier. Not found group data. title data. Include KANA or KANJI character(s). The group data of I/O module data is missing. Illegal value in base data. Illegal value in slot data. The model of the specified source program is illegal. Illegal parameter number. or I/O module data. An invalid value was specified for the base data of I/O module data. System parameter /function instruction parameters are insufficient. The module name of I/O module data is missing. Invalid module name. K:E-3139 K:E-3140 K:E-3141 K:E-3142 K:E-3143 An invalid function instruction name was specified. Illegal value of parameter. ladder. Illegal value of parameter. K:E-3146 K:E-3147 K:E-3148 K:E-3149 K:E-3150 K:E-3151 K:E-3152 K:E-3153 K:E-3154 K:E-3155 K:E-3156 . Input mnemonic file name Input the source program name. K:E-3144 K:E-3145 An invalid character follows a system parameter. Not found module name. The base data of I/O module data is missing.B-66234EN/04 12. Not found **** SUB program file. Cause/action Error code K:E-3128 K:E-3129 K:E-3130 K:E-3131 K:E-3132 K:E-3133 K:E-3134 K:E-3135 K:E-3136 K:E-3137 K:E-3138 An invalid data number was specified in a system parameter. Invalid qualifier. The module name of I/O module data is invalid. Not found slot data Not found **** Process interface file. An invalid value was specified for the slot data of I/O module data. Illegal title number. Lack of **** file Message data too large. Not found **** Source-program management file. Invalid function number. There is no option by which **** file is specified. Illegal value. Illegal value in group data. Invalid numeric data was specified in a system parameter. The data type number is illegal Invalid a number of convert data. An invalid numeric value was specified in the data table of a function instruction. The conversion data type number is illegal. Mnemonic file not found.ERROR MESSAGES Message The specified mnemonic file name is illegal. Specified Mnemonic file is not found.

and slot data. An address outside the specifiable range was specified as a message setting address. but symbol data is not.352 - . Out of address limits of parameter Out of parameter value. a mnemonic. The number of characters on one line of mnemonic data. The same group base and slot are already specified. A numeric value outside the specifiable range was specified in the data table of a function instruction. An address outside the specifiable range was specified in a parameter of a function instruction. In I/O module data. K:E-3188 K:E-3189 K:E-3190 K:E-3191 K:E-3192 K:E-3193 Too many parameters. Out of address limits in data table. An address was specified where no address is required. Specify the value( Slot ) except 0 at I/O UNIT-B *. Too many parameters are set for a function instruction. Data includes an undefined instruction. Symbol or comment data not found. Unexpected parameter(s). Process error Specified source program is not found. The length of a system parameter. Symbol data count over. Too large of total comment data. base. K:E-3173 K:E-3174 K:E-3176 K:E-3177 K:E-3178 K:E-3179 K:E-3180 K:E-3181 Comment data is set. Total value of base and slot is over. or symbol/comment exceeded the maximum allowable value. Out of value in data table. or title data exceeded the maximum allowable value. The total of the base and slot values of the I/O module data exceeded the default. The specified conversion data is not found. K:E-3187 Too mamy characters in 1 line.12.ERROR MESSAGES Error code K:E-3157 K:E-3158 K:E-3159 K:E-3160 K:E-3161 K:E-3162 K:E-3163 K:E-3164 K:E-3165 K:E-3166 K:E-3167 K:E-3168 K:E-3172 Message Out of address limits. A value outside the specifiable range was specified for the base data of I/O module data. B-66234EN/04 Cause/action The address of mnemonic data/I/O module data was specified. Too long strings. Out of value. A numeric value outside the specifiable range was specified in a system parameter. Out of address limits of address. Source-program not found. Out of value in group data. A value outside the specifiable range was specified for the slot data of I/O module data. the same number is specified for group. Data containing a symbol or comment only was converted to an address. Out of value in base data. Parameters were specified in a function instruction that requires no parameters. message data. Unknown data number. title data. An address outside the specifiable range was specified in the data table of a function instruction. Please shorten file name. A nonexistent data number was specified as a system parameter/data identifier. message data. Specified source program is not found. Not found slot data. Out of value in slot data. Unexpected address. A value outside the specifiable range was specified for the group data of I/O module data. A numeric value outside the specifiable range was specified in a parameter of a function instruction. . Undefined instruction. Symbol data not found. or I/O module data in a system parameter.

. function instruction. message data. and slot data. base. title data. Upon conversion to FORMAT-B. $ Output unused register(s). K:W-4101 Data not found. Not found parameter numbered ****. At address ****. Overwrote existing data. level-1).B-66234EN/04 12. K:E-3196 Include KANA or KANJI character(s).353 - . each data item (system parameter. Too many control conditions are set for a function Too many control conditions. Illegal OP. for group. In the I/O module data. Message data include KANA OR KANJI Message data **** includes full-size/half-size katakana characters at ****. the same number is specified Specify same group base and slot. K:W-4100 Comment data not found. Not found data at **** address. in the ladder data. Not found **** PMC-OS file. Logical product remains in register(s). Error code Message K:E-3194 Data entry error. and I/O module data are not found. instruction. K:W-4108 K:W-4109 K:W-4110 K:W-4111 K:W-4112 K:W-4113 K:W-4114 K:W-4116 K:W-4117 K:W-4118 K:W-4119 K:W-4120 K:W-4121 K:W-4122 K:W-4123 K:W-4124 K:W-4125 K:W-4126 K:W-4127 No control condition is set for a function instruction. Not used net comment pointer exist. ladder data. no message is defined. Full-size characters cannot be used for symbol data. . K:W-4106 Data consisting of symbols only was converted to an address.PANEL( PARAMETER ). An invalid character follows the end ID code (%) of Invalid qualifier." The symbol data does not satisfy the standard (check Illegal symbol. symbol/comment. conversion option (J option). message data. Include KANA or KANJI character(s) in K:E-3195 symbol data. symbols/comments.ERROR MESSAGES Cause/action Symbol/comment data could not be registered. ladder. The system parameter OP. This message is output when data is found after the last SPE instruction. Invalid data was specified in ****. A register was not output to ladder data. Conversion is performed assuming "NO. System parameters. An operation was performed with a register not entered Logical operated with unused register(s). K:W-4104 Illegal characters are specified at ****. and I/O module data). The following data of **** were deleted because of exceeding the limit. Specify same number( Group ) at I/O UNIT-B as I/O UNIT-A. (FORMAT-C) Comment data including full-size characters was Include KANA or KANJI character(s) in converted without selecting the full-size character comment data. Registers overflow. Not found title numbered $. Specify the value( Base ) except 0 at I/O UNIT-B. characters. K:W-4103 Expected control condition(s).PANEL (parameter) is invalid. K:W-4102 Deleted KANJI characters. data that does not belong to the first to third levels or any sub-programs Some garbage data are found at end of was found. Not all necessary control conditions are set for a Not enough control condition(s). K:W-4105 Proceed to convert with using 'NO'. title data.

The symbol data defined later is replaced with blank characters. 30 characters. a different character string is specified at more than one location.) The relay comment data specified later is replaced with blank characters. Too long strings for symbol data. (With FORMAT-C. the same character string may be coil comment data already exist. (With FORMAT-C. The character string of a coil comment is longer than Too long strings for coil comment data. The same symbol data was specified for different Redefinition of symbol data. instruction that requires no control condition. With FORMAT-C only. . 30 characters. no duplicate definition is allowed. specified at more than one location. A symbol definition is made at more than one location for the same address. a different character string is specified at more than one location. the same character string may be comment title data already exist. With FORMAT-C only.) The coil comment data specified later is replaced with blank characters. For a comment title at one address. The symbol data specified later is replaced with blank characters. requires no coils. A maximum of 30 characters can be specified. Redefinition of address data. specified at more than one location. A basic instruction was specified for a function Unexpected control condition(s).354 - . (With FORMAT-C.12. For one address. a different symbol is specified at more than one location. Symbol data is replaced with blank characters.) The comment title data specified later is deleted. FORMAT-C allows up to 16 characters. Comment data is replaced with blank characters. the same character string may be relay comment data already exist. specified at more than one location. The Illegal net comment pointer. comment title data is replaced with blank characters. coil comment data is replaced with blank characters. Too long strings for comment data. addresses. For a coil comment at one address.) symbol data already exist. relay comment data is replaced with blank characters. The character string of a comment title is longer than Too long strings for comment title data. FORMAT-A/B allows up to 6 characters. a different character string is specified at more than one location. (With FORMAT-C. the same symbol may be specified at more than one location. The character string of a relay comment is longer than Too long strings for relay comment data. If the start ID code of symbol data is %@2. **** definition or definitions made later are ignored. For a relay comment at one address. 16 characters. With FORMAT-C only.ERROR MESSAGES Error code K:W-4128 K:W-4129 Message B-66234EN/04 K:W-4130 K:W-4131 K:W-4132 K:W-4133 K:W-4134 K:W-4135 K:W-4136 K:W-4137 K:W-4138 K:W-4139 K:W-4140 Cause/action Coils were specified for a function instruction that Unexpected coil(s).

Reenter the sequence program. Contact your FANUC service center.11 Input/Output Message Cause/action I/O Error. Error code N:E-3001 N:E-3002 N:E-3003 N:E-3004 N:E-3005 N:E-3006 N:E-3007 N:E-3008 N:E-3009 N:E-3011 N:E-3012 N:E-3013 N:E-3014 N:E-3015 N:E-3016 N:E-3017 N:E-3018 N:E-3019 N:E-3300 N:E-3302 N:E-3307 N:E-3390 Flash ROM Not EMG stop Flash ROM Program data error Flash ROM Access request error User C program error occurs on PMC. A sequence program on the PMC is destroyed. . Replace the F-ROM. The CNC is not placed in the emergency stop state.12 Online Message Flash ROM Write error Flash ROM Read error Flash ROM Erase error Flash ROM Area error Flash ROM Program nothing Flash ROM Size error A sequence program is larger than the F-ROM. Replace the F-ROM. Try the CONDENCE function.ERROR MESSAGES 12. Flash ROM Another used Flash ROM Command error Flash ROM No space Flash ROM File error Flash ROM File not match Flash ROM Un-known F-ROM Flash ROM I/O error Flash ROM Undefine error code Signal trigger unavailable Reject Signal trigger Cannot be changed Signal trigger is executing Program is running The user switched from online editing to the signal trigger stop function. which is an offline function. The system failed in making the thread PMC parameter file read error PMC parameter file write error PMC parameter file write error Insufficient disk space This file format is not PMC parameter file format Can not load PMC parameter from PMC side(Not EDIT mode) Can not store PMC parameter to PMC side(Not emergency stop nor PWE = 1) Error code L:E-6000 L:E-6001 L:E-6002 L:E-6003 L:E-6004 L:E-6005 L:E-6006 L:E-6007 12.2. The F-ROM is abnormal. The user switched to online editing during signal trigger execution. Contact your FANUC service center.B-66234EN/04 12. Increase the size of the F-ROM.2. Cause/action The F-ROM is abnormal. The user attempted to modify parameter settings during signal trigger execution. Place the CNC in the emergency stop state. Recheck the setting of MONIT on the PMC.355 - .

When the condition is <Trigger-ON> or <Trigger-OFF>. No Trigger Address set a trigger address. The communication to PMC is not ready The connection with the NC is disconnected. Sampling Time Error: An invalid sampling time is set. <About> and <Before> selected cannot be selected as a trigger mode. [About]/[Before] is illegal on [Start] When the condition is <Start>.ERROR MESSAGES Error code Message N:E-3410 Function param is out of range N:E-6000 N:E-6001 N:E-6002 N:E-6003 N:E-6004 N:E-6005 N:E-6006 N:E-6041 Signal Analysis function is not supported Cause/action B-66234EN/04 The PMC is of a type that does not support the signal analysis function. . Address Error A specified address is invalid.12. During signal trace function execution. No Signal Address No sampling address is set.356 - . the signal Signal Trace function is running analysis function cannot be executed.

APPENDIX .

.

the cable shown below is used. male CD(1) RD(2) SD(3) ER(4) SG(5) DR(6) RS(7) CS(8) (2)SD (3)RD (6)DR (7)SG (8)CD (5)CS (4)RS (20)ER .CABLE FOR DATA TRANSFER A CABLE FOR DATA TRANSFER When data is transferred from the personal computer (PC) to the CNC.359 - . A02B-0200-K814 PC side 9-pin.B-66234EN/04 APPENDIX A. female CNC side 25-pin.

5).SYM CONVERSION USING A SIGNAL ADDRESS CONVERTER Table B Applicable function PMC-SA1/SA3/SB3/SC3/ PMC-L/M/M(MMC) -> SB4/SC4/SB5/SB6 (FS0-T) (FS16/18/20-T) PMC-SA1/SA3/SB3/SC3/ PMC-L/M/M(MMC) -> SB4/SC4/SB5/SB6 (FS0-M) (FS16/18/20-M) PMC-PA3 PMC-P -> (Power Mate-MODEL D/F/H) (Power Mate-MODEL C) Reference document FANUC PMC-MODEL PA1/PA3/SA1/SA2/SA3/SA5/ SB/SB2/SB3/SB4/SB5/SB6/ SB7/SC/SC3/SC4/NB/NB2/ NB6 Programming Manual (Ladder Language) B-61863E The converter files are stored in the subdirectory \APPENDIX of the system floppy (Vol.B. <3> Convert the program of <2> to mnemonics.SYM PM-C_CNV. (C in the figure below) <6> Replace the ladder data of the mnemonic file (conversion destination) with the ladder data of the mnemonic file (conversion source) created in <1>. convert a program of the PMC-P model (conversion source) to a mnemonic file. Example of operation: PMC-P -> PMC-PA3 <1> By using FANUC LADDER. (D in the figure below) <7> Close the mnemonic file (conversion destination) on the text editor. convert the mnemonic file (conversion destination) of <7> to a source program (with the program created in <2> left open). then open the mnemonic file (conversion destination) created in <3>. <8> By using FANUC LADDER-III.SYM FS0M_CNV. <5> Replace the symbol data of the mnemonic file (conversion destination) with the converter file. <9> Delete all symbol comment data.360 - . . (A in the figure below) <2> By using FANUC LADDER-III. create a program of the PMCPA3 model (conversion destination).CONVERSION USING A SIGNAL ADDRESS CONVERTER APPENDIX B-66234EN/04 B Converter file name FS0T_CNV. (B in the figure below) <4> Start a text editor commercially available.

CONVERSION USING A SIGNAL ADDRESS CONVERTER A Conversion source mnemonic file (PMC-P) Converter file PMCC_CNV. …. NOT X22.4 RD.6 X1027.7 X23. X1027.3 WRT.2 G95.0 G0005.3 G95.3 SUB 1 SUB 2 % %@E %@2 G0004.5 X23.2 G0005.4 X23.3 G0005.7 % %@A %@0 2 BINARY 3 NO 4 PMC-PA1 % C Insertion %@1 % %@2 % %@3 % %@4 % %@5 % D %@E Insertion .4 WRT G121.SYM B Conversion destination mnemonic file (PMC-PA3) %@A %@0 1 2048 % %@1 % %@2 % %@3 RD X21.4 X1027.6 X23.3 G68.5 X1027.B-66234EN/04 APPENDIX B. NOT G122...0 G95.3 ….361 - .

1.LANGUAGE PROGRAM LINK FUNCTION APPENDIX B-66234EN/04 C LANGUAGE PROGRAM LINK FUNCTION This function is used to unite a load module created in C language with a memory card file created on FANUC LADDER-III or loaded from the PMC. The [Link of language programs] dialog box appears.. . 2. Select [File] .[Open Program]. 3. and open the program with which you want to unite a load module. Select [Tool] .C.].362 - .[Link of language programs..

363 - . .B-66234EN/04 APPENDIX C. Click the "OK" button to unite the load module with the program. 5. 2 This function is available to models PMCSC3/SC4/SC4 (STEP SEQ.)/QC/NB/NB2. Select the load module file you want to unite. NOTE 1 If not using C language functions.LANGUAGE PROGRAM LINK FUNCTION 4. you need not unite programs.

.

..................................................................... 11 Beginning of Parallel Branch..................... 296 Automatic Trace Function at Power-On ......... 84 Changing the ladder editing mode .................................. 19 CREATING NEW PROGRAMS..... 138 EDITING LADDER DIAGRAMS ... 208 CONVERTING STEP SEQUENCE PROGRAMS TO MNEMONIC FILES ........................................................................................LAD File..................................... 36 i-1 ............................................ 316 CONVERTING TO DOS-VERSION FANUC LADDER-II ..................................... 254 Display Items .................................... 123 ALL format........................................................................................ 204 Automatic Sampling Function at Power-On ........................................................................... 197 COMPILATION AND DECOMPILATION............................. 327 CONVERTING MNEMONIC FILES TO SOURCE PROGRAMS ...................... 313 COMMANDS. 149 Collective Display ... 342 Compiling an *.......................................................................... 69 Deleting Page Breaks....................... 91 Checking Syntax................................. 360 <D> Data for PMC control software................................. 61 Adding Page Breaks .................................................................................................................................LAD File to a Mnemonic File.......B-66234EN/04 INDEX INDEX <A> ACTIVATING THE I/O LINK ................................................................................................................... 315 Deleting collective display extraction conditions ............................................................................................................... 317 CONVERTING FROM DOS-VERSION FANUC LADDER-II ........................................................................................................... 313 CLOSING PROGRAMS ......... 224 COMPARING WITH PMC. 74 COMMAND LINE EXECUTION FUNCTION .................... 221 AUTOMATIC COMPILATION AND DECOMPILATION ........... 124 Deleting Symbol or Comment Data .......................................................... 257 EDITING I/O MODULE ASSIGNMENT.... 326 CONVERTING SEQUENCE PROGRAMS BETWEEN PMC MODELS................................. 91 Changing Signal Addresses and Function Instruction Parameters in the Display Window...................................................................................................................... 196 Compile ......... 271 Data Table........................... 330 CONVERSION USING A SIGNAL ADDRESS CONVERTER ..... 314 Conversion by Changing System Parameters ............... 80 Deleting Ladder Subprograms . 359 Changing Contacts and Coils in the Display Window............................LAD File................................................. 210 CONVERTING SEQUENCE PROGRAMS ................................................................................... 272 DECOMPILATION............................................................................................... 17 [Edit] Screen........ 298 Adding Ladder Subprograms................................. 66 Deleting Nets ......................... 329 Counter ................................. 287 Converting a Mnemonic File to the Source Program................ 119 Beginning of Selective Branch ....................... 103 DIAGNOSIS........................................................................ 308 Automatic Signal Sampling Function at Power-On............... 118 <C> CABLE FOR DATA TRANSFER ...................................... 330 CONVERTING SOURCE PROGRAMS TO MNEMONIC FILES ... 201 Decompile.............................................................. 347 Decompiling an *...... 122 Checking the Number of Program Steps.................................... 309 COMMAND SPECIFICATIONS ....... 62 Deleting Net Comments....................................................... 68 Deleting Step Sequence Subprograms .......LAD File ................... 312 [Communication] Dialog Box ..................... 67 Adding Step Sequence Subprograms............................................. 46 Changing Ladder Programs on the Display Window............................................................................ 268 CREATING AND EDITING SEQUENCE PROGRAMS ..................... 247 COMPILATION..................................................................................................................................... 297 Closing an *........ 282 DISPLAYING VERSION INFORMATION.................................................... 27 <B> BASICS ............................................................ 86 CLEARING PMC AREAS.. 222 Converting the Source Program of an *.................................................................. 18 <E> Edit Toolbar................................... 85 Changing Ladder Programs ............................................................

......................................... 102 Entering Basic Instructions......... 142 EDITING TITLES........................................................................................... 223....................................... 338 LANGUAGE PROGRAM LINK FUNCTION..................................................... 157 B-66234EN/04 <K> Keep Relay..................................................................................................................... 355 Inserting an edit line .............................................................................................................................................................................. 349 MNEMONIC EDITING ................. 97 Entering Horizontal Lines...... 49 Installation ...... 104 EDITING SYMBOLS AND COMMENTS . 250 Executing collective display ... 335 Message Editing....................................................... 236 LOADING SEQUENCE PROGRAMS FROM THE PMC (DURING DISCONNECTION WITH THE PMC)... 64 EDITING STEP SEQUENCES..................................................................................... 219 LADDER MONITORING............................... 117 ERROR MESSAGE FORMAT. 252 Executing the signal trigger stop function .. 33 End of Parallel Branch..................................... 92 Inserting Ladders from the Edit Window into a Ladder Program ............................................... 220 I/O Module Editing......................................................................... 60..................................... 93 Entering Function Instructions ..................... 270 <L> Ladder............................................................. 334 ERROR MESSAGES ........................ 79 [Monitor] Screen ........................ 32 OPERATING ENVIRONMENT.....INDEX EDITING MESSAGES ........................ 320 EXPORTING PROGRAMS.............................................................................................................................. 101 Entering Special Characters......................................... 30 Opening Programs with the Read-only Attribute.............................................................................................................. 259 EXECUTION LOG FILE ........................................... 230 <M> Main menu............................. 135 Menu Bar ...................................... 118 Entering and Deleting Vertical Lines .............................. 135 <I> I/O module................ 55.............................. 39 Mnemonic Conversion.................................................................................................. 29 OPENING MOST RECENTLY USED PROGRAMS ...... 59.......................................................... 134 Modifying collective display extraction conditions .................................................. 336 EXECUTING AND STOPPING SEQUENCE PROGRAMS ........................................................................................................................................................................................................ 324 Exporting Data to the Specified File............................................ 135 NOTE .................. 255 Ladder/Step Sequence Editing......................................................... 324 Numeric data.................................................................................... 215 Models and Quantity of Usable Characters ............ 256 <F> File. 273 Input/Output ........... 337 Importing Data from the Specified File ......... 116 Entering Transitions ............ 119 End of Selective Branch .......... 131 Editing Net Comments .. 207 MNEMONIC FILE FORMAT ..... 333...................... 3 <O> Opening an *............................................ 78 EXECUTING SEQUENCE PROGRAMS ..................................... 296 <N> New line character ............................. 342 Method of Displaying the Ladder Diagram Editing Screen ..... 135 Entering Steps.......................................................... 150 Input data range ............................................ 228 i-2 ................................................. 334 <G> [Gridline Format] Screen................. 2 [Option] Dialog Box................. 162 Opening Programs Opened by Another User.......................... 247 Message ....LAD File.... 3 INSTALLATION AND UNINSTALLATION.. 336 Function Symbols .............................................................................. 313 OPENING EXISTING PROGRAMS......................... 220 Message Classification.......... 362 LOADING SEQUENCE PROGRAMS FROM THE PMC (DURING CONNECTION WITH THE PMC)..... 126 EDITING SYSTEM PARAMETERS ................................................................................. 318 IMPORTING PROGRAMS ................................................................................................. 14 Memory Addresses Required to Display Messages ......................................................................................... 51................................................................................................................................ 212 MNEMONIC FILE SAMPLE .........

............................................ 286 SIGNAL TRACING . 12 Starting FANUC LADDER-III (Online Connection) ....... 12 Step Sequence Configuration.............................................. 248 Programmer protect function ............................................................ 279 Setting Trace Parameters ....... 281 PMC PARAMETERS ................................................................................................................... 288 [Signal Analysis Format] Screen .... 276 Setting Ladder Display ................................. 323 SAVING AND READING OPTION FILE ........... 24 PMC STATUS..... 283 Signal Trigger Stop Function............................ 37 Print ........................................................................................................................... 322 Terminating FANUC LADDER-III ... 178 PRINTING TITLES ............................ 180 PRINTING I/O MODULE ASSIGNMENT ......................................................................................... 224.............................. 218 Symbol and Comment Data ........................ 253 STORING SEQUENCE PROGRAMS IN THE PMC (DURING CONNECTION WITH THE PMC) ....... 17 Specifying Jump-to Label .......................... 88 <S> SAFETY PRECAUTIONS.......................................... 299 [Signal Trace Parameter] Screen.......................................................................................... 189 Setting up RS-232C .. 249 Selecting a transfer method............... 229 Setting up Pages........... 244 Switching the Language in Which PMC Alarm Messages Are Displayed..................... 274 Setting screen of the selectable I/O link assignment function......... 1 Shortcut key list ................... 248 Selecting Devices...................................... 164 Procedure for Creating Sequence Programs ................................................................................................................. 26 SEQUENCE PROGRAMS.............. 206 PMC ALARM STATUS. 281 Symbol and comment ................................................................................................................................................................................................ 12 Starting FANUC LADDER-III .................................... 274 PROTECTING LADDER PROGRAMS BY PASSWORDS .............................................. 295 [Signal Analysis Parameter] Screen....................................................... 147 SAVING PROGRAMS WITH NAMES ................................ 266 PMC Programming Method .............. 306 SETTING UP COMMON OPTIONS.................. 302 Setting Trace Parameters (Sampling Addresses) . 20 Program Transfer Wizard .......................B-66234EN/04 INDEX Setting PMC Setting Parameters.......................................................... 187 SAVING PROGRAMS ....... p-1 Preparing for Offline Editing................................................................................ 228 SETUP............................................................................................ 20 Setting collective display extraction conditions....... 190 SETTING UP PRINTER ............. 262 SIGNAL ANALYSIS .......................... 224 Setting up Ethernet .........................................s-1 SAMPLE COMMAND FILE ............................................................................................................................ 266 i-3 .............................................................................................................. 260 Timer ..... 238 STORING SEQUENCE PROGRAMS IN THE PMC (DURING CONNECTION WITH THE PMC) ............................. 126 System Parameter Editing....................................................................... 12 Terminating the signal trigger stop function ................................................ 304 Setting items ....... 121 START AND END .......................................................................................................................................................................................... 263 SIGNAL TRACE FUNCTION (PMC-SB7)........................................... 215 Soft Keys ....................... 205 <R> Replace ................................................ 186 SETTING UP COMMUNICATION .. 125 Selecting a transfer direction ..... 70...... 166 PRINTING MESSAGES............................. 74 Setting Details of Trace Mode ...... 169 PRINTING SYMBOLS AND COMMENTS ............................................................................... 163 PRINTING STEP SEQUENCES ...................... 342 PRINTING BIT ADDRESS MAPS ........................................................................... 109 STOPPING SEQUENCE PROGRAMS...................................................... 282 PREFACE ............. 176 PRINTING LADDER DIAGRAMS.............. 81 <T> Terminating Command Processing ..... 184 PRINTING CROSS-REFERENCES...................................................... 36 Preparing for Online Editing ................................ 120 Specifying Label Jump ................ 174 PRINTING SEQUENCE PROGRAMS .......... 293 SIGNAL STATUS.......................... 171 PRINTING SYSTEM PARAMETERS.................................................................. 338 <P> Parameter.... 215 Partial Protect Functions........................................ 258 Single Format .............................................................................. 226........................................................................................................................................................ 148 Search ..............................

.......................................................................... 9 Using System Program Data for Another Program.............INDEX Title ........ 332 <W> Warning message........... 261 B-66234EN/04 <U> Uninstallation .................................................................................................................................................................................. 218 Title Editing... 246 i-4 ......... 337 [Trigger Parameter] screen ............................. 25 WRITING SEQUENCE PROGRAMS INTO F-ROM...... 278 WINDOW NAMES AND FUNCTIONS .......................... 13 Work Folders and Online Program Files ..........

Addition of the other explanations .3 Opening Programs with the Read-only Attribute 3.14 Collective Display 3..16 OPENING MOST RECENTLY USED PROGRAMS 7.Correction of errors 01 Apr. 2002 .17 Changing Signal Addresses and Function Instruction Parameters in the Display Pane 3.22 Checking the Number of Program Steps 3.2 Opening Programs Opened by Another User 3.Replacement of the screens .3.5.5 CONVERTING STEP SEQUENCE PROGRAMS TO MNEMONIC FILES 10 COMMAND LINE EXECUTION FUNCTION .Addition of following Items 3..5.13 Search Jul.7 COMPARING WITH PMC Sep. 2000 9.6.4 Signal Trigger Stop Function Appendix B CONVERSION USING A SIGNAL ADDRESS CONVERTER .Addition of the other explanations .Addition of the other explanations .5.16 Setting the Number of Contacts and Coils per Row 3.5. 2001 9.Correction of errors ..Revision Record FANUC LADDER-III OPERATOR’S MANUAL (B-66234EN) 03 02 .1 SETTING UP COMMUNICATION 7.5.5.25 Deleting Symbol or Comment Data 6.4.2000 _________________________________ 04 Nov.5.3.5.Correction of errors Edition Date Contents Edition Date Contents .24 Changing Ladder Programs on the Display Window 3.Addition of following Items 3..1.23 Replace 3.19 Setting Ladder Display 3.2 Switching the Language in Which PMC Alarm Messages Are Displayed Appendix C LANGUAGE PROGRAM LINK FUNCTION .13 Search 3.Addition of following Items 3.5.Replacement of the screens .Replacement of the screens .15 Setting the Number of Columns per Row 3.5.

.

• All specifications and designs are subject to change without notice. .• No part of this manual may be reproduced in any form.