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

read the old name as referring to the new name. read the Windows manual first to learn the basic Windows operations. This manual describes the programming system-specific items including the methods of installing.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). NOTE 1 If FAPT LADDER-III is installed. 2 Both of FAPT LADDER-III and FANUC LADDER-III cannot be installed on the same personal computer. p-1 . 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. be sure to uninstall the software. If you are a beginner to Windows. This software runs under the Microsoft® Windows® environment. For details on how to create sequence programs for FANUC PMCs and how to operate PMCs. If the old name is displayed by any FANUC PMC programming tool. then install FANUC LADDER-III. and using this software. FANUC LADDER-III is a programming system for developing sequence programs for FANUC PMCs. This manual does not cover common basic Windows operations. Thank you for purchasing FANUC LADDER-III (Specification : A08B-9210-J505). starting.

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

Executing and stopping sequence programs .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. Multiple FANUC LADDER-III programs cannot be connected to one PMC at the same time. therefore providing the user with easy-to-use operating environment. refer to the relevant PMC programming manual.Monitoring and debugging sequence programs . these functions are not available.Transferring sequence programs . while it can be connected to a maximum of 10 PMCs when using Ethernet. I/O operations that use [HOST] of the PMC I/O function cannot be performed. For one PC. For details on the functions. p-3 . 3 For Ethernet. FANUC LADDER-III can be connected to a maximum of four PMCs when using RS-232-C. 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 .Writing to flash ROM . 2 Multiple FANUC LADDER-III programs can be started at the same time. With some PMC models.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.

Refer to the following Note. and PMC status. and outputting sequence programs Monitoring and debugging sequence programs (Displaying the signal status. editing. B: Not available C : Available under certain conditions (The supported functions vary depending on the CNC and PMC series and edition.) p-4 . alarms. 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.PREFACE • B-66234EN/04 Main functions Inputting. displaying.

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

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. The release note provides detailed information on the package and information not included in the operator's manual. p-6 .

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

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

PMC models In this manual.PMC-SA1 FANUC PMC-MODEL SA3 . the PMC models are abbreviated as follows: PMC Model Abbreviations Abbreviation PMC model PMC-S series FANUC PMC-MODEL SA1 .PMC-SA5 FANUC PMC-MODEL SB3 .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 .B-66234EN/04 PREFACE .PMC-SB5 FANUC PMC-MODEL SB6 .PMC-SB7 FANUC PMC-MODEL SC3 .PMC-SA3 FANUC PMC-MODEL SA5 .PMC-SB4 FANUC PMC-MODEL SB5 .PMC-SC3 FANUC PMC-MODEL SC4 .PMC-SB6 FANUC PMC-MODEL SB7 .PMC-SB3 FANUC PMC-MODEL SB4 .

.

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

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

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

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

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

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

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

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-

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

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

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

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

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

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 -

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

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

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

FANUC LADDER (for PC) Operator's Manual (B-66131E) . 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). debug. edit.3.20 - . address mapping.1. 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.1 SEQUENCE PROGRAMS This section describes sequence programs.FANUC LADDER-II Operator's Manual (B-66184EN) . programming is carried out on a personal computer not connected to the CNC (PMC). Refer to the following manuals: . In offline editing. Procedure for Creating Sequence Programs The following flowchart illustrates the procedure for creating a sequence program. coding) Enter. 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.1 3.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.

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

3. 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. "Editing I/O Module Assignment. .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 In FANUC LADDER-III. a file with extension . See Section 3.22 - .9.LAD (hereafter called a LAD file) holds all sequence program data." for details. 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.

23 - .B-66234EN/04 3.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 .

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

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

4 2.26 - . 3. If the loader has been installed. Procedure 1.1.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. Select the device you want to connect using the [↑] and [↓] keys.3.4 Selecting Devices If using loader control functions. 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. Click the <Exec> button. Fig. 3.1. .

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

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

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

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

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

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

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

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

The maximum number of characters that can be entered is as listed below: Table 3. click the <Close> button." for an explanation about how to close the sequence program without saving the data entered on the [Edit Title] screen.4.35 - . Edition No.12. Program Drawing No. 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. See Section3."Saving Programs." .B-66234EN/04 3. "Closing Programs. See Section 3.11.CREATING AND EDITING SEQUENCE PROGRAMS 1-1 Set the necessary data. <Close> button This operation has nothing to do with saving data entered on the [Edit Title] screen." for an explanation about how to save data entered on the [Edit Title] screen.1 Data Machine Tool Builder Name Machine Tool Name PMC & NC Name PMC Program No.

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

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

NOTE Back up any online-edited ladder program in the PMC to F-ROM of the PMC.3. If the ladder program in the PMC is not updated.[Online/Offline] or click the [On Line/Off Line Change] button to change the programmer mode to offline. "WRITING SEQUENCE PROGRAMS INTO FROM. the following dialog box appears. 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.38 - .2 2. After that. Fig. 3. Perform decompilation. a dialog box appears. Select [Ladder] . (See Section 7.) .6. Update the ladder program.5." for details.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 Terminating online editing Procedure 1.

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

3. 3. • 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.3.CREATING AND EDITING SEQUENCE PROGRAMS 2. B-66234EN/04 On the [Program List] screen. double-click the ladder program you want to edit. Alternatively. select the ladder program and press the [Enter] or [F10] key.40 - .3 (b) Global search button Browse button Fig.5.3 (c) .5.

Update button(for online editing only) Updates the ladders in the PMC with the those in the display window.41 - . Zoom-out button Reduces (shrinks) ladder diagrams. Edit window Ladder program is edited here. Erase all button Erases all ladders from the edit window. Error status Displays information about errors.B-66234EN/04 3. Zoom-in button Magnifies ladder diagrams. Search button Searches the display or edit window for an address or symbol. 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. . 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.CREATING AND EDITING SEQUENCE PROGRAMS Display window Ladder program is displayed here. Address display format Specifies the display format for ladders on the display or edit window. (This operation nullifies all the changes you made after the latest update. Resize button Make the size of a ladder diagram display match the window size.

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

5 (g) The edit tool bar contains buttons for entering relays and coils. NOTE 1 To display the edit tool bar. Under this condition. Right-clicking resumes the usual mouse pointer shape.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.CREATING AND EDITING SEQUENCE PROGRAMS • Edit tool bar Fig. . select [View] .[Edit ToolBar]. 3. left-clicking causes the relay or coil to be entered in the current mouse pointer position. When you click a button on the edit tool bar and move the mouse pointer to the edit window. the mouse pointer changes its shape to the relay or coil corresponding to the clicked button.43 - . using the mouse.

Search Edit .Change Address Display Edit .Select All Edit .Copy 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.Jump to specified net number Edit .CREATING AND EDITING SEQUENCE PROGRAMS • Shortcut keys Table 3.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 .44 - .3.Replace Display always Edit .) Insert line Function instruction Net comment Insert before net Insert after net Delete Edit .

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

4 (a) . 3. Then.5. Procedure 1. Fig.4 Changing Ladder Programs This subsection describes how to modify ladder programs. using the cursor control keys.3. it is impossible to select the <Insert> and <Replace> buttons. copy ladders from the display window to the edit window. 2 If there is a ladder error in the ladders on the edit window. On the display window. change them on the display window and substitute the ladders on the display window with those modified on the edit window. NOTE 1 To modify a ladder program. 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.5.46 - . position the cursor to the ladder you want to modify.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.

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

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

see the subsections listed below: Table 3.7 "Entering Function Instructions" Fig.6 "Entering Basic Instructions" Entering horizontal lines 3. In the edit window.B-66234EN/04 3.5.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). NOTE 1 If there is a ladder error in a ladder in the edit window. 3.5.5.5.5 Operation Subsection Entering basic instructions 3.CREATING AND EDITING SEQUENCE PROGRAMS 3.5 (a) .49 - . 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. create the ladders you want to insert into a ladder program.5.5. For an explanation about how to operate the ladders on the edit window.9 "Entering and Deleting Vertical Lines" Entering function instructions 3.8 "Entering Horizontal Lines" Entering and deleting vertical lines 3. it is impossible to select the <Insert> and <Replace> buttons.5. Procedure 1.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The [Search result list (call)] screen displays program numbers. Specify a character string you want to search for. 4-3 Multiple search strings Check this check box to specify multiple character strings to be searched for. B-66234EN/04 4-1 Search string Enter a character string to be searched for. 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 (.) or semicolon (.0) 4-2 Wildcard search Check this check box if a specified character string to be found includes wildcards.5. This wildcard can be used more than once to represent characters.). An asterisk (*) represents zero or more characters. Fig. two types of wildcards can be used: a question mark (?) and an asterisk (*). 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. A question mark (?) is used to represent one character. 3. In a character string to be found.72 - . (Example: Y0.X0.CREATING AND EDITING SEQUENCE PROGRAMS 4. A wildcard substitutes for one or multiple characters. and coil comments. net numbers.0.3.17(e) . ladder diagrams.

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

3.5.5.1 Setting collective display extraction conditions Procedure 1. 3. For buttons and input items. 3. The [Collective Display] screen appears.3.18. see the next page and later.5.5.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.74 - .18.18.1(b) .1(a) Fig. Fig. Double-click the <Collective Display> item on the [Program List] screen.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.

Fig. The [Setting of search condition-name] screen appears.13.18.B-66234EN/04 3. 3-2 After setting a desired character string.CREATING AND EDITING SEQUENCE PROGRAMS 2.75 - . Click the <Add Condition> button. . click the <OK> button. The [Search] screen appears.5. For each setting item. A set character string is displayed as a search condition name in the search condition list on the [Search Monitor] screen." 3.5.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.5.1(c) 2-1 After setting search conditions.0) A set character string can be modified. click the <OK> button. 3. "Search. see Subsection 3. Fig. (Example: Search of Y0. 3.18.

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

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

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

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

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

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

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

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

(You can also key in directly after positioning the cursor. and press the [Enter] key. AND. and the address or parameter will enter the change-enabled state.20 3.) Fig. 3. 2. DIVB. 2 You cannot change function instruction numbers or the first parameters of the function instructions ADDB. EOR.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. OR.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. Press and hold down the [Shift] key and press the [Enter] key.3.5. Procedure 1. . MULB. Position the cursor to the signal address or function instruction parameter you want to change.5. and SUBB.84 - . NOTE 1 You can also enter a symbol as a signal address. Change the signal address or function instruction parameter. COMPB.

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

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. On the [Program List] screen. Procedure 1.5.5.22 (a) 2-1 Ladder The total number of steps in the program is displayed. 3. click [Properties].3. Fig. 3. position the pointer to a program for which you want to check the number of program steps and click the right mouse button.22 (b) .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.5. Fig.86 - . Then.

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

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

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

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

NOTE In online editing mode.1 Check [Editing ladder diagram on display window] under Method of editing ladder diagram (Offline).5. 3.91 - . 3.24.24.5. a ladder program cannot be modified on the display window.B-66234EN/04 3. .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. In the [Option] dialog box. choose [Option].1 Changing the ladder editing mode From the [Tool] menu. Fig.CREATING AND EDITING SEQUENCE PROGRAMS 3.5. click the [Ladder] tab.

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

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

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

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

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

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

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

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

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

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

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

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

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

Search button Searches for a step number and action.6 (b) Cursor position Zoom-out button Reduces the step ladder screen display. .B-66234EN/04 3. and label number. 3.105 - . action (subprogram).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. Address display method selection button Switches between address and symbol displays. Information about element in the cursor position Displays a step number. Check button Check program syntax. Zoom-in button Magnifies the step ladder screen display.

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

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 -

Transition P102 cannot be omitted. A step number must be assigned to a step. The step at a jump destination becomes active. Label A label represents a jump destination. Duplicate step numbers cannot be used in a program.114 - . There must always be a transition below a block step. The jump destination must be within the same program.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. If transition P102 is exchanged with P121. It is impossible to jump from outside to inside a parallel branch and vice versa.3. - A jump-to label [Ln] is defined. A subprogram for P102 must be a dummy transition that is always satisfied. - - A step number [Sn] necessary to control execution and a subprogram [Pm] that describes actual processing are defined for a block step. . Block step The block step is a step for representing a subprogram described with step sequences. - A jump-to label [Ln] is specified. processing at step S21 does not work normally. Write a condition for terminating step S21 in transition P121.

115 - . - An end block step is created to end block step processing. End block step The end block step represents the end of the steps in a block.B-66234EN/04 3. 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. It can have any number of end block steps.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.

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

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

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

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

The [Action] dialog box appears.120 - .CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3.6. ← L10 S1 P500 . 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). Hold down the [Shift] key. press the <OK> button. After you finish entering the label name. and then press the [F6] key. 2. Fig.8 4. ← S1 3.8 Specifying Jump-to Label Procedure 1.6.3. Enter the label name. 3.

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

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

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

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

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

0 Relay comment RELAY X COMMENT Y0.[Online/Offline]. To change the programmer mode to offline.7.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. NOTE Symbols and comments can be displayed and edited only when the current programmer mode (offline/online) is offline.7 EDITING SYMBOLS AND COMMENTS This section describes how to edit symbols and comments. select [Ladder] . Table 3.126 - .3.1 Symbol and Comment Data Names and comments can be assigned to the input signals and internal relays used in sequence programs.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. These names and comments are generically referred to as symbol and comment data.7.0 Display INPUT Symbol 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.

1 (b) Symbol Relay comment ASCII characters ASCII characters (except lowercase Kana and Kanji Half-size kana letters) 16 bytes 20. 2 Relay comments are used only on the Ladder Edit screen of the FANUC LADDER-III. kanji. 20. They are not included in a memory-card-type file generated by the compile function. whichever is reached first.127 - .1 (c) Net comment ASCII characters.B-66234EN/04 3.000 Not allowed 16 bytes 20.CREATING AND EDITING SEQUENCE PROGRAMS Table 3.7. kana.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.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.000 NOTE 1 The maximum number of characters or lines. . functions as a limit. half-size kana 2 steps/net comment 64 bytes/line or 4095 bytes/net comment 100 lines/net comment Approx.7.

.2 Procedure 1 Double-click the <Symbol comment> item on the [Program List] screen.7.128 - . 3.7. Fig.7.3. 3.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. The [SYMBOL/COMMENT] screen appears.2 (b) NOTE When you check [Ignore too long strings of the symbol]. 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.2 (a) Fig.

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

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

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

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

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

SA3. 2 Up to 65.535 characters are accepted.8.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 3. up to 512.2 Models and Quantity of Usable Characters The types of characters usable in message text vary depending on the CNC/PMC model. these characters cannot be entered. 3 With the PMC-SB7. and SC4.8. 1. Table 3. With FANUC LADDER-III. but the number of characters is limited depending on the total capacity of the sequence programs.535 characters can be used in messages in total with PMC-SA1. SB3. Others are deleted. SB4. when the message edit function ends. SC3. See the following table for details. NOTE 1 Lowercase letters (a to z) are converted to uppercase (A to Z) when entered.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.3.134 - . . Specifically. FANUC LADDERIII cannot check whether they can be displayed. Only the first 65. SB5.000 characters can be used in messages in total. SA5. the number of characters in messages are counted starting at message No. SB6.

b: The number of bytes (1. 2.8. See Subsection 3. i: The number of digits in the integer part (0 to 8) is specified." Using the view function enables you to confirm whether the displayed message is actually continued on the next line.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. ____: Address where numeric data is stored. [Ibid. On the code input mode screen. (Example: • • • • • • • • • •) With the view function.D300]) Usually.B-66234EN/04 3.0 to A124.8.8.8.135 - . "Toolbar.4. a message is entered using the following numeric data format. "Toolbar. enter "@" followed by "0A. d: The number of digits in the decimal part (0 to 8) is specified. (Example: ###.4 3. (Example: [I232.7 A0.1 Entering Special Characters New line character To enter a new line character. On the screen.___] Letter I prefixes the "bid" information. or 4) is specified.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.2 Numeric data In code input mode. 3. a dot "•" is used to represent a new line character. press the [Enter] key.5.8.8.0 to A249.##) See Subsection 3." for an explanation of the code input mode and view function. as many number signs (#) as the number of specified digits are displayed in bold.3 Message quantity Address range A0.5. .CREATING AND EDITING SEQUENCE PROGRAMS 3." for explanations about the code input mode and view function.0 to A24. as many dots "•" as the number of digits in the character string (from [ to ]) representing numeric data are displayed on the input mode screen.7 200 A0.4.8. Table 3.

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

6 Status Bar <1> Fig.CREATING AND EDITING SEQUENCE PROGRAMS 3.8.Undo Edit .B-66234EN/04 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 .6 <1> The status bar displays the number of bytes in a message on the current line (that line with a caret).Copy Edit .7 Corresponding function Search Search direction Replace Replace all Code input mode View Invalid kanji character check Jump Edit . 3.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.8.8.137 - . 3.Cut Edit .8.

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

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

3. however. .1 (c) 1-2 Select a module name from those that can be specified.140 - . [BASE]: To always be set to 0. when information ‘##’ about power-on/-off is assigned.CREATING AND EDITING SEQUENCE PROGRAMS B-66234EN/04 1-1 Double-click the line that you want to edit. [SLOT]: To be set to a unit number for the I/O Unit-B. Set the following data.3. 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. Fig. To be set with 0. The [Module] screen appears.9.

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

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

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

If 150% is specified. 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. . even when the PMC screen display is active. PMC-QC. Language Origin (Valid only with the PMC-SC3/SC4.CREATING AND EDITING SEQUENCE PROGRAMS 1-1 Set the necessary data. and PMC-SB7) Initial value: 100 Setting: 1 to 150 Set an increment for the processing time for ladder levels 1 and 2. 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. the processing time for levels 1 and 2 is 5 ms. Language Exec Ratio (Valid only with the PMC-SC3/SC4. thus quickening ladder processing. "Language Program Processing Time". Specify 000000H if no language program is included. and "Ladder Level 3". PMC-QC. 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". Setting this parameter makes it possible to run the language program cyclically. and "Ladder Level 3". Setting this parameter reduces the ladder scan time.144 - .3. PMC-QC. PMCNB/NB2. the processing time for levels 1 and 2 is 7. The ladder execution time takes the value described below out of 8 ms. "Language Program Processing Time". If 100% is specified. because the language program and the PMC screen display have the same priority.5 ms. Ladder Exec (Valid only with the PMC-SC3/SC4. Note that increasing the ladder execution time decreases the processing time in "PMC Screen Display Time".

and the address of an LED image to be transferred to the operator's panel. specify an arbitrary internal relay area. LED Bit Image Address Set the PMC address corresponding to the start address of LED image to be referenced by a user program. specify the actual DI/DO address connected to the machine operator's panel. . If checking this box. Usually. 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. The valid number is 0 to 16. Channel 2 Enable Specify whether to enable or disable the selectable I/O link assignment function for channel 2. If checking this box. Channel 1 Enable Specify whether to enable or disable the selectable I/O link assignment function for channel 1.B-66234EN/04 3. Basic Group Count This parameter is used to divide I/O link assignment data into a basic group section and a parameter selection group. specify an arbitrary internal relay area. specify Basic Group Count.145 - . Set the number of basic groups. Usually. 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. If you select this item.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. specify Basic Group Count. the address of a KEY image transferred from the operator's panel. Key Bit Image Address Set the PMC address corresponding to the start address of KEY image to be referenced by a user program.

which is shown in Subsection 9. "Setting PMC Setting Parameters.11. See Section 3.3." for an explanation about how to save the data entered on the [Edit System Parameter] screen.12." does not appear. the screen for setting the I/O link assignment data selection function.6. 2 When channel 1 and channel 2 are not checked. "Saving Programs.CREATING AND EDITING SEQUENCE PROGRAMS 2 B-66234EN/04 To close the [Edit System Parameter] screen. <Close> button This operation has nothing to do with whether to save the data entered on the [Edit System Parameter] screen.3. 3 To enable the I/O link assignment selection function. "Closing Programs.146 - . click the <Close> button." for an explanation about how to close a sequence program without saving the data entered on the [Edit System Parameter] screen. 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). See Section 3. . set the setting parameters (K910 to K930) correctly according to the I/O devices that are actually connected. NOTE 1 For details on the I/O link assignment data selection function.

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

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

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

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

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

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

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

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

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.1 (h) .155 - .14. which indicates that a new import destination program will be created. a message appears.B-66234EN/04 3. 3. Fig.

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

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

specify the export-to folder.3.1 (b) NOTE On the [Open] screen displayed by clicking the <Browse> button. 3 Click the <Next> button. 3. Handy-file Format File A memory card file (MCARD) is exported from the currently open sequence program to a file in Handy file format. . 3-1 Specify an export-to file.158 - . the last file folder used for exporting a file is displayed in [Look in:]. "Work Folders and Online Program Files. See Subsection 3.1.3. Fig.15. If the type of a file to be exported is a user file. The [Import/Export -." for explanations about the user file folder.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.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.

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

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

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

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

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

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

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

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

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

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

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

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 -

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

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

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

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

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

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

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

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

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

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

Fig.11. Procedure 1 Select [File] .11.1 (b) 2-2 Specify a File name. . 2-1 The [Save As] screen appears.11 4. The [Print] screen appears. 4.187 - .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. Fig.11.1 (a) 2 To save the options to a file.B-66234EN/04 4. 4. 2-3 Click the <Save> button. click the <Save Option File> button.[Print].PRINTING SEQUENCE PROGRAMS 4.

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

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

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

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

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

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

and font. File Specify the meta file you want to use for frame printing. Data can be specified in the following data formats. %[S]: Subtitle data will be printed. %[T]: Title data will be printed.2 (e) Frame Print Specify whether to print a frame. Data Specify the data for which you want to set up a character string.194 - . The <File> button lets you select a file name. 4. (Initially values) Character definition 1: %[P] Character definition 2: %[T] Character definition 3: %[N] Character definition 4: %[S] Character definition 5: Unavailable . coordinate values.4. %[N]: Page numbers will be printed.12. The following items can be set up only when this item is selected. %[P]: A program name will be printed.PRINTING SEQUENCE PROGRAMS 2-5 [Print Type] tab B-66234EN/04 Fig. String Specify a character string set up in Data as print 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. click the <OK> button. It can also be selected by clicking the up/down arrows. .) Font Size Specify the font size you want to use to print the data set up in Data.B-66234EN/04 4. To cancel the page settings. It can also be selected by clicking the up/down arrows.) 2-6 To use the entered page settings. A value can be entered directly.195 - .PRINTING SEQUENCE PROGRAMS X Pos Specify the print start position (X-coordinate) for a character string set up in Data. (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. click the <Cancel> button. (The Initially value is <Courier New>. A value can be entered directly. (The Initially value is 12. The entered value is assumed to be in mm. The entered value is assumed to be in mm.

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

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

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

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

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

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

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

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

204 - .3 AUTOMATIC COMPILATION AND DECOMPILATION This section describes automatic compilation and decompilation. • Execution condition of automatic compilation Select [Ladder] . .[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). object code is decompiled automatically under one of the following conditions.Click the [Decompile] tab for setting. When the mode is switched from offline to online.[Option].Click the [Compile] tab for setting. .COMPILATION AND DECOMPILATION B-66234EN/04 5.[Option]. 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] . .Select [Tool] . a source program is compiled automatically under one of the following conditions. When the mode is switched from online to offline.[Online/Offline].5.Select [Tool] . 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 . (2) Decompile option .

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

and printed. In this case.1 Partial Protect Functions This subsection describes the partial protect function.4. as well as enabling a ladder program to be partially protected.5. except for using the special password to permit display and editing. only a subprogram in the non-protection area (P1500 or later) can be displayed. edited.206 - . [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. (Except for its beginning with #. • Special password A special password begins with #. When compiled. a special password is no different from a normal password. An object code with a special password is created in the same way as an object code with a normal password. 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.COMPILATION AND DECOMPILATION B-66234EN/04 5. This enables only the non-protection area to be changed while a ladder program created by a machine tool builder is protected. Using a special password to permit display and editing enables the subprogram area to be divided into a protection area and nonprotection area.IO-2)/SB7/NB2(STEP) NOTE Object code with a special password can be decompiled without entering a password.) Example of a special password: #FANUC • Protection area and non-protection area A subprogram number identifies the protection area and nonprotection area. .

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

208 - . Select [Convert Data Kind]. Converts only titles. Converts only I/O modules. The following items can be selected: Table 6. Converts only messages. Then. Converts only symbols and comments.[Mnemonic Convet]. Fig.1 (a) Converts all source programs. Converts only system parameters. the [Mnemonic – Mnemonic Conversion] dialog appears. ALL System Parameter Title Symbol&Comment Ladder I/O Module Message . 6.MNEMONIC EDITING B-66234EN/04 6.1 2 3 Enter a mnemonic file name in [Mnemonic File]. Procedure 1 Select [Tool] . Converts only ladder programs.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.

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

click the <OK> button.6. Fig. (Conventional specification) When checking is disabled.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. K:W-4133. a warning is output to a log file when it occurs during conversion of a symbol & comment mnemonic file to a source program. When checking is enabled. Target warning numbers: K:W-4131. the [Mnemonic – Source Program Conversion] dialog appears.2 2 3 4 Enter a mnemonic file name in [Mnemonic File Name]. Then.MNEMONIC EDITING B-66234EN/04 6.210 - . Once the conversion is complete. 6. click the <Log File> button. 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.) . Procedure 1 Select [Tool] . (To see the most recently converted results.[Source Program Convert]. K:W-4139 To convert a mnemonic file to a source program.

B-66234EN/04 6. 3 If the name of defined symbol data is the same as a signal name available in ladder programs.MNEMONIC EDITING NOTE 1 For conversion to a source program. however. created in A or B format. 2 For a coil comment. an error may occur during conversion to source data. . that contains single-byte lowercase alphabetic characters. 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.211 - .

" is regarded as being a comment statement.This is used in the I/O module data part to delimit channel numbers and I/O module data. data after ".212 - . Data after ". CR (0DH) is ignored. Data before ":" is regarded as being net numbers.MNEMONIC EDITING B-66234EN/04 6. ." is not converted but deleted.6. beginning with %. . .This is used in the ladder data part to delimit ladder data and a comment statement. Data before ":" is regarded as being channel numbers. • Identification code For a mnemonic file.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. • Delimiter . data is defined using one of four types of identification code. Table 6. when a mnemonic file is converted to a source program.3 MNEMONIC FILE FORMAT This section describes the mnemonic file format. (Semicolon) Table 6. Consequently.This is used in a ladder data part to delimit net numbers and ladder data. : (Colon) . This is used in ladder data and I/O module data.3 (b) This is used in ladder data.

A string enclosed in the second single quotation marks is a coil comment. 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. describe a dollar sign plus a single quotation mark "$" + " '. At the beginning of a line. describe "$$. R0200." . a dollar sign "$" is used as the control character. $1 ‘’ ‘INITIALIZE OF SEQUENCE’ NOTE When you use a single quotation mark " ' " in a string of a relay comment or coil comment. and then describe a symbol.213 - .B-66234EN/04 6. When a dollar sign is used in a string. describe a pair of single quotation marks for the relay comment part." (1) Symbol and comment data Specifying address and symbol Describe an address and symbol on the same line. describe an address.MNEMONIC EDITING • Control character In a mnemonic file. use a halfsize space or tab as a delimiter.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).

6.MNEMONIC EDITING B-66234EN/04 (2) Ladder data Starting and ending a net comment Describe a net comment with "(*. Table 6.214 - ." "*)" in a ladder mnemonic.3 (d) Description $P or #p Meaning Specification of position of form feed character (printing ladder diagram) . describe "$P" in a net comment. Table 6.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.

1 Single Format This section shows a sample file for each single-format data.4 MNEMONIC FILE SAMPLE This section provides examples of mnemonic files for the single format and All format.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 .215 - .MNEMONIC EDITING 6.1. 6.4.4. 6.B-66234EN/04 6.

4.MNEMONIC EDITING B-66234EN/04 PMC type Table 6. 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. 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.6.1. 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 .216 - .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.

Presence or absence of operator panel 4. I/O link assignment selection function 14. Not used: UNUSE) (channel 2) (0 to 16) (channel 2) . (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. 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. Presence or absence of operator panel 4. Ladder execution time (BINARY or BCD) (Presence: YES. Not used: UNUSE) (channel 1) (0 to 16) (channel 1) (Used: USE.MNEMONIC EDITING The parameters for each model are described below. Presence or absence of operator panel 4. PMC type 5. Counter data type 3. I/O link assignment selection function 12. Number of basic I/O link groups (BINARY or BCD) (Presence: YES. Counter data type 3. Ladder execution time (BINARY or BCD) (Presence: YES. Ladder execution time (BINARY or BCD) (Presence: YES. Ladder execution time 11. PMC type 5. Counter data type 3.B-66234EN/04 6. 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. Presence or absence of operator panel 4. Counter data type 3.217 - . Number of basic I/O link groups 13. Presence or absence of operator panel 4. Time ratio to execute language program 7. PMC type 7. Counter data type 3. PMC type (BINARY or BCD) (Presence: YES. Absence: NO) (PMC-SB7) (Used: USE. Head address of language program link control statement data 6. Head address of language program link control statement data 6. PMC type 7. 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. Time ratio to execute language program 7.

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

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

0 2100020 ACT DOOR NOT CLOSE A00. <X0.6. <R0. <P2 > “SUB PROG. <L100 > .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 .2 2100020 EDTOK KEY SWITCH ON % 6. NO.0 > DADR04 .2.01” RADR00 .3 Message %@4 A00.220 - . [SUB PROGRAM DATA NO. <X0.2. <L100 > [LABEL L00001] .1 > “JUMPB LABEL L002” LABEL1 .0 > “JUMPB LABEL L001” LABEL1 . [LABEL L00001] .4.0 % 6.4 I/O module %@5 X000 1 0 1 ID64A Y008 1 0 4 OD64B % . [LABEL L00001] XADRS2 . <P1 > “SUB PROG.01” . <D0 > 2 D0.01] XADRS1 .4.1 2101022 SPINDLE SPEED ARRIVAL SIGNAL NOT ON A00. NO. <L100 > .

1 2101022 SPINDLE SPEED ARRIVAL SIGNAL NOT ON % %@5 X000 1 0 1 ID16C Y008 1 0 4 OD32A % %@E .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.4 % %@4 A00.2 WRT Y2000.221 - .4 AND R100.4 (* Describe a net comment at this position.0 2100020 ACT DOOR NOT CLOSE A00.4.B-66234EN/04 6.1 UNIT-2-ACT $1 ‘$’POWER$$’ ‘KEEP UNIT-4 $$POWER$’ ON’ R0300.0 AND R1000.2 WRT Y23. Any characters that can be entered from a PC are available.3 AND R1000. *) RD R1001.0 OR R120.0 OR R123.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.MNEMONIC EDITING 6.3 ALL format %@A %@0 2 BINARY 3 NO 4 PMC-RB4 % %@1 01 MACHINE TOOL BUILDER NAME : : 10 REMARKS % %@2-C R0200.2 WRT Y200.

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

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

to display the Fig.1. Select [Tool] .1 Setting up RS-232C Procedure 1. 7..224 - .] [Communication] dialog box.INPUT/OUTPUT B-66234EN/04 7.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.1.7.1.1. 7.[Communication.. [Communication] Dialog Box This subsection describes how to set items related to communication in the [Communication] dialog box.1 7.1.1(a) .

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

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

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

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

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

7. On PMC-SB7.7. <I/O by MONIT-ONLINE function> A communication function by an online monitor is used. 2 Fig. this screen does not appear.INPUT/OUTPUT B-66234EN/04 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.2. The [Program transfer wizard Selection of transferred method] screen appears.2 7.1 LOADING SEQUENCE PROGRAMS FROM THE PMC (DURING DISCONNECTION WITH THE PMC) Procedure 1 Select [File] . Select [Tool] . only <I/O by MONIT-ONLINE function> is available. .[Load from PMC]. NOTE On PMC-SB7.230 - .1(a) 2-1 Select a transfer method.2.

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

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

and then click the <Next> button. 7.2.B-66234EN/04 7. Fig. 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>. The [Program transfer wizard Selection of loading/store] screen appears. The [Program transfer wizard Selection of program] screen appears.1(g) 4 Click the <Next> button. 7.2.1(h) 5 Select LADDER or ALL. .233 - .

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2 Yes A sequence program is to be stopped.253 - . .[Program Run/Stop].2 STOPPING SEQUENCE PROGRAMS This section describes the procedure for stopping sequence programs. Fig.EXECUTING AND STOPPING SEQUENCE PROGRAMS 8. 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. select another screen on the NC. 8. To stop the program. no program can be stopped.B-66234EN/04 8.

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

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

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

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

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

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

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

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

1.4. 9.DIAGNOSIS B-66234EN/04 9.4.9.1.5 Context menu Fig.6 Shortcut key list Table 9.4.1.4.1.262 - .6 Shortcut key [F3] [F4] [F5] Corresponding function Search Parameter setting Execution .5 9.

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

9.DIAGNOSIS B-66234EN/04 9.2 <1> Switches between the status screen and forced I/O screen.2. <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. 9.) .264 - .2 Toolbar <1> <2> <3> <4> <5> <6> <7> <8> <9><10><11> <12> Fig.2.

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

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

2 Status bar <1> Fig.3 9.2.3.3.4 Shortcut keys Shortcut key [F4] [Ctrl]+[F] Table 9.4 Corresponding function Symbol indication (off↔on) Search .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.DIAGNOSIS 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.2.2.3.3. 9.3.267 - .3 Context menu Fig.3.3. 9.2.2. sec.2.3. 9.B-66234EN/04 9.2.2.1 Toolbar <1> <2> <3> Fig. min) 9.

9.268 - . 2 Data which cannot be displayed in BCD is indicated with a question mark (?). Fig.3. 9.3.3.2 Context menu Fig.DIAGNOSIS B-66234EN/04 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.9.2 . 9.1 Toolbar <1> <2> <3> Fig.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.3.3.3.3.3.3. 9.

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

3.2 Context menu Fig. Fig.3.3. 9.4. 9.3 Corresponding function Symbol indication (off↔on) Search .4 9.4.4.3.2 9.4.3.DIAGNOSIS B-66234EN/04 9.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.4 Keep Relay The contents of the keep relays (K) can be displayed and modified.1 Toolbar <1> <2> <3> Fig.4. 9.4.270 - .3.9.3.3 Shortcut keys Shortcut key [F4] [Ctrl]+[F] Table 9.

The bits marked * are used by the PMC control software and are not related to the online function operations. This subsection describes only the signals relating to online function operations. 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.DIAGNOSIS 9.4. For detailed information and other signals. sequence programs cannot use the data in these keep relays. 0 Does not allow you to change the signal status.B-66234EN/04 9. 0 Does not display the ladder monitor screen.271 - . Does not allow you to use the online edit function and I/O 0 function. refer to the "PMC Ladder Language Programming Manual" (B-61863E).3.4 Data for PMC control software Because some keep relays are used by the PMC control software. .

3.5 Data Table The contents of the data table (D) can be displayed and modified.5.272 - .DIAGNOSIS B-66234EN/04 9.3.1 Toolbar <1> <2> <3> <4> <5> <6> <7> <8> <9> <10> <11> Fig.3.9. 9. 9.5 9.5.3. Fig.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 .

5.5.999.3 Shortcut keys Shortcut keys [F4] [Ctrl]+[F] Table 9.5.5 Context menu Fig.4 Word -32. 9.3.5.3. [Hex].999 Double word -2.483.5.2 <4> <5> <1> Group name <2> Data area range <3> Number of data items <4> Display format [Byte]. [Decimal]. or [Bcd] is indicated.DIAGNOSIS 9.3 Corresponding function Symbol indication (off↔on) Search 9.999 Decimal Hexadecimal BCD 9. 9.147.273 - .3. 9. [Word].2 Status bar <1> <2> <3> Fig.3.147.3.768 to 32.3.648 to 2.3.5.B-66234EN/04 9. or [Dword] is indicated.483.647 0 to FFFFFFFF 0 to 99.767 0 to FFFF 0 to 9.3.4 Input data range Byte -128 to 127 0 to FF 0 to 99 Table 9. <5> Display type [Bit].5.5 .5.

274 - . If any of these functions are to be used for the maintenance and adjustment of the machine in the field.1 Setting PMC Setting Parameters PMC setting parameters can be made valid or invalid. are assumed to be used only by those operators who are familiar with the operation of sequence programs and that of the PMC. If the design of an application system is inappropriate. 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.6. PMC-SA1: K17 to 19). The PMC provides a variety of editing. 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. security problems are more likely to occur. which may disable the safety mechanism provided by sequence programs.6 9.3. Programmer protect function CAUTION The subsequent subsections contain information important to the developer of the application systems to be controlled by the PMC.9. These functions. 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. and debugging functions to support sequence program development and debugging.3. 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. diagnosis.DIAGNOSIS B-66234EN/04 9. . Use great caution when operating the functions described in the subsequent subsections and designing application systems using these functions.

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

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

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

The I/O device configuration may not match the I/O assignment data.3. 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.3. Cancel Returns you to the SETTING screen for PMC setting parameters. possibly causing the machine to perform an unexpected operation after the power is turned on. Fig.6.9.4 OK Displays the selectable I/O link assignment function.4 Warning message When you click the [Display] button to call the setting parameter screen of the selectable I/O link assignment function.6.DIAGNOSIS B-66234EN/04 9. . 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.278 - . the following warning screen appears first to warn you against the modification of parameters. WARNING If you modify these parameters inadvertently. 9.

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

. click the [OK] button below the warning message.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 channels are noneligible for this setting.9.3. These groups are noneligible for this settings.280 - . 2 Channels for which the "selectable I/O link assignment function" is disabled on the system parameter screen are displayed gray.3 reappears. To reflect the settings to the keep relays.6. 3 When you click the [OK] button. the warning message shown in Subjection 9.

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

5.1 9.282 - . Fig. Procedure 1 Select [Diagnose] . The [[PMC Status] screen appears.9.[PMC Status].5.5 9. 9.1 PMC STATUS The PMC program status is displayed.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 - - - - - .DIAGNOSIS B-66234EN/04 9.5.

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

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

6. .4 9.2 Toolbar <1> <2> <3> <4> <5> Fig. Number search Displays data from the beginning. Displays data from the end.5 Corresponding function Number search Displays the [Parameter] screen.B-66234EN/04 9.4 Context Menu Fig.285 - .6. 9.6.6.5 Shortcut Keys Shortcut key [F3] [F4] [F5] [Ctrl]+[F] [Ctrl]+[Home] [Ctrl]+[End] Table 9. 9.6.6.3 Status Bar <1> Fig.6.3 <2> <1> Status [Tracing Exec] or [Trace Stop] is displayed. <2> Elapsed time 9.DIAGNOSIS 9. Starts and stops tracing. 9.6.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 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. starting tracing with an illegal memory address specified may result in a system error. the user needs to be familiar with PMC programming in C language. .DIAGNOSIS B-66234EN/04 9.6 [Signal Trace Parameter] Screen Fig.286 - . (The buttons of the signals to be traced are in the down state. the PMC signal trace screen cannot be displayed. and specify a valid memory address. NOTE 1 While the signal analysis function is being used. Refer to the " C language Programming Manual" (B61863E-1). To specify a valid physical address.) The parameter settings become valid when the execution of signal tracing is selected.9. CAUTION When the address type is physical address.6. the signal trace function cannot be used. 2 During online monitoring. 9.6.

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

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

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

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

DIAGNOSIS 9.7. 9.3 <5> <6> <7> <1> to <6> are displayed when sampling terminates. <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. 9.4 Context Menu Fig. 9.7.7. During sampling.B-66234EN/04 9.7.3 <1> Status Bar <2> <3> <4> Fig. [Executing] is indicated.4 .291 - .

9. Scrolls to the right by one sampling interval (8 or 4 msec).292 - . 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.DIAGNOSIS B-66234EN/04 9.5 Corresponding function Sampling time search Displays the [Parameters] screen.7. Sets the grid line format. Scrolls to the left by one sampling interval (8 or 4 msec). Scrolls to the beginning of the signal analysis display. . Saves data with a name. Starts and stops sampling. Scrolls the signal analysis display up by 1/2 page. Opens an existing signal analysis file.7. Scrolls to the end of the signal analysis display. Scrolls the signal analysis display up by one line. Scrolls the signal analysis display down by 1/2 page. Displays/does not display grid lines. Sets the signal waveform format. Scrolls the signal analysis display down by one line. Scrolls to the end of the line.

7. 9. 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.DIAGNOSIS 9.1sec increments).1sec increments). a message box appears. Trigger Address Set the trigger bit address at which sampling starts. indicating "No Trigger Address." .293 - . with a PMC address or symbol.B-66234EN/04 9. set one to five sec (in 0.7. When the sampling interval is 8 msec. set one to 10 sec (in 0.6 [Signal Analysis Parameter] Screen Fig.6 Sampling Time Set the maximum sampling time. When the sampling interval is 4 msec.

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. the registry is read. NOTE When About or Before is selected with the condition set to Start.294 - . the buffer can hold data sampled over five seconds. a message box appears. the read start and end points are specified.9. indicating "[About]/[Before] is illegal on [Start] selected.) In trigger mode.7. click the <RESET> button. Table 9.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). About: The signal status around the time at which the trigger address satisfies the trigger condition is read within the sampling time.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 dialog box is next opened." Signal Address Set up to 16 sampling addresses with PMC addresses or symbols. the trigger address and diagnosis address setting information is stored in the Windows registry on the disk. 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. 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. (When the signal status is read at 4-ms intervals.

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

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

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

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

click the <Start> button again.10. To terminate tracing." for details. <Start> button 4. On the [Trace Parameter Setting] screen. set data. "Setting Trace Parameters. and signal tracing starts. The [Signal Trace] screen appears.B-66234EN/04 9.299 - . 5. Select [Diagnose] .10. See Subsection 9.4. <Parameter> button 3. and signal tracing terminates. Fig. Click the <Parameter> button. 9. 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. The button enters the down state. Click the <Start> button.DIAGNOSIS 9.1 2. The button enters the up state. . The [Trace Parameter Setting] screen appears.10. 9.1 Procedure 1.10 SIGNAL TRACE FUNCTION (PMC-SB7) For the PMC-SB7.[Trace].

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

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

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

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

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

305 - . 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). set a small value.DIAGNOSIS Stop Trigger Position This item is displayed when the tracing stop condition is [TRIGGER]. set a large value. Set the ratio according to the purpose.B-66234EN/04 9. . For example. to check the signal changes after the trigger condition is satisfied. 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. Cancel Closes the dialog box without storing the settings. to check the signal changes before the trigger condition is satisfied.

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

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

Moves the address cursor to the start address.9 Automatic Sampling Function at Power-On By setting a PMC parameter. This setting can be made on the [Set Up] screen for PMC parameters. Moves the address cursor to the end address.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. Displays or does not display grid lines.DIAGNOSIS B-66234EN/04 9. Displays the trace result on the next page. Moves the signal address down.9. Starts or stops tracing. Displays symbols. Moves the address cursor one line up.8 Shortcut Keys Table 9. Moves to the end of the trace result.10. Moves the address cursor one line down.308 - . 9. Moves the current position cursor left. Marking Zoom-in Zoom-out Moves the signal address up. Displays the trace result on the previous page. Moves to the beginning of the trace result. Displays the [Parameter] screen. Moves the current position cursor right.10. Trace function start = 0 (0: Manual 1: Automatic) .10. Scrolls the signal address display down. tracing can automatically be started at power-on. Scrolls the signal address display up.

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

and conversion to a mnemonic file.Compiling and decompiling an *. compilation and decompilation.LAD file opened by another user Source program folder Fig.LAD file . 10.310 - .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.COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10.Converting a mnemonic file to a source program *.1 .10.Opening an *. Command file .LAD file FANUC LADDER-III execution processing Importing and exporting source program files and data Importing and exporting source program files *.Converting a source program to a mnemonic file .LAD file .Closing an *.LAD file .

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

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

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

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

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

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

.B-66234EN/04 10.4. =1 : Details 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.317 - . Explanation Converts a mnemonic file to the open ladder program.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.COMMAND LINE EXECUTION FUNCTION 10. Note .A conversion log (FLMNE.

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

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

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

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

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

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

command-name Indicates the name of a command.cmd line 2 DeCompile:[/sysmerge] Command error command-file-name Indicates a command file name. 10.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.10. [/parameter-name] Indicates the name of a parameter.If an invalid command or nonexistent file or file folder is specified. processing stops at the point where the invalid item is found.6 NOTE . command-line-number Indicates the number of a line in the command file.324 - . message-string Outlines the error or execution status. .COMMAND LINE EXECUTION FUNCTION B-66234EN/04 10.

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

11.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.

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

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

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

and the range of addresses vary from one PMC model to another. However.3.1 Conversion by Changing System Parameters For the following PMC models.330 - .11. Table 11. the format of the system parameters.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. 11.PA1 / PA3 / SB5 / SB6 PMC .SA1 / SA3 / SA5 / SB3 / SB4 / SB5 / SB6 / SB7 SC3 / SC4 PMC .1 PMC from which conversion is possible PMC .3 CONVERTING SEQUENCE PROGRAMS BETWEEN PMC MODELS Converting a mnemonic file enables it to be used as a sequence program for another PMC model.3.CONVERTING SEQUENCE PROGRAMS B-66234EN/04 11. . changing the system parameters in a mnemonic file enables a sequence program for another PMC to be edited.

"MNEMONIC FILE SAMPLE". 5. On FANUC LADDER-III. . 4. change the settings of system parameters to PMC-SC3. 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. 3. On the Edit System Parameter screen. "Parameter" in Section 6. and open a new source program. see Subsection 6. using a general-purpose text editor. In the resulting mnemonic file.B-66234EN/04 11. return the values of system parameters to the previous ones. set PMC-SB3 as the device.4.1. Changing system parameters NOTE For an explanation of the setting items of the system parameter section of each model.CONVERTING SEQUENCE PROGRAMS Example of conversion (PMC-SB3 → PMC-SC3) 1.4. Convert the mnemonic file modified in 2. into the source program opened in 3. and convert the source program to be converted into a mnemonic file. On FANUC LADDER-III. set PMC-SC3 as the device.1.331 - .

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

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

12.334 - . 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 .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.ERROR MESSAGES B-66234EN/04 12.1.1 Function Symbols The function for which an error occurred is represented using one alphabetic character.

1. 2xxx 5xxx 3xxx 6xxx 4xxx 7xxx F E W .ERROR MESSAGES 12.2 Message Classification A message type is represented using one alphabetic character. Classification Description State in which the system is operational. or in which processing is stopped State in which processing continues Warning with results produced.B-66234EN/04 12. 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.335 - . but in which the results are unpredictable Type No.

a program of FORMAT-A/B was specified.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. A source program for an unsupported model was entered.2 12. An entered source program cannot be created. In source program copy operation. The **** file cannot be read. Enter the name of the desired source program. The **** file cannot be closed.336 - . A source program cannot be created if a folder with the same name already exists.ERROR MESSAGES B-66234EN/04 12. Check the entered source program name. No source program is entered.TBL) are not found. and then the free up space on the disk. Program conversion error. Check the models supported by this system.(Memory card -> ROM) Hit any key Cannot create file **** The **** file could not be created. Convert the program by using the data conversion function of the [Tool] menu. Illegal source program name Illegal **** source program name Not found file Not found **** PMC-OS file . A file cannot be output due to there being insufficient disk capacity. FORMAT-A/B cannot be used with FANUC LADDER-III. A specified path is not found.(**** file was updated. Reinstall.12. Terminate the system. Some system files (****. The option file was initialized because its data was destroyed. The **** file cannot be opened. Hit any key **** file open error **** file close error insufficient disk error Invalid option initialized.2. The **** file cannot be read. Check the file configuration of the source program.(ROM -> Memory card) Hit any key Program conversion error. Enter another program name. 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 closed. Check the input method. 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 I/O module file (IOMODULE) or control file (CONTROL) cannot be written to. Specify an existing folder as the export destination for a user file. Check the input range. The title file (TITLE) or control file (CONTROL) of a source program cannot be written to. The entered module does not exist. 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 . Since the timer cannot be used. Hit any key. Hit any key File write error. Select all the data files.2. Check whether the file you attempt to delete is used with another system. Hit any key File write error. Deselect the sub-program file from import targets. Deselect the ladder file from export targets. the status bar display cannot be updated. Check if an output module is entered in address X. 12. 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.3 I/O Module Editing Message File read error. Check the usable modules. Deselect the sub-program file from export targets. Check the input range. Deselect the ladder file from import targets. ladder diagrams.337 - . and subprograms to import a net comment. Error code B:E-3020 B:E-3021 B:E-3022 12. Hit any key Cause/action The title file (TITLE) of a source program cannot be read.2 Title Editing Message File read error. or if an input module is entered in address Y. FANUC LADDER-III can be executed normally.B-66234EN/04 12.ERROR MESSAGES Message Cannot open file Cannot close file File I/O error **** file I/O error Unknown PMC series **** file write error. Check the input range.2. Hit any Key File I/O error. When an LAD file is imported. Cause/action The I/O module file (IOMODULE) of a source program cannot be read. A file access error occurred. the PMC model of the import source must match that of the open program. 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. A file access error occurred.

Check whether this poses a problem.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 . and slot cannot be set more than once. key bit image address.4 System Parameter Editing Message File read error. LED output address.ERROR MESSAGES Error code Message The same group base and slot are already specified Invalid Channel No. The same 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. set the following addresses: Key input address. A module is already set in the entered group.2. Specify a different group. base. LED bit image address Cause/action The system parameter file (SYSPARAM) of a source program cannot be read. I/O Unit-B (power-on/off information) can be set in slot 0 only. base. Reenter by specifying slot 0.338 - . The same group. I/O Unit-A and I/O Unit-B cannot be specified in the same group. and slot are set more than once. and slot. Hit any key File write error. base. Error code D:E-3020 D:E-3021 D:E-3022 D:E-3023 D:E-3024 12.2. The system parameter file (SYSPARAM) or control file (CONTROL) of a source program cannot be written to. base. and slot. The I/O Unit-B module can be set in base 0 only. Check the usable channels. base.12. or slot. 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. Hit any key Invalid value Input data invalid Operater panel address error When the use of the FS0 operator's panel is set.

By loading. Cannot create temporary file. 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. PMC type unmatch. so processing An alarm occurs on PMC cannot be continued. ensure a match with the program on the status=**** PMC. The communication to PMC is not ready.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.B-66234EN/04 12. Start communication. on the PMC. Reset the alarm on the PMC. . A program being edited does not match the program The program is not corresponding(PMC). The size of a ladder being edited exceeded the writable Ladder size over (PMC) size on the PMC. Program size error (OPTION). or restoring a program. Convert the model with the offline function. storing. Reduce the size of the sequence program.339 - . An alarm was issued on the PMC. Reduce the size of the ladder being Error status = **** edited.

CALL and CALLU cannot be created between COM and COME. END2. The method of using function instruction COM (SUB9) is incorrect. The method of using function instruction SP is incorrect.ERROR MESSAGES Error code E:E-6047 Message An alarm occurs on PMC Error status = **** Ladder data error (PMC). 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. so that it cannot be updated. Check that COM is paired with COME (SUB29) correctly. The same sub-program number already exists. Function instruction LBL specified by JMPB is not found. END3. Check that the order of END1. 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. The sequence program is excessively large. DUPLICATE LBL FUNCTION NOTHING (JMPB) E:E-6071 COM FUNCTION MISSING (JMPB) . Check if the ladder data being edited is correct. Check that JMP is paired with IMPE (SUB30) correctly. Ensure that JMPB is not inserted between COM and COME. Function instruction JMPB is found between function instructions COM and COME. The same label number already exists. Add the LBL function instruction. Create function instructions CALL and CALLU on the second level of a ladder or in a sub-program. Change the sub-program number. storing.340 - . END2. also create specified function instruction LBL between COM and COME. and END is correct. Function instructions CALL and CALLU are incorrect. A program does not match the program on the PMC. DUPLICATE SUB PROGRAM NOTHING END FUNCTION NOTHING SP FUNCTION MISSING LBL COUNT OVER LBL NO. Reduce the amount of ladder data.12. Check that SP is paired with SPEED correctly. ensure a match with the program on the PMC. and END are incorrect. Check that JMP is correctly paired with JMPE (SUB30). A ladder is destroyed. Reduce the number of labels. or restoring a program. Change the label number. Function instructions END1. Function instruction CALL or CALLU is found between function instructions COM (SUB9) and COME. By loading. Add the END instruction. END3. Reenter the ladder. No jump can be made beyond COM and COME. The method of using function instruction JMP (SUB10) is incorrect. Create a sub-program. Alternatively. The method of using function instruction JMP (SUB10) in a sub-program is incorrect. so processing cannot be continued.

Specified function instruction LBL is found between function instructions COM and COME. specified by JMPC. The signal status is write-protected. . The net being edited has become larger than the edit buffer. Check the keep relay. An unnecessary relay or coil is set. Create function instruction LBL at the second level of a ladder. Reduce the size of the net being edited. Program read error.341 - . Delete the relay or coil. Check the keep relay. Connect the function instruction correctly. A relay or coil is missing. A ladder is incorrect. Not enough program memory. Connect the horizontal line of the net. or by storing a correct program. Create function instruction JMPC in a subprogram. also create function instruction JMPC between COM and COME. E:E-6187 E:E-6197 Write protect. Display of the data table control screen is protected. Program read error. Function instruction JMPC is not specified in a subprogram.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. A jump cannot be made to a point between COM and COME. By specifying. Ensure that LBL is not inserted between COM and COME. E:E-6160 E:E-6183 This function is protected. Modify the error net. Ladder data write error. Error status = **** The program is not corresponding Allocate conventional memory. Reenter the ladder. Function instruction LBL. Set the parameters. but an attempt was made to update or restore it. ensure a match with the program in PMC memory. INPUT NET TOO LARGE A selected program does not match the program in PMC memory. loading. Add function instruction LBL. Reduce the size of the net. The ladder diagram is not modified. Check the keep relay. The parameters of a function instruction are missing. Temporary file load error. is not specified at the second level of a ladder. Function instruction LBL. 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. Ensure that a jump is made to a point within a sub-program. The online edit/input/output function (sequence program load/store) is protected.B-66234EN/04 12. specified by function instruction JMPC. Alternatively. is not found. Connect the vertical line of the net. RANGE ERR Ladder diagram has not been modified. Set an address. Add a relay or coil.

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

In a parameter of the **** instruction. The number of divisions of the second level of the main program exceeded the maximum allowable value (99). At the end of the third level. There is no SP instruction at the top of the subprogram. JMPC instruction can not be used in the main program. So. a numeric value outside the specifiable range is specified. the CALLU instruction cannot be used. no instruction can be specified. After SPE. CALLU instruction can not be used excluding the 2nd level main program. No sub-program can be called from a level other than the second level of the main program. An instruction is destroyed and unrecognizable. At the end of the second level. At the end of the first level.B-66234EN/04 12. The contents of a ladder program are empty. The END1 or END2 instruction is required. a label number outside the specifiable range or an address other than a label number is specified. SP instruction can not be used in the main program. The execution of the first level of the main program takes an excessively long time. Reduce the first level or increase the value of the system parameter by specifying a ladder execution time ratio. There is no END3 instruction. LADDER program exists beyond SPE instruction. CALL instruction can not be used excluding the 2nd level main program. SP instruction is detected in the subprogram. the END3 instruction is missing. SP is the sub-program start instruction. There is no END2 instruction. SP is the sub-program start instruction. There is no LADDER program. End a sub-program with the SPE instruction used to specify the end of a sub-program. So. LADDER execution time at the 1st level is too large. In a parameter of the **** instruction. SPE is the sub-program end instruction. The size of a ladder program exceeds the maximum specifiable size of a selected type of program. Cause/action In a parameter of the **** instruction. so that the ladder cannot be executed. so that the ladder cannot be executed. An illegal label number is specified for the **** instruction. JMPC is an instruction for making a jump from a subprogram to the second level of the main program. There is no SPE instruction at the bottom of the subprogram. No sub-program can be called from a level other than the second level of the main program. An illegal program number is specified for the **** instruction. the END1 instruction is missing. The size of LADDER program is too large.ERROR MESSAGES Message The **** parameter is out of range. SP cannot be specified in the middle of a sub-program.343 - . the END2 instruction is missing. 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 . In a parameter of the sub-program start instruction SP. LADDER program is broken. There is no END1 instruction. Program number is different from program name. Reduce the size of the second level or increase the value of the system parameter by specifying a ladder execution time ratio. SPE is the sub-program end instruction. a program number outside the specifiable range or an address other than a program number is specified. Start a sub-program with the SP instruction used to specify the start of a sub-program. SPE cannot be used with a main program. JMPC cannot be used with a main program. a program number that does not match the file name is specified. 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. SPE instruction can not be used in the main program. the CALL instruction cannot be used. SP cannot be used with a main program.

no instruction can be specified. END is the end instruction for all ladder programs. The COM instruction for starting a COM instruction control range is defined. A sub-program cannot be called from within a COM instruction control range. LADDER program exists beyond END2 instruction. END2 instruction can not be used. the JMPE instruction for specifying a jump end position cannot be used. The label of **** is used twice or more. the CALLU instruction cannot be used. but the COME instruction for ending .the range is not defined. After END2.344 - . no instruction can be specified. There is no JMPE instruction. no instruction can be specified. . the COME instruction for ending a control range cannot be used. The JMP instruction for specifying a jump start position is defined.12. END instruction can not be used. the CALL instruction cannot be used. There is no label of ****. another JMP instruction is defined. LADDER program exists beyond END instruction. END2 is the end instruction for the second level. Between a JMP instruction for specifying a jump start position and a JMPE instruction for specifying a jump end position. JMPE instruction is detected though the case of the coil number specification. After END. the COM instruction for starting a control range is defined again. The END3 instruction is used at a level other than the third level. COME instruction is detected though the case of the coil number specification. So. So. the same label number **** is defined. The END1 instruction is used at a level other than the first level.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. After END1. END1 instruction can not be used. At the jump destination of the LBL instruction. Another JMP instruction can not be used in the range of JMP instruction. CALL instruction can not be used in the range controled COM instruction. If a jump end position is defined by specifying the number of coils. JMPE instruction must be the pair with JMP. The END instruction is used at the first level. If a COM instruction control range is not started. COME instruction must be the pair with COM. The END2 instruction is used at a level other than the second level. Define a different label number. CALLU instruction can not be used in the range controled COM instruction. Reduce the number of jump destinations defined. Cause/action END1 is the end instruction for the first level. The label **** for indicating the jump destination of a JMPB instruction cannot be found. Another COM instruction can not be used in the range controled COM instruction. A sub-program cannot be called from within a COM instruction control range. If the JMP instruction for specifying a jump start position is not defined. no instruction can be specified. END3 instruction can not be used. the COME instruction for ending a control range cannot be used. There is no COME instruction. After END3. END3 is the end instruction for the third level. If the end of a COM instruction control range is defined by specifying the number of coils. In a COM instruction control range. the JMPE instruction for specifying a jump end position cannot be used. The total number of LBL instruction jump destinations defined exceeded the maximum allocable value of a selected type of program. LADDER program exists beyond END3 instruction. but the JMPE instruction for specifying a jump end position is not. 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.

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

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

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

Some sub-programs are protected.(address **** symbol ****) the system. **** net comment pointers not corresponding to net comment character strings were detected. Make found. The net **** unused NET COMMENT strings comment character strings are deleted. Make corrections by ladder editing as required.(address ****) data cannot be recognized correctly. The net **** unused NET COMMENT pointer comment pointers are not output to the source found. comment pointer. Prepare a correct memory card format file. merge option. The symbol data at address ****/symbol **** is determined to be invalid by a symbol character string check based on the IEC standard. During symbol data merge processing. **** duplicated NET COMMENT pointer Character strings are copied so that the same net comment character string corresponds to the same net found. Make corrections by step sequence editing. 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. but the sub-program is large.348 - . output to the source program. the symbol data is output to the source program. The symbol character string defined in the symbol data Same symbol exists. The ID code defined at address **** in the I/O module ID code (I/O module) error.(address **** symbol ****) not output to the source program. data items.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. If the check option in the %%%FLSET. Data beyond the symbol data is not output to the source program. Make corrections by ladder editing as required. Either source data or memory **** symbol data at duplicated address card data is valid according to the setting of the symbol found.(address **** symbol at address ****/symbol **** is already defined at another address. The step number of **** is used twice or The same step number **** is used for different steps. more.12. Reduce the number of symbol program exceeds the limit. **** net comment character strings not corresponding to net comment pointers were detected. corrections by ladder editing as required. The symbol data is Illegal symbol. program. . **** duplicate symbol data items defined for the same address were detected. The symbol data is not output to the ****) source program. 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. **** duplicate net comment pointers were detected.CNF setting file is deselected. with the SPE instruction. These sub-programs have not been decompiled. the total number of data items at address ****/symbol **** The number of symbol data exceeds the exceeded the maximum allowable value defined with limit.

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

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

ERROR MESSAGES Message The specified mnemonic file name is illegal. ladder. The slot data of I/O module data is missing. Mnemonic file not found. Include KANA or KANJI character(s).B-66234EN/04 12. Illegal value in group data. An invalid value was specified for the base data of I/O module data. Invalid PMC series of specified Sourceprogram. Invalid module name. The model of the specified source program is illegal. 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. The module name of I/O module data is invalid. Illegal title number. The group data of I/O module data is missing. Illegal value in slot data. Invalid numeric data was specified in a system parameter. Invalid qualifier. The module name of I/O module data is missing. The base data of I/O module data is missing. Return status from SPAWN is E2BIG(=7). K:E-3144 K:E-3145 An invalid character follows a system parameter. Not found module name. There is no option by which **** file is specified. An invalid numeric value was specified in the data table of a function instruction. Not found **** SUB program file. Invalid function number.351 - . 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 . K:E-3139 K:E-3140 K:E-3141 K:E-3142 K:E-3143 An invalid function instruction name was specified. Specified Mnemonic file is not found. Illegal value of parameter. Not found slot data Not found **** Process interface file. or I/O module data. Not found **** Source-program management file. Illegal Mnemonic file name. Illegal parameter number. Illegal value in base data. An invalid data number was specified as a data identifier. Lack of **** file Message data too large. An invalid value was specified for the group data of I/O module data. Not enough parameter(s) Not found base data. An invalid value was specified for the slot data of I/O module data. symbol/comment data. The conversion data type number is illegal. Input mnemonic file name Input the source program name. The data type number is illegal Invalid a number of convert data. Invalid function's name. Not found group data. title data. System parameter /function instruction parameters are insufficient. Illegal value. Illegal value of parameter.

The total of the base and slot values of the I/O module data exceeded the default.352 - . Data includes an undefined instruction. Not found slot data. Out of value in slot data. A numeric value outside the specifiable range was specified in a system parameter. Parameters were specified in a function instruction that requires no parameters. Too long strings. Data containing a symbol or comment only was converted to an address. the same number is specified for group. The specified conversion data is not found. Please shorten file name. Too large of total comment data. Symbol data count over. In I/O module data. Out of value in group data. Too many parameters are set for a function instruction. B-66234EN/04 Cause/action The address of mnemonic data/I/O module data was specified. Unexpected parameter(s). An address was specified where no address is required. Total value of base and slot is over. A value outside the specifiable range was specified for the base data of I/O module data. a mnemonic. Undefined instruction. and slot data. Unexpected address.12. An address outside the specifiable range was specified in a parameter of a function instruction. A numeric value outside the specifiable range was specified in the data table of a function instruction. or symbol/comment exceeded the maximum allowable value. Specify the value( Slot ) except 0 at I/O UNIT-B *. The length of a system parameter. or title data exceeded the maximum allowable value. Out of value in data table. message data. K:E-3187 Too mamy characters in 1 line. title data. Process error Specified source program is not found. Symbol or comment data not found. . Out of address limits in data table.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. base. 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 of address. Source-program not found. 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. Out of address limits of parameter Out of parameter value. A nonexistent data number was specified as a system parameter/data identifier. An address outside the specifiable range was specified as a message setting address. A value outside the specifiable range was specified for the slot data of I/O module data. Unknown data number. The same group base and slot are already specified. but symbol data is not. message data. A numeric value outside the specifiable range was specified in a parameter of a function instruction. Out of value. or I/O module data in a system parameter. Symbol data not found. A value outside the specifiable range was specified for the group data of I/O module data. The number of characters on one line of mnemonic data. Specified source program is not found. Out of value in base data. An address outside the specifiable range was specified in the data table of a function instruction.

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

relay comment data is replaced with blank characters. addresses. a different character string is specified at more than one location. The character string of a relay comment is longer than Too long strings for relay comment data. Symbol data is replaced with blank characters. If the start ID code of symbol data is %@2. A maximum of 30 characters can be specified.) The relay comment data specified later is replaced with blank characters. With FORMAT-C only. For one address. FORMAT-C allows up to 16 characters. For a coil comment at one address. the same symbol may be specified at more than one location. a different character string is specified at more than one location. Redefinition of address data. (With FORMAT-C. . The same symbol data was specified for different Redefinition of symbol data.12. 30 characters. requires no coils. 16 characters. The Illegal net comment pointer. a different symbol is specified at more than one location. (With FORMAT-C. Too long strings for symbol data. (With FORMAT-C. no duplicate definition is allowed. the same character string may be coil comment data already exist. FORMAT-A/B allows up to 6 characters.) symbol data already exist. The symbol data specified later is replaced with blank characters. 30 characters. the same character string may be comment title data already exist. The character string of a coil comment is longer than Too long strings for coil comment data. a different character string is specified at more than one location. instruction that requires no control condition. Comment data is replaced with blank characters. specified at more than one location.) The comment title data specified later is deleted. The character string of a comment title is longer than Too long strings for comment title data.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). **** definition or definitions made later are ignored. coil comment data is replaced with blank characters. A symbol definition is made at more than one location for the same address. specified at more than one location.) The coil comment data specified later is replaced with blank characters. specified at more than one location. (With FORMAT-C. With FORMAT-C only. For a comment title at one address. The symbol data defined later is replaced with blank characters.354 - . comment title data is replaced with blank characters. With FORMAT-C only. Too long strings for comment data. For a relay comment at one address. A basic instruction was specified for a function Unexpected control condition(s). the same character string may be relay comment data already exist.

which is an offline function. Cause/action The F-ROM is abnormal.11 Input/Output Message Cause/action I/O Error. The user attempted to modify parameter settings during signal trigger execution. Contact your FANUC service center. Recheck the setting of MONIT on the PMC. Place the CNC in the emergency stop state. Replace the F-ROM. Contact your FANUC service center. The F-ROM is abnormal.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. 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. .ERROR MESSAGES 12.2. The user switched to online editing during signal trigger execution. Reenter the sequence program. Increase the size of the F-ROM. A sequence program on the PMC is destroyed. Try the CONDENCE function. Replace the F-ROM. The CNC is not placed in the emergency stop state.2.B-66234EN/04 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. 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.355 - .

the signal Signal Trace function is running analysis function cannot be executed. No Signal Address No sampling address is set. [About]/[Before] is illegal on [Start] When the condition is <Start>.356 - . . Address Error A specified address is invalid. The communication to PMC is not ready The connection with the NC is disconnected.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. No Trigger Address set a trigger address. Sampling Time Error: An invalid sampling time is set. <About> and <Before> selected cannot be selected as a trigger mode. During signal trace function execution.12. When the condition is <Trigger-ON> or <Trigger-OFF>.

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. female CNC side 25-pin.359 - .B-66234EN/04 APPENDIX A. A02B-0200-K814 PC side 9-pin.

(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>.SYM FS0M_CNV. (B in the figure below) <4> Start a text editor commercially available.360 - .SYM PM-C_CNV. . <5> Replace the symbol data of the mnemonic file (conversion destination) with the converter file. convert the mnemonic file (conversion destination) of <7> to a source program (with the program created in <2> left open). <3> Convert the program of <2> to mnemonics. (A in the figure below) <2> By using FANUC LADDER-III. then open the mnemonic file (conversion destination) created in <3>. <8> By using FANUC LADDER-III. 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. Example of operation: PMC-P -> PMC-PA3 <1> By using FANUC LADDER. convert a program of the PMC-P model (conversion source) to a mnemonic file.CONVERSION USING A SIGNAL ADDRESS CONVERTER APPENDIX B-66234EN/04 B Converter file name FS0T_CNV. create a program of the PMCPA3 model (conversion destination). (D in the figure below) <7> Close the mnemonic file (conversion destination) on the text editor.B. <9> Delete all symbol comment data.

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

C.[Link of language programs.[Open Program]. The [Link of language programs] dialog box appears. and open the program with which you want to unite a load module. Select [Tool] . 1. ... 2.].362 - . 3. Select [File] .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.

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

.

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

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

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

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

.22 Checking the Number of Program Steps 3.13 Search Jul.5.Replacement of the screens .Replacement of the screens . 2001 9.17 Changing Signal Addresses and Function Instruction Parameters in the Display Pane 3.3. 2002 .5 CONVERTING STEP SEQUENCE PROGRAMS TO MNEMONIC FILES 10 COMMAND LINE EXECUTION FUNCTION .1.14 Collective Display 3..5.5.Revision Record FANUC LADDER-III OPERATOR’S MANUAL (B-66234EN) 03 02 .7 COMPARING WITH PMC Sep.5.4 Signal Trigger Stop Function Appendix B CONVERSION USING A SIGNAL ADDRESS CONVERTER .Addition of following Items 3..5.Addition of the other explanations .Addition of the other explanations .Replacement of the screens .5.6.13 Search 3.5.5.Correction of errors 01 Apr.25 Deleting Symbol or Comment Data 6.Correction of errors Edition Date Contents Edition Date Contents .23 Replace 3.5.Addition of following Items 3.2000 _________________________________ 04 Nov.3 Opening Programs with the Read-only Attribute 3.16 OPENING MOST RECENTLY USED PROGRAMS 7.24 Changing Ladder Programs on the Display Window 3..16 Setting the Number of Contacts and Coils per Row 3. 2000 9.2 Switching the Language in Which PMC Alarm Messages Are Displayed Appendix C LANGUAGE PROGRAM LINK FUNCTION .19 Setting Ladder Display 3.Addition of following Items 3.5.Correction of errors .4.2 Opening Programs Opened by Another User 3.15 Setting the Number of Columns per Row 3.1 SETTING UP COMMUNICATION 7.Addition of the other explanations .3.

.

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

Sign up to vote on this title
UsefulNot useful