Navigation

  • Page 1

    WindowsLADDER EDITING PACKAGEOPERATOR'S MANUALB-63484EN/08

  • Page 2

    • No part of this manual may be reproduced in any form. • All specifications and designs are subject to change without notice. The products in this manual are controlled based on Japan’s “Foreign Exchange and Foreign Trade Law”. The export from Japan may be subject to...

  • Page 3

    B-63484EN/08 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 Not...

  • Page 4

    SAFETY PRECAUTIONS B-63484EN/08 s-2 WARNINGS AND NOTES RELATING TO LADDER EDITING PACKAGE (Windows) Warnings and notes relating to Ladder Editing Package (Windows) appear in this manual. Before using the software, read this manual thoroughly and take time to read the Warnings, Cautions, and Note...

  • Page 5

    B-63484EN/08 PREFACE p-1 PREFACE Thank you for purchasing Ladder Editing Package (Windows) (Specification : A08B-9210-J511). Ladder Editing Package (Windows) is a programming system for developing sequence programs for FANUC PMCs. This software runs on a CNC with personal computer function (CNC...

  • Page 6

    PREFACE B-63484EN/08 p-2 CHECKING THE PACKAGE CONTENTS The package contains the following: • CD-ROM disks FANUC Ladder Editing Package (Windows) (A08B-9210-J511) NOTE You must read the release note (READMEJ.TXT) on the “\Disk1 folder” of the product package. The release note provides de...

  • Page 7

    B-63484EN/08 PREFACE p-3 15. ERROR MESSAGES Describes the error messages displayed by this software. APPENDIX Provides information that is to be read as necessary. NOTATION CONVENTIONS IN THIS MANUAL This manual uses the following notation and conventions: • Menus, commands, and screens No...

  • Page 8

    PREFACE B-63484EN/08 p-4 PMC model Abbreviation FANUC PMC-MODEL SA1 FANUC PMC-MODEL SA3 FANUC PMC-MODEL SA5 FANUC PMC-MODEL SB3 FANUC PMC-MODEL SB4 FANUC PMC-MODEL SB5 FANUC PMC-MODEL SB6 FANUC PMC-MODEL SB7 FANUC PMC-MODEL SC3 FANUC PMC-MODEL SC4 PMC-SA1 PMC-SA3 PMC-SA5 PMC-SB3 PMC-SB4 PMC-SB5 ...

  • Page 9

    B-63484EN/08 PREFACE p-5 FEATURES OF LADDER EDITING PACKAGE (Windows) This software has the following features: Features Using the FANUC PMC sequence program development environment on a CNC with Personal computer function (CNC with PC) offers a more comfortable manipulation environment. CNC/P...

  • Page 10

    PREFACE B-63484EN/08 p-6 • Main functions ⋅ Inputting, displaying, editing, and outputting sequence programs ⋅ Monitoring and debugging sequence programs (Displaying the signal status, alarms, and PMC status, and ladder diagram online monitoring) ⋅ Setting and displaying PMC parameters ...

  • Page 11

    B-63484EN/08 PREFACE p-7 Function I/O device PMC model Multi- path PMC MemoryB/CMemory D Multiple comments ExtendedSymbolExtendedInstructionFunctionBlockfunctionLadder dividing manage-ment Step sequence program Online function PMC HandyFile Memorycard31i-A PMC(FB) O O *6X O O *4O *7O *8X O *5 O ...

  • Page 12

    PREFACE B-63484EN/08 p-8 NOTE *1 - Available when the PMC software series and edition are 4066/12, 4068/11, or later and the CNC software series and edition are B0A1/23, B1A1/20, BDA1/12, BEA1/12, or later. *2 - Available when the PMC software series and edition are 4074/01 or later. Not availab...

  • Page 13

    B-63484EN/08 PREFACE p-9 SYSTEM CONFIGURATIONS OF CNC with PC The configurations of systems with the CNC with Personal computer function (CNC with PC) are summarized below. (1) System in which the CNC incorporates a personal computer board (MMC-IV) Machine With MMC-IV CNC incorporated ...

  • Page 14

    PREFACE B-63484EN/08 p-10 (3) System in which more than one CNC is connected to a commercial personal computer via a high-speed serial bus CNC Personal computer Machine High-speed serial bus Machine Machine The configuration of the connection shown above is called an HSSB multi-connectio...

  • Page 15

    B-63484EN/08 TABLE OF CONTENTS c-1 TABLE OF CONTENTS SAFETY PRECAUTIONS............................................................................s-1 GENERAL WARNINGS AND CAUTIONS............................................................... s-1 WARNINGS AND NOTES RELATING TO LADDER EDITING PA...

  • Page 16

    TABLE OF CONTENTS B-63484EN/08 c-2 3.3.5 Inserting Ladders from the Edit Window into a Ladder Program ..........................32 3.3.6 Entering Basic Instructions ....................................................................................34 3.3.7 Entering Function Instructions ..........

  • Page 17

    B-63484EN/08 TABLE OF CONTENTS c-3 3.4.3 Entering Transitions .............................................................................................119 3.4.4 Beginning of Selective Branch.............................................................................119 3.4.5 End of Selectiv...

  • Page 18

    TABLE OF CONTENTS B-63484EN/08 c-4 3.14 PMC ADDRESS MAP FUNCTION ............................................................ 177 3.14.1 Procedure..............................................................................................................179 3.14.2 Address copy by Drag & Dr...

  • Page 19

    B-63484EN/08 TABLE OF CONTENTS c-5 5.6 PROGRAM SIZE CHECK FUNCTION ...................................................... 239 6 MNEMONIC EDITING ......................................................................... 241 6.1 CONVERTING SOURCE PROGRAMS TO MNEMONIC FILES ............... 241 6.1....

  • Page 20

    TABLE OF CONTENTS B-63484EN/08 c-6 7.9.2 Procedure..............................................................................................................310 7.10 ONE-TOUCH OUTPUT OF SEQUENCE PROGRAM ............................... 312 7.10.1 Toolbar ..........................................

  • Page 21

    B-63484EN/08 TABLE OF CONTENTS c-7 9.3.3 Counter .................................................................................................................339 9.3.3.1 Toolbar............................................................................................................. 339 9...

  • Page 22

    TABLE OF CONTENTS B-63484EN/08 c-8 9.9.1 Procedure..............................................................................................................365 9.10 SIGNAL TRACE FUNCTION ..................................................................... 366 9.10.1 Procedure..................

  • Page 23

    B-63484EN/08 TABLE OF CONTENTS c-9 10.10.3 Printing the Ladder Diagram ................................................................................412 10.10.4 Printing Cross Reference......................................................................................413 10.10.5 Printing th...

  • Page 24

    TABLE OF CONTENTS B-63484EN/08 c-10 11.5.3 Identification Code ...............................................................................................471 11.5.4 Function Block Definition Data ...........................................................................471 11.5.5 Ladder Dat...

  • Page 25

    B-63484EN/08 TABLE OF CONTENTS c-11 14.6.1 Log File ................................................................................................................528 14.7 MNEMONIC CONVERSION...................................................................... 529 14.7.1 Log File ................

  • Page 26

    TABLE OF CONTENTS B-63484EN/08 c-12 E.4 ZERO SUPPRESSION OF PMC ADDRESS............................................. 601

  • Page 27

    B-63484EN/08 1.SETUP - 1 - 1 SETUP This chapter describes the operating environment of Ladder Editing Package (Windows). This chapter also describes how to set up Ladder Editing Package (Windows) to make software ready for use. 1.1 OPERATING ENVIRONMENT The operating environment required for th...

  • Page 28

    1.SETUP B-63484EN/08 - 2 - · Device driver FOCAS1/2 Library disk (A02B-0207-K737) · CNC functions Options for CNC with Personal computer function <For Series 150 / Series 150i> ⋅ Extended driver library function (A02B-0207-J801) ⋅ Ladder editing package function (A02B-0207-J8...

  • Page 29

    B-63484EN/08 1.SETUP 1.2 INSTALLATION AND UNINSTALLATION This section describes how to install or uninstall this software. NOTE 1 To install or uninstall this software in Windows 2000, Windows XP, Windows Vista, or Windows 7, the Administrator privilege is required. 1.2.1 Installation Procedur...

  • Page 30

    1.SETUP B-63484EN/08 (b) The [Welcome to the InstallShield Wizard for Ladder Editing Package[Windows]] screen appears. Fig. 1.2.1 (b) NOTE 1. When the following is displayed during an installation, please install again after uninstalling the software of the old version. Fig. 1.2.1 (c) (c) Cl...

  • Page 31

    B-63484EN/08 1.SETUP (4) Entering user information (a) The [Customer Information] screen appears. Fig. 1.2.1 (e) (b) Click the <Next> button. Then, the [Registration Confirmation] screen appears. Fig. 1.2.1 (f) (c) Check that the registration information is correct. To continue the ins...

  • Page 32

    1.SETUP B-63484EN/08 (d) The [Select Program Folder] screen appears. Fig. 1.2.1 (h) (e) Select the program folder in which you want to install the program or create a folder. Then, click the <Next> button. (6) Starting file copy operation and ending the installation (a) The [Start Copyi...

  • Page 33

    B-63484EN/08 1.SETUP (c) As the file copy operation terminates, the [Maintenance Complete] screen appears. Fig. 1.2.1 (j) (d) Clicking <Finish> button terminates installation. 1.2.2 Uninstallation Procedure (1) Terminating Ladder Editing Package (Windows) (a) Ladder Editing Package (Win...

  • Page 34

    1.SETUP B-63484EN/08 - 8 - (3) Confirming uninstallation (a) A dialog box appears, asking whether you really want to uninstall the program. Click the <OK> button. Fig. 1.2.2 (b) (4) Executing uninstallation The installed files, folders, and start menu items are deleted, and the original...

  • Page 35

    B-63484EN/08 2.BASICS 2 BASICS This chapter describes the basic items the user should understand before using Ladder Editing Package (Windows). 2.1 SYSTEM FILES The system consists of the files described below. • *.DLL Install dynamic link library (DLL) files used for node selection in the W...

  • Page 36

    2.BASICS B-63484EN/08 2.3 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 p...

  • Page 37

    B-63484EN/08 2.BASICS - 11 - 2.3.1 Main Menu Each main menu has submenus, as listed below. Table 2.3.1 Main menu Submenu Reference chapter, section, or subsection File Save As Import Export Print Preview Exit 3.9 SAVING PROGRAMS WITH NAMES 3.10 IMPORTING PROGRAMS 3.11 EXPORTING PROGRAMS 4 PRINT...

  • Page 38

    2.BASICS B-63484EN/08 - 12 - Main menu Submenu Reference chapter, section, or subsection 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 Res...

  • Page 39

    B-63484EN/08 2.BASICS 2.3.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. 2.3.4 Soft Keys To perform operations with the currently selected child window, you can select the displayed soft k...

  • Page 40

    2.BASICS B-63484EN/08 - 14 - 2.4 DISPLAYING VERSION INFORMATION This section describes how to display the version information of this software for purposes of, for example, maintenance. Procedure (1) Select [Help] - [About version information…]. Fig. 2.4

  • Page 41

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

  • Page 42

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 16 - Data configuration and flow of a sequence program A sequence program consists of the data listed below. Title : This is a comment attached to a sequence program. (Machine Tool Builder Name, Edition No., etc.) System parameters : This...

  • Page 43

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 17 - 3.1.2 PMC Programming Method The ladder method is one of the most extensively used methods for programming PMC-based sequence control. Because this method was originally based on control circuits in relay panels, it was initially easy ...

  • Page 44

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 18 - 3.1.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. The work folder is called WFLAD* where * represents any number. • User fi...

  • Page 45

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 19 - 3.1.4 PMC Type (Step Sequence and I/O Link Expansion) Setting When the PMC type cannot be identified during start of communication (because the PCM sequence program does not exist or is corrupted), the PMC type of a new sequence progra...

  • Page 46

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 20 - 3.1.5 Device Selection Selection of CNC Main and LOADER When the Loader control board is attached and both the Main side and the Loader side PMC can communicate, the following dialog is displayed. Please specify the connected controlle...

  • Page 47

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 21 - (2) Select the path you want to connect using the [↑] and [↓] keys. (3) Click the <OK> button. NOTE 1 It is not possible to connect with two or more PMC paths at the same time. 2 When PMC type of the opened program support M...

  • Page 48

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 22 - 3.2 EDITING TITLES This section describes how to enter a title for a program created by the machine tool builder. NOTE Titles can be displayed and edited only when the current programmer mode (offline/online) is offline. To change th...

  • Page 49

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 23 - (a) Set the necessary data. The maximum number of characters that can be entered is as listed below: Table 3.2.1 Data Maximum number of characters that can be entered Machine Tool Builder Name 32 Machine Tool Name 32 PMC & CNC Nam...

  • Page 50

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 24 - 3.3 EDITING LADDER DIAGRAMS This section describes how to edit ladder diagrams. Two different methods can be used to edit ladder diagrams. The first method is offline editing, in which a personal computer for editing ladder diagrams is...

  • Page 51

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 25 - Terminating online editing Procedure (1) Select [Ladder] - [Online/Offline] or click the [On Line/Off Line Change] button to change the programmer mode to offline. If the ladder program in the PMC is not updated, the following dialog b...

  • Page 52

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 26 - Summary of the ladder diagram editing screen Fig. 3.3.3 (b) Fig. 3.3.3 (c) Display window Ladder program is displayed here. Edit window Ladder program is edited here. When the ladder program in this window is inserted...

  • Page 53

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 27 - 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. (This operation nullifies all the changes you made after the latest update. Zoom-i...

  • Page 54

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 28 - Soft keys • Normal state Fig. 3.3.3 (d) • When the Shift key is pressed Fig. 3.3.3 (e) • When the Ctrl key is pressed Fig. 3.3.3 (f) • When the Ctrl key and Shift key are pressed Fig. 3.3.3 (g) NOTE To display soft key...

  • Page 55

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 29 - Table 3.3.3 Shortcut key Function [F6] [Shift] + [F6] [F7] Vertical line (Left side) [Shift] + [F7] Vertical line (Right side) [Ctrl] + [F7] Insert element (forward) [Ctrl] + [Shift] + [[F7] Insert element (backward) [F8]...

  • Page 56

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 30 - 3.3.4 Changing Ladder Programs This subsection describes how to modify ladder programs. NOTE 1 To modify a ladder program, copy ladders from the display window to the edit window. Then, change them on the display window and substitute...

  • Page 57

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 31 - Table 3.3.4 Operation Subsection Entering basic instructions 3.3.6 “Entering Basic Instructions” Entering horizontal lines 3.3.8 “Entering Horizontal Lines” Entering and deleting vertical lines 3.3.9 “Entering and Deleting Ve...

  • Page 58

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 32 - 3.3.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 th...

  • Page 59

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 33 - (2) Click the <Insert> button. Fig. 3.3.5 (b) (3) Select the insertion position, using the [↓] key or [↑] key, and then click the <Exec> button. Fig. 3.3.5 (c)

  • Page 60

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 34 - 3.3.6 Entering Basic Instructions This subsection describes how to enter basic instructions (relays and coils) in the edit window. Procedure (1) Position the cursor to the point where you want to enter a basic instruction, using the c...

  • Page 61

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 35 - (3) Position the cursor to the basic instruction you entered, using the cursor control keys, and then press the [Enter] key. (Alternatively, double-click the basic instruction.) Fig. 3.3.6 (b) (4) Enter an address or symbol, and then...

  • Page 62

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 36 - Fig. 3.3.6 (d) (2) Enter an address or symbol. Fig. 3.3.6 (e) (3) Press the key that corresponds to the basic instruction you want to enter. (See Table 3.3.6.) Fig. 3.3.6 (f)

  • Page 63

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 37 - 3.3.7 Entering Function Instructions This subsection describes how to enter function instructions in the edit window. Procedure (1) Position the cursor to the point where you want to enter a function instruction, using the cursor cont...

  • Page 64

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 38 - (4) Enter the parameters for the instruction you entered. Fig. 3.3.7 (d) Entering a function instruction number or name previously After entering a function instruction number or name, you can enter a function instruction using the [...

  • Page 65

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 39 - (2) Enter a function instruction number or name. Fig. 3.3.7 (f) (3) Press the [F9] key. Fig. 3.3.7 (g)

  • Page 66

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 40 - 3.3.7.1 Select function dialog This subsection describes "select function dialog box". Fig. 3.3.7.1 (a) Table. 3.3.7.1 (a) Explanation 1 Sort Name : Rearranges function instructions in alphabetical order. Nu...

  • Page 67

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 41 - 3.3.8 Entering Horizontal Lines This subsection describes how to enter horizontal lines in the edit window. Procedure (1) Position the cursor to the point where you want to enter a horizontal line. (Alternatively, click the point.) F...

  • Page 68

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 42 - 3.3.9 Entering and Deleting Vertical Lines This subsection describes how to enter and delete vertical lines in the edit window. Procedure (1) Position the cursor to the point where you want to enter a vertical line, using the cursor c...

  • Page 69

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 43 - 3.3.10 Adding Ladder Subprograms This subsection describes how to add ladder subprograms. Procedure (1) Right-click on the program list screen, and then click [Add sub-program F9]. Fig. 3.3.10 (a) (2) The [Add sub-program] dialog bo...

  • Page 70

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 44 - 3.3.11 Deleting Ladder Subprograms This subsection describes how to delete subprograms. Procedure (1) On the program list screen, position the pointer to the subprogram you want to delete and right-click. Then, click [Delete sub-progr...

  • Page 71

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 45 - 3.3.12 Copying a Ladder Subprogram The method of copying the ladder subprogram is described herein. The ladder can be copied between program list windows by starting two or more Ladder Editing Package(Windows). As a result, the effici...

  • Page 72

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 46 - The following dialog box appears when the pasted subprogram already exits. Fig. 3.3.12 (c) <Yes> :The subprogram is overwritten. <No> :The subprogram is added as a new subprogram. The existing subprogram is not changed....

  • Page 73

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 47 - Fig. 3.3.12 (f) For the PMC type which has plural comments (30i/31i/32i-A/B, 35i-B, PMi-A, 0i-D, 0i Mate-D with extended function) (4) Input the subprogram name. (5) Input the symbol and the comment, and push < OK > or <...

  • Page 74

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 48 - 3.3.13 Editing Net Comments This subsection describes how to edit net comments. Procedure for adding net comments Procedure (1) In the display window, position the mouse pointer to the point where you want to add a net comment, and th...

  • Page 75

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 49 - (3) After you finish entering the net comment, press the <OK> button. Fig. 3.3.13 (d) Procedure for editing net comments Procedure (1) In the display window, double-click the net comment you want to modify. The [Net comment] sc...

  • Page 76

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 50 - 3.3.14 Deleting Net Comments This subsection describes how to delete net comments. Procedure (1) In the display window, position the mouse pointer to the net comment you want to delete, and then right-click. Fig. 3.3.14 (a) (2) Sele...

  • Page 77

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 51 - Fig. 3.3.15 (2) Select [Insert] - [New page]. The page break is added. 3.3.16 Deleting Page Breaks This subsection describes how to delete page breaks. Procedure (1) In the display window, position the mouse pointer to the page bre...

  • Page 78

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 52 - 3.3.17 Deleting Nets This subsection describes how to delete nets. Procedure (1) In the display window, select the range of nets you want to delete, using the mouse or cursor control keys. (2) Position the mouse pointer to the selecte...

  • Page 79

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 53 - (a) Search kind Select Address/Symbol or Functional instruction. (b) Program Click the <Select> button to open the [Program select dialog] screen, then select a search target program. (c) Global search Check this check box to s...

  • Page 80

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 54 - • PMC model which supports the Extended PMC Ladder Instruction Function. Fig. 3.3.18 (e) (a) Instruction for search Check search target instructions. All Searches for all types of instructions. Select Select a desired instructi...

  • Page 81

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 55 - (b) Wildcard search Check this check box if a specified character string to be found includes wildcards. (c) Multiple search strings Check this check box to specify multiple character strings to be searched for. (d) Search direction ...

  • Page 82

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 56 - 3.3.18.1 Context menu Search is possible with the easy operation by right-click operation of the mouse. The context menu is displayed by the right-click after you move cursor to the address or the functional instruction to search. You ...

  • Page 83

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 57 - 3.3.18.2 Soft key The address, the symbol and the functional instruction in ladder diagram can be searched by the soft key. Two modes of operation can be chosen by the following check of the option screen: From the [Tool] menu, choose ...

  • Page 84

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 58 - 3.3.19 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. 3.3.19.1 Setting collective display extraction co...

  • Page 85

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 59 - • PMC model which does not support the Extended PMC Ladder Instruction Function. Fig. 3.3.19.1 (d) • PMC model which supports the the Extended PMC Ladder Instruction Function. Fig. 3.3.19.1 (e) (a) After setting search conditio...

  • Page 86

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 60 - (5) Repeat steps (2) through (4) to add search conditions. Fig. 3.3.19.1 (h) (a) <Edit Condition> button This button is used to edit the search condition where the cursor is placed. (b) <Rename Condition> button This but...

  • Page 87

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 61 - 3.3.19.2 Executing collective display Procedure (1) On the [Program List] screen, move the mouse pointer to the extraction condition used for collective display execution, then click the right mouse button. Fig. 3.3.19.2 (a) (2) Choo...

  • Page 88

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 62 - 3.3.19.3 Modifying collective display extraction conditions Procedure (1) On the [Program List] screen, move the mouse pointer to an extraction condition to be modified, then click the right mouse button. Fig. 3.3.19.3 (2) Choose [pr...

  • Page 89

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 63 - (2) Choose [Delete]. Then, a message for checking whether the selected condition may be deleted appears. Click the <Yes> button to execute deletion. Click the <No> button to cancel deletion. Fig. 3.3.19.4 (b) 3.3.20 Setti...

  • Page 90

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 64 - (c) Grid Specifies that grid lines are displayed on the ladder diagram. It is displayed when checked. (d) Editing ladder diagram on display window Specifies that the ladder diagram is edited in the display window. The display and ed...

  • Page 91

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 65 - Fig. 3.3.20 (c) (b) Colors Click the <Setting...> button. A dialog appears. In this dialog box, specify the colors of items displayed in a ladder diagram. Fig. 3.3.20 (d) (c) Signal Off/Step Sequence Specifies the thickness o...

  • Page 92

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 66 - (3) The number of elements can be changed by using " Decrease number of elements" or the "Increase number of elements" button. Fig. 3.3.20 (f) : Decrease number of elements : Increase number of elements The sta...

  • Page 93

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 67 - 3.3.21 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. Procedure (1) Position the...

  • Page 94

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 68 - 3.3.22 Changing Contacts and Coils in the Display Window This subsection describes how to change contacts and coils in the display window. Procedure (1) Position the cursor to the contact or coil you want to change. Fig. 3.3.22 (a) ...

  • Page 95

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 69 - 3.3.23 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. Procedure (1) On the [Program List] screen, position the poin...

  • Page 96

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 70 - (c) Sub-program Displays the number of steps in each subprogram. Fig. 3.3.23 (d) NOTE 1 If a step sequence program is contained, the total number of program steps is not displayed. 2 The number of steps in a step sequence program is ...

  • Page 97

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 71 - (a) Program Click the <Select…> button to open the [Program select dialog] screen. Then, select the program in which you want to search for a string. Fig. 3.3.24 (b) (b) Search string Enter a character string you want to sear...

  • Page 98

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 72 - (3) Wild card (a) Asterisk (*) The following types of wildcard replacement using asterisks are available: Character string to be replaced with Y200 Y* Y200.1 Y*.1 Y200.* X100 A B B B B X* A B B B B X100.0 B B A B B X*.0 B B A C A Ch...

  • Page 99

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 73 - 3.3.25.1 Procedure (1) Click [Multi-replace...] in [Edit] menu. Fig. 3.3.25.1 (a) NOTE 1 When any error net exists in the ladder diagram editing screen, the screen of the multi-replace can not be opened. Please click the multi-...

  • Page 100

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 74 - Item Contents 1 Address display window The replace address is displayed. The replace address is added with <New Data> button. Fig. 3.3.25.1(d) The context menu is displayed when right-clicking in the address display window. Fig. ...

  • Page 101

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 75 - When the subprogram is selected with the program, and the global symbol is defined in the replace address, the following screen is displayed. Fig. 3.3.25.1 (f) (4) The multiple address replace is being executed. Fig. 3.3.25.1 (g) ...

  • Page 102

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 76 - (6) Click <Log File> button. Then, the result of the multiple address replace is displayed. ##### LADDER ##### LEVEL1 Net1 Y0000.0 => R0000.0 LEVEL2 Net1 Y0000.0 => R0000.0 ...

  • Page 103

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 77 - 3.3.25.2 Address setting Fig. 3.3.25.2 (a) No. The number of the replace address item is displayed. Before replace address The search address is displayed. After replace address The replace address is displayed. Symbol defini...

  • Page 104

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 78 - To add the replace address Click <New Data> button in Fig.3.3.25.2 (a). Then, "New Data" screen is displayed. To replace the bit address Fig. 3.3.25.2 (b) After the bit address is input to Before replace address and A...

  • Page 105

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 79 - <Add>: Before replace address and After replace address are added to the address display window. Modify screen is not closed. <Modify>: Before replace address and After replace address of the address display window are c...

  • Page 106

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 80 - 3.3.26 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. 3.3.26.1 Changing the ladder editing mode From the [Tool] menu, c...

  • Page 107

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 81 - • When the Ctrl key and Shift key are pressed. Fig. 3.3.26.1 (g) Edit tool bar • PMC-SA1 Fig. 3.3.26.1 (h) • PMC model which does not support the Extended PMC Ladder Instruction Function. Fig. 3.3.26.1 (i) • PMC model w...

  • Page 108

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 82 - Table 3.3.26.1 (a) Shortcut Keys Function [Ctrl] + [Shift] + [F7] Insert element (After) [F8] Horizontal line [Shift] + [F8] Clear element (repeatable) [Ctrl] + [F8] Insert line [F9] Function instruction [Shift] + [F9] Net commen...

  • Page 109

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 83 - • PMC model which does not support the Extended PMC Ladder Instruction Function. Fig. 3.3.26.1 (l) • PMC model which supports the Extended PMC Ladder Instruction Function. Fig. 3.3.26.1 (m) 3.3.26.2 Inserting an edit line Proce...

  • Page 110

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 84 - 3.3.26.3 Entering basic instructions (1) This subsection describes how to enter basic instructions (relays and coils). Procedure (a) Position the cursor to the point where you want to enter a basic instruction, using the cursor contr...

  • Page 111

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 85 - (c) Position the cursor to the basic instruction you entered, using the cursor control keys, and then press the [Enter] key. (Alternatively, double-click the basic instruction.) Fig. 3.3.26.3 (b) (d) Enter an address or symbol, and t...

  • Page 112

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 86 - Fig. 3.3.26.3 (d) (b) Enter an address or symbol. Fig. 3.3.26.3 (e) (c) Press the key that corresponds to the basic instruction you want to enter. (See Table 3.3.26.3.) Fig. 3.3.26.3 (f)

  • Page 113

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 87 - 3.3.26.4 Entering function instructions (1) This subsection describes how to enter function. Procedure (a) Position the cursor to the point where you want to enter a function instruction, using the cursor control keys. (Alternatively,...

  • Page 114

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 88 - (d) Enter the parameters for the instruction you entered. Fig. 3.3.26.4 (d) Entering a function instruction number or name previously After entering a function instruction number or name, you can enter a function instruction using th...

  • Page 115

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 89 - (b) Enter a function instruction number or name. Fig. 3.3.26.4 (f) (c) Press the [F9] key. Fig. 3.3.26.4 (g) Entering functional instruction with data table When you enter a functional instruction with data table, you need to enter...

  • Page 116

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 90 - Fig. 3.3.26.4 (h) (b) Move the cursor on the data table, and push [Enter] key. Then, the data table editing screen is displayed. Enter the data value. And, push <OK> button. Fig. 3.3.26.4 (i) (c) The contents of the data tab...

  • Page 117

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 91 - Example of the functional instruction with BCD format data Functional instruction Number Name Remarks 23 NUME BCD Definition of Constant 19 ADD BCD Addition 7 COD Code Conversion 4 DEC Decode In the ladder diagram editing screen, ent...

  • Page 118

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 92 - 3.3.26.5 Entering horizontal lines This subsection describes how to enter horizontal lines. Procedure (1) Position the cursor to the point where you want to enter a horizontal line. (Alternatively, click the point.) Fig. 3.3.26.5 (a)...

  • Page 119

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 93 - 3.3.26.6 Entering and deleting vertical lines This subsection describes how to enter and delete vertical lines. Procedure (1) Position the cursor to the point where you want to enter a vertical line, using the cursor control keys. (Al...

  • Page 120

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 94 - 3.3.26.7 Copy/Paste function of ladder When two or more Ladder Editing Package(Windows) programs are started, the ladder of another model can be edited simultaneously, and Ladder diagram can be copied/pasted between different PMC types...

  • Page 121

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 95 - Context menu (when the ladder diagram has been already copied into clipboard) The following context menu is displayed when right button is clicked in ladder editing window. Fig. 3.3.26.7 (c) Paste (Ctrl+V): Paste the ladder diagram...

  • Page 122

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 96 - Errors by the pasted ladder When there are an instruction and an address which cannot be used in the pasted ladder, the ladder diagram is displayed as shown in the following figure. Please refer to Table 3.3.26.7(a) for details. Fig. ...

  • Page 123

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 97 - Toolbar (1) (2) Fig. 3.3.26.7 (g) (1) Move to the next item with an error by the pasted ladder (Ctrl+L). (2) Move to the previous item with an error by the pasted ladder (Ctrl+E). Shortcut Table 3.3.26.7 (b) Shortcut...

  • Page 124

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 98 - (2) Click the ladder tab. (3) Click <Details...> button (4) Display [Detailed Setting Dialog] (5) Click <Colors...> button (6) Display [Disp Color Change Dialog] (7) Please change the color of [Paste Error]. Fig....

  • Page 125

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 99 - 3.3.28 Undo / Redo This subsection describes the operation of Undo / Redo function on the ladder edit screen. Procedure (1) Select [Edit]-[Undo] from the menu-bar, or click the toolbar button, or push the shortcut key of [Ctrl]+[Z]. T...

  • Page 126

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 100 - NOTE 1 This function is effective to the following edit operations. - Ladder editing in the direct ladder edit screen (Includes “Change of PMC address by Replace function”.) - Addition and deletion of sub-program (P1/P2…) in ...

  • Page 127

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 101 - (2) [Output a text format file...] is selected from the [Tool] menu. Fig. 3.3.29.1 (b) (3) Input the output file name. Push the <Save> button and the file is outputted. Fig. 3.3.29.1 (c)

  • Page 128

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 102 - NOTE 1 The menu item can not be selected if there is an error net. 2 It is necessary to display and select the window of the ladder. 3 As to the storing folder of the text file, You can choose the default of the storing folder by the...

  • Page 129

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 103 - Header information Header information changes according to the kind of outputted program. Program Title All Ladder Diagram(ALL) LEVEL1 Ladder Diagram(LEVEL1) Sup-program Ladder Diagram(P0001) Search result list Ladder Diagram Search...

  • Page 130

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 104 - 3.3.30 Paste Ladder Diagram in Text Format Supported PMC models Supported All Outline The ladder diagram of the selected area can be pasted in text format. The ladder diagram of the following screens can be copied and pasted in text ...

  • Page 131

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 105 - (3) Click to check Output the text file without the net number. Fig. 3.3.30.1 (a) NOTE 1. If the ladder diagram of the Search Result List or the Collective Display is copied, the ladder diagram with the net number is always pasted i...

  • Page 132

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 106 - Maximum nets to copy (Text) The maximum number of nets of the ladder diagram pasted in the text format is specified. Range: 0 to 999999 Default: 1000 If 0 is input, the paste function of the text format of the ladder diagram wil...

  • Page 133

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 107 - NOTE 1 Details are different between SUB3 (TMR) and SUB5 (CTR).For details, see "Automatic input of the TMR parameter of a functional instruction" and "Automatic input of the CTR parameter of a functional instruction&qu...

  • Page 134

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 108 - 3.3.31.2 Automatic input of the CTR parameter of a functional instruction Online editing In online editing, the preset value and current value of an input counter number are displayed in the status line in the following format. Fig. ...

  • Page 135

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 109 - 3.4 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. To change the programme...

  • Page 136

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 110 - Summary of step sequence program edit screen Fig. 3.4 (b) Zoom-out button Reduces the step ladder screen display. Zoom-in button Magnifies the step ladder screen display. Search button Searches for a step number and action...

  • Page 137

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 111 - Soft keys • When the Shift key is not pressed (the cursor is on the “processing step line”) Fig. 3.4 (c) • When the Shift key is pressed (the cursor is on the “processing step line”) Fig. 3.4 (d) • When the Shift...

  • Page 138

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 112 - Shortcut keys Table 3.4 Shortcut key Function [F3] Search (downward) [Shift] + [F3] Search (upward) [F5] Enter step program (step line) Enter transition (transition line) [Shift] + [F5] Enter label jump (step line) [F6]...

  • Page 139

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 113 - Table 3.4.1 State Processing Sn.0Active Running The step is active. The corresponding action program (subprogram) is running. 1 Stopping The step is shifting from running to stopped. The corresponding action program (subprogram) is ex...

  • Page 140

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 114 - • The transition of processing from one step to another is carried out as described below: • When a signal becomes on in a transition, its state is held even after state transition occurs. So, if you do not want to ma...

  • Page 141

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 115 - 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. Beginning of parallel branch A branch occurs from one step to two or...

  • Page 142

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 116 - Jump A jump is processed in conjunction with a transition to control the execution of steps. • A jump-to label [Ln] is specified. • The step at a jump destination becomes active. • The jump destination must be wi...

  • Page 143

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 117 - • There must always be a transition below a block step. Initial block step The initial block step is an initial step in a block. • A step number [Sn] necessary to control execution and a subprogram [Pm] that desc...

  • Page 144

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 118 - 3.4.2 Entering Steps Procedure (1) Position the cursor to the point where you want to enter a step. (2) Press the [F5] key. (3) The [Action] dialog box appears. Enter the necessary items. (An idle step number is used automatica...

  • Page 145

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 119 - 3.4.3 Entering Transitions Procedure (1) Position the cursor to the point where you want to enter a transition. (2) Press the [F5] key. (3) The [Action] dialog box appears. Enter the desired action. Fig. 3.4.3 (4) After you f...

  • Page 146

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 120 - 3.4.5 End of Selective Branch Procedure (1) Position the cursor to the point where you want to enter an end of selective branch. (2) Hold down the [Shift] key, and then press the [F5] key. 3.4.6 Beginning of Parallel Bra...

  • Page 147

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 121 - 3.4.8 Specifying Jump-to Label Procedure (1) 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). (2) Hold down the [Shift] key, and then press the [F6] key. ...

  • Page 148

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 122 - 3.4.9 Specifying Label Jump Procedure (1) Position the cursor to the point (step line) where you want to enter a label jump. (2) Hold down the [Shift] key, and then press the [F5] key. (3) The [Action] dialog box appears....

  • Page 149

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 123 - 3.4.10 Checking Syntax Procedure (1) Press the [F9] key. • If no error is found, the following dialog box appears. Fig. 3.4.10 (a) • If an error is found, the dialog box of error appears as follows. Fig. 3.4.10 (b) 3.4.11 Addi...

  • Page 150

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 124 - (2) The [Add sub-program] dialog box appears. Fig. 3.4.11 (b) (3) Enter [sub-program]. (4) Select [Step Sequence] from [Kind of Ladder]. (5) Enter [Symbol] and [RelayComment], and then click the <OK> button. (6) The step seque...

  • Page 151

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 125 - 3.4.13 Search This subsection describes the step sequence program search function. Procedure (1) Choose [Find] from the [Edit] menu. The [Find] screen appears. Fig. 3.4.13 (a) Search type Select Step number, Label number, or Symbol...

  • Page 152

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 126 - 3.5 EDITING SYMBOLS AND COMMENTS This section describes how to edit symbols and comments. NOTE Symbols and comments can be displayed and edited only when the current programmer mode (offline/online) is offline. To change the program...

  • Page 153

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 127 - (2) PMC model which supports the multiple comments Table 3.5.1 (d) Definition Display Symbol Character string assigned to a contact or coil (on a one-to-one basis) and used in place of a PMC address Comment (for a contact and a coi...

  • Page 154

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 128 - 3.5.2 Procedure (1) Double-click the <Symbol comment> item on the [Program List] screen. The [SYMBOL/COMMENT] screen appears. Fig. 3.5.2 (a) • PMC model which does not support the multiple comments Fig. 3.5.2 (b) • In ca...

  • Page 155

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 129 - • In case of the PMC model supported to multiple comments. (30i/31i/32i-A/B, 35i-B, PMi-A, 0i-D and 0i Mate-D PMC/L Extended symbol) Fig.3.5.2 (d) NOTE When you check [Ignore too long strings of the symbol], the number of symbols...

  • Page 156

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 130 - - To register the entered data, click the <OK> button. <OK> button To quit without registering, click the <Cancel> button. (3) To close the [SYMBOL/COMMENT] screen, click the <Close> button. 3.5.3 Tool...

  • Page 157

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 131 - 3.6 EDITING MESSAGES Using the DISPB (SUB 41) function instruction enables the display of any message on the CRT/MDI screen of the CNC. This section describes how to create messages. NOTE Messages can be displayed and edited only wh...

  • Page 158

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 132 - (3) Code input mode (a) Clicking the <CODE> button enables message editing using character code data. Edit and check data in code format. Fig. 3.6.1 (c) (4) [Message View] box (a) Clicking the <VIEW> button displays the ...

  • Page 159

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 133 - 3.6.2 Models and Quantity of Usable Characters The types of characters usable in message text vary depending on the CNC/PMC model. NOTE 1 Lowercase letters (a to z) are converted to uppercase (A to Z) when entered. 2 Up to 65,535 ch...

  • Page 160

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 134 - 0 <Enter> key • 1 @0A@ @0A@ Code input mode 0 @0A@ @0A@ • Input method of Numeric data (a) Numeric data format NOTE 1 Sum of integer part digits and fractional part digits must be 8 or less. 2 Do not use a...

  • Page 161

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 135 - 3.6.5 Tool Bar Fig. 3.6.5 <1> Search button Searches for a character string. <2> Search direction button Specifies the direction (upward or downward) in which a search is to be made. <3> Find what edit box Lets y...

  • Page 162

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 136 - 3.6.7 Shortcut Keys Table 3.6.7 Shortcut key Corresponding function [F3] Search [Shift]+[F3] Search direction [F4] Replace [Shift]+[F4] Replace all [F5] Code input mode [F7] View [F9] Invalid character check [Ctrl]+[G] Jump [Ctrl]+[Z]...

  • Page 163

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 137 - 3.7 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) ...

  • Page 164

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 138 - (a) Double-click the line that you want to edit. The [Module] screen appears. Fig. 3.7.1 (c) (b) Select a module name from those that can be specified. Set the following data. Group Base Slot Comment NOTE I/O Unit MODEL-B assig...

  • Page 165

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 139 - 3.7.2 Tool Bar Fig. 3.7.2 <1> Next channel <2> Previous channel <3> Search <4> Delete <5> Delete channel <6> Delete all 3.7.3 Shortcut Keys Table 3.7.3 Shortcut key Corresponding function [C...

  • Page 166

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 140 - 3.8 EDITING SYSTEM PARAMETERS This section describes how to edit system parameters. NOTE System parameters can be displayed and edited only when the current programmer mode (offline/online) is offline. To change the programmer mode ...

  • Page 167

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 141 - Ladder Exec (Valid only with the PMC-SC3/SC4, PMC-QC, PMC-NB/NB2, and PMC-SB7) Initial value: 100 Setting: 1 to 150 Set an increment for the processing time for ladder levels 1 and 2. Setting this parameter reduces the ladder scan...

  • Page 168

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 142 - LED Bit Image Address Set the PMC address corresponding to the start address of LED image to be referenced by a user program. Usually, specify an arbitrary internal relay area. Selectable I/O Link Assignment Specify whether to ena...

  • Page 169

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 143 - Table 3.8.1 (a) Language number Language Language number Language 0:English 12:Hungarian 1:Japanese 13:Swedish 2:German 14:Czech 3:French 15:Simplified Chinese 4:Traditional Chinese 16:Russian 5:Italian 17:Turkish 6:Korean 18:Bulga...

  • Page 170

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 144 - 3.9 SAVING PROGRAMS WITH NAMES This section describes how to name and save a sequence program (LAD file). 3.9.1 Procedure (1) Select [File] - [Save As]. The [Save As] screen appears. Fig. 3.9.1 (a) Enter the file name you want to u...

  • Page 171

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 145 - 3.10 IMPORTING PROGRAMS This section describes how to import (copy in overwrite mode) data files, ladder diagrams, and subprograms from a LAD program to another sequence program that is currently open. It also explains how to import (...

  • Page 172

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 146 - ROM Format File A ROM format file is imported. It is written over a memory card file (MCARD) for the currently open sequence program. NOTE As to the import folder, you can choose the default of the import folder by the Specify the...

  • Page 173

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 147 - ♦ If the FANUC LADDER-III file (*.LAD) is selected as an import-from file in step 2, above (3) Click the <Next> button. The [Import/Export --Select Data File, Ladder Diagram, Subprogram, and/or User File] screen appears. Fig...

  • Page 174

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 148 - ♦ If the memory format file, ROM format file, and/or Handy file format files are selected as the types of files to import in step (2), above (3) Click the <Finish> button. The message “Import completed” appears. Fig. 3.1...

  • Page 175

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 149 - ♦ If the memory card format file is selected as the type of file to import in step (2) above If the PMC type of the specified memory card format file is not compatible with the import destination program, a message appears, which i...

  • Page 176

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 150 - (3) Enter the file name to import. Fig. 3.10.2 (b) (4) Check the following item if necessary. Initialize symbol/ comment data before import Checked(Default) : Not checked : After clearing all symbol comment data, the symbol commen...

  • Page 177

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 151 - 3.11 EXPORTING PROGRAMS This section describes how to export (copy in overwrite mode) data files, ladder diagrams, and subprograms from the currently open sequence program to another LAD program. It also explains how to export (conver...

  • Page 178

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 152 - NOTE There is an inquiry of compilation when the Memory-card File/ROM Format File/Handy-file Format File is exported with only the source program updated. Please compile if necessary. (3) Click the <Next> button. The [Import...

  • Page 179

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 153 - NOTE As to the export folder, You can choose the default of the export folder by the Specify the same folder as a LAD file for working directory in the [General] tab of the option.(select the [Tool] - [Option...]) Checked.............

  • Page 180

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 154 - (4) Click the <Finish> button. • Memory-card Format / ROM Format / Handy-file Format Fig. 3.11.1 (d) NOTE If a file with the same name is already present in the export destination folder, an overwrite confirmation message a...

  • Page 181

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 155 - Operation (1) Select [File]-[Export...]. Then, the [Export] dialog appears. Fig. 3.11.2 (a) Export dialog (2) Select External Symbol File from the list, push the <Next> button. (3) Enter the file name to export. Fig. 3.11.2 (...

  • Page 182

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 156 - Address of symbolExternal symbol file Remarks Check R0.3 *R1.0 R R0.3 R1.3 R1.4 The address is assigned automatically and outputs the external symbol file. No check R0.3 *R1.0 R R0.3 R R The address assigned automatically is outputte...

  • Page 183

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 157 - 3.11.3 Memory Card and USB Memory Memory card The memory card, which is used for inputting/outputting the sequence program in the I/O screen, can also be used to access to the programmer (Ladder Editing Package (Windows)). As for t...

  • Page 184

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 158 - 3.12 CHECKING DUPLICATE COIL This section describes how to check duplicate coil. NOTE 1 Only When the programmer mode is only off-line, duplicate coil check is done for the source program of the ladder. 2 Duplicate coil check is not ...

  • Page 185

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 159 - Address kind All the range of the selected kind of address are checked. Please select the kind of address on [Duplicate Coil - Address Kind Setting] dialog (Press <Select> button to display [Duplicate Coil - Address Kind Set...

  • Page 186

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 160 - Soft Keys Fig. 3.12.1 (e) F4 Setting… [Duplicate Coil – Address Setting] dialog box (Fig. 3.12.1 (e)) is displayed. F5 Properties… Address property dialog box of cursor line is displayed. Fig. 3.12.1 (f) F9 Update When ...

  • Page 187

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 161 - 3.13 LADDER PROGRAM DIFFERENCE DISPLAY FUNCTION This function compares each subprogram of the editing ladder source program with each subprogram of the other ladder source program. And the comparison result of each subprogram is disp...

  • Page 188

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 162 - (2) Input each data. Click <OK> button after inputting data. Fig. 3.13.1 (b) Table 3.13.1 (a) Item Contents Comparison File: Enter the program file name (LAD file name) for compari...

  • Page 189

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 163 - Table 3.13.1 (b) Mode Explanation [A] It is a mode suitable for confirming the content of the changes in the ladder. Compares the addresses respectively with the symbol. Compare symbol types in the case of extended function. (e.g.)...

  • Page 190

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 164 - (3) [Difference Display - List] screen appears. Fig. 3.13.1 (c) Comparing screen Fig. 3.13.1 (d) Comparison completion To display the different part in the ladder subprogram, double-click the target subprogram or click <de...

  • Page 191

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 165 - (4) The [Difference Display - Detail] screen appears. Fig. 3.13.1 (e) Display the comparison result in the following background color. Background color Content of difference White The same net (the same color as "Backgrou...

  • Page 192

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 166 - <5> Ladder display form Specify the display form of the ladder diagram. "Ladder display form" changes depending on the comparison mode. Comparison mode Ladder display form Address and symbol are comparative targets &...

  • Page 193

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 167 - 3.13.2 Color Setting The background color of [Difference Display - List] and [Difference Display - Detail] screen can be changed. Procedure (1) Select [Option…] in [Tool] menu. (2) Click [Ladder] tab. (3) Click <Details...> b...

  • Page 194

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 168 - Fig. 3.13.3 (b) [Difference Display - Detail] screen Tool bar (1) (2) (3) Fig. 3.13.3 (c) (1) <Text output> button The difference display result is output to the file. Please refer to "3.13.5 file output" for the...

  • Page 195

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 169 - 3.13.3.1 Print example Fig. 3.13.3.1 (a) From the print on the [Difference Display - List] screen (1) Header information(2) Difference list(3) Difference detail

  • Page 196

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 170 - Fig. 3.13.3.1 (b) From the print on the [Difference Display - Detail] screen (1) Header information Item Contents Date Printed date Original file name In the source, the LAD file name, the date of file and PMC model Comparison file ...

  • Page 197

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 171 - (2) Difference list The list of compared subprograms is printed when printing on the [Difference Display - List] screen. Only the displayed subprogram is printed when printing on the [Difference Display - Detail] screen. (3) Differ...

  • Page 198

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 172 - Item Contents Print the header information Not checked: Do not print the header information. Checked: Print the header information. (Default) Only different programs Not checked: Print all subprograms. (Default) Checked: Print only th...

  • Page 199

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 173 - 3.13.4 Print Preview Print image of the specified paper form is displayed. Fig. 3.13.4 (a) No. Item Contents 1 Print The [Print] screen is displayed. Figure 3.13.3.1(a) is displayed. 2 Next Page Go to the next page. 3 Prev Page R...

  • Page 200

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 174 - 3.13.4.1 Procedure (1) Push the <Preview> button of the toolbar. 3.13.5 File Output The changing, the addition, and the deletion of nets extracted by the difference display function can be output by the text file form. As foll...

  • Page 201

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 175 - Fig. 3.13.5.1 (b) From the output on the [Difference Display - Detail] screen (1) Header information The header information is output. Refer to 3.13.3.1"(1) Header information". (2) Difference list Difference list is ou...

  • Page 202

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 176 - 3.13.5.2 Procedure (1) Push the <File output> button of the toolbar. The dialog of [Save As] is displayed. Fig. 3.13.5.2 (a) (2) Input the file name, and push the <Save> button. NOTE 1 Only the difference list is outpu...

  • Page 203

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 177 - 3.14 PMC ADDRESS MAP FUNCTION PMC address used in the ladder and the symbol/comment is displayed. The following features are contained in this function. (1) The address used by the ladder and the symbol/comment can be displayed. (2) &...

  • Page 204

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 178 - (7) <Merge> button When other programs are opened, this button becomes effective. On/off of the display of the address map of other programs is switched. Bit column The state of the use of the bit address is displayed. "...

  • Page 205

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 179 - Context menu Right-click on the "Address map display window", then the context menu is displayed. Fig. 3.14 (c) Copy of address The address on the cursor is copied to the clip board. The copied address can be pasted on the...

  • Page 206

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 180 - NOTE 1 When the address map screen is displayed, the content of the editing of the ladder is not automatically reflected in the address map screen. Please update display by pushing the <Re-display> button. 2 The address used in...

  • Page 207

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 181 - 3.14.3 The Merge Display of Other Programs The address map of other programs can be displayed on the same address map screen together: the merge display. When the PMC memory is shared in the multi-path PMC, the status of the address o...

  • Page 208

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 182 - (2) The <Merge> button can be used while displaying the merge. Fig. 3.14.3.1 (b) Please click the <Merge> button when you erase the merge display. The address map screen of other programs is displayed together. The add...

  • Page 209

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 183 - NOTE 1 Recommended number of program files of the merge displays is 3 or less 2 As to the opening folder You can choose the default of the storing folder by the Specify the same folder as a LAD file for working directory in the [Gene...

  • Page 210

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 184 - Fig. 3.15 (a) Tool bar (1) (2) (3) Fig. 3.15 (b) (1) Execute Cross-reference> button The cross-reference of the address or the symbol inputted to the "Combo box for the cross-reference character string input" is dis...

  • Page 211

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 185 - 3.15.1 Procedure The cross-reference screen can be displayed by any of the following means. (1) Push the "Cross Reference" of the "View" menu. (2) Push the <Cross Reference> button in the toolbar of the lad...

  • Page 212

    3.CREATING AND EDITING SEQUENCE PROGRAMS B-63484EN/08 - 186 - 3.16 FUNCTION TO AUTOMATICALLY INPUT UNUSED ADDRESSES This function automatically inputs unused R, D, and E addresses while editing ladder. (This function is effective only in ladder editing on the direct ladder edit screen.) Support...

  • Page 213

    B-83484EN/08 3.CREATING AND EDITING SEQUENCE PROGRAMS - 187 - If you perform this operation without specifying an unused start address, the system searches for unused bit, starting at the first address of the specified address type. If an address used by a functional instruction parameter is f...

  • Page 214

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 4 PRINTING SEQUENCE PROGRAMS This chapter describes how to print a sequence program, which consists of a title, system parameters, symbols, comments, I/O modules, messages, ladders and step sequences. 4.1 PRINTING TITLES This section describes how to pr...

  • Page 215

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS - 189 - (2) Set the following print options on the Title tab. Page No. Specify a start page number for title printing (the initial value is 1). Title Specify a title to be printed (the initial value is "Title Data"). Sub Title Specify a subti...

  • Page 216

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 4.2 PRINTING LADDER DIAGRAMS This section describes how to print ladder diagrams. 4.2.1 Procedure (1) Select [File] - [Print]. The [Print] screen appears. Fig. 4.2.1 (a) (a) Select Ladder Diagram from Print Data. (b) Click the <Option> button. T...

  • Page 217

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS (2) Set up the following print options on the Ladder Diagram tab. Page No. Specify a start page number for ladder diagram printing. (Initial value: 1) Title Specify a title for ladder diagram printing. (Initial value: "Ladder Diagram") Sub ...

  • Page 218

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 Fig. 4.2.1 (e) The PMC type with 4 comments Step No. (Initially selected.) Net No. (Initially selected.) Hide Line No. (Initially not selected.) Line Specify line spacing for nets (Initial value: <Narrow>). Relay/Coil Specify the data to be...

  • Page 219

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS (6) To print, click the <OK> button. To quit without printing, click the <Cancel> button. NOTE 1 The following have been changed after the version 5.30. (1) When the net is turned, the blank lines are deleted. Fig. 4.2.1 (f) Fig. 4.2.1 ...

  • Page 220

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 4.3 PRINTING STEP SEQUENCES This section describes how to print step sequences. 4.3.1 Procedure (1) Select [File] - [Print]. The [Print] screen appears. Fig. 4.3.1 (a) (a) Select Step Sequence Diagram from Print Data. If the PMC model does not support...

  • Page 221

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS - 195 - (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 initial value is 1). Title Specify a title for step sequence printing (the initial value is "Step ...

  • Page 222

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 4.4 PRINTING SYMBOLS AND COMMENTS This section describes how to print symbols and comments. 4.4.1 Procedure (1) Select [File] - [Print]. The [Print] screen appears. Fig. 4.4.1 (a) (a) Select Symbol & Comment from Print Data. (b) Click the <Opti...

  • Page 223

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS - 197 - (2) Set up the following print options on the Symbol tab. Page No. Specify a start page number for symbol printing (the initial value is 1). Title Specify a title for symbol printing (the initial value is "Symbol & Comment"). Sub ...

  • Page 224

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 4.5 PRINTING MESSAGES This section describes how to print messages. 4.5.1 Procedure (1) Select [File] - [Print]. The [Print] screen appears. Fig. 4.5.1 (a) (a) Select Message Data from Print Data. (b) Click the <Option> button. The [Option] scre...

  • Page 225

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS - 199 - (2) Set up the following print options on the Message tab. Page No. Specify a start page number for message printing (the initial value is 1). Title Specify a title for message printing (the initial value is "Message"). Sub Title Spec...

  • Page 226

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 4.6 PRINTING I/O MODULE ASSIGNMENT This section describes how to print I/O module assignments. 4.6.1 Procedure (1) Select [File] - [Print]. The [Print] screen appears. Fig. 4.6.1 (a) (a) Select I/O Module Data from Print Data. (b) Click the <Option...

  • Page 227

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS - 201 - (2) Set up the following print options on the I/O Module tab. Page No. Specify a start page number for I/O module printing (the initial value is 1). Title Specify a title for I/O module printing (the initial value is "I/O Module"). Su...

  • Page 228

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

  • Page 229

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS - 203 - (2) Set up the following print options on the System Parameter tab. Page No. Specify a start page number for system parameter printing (the initial value is 1). Title Specify a title for system parameter printing (the initial value is "Syst...

  • Page 230

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

  • Page 231

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS Page Range Specify the range of cross-references to be printed (the initial value is <All>). All: All the cross-references will be printed. Address: The cross-references in the specified address range will be printed. Address Kind: Cross-referen...

  • Page 232

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 - 206 - Step No. (Initially selected.) Net No. (Initially selected.) Print No. Type (The Initially value is "Step No. /Net No. ".) Specify Number of Columns (Initially not selected.) Check this item to specify the number of columns for cro...

  • Page 233

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS 4.8.2 Print Example A print result changes as follows by setups of Comment of a cross-reference print. (1) Specify comments. 1: <First Comment>, 2: <None> Fig. 4.8.2 (a) (2) Specify comments. 1: <First Comment>, 2: <Second Comment&...

  • Page 234

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

  • Page 235

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS - 209 - Sub Title Specify a subtitle for bit address map printing (the initial value is blank). Page Range Specify the range of bit address maps to be printed (the initial value is <All>). All: All bit address maps will be printed. Address: The b...

  • Page 236

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 4.10 SETTING UP COMMON OPTIONS This section describes how to set up options common to all print items. 4.10.1 Procedure Fig. 4.10.1 (1) Set up the following common options. Guidance Message Language Specify the language for guidance messages used when...

  • Page 237

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS 4.11 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. 4.11.1 Procedure (1) Select [File] - [Print]. The [Print] screen appears. Fig. 4.11.1 (a) (...

  • Page 238

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 (3) To read options from a file, click the <Restore Option File> button. (a) The [Open] screen appears. Fig. 4.11.1 (c) (b) Specify a File name. (c) Click the <Open> button. NOTE As to the saving/restoring folder of the option file, you...

  • Page 239

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS 4.12 SETTING UP PRINTER This section describes how to set up a printer. 4.12.1 Procedure (1) Select [File] - [Print]. The [Print] screen appears. Fig. 4.12.1 (a) (2) Click the <Printer> button. (a) The [Printer] screen appears. Fig. 4.12.1 (b) ...

  • Page 240

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 4.12.2 Setting up Pages (1) On the [Printer] screen, click the Page button. (2) Set the items on each tab. (a) [Line Count] tab Fig. 4.12.2 (a) Line Count Specify the maximum number of lines that can be printed on one page. A value can be entered direc...

  • Page 241

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS (b) [Line Count (Ladder)] tab Fig. 4.12.2 (b) Number of contacts & coil per Line (Initial value:8) Specify the "Number of contacts & coil per Line". Line Count (Initial value:78) Specify the maximum number of lines that can be prin...

  • Page 242

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 NOTE When the Number of contacts & coil per Line is large, the end of line is not sometimes printed. <Reset> button This button clears the settings for all the items on the [Line Count (Ladder)] tab to the respective initial values. (c) [Ma...

  • Page 243

    B-63484EN/08 4.PRINTING SEQUENCE PROGRAMS (d) [Paper Size] tab Fig. 4.12.2 (d) Size Specify the size of the form you want to use. (The initial value is <A4>.) (e) [Print Type] tab Fig. 4.12.2 (e) Frame Print Specify whether to print a frame. The following items can be set up only when...

  • Page 244

    4.PRINTING SEQUENCE PROGRAMS B-63484EN/08 - 218 - (Initial values) Character definition 1: %[P] Character definition 2: %[T] Character definition 3: %[N] Character definition 4: %[S] Character definition 5: Unavailable X Pos Specify the print start position (X-coordinate) for a character string...

  • Page 245

    B-63484EN/08 5.COMPILATION AND DECOMPILATION 5 COMPILATION AND DECOMPILATION This chapter describes how to compile and decompile source programs, as well as automatic compilation and automatic decompilation. The chapter also describes how to protect a ladder program using a password. • Compil...

  • Page 246

    5.COMPILATION AND DECOMPILATION B-63484EN/08 5.1 COMPILATION This section describes how to compile source programs. Procedure (1) Select [Tool] - [Compile]. The [Compile] dialog appears. Fig. 5.1 (a) (2) Click the [Option] tab to set the compile options. • For PMC models that do not support...

  • Page 247

    B-63484EN/08 5.COMPILATION AND DECOMPILATION The details of the options are listed below. Table 5.1(a) Option Explanation Condense When a ladder that has the same number of steps is compiled, the object code is decreased. Output Symbol/Coil-comment A symbol that can be displayed on a display un...

  • Page 248

    5.COMPILATION AND DECOMPILATION B-63484EN/08 The details of the options are listed below. Table 5.1(b) Option Explanation Output Symbol/Comment A symbol (16 bytes or less) that can be displayed on display unit of CNC, and a comment are output to an object code. Output First Comment First commen...

  • Page 249

    B-63484EN/08 5.COMPILATION AND DECOMPILATION NOTE 1 Condense mode Condense mode has the following advantages. • Reduced compilation time. • Reduced transfer time from a personal computer to the PMC. • The mode requires little ROM space. On the other hand, the following restrictions must b...

  • Page 250

    5.COMPILATION AND DECOMPILATION B-63484EN/08 Size information Item Contents Message Data size of a message. Symbol Comment Data size of a symbol and a comment. Ladder program Data size of a ladder and step sequence. Memory Used Data size of the all ladder program . F-ROM Used Size of Flash ROM ...

  • Page 251

    B-63484EN/08 5.COMPILATION AND DECOMPILATION Fig. 5.1.1.1 (b) For extended symbol (2) Check the check box of Output warning in detail. No check (Default): Warning is collectively displayed without adding detailed information. Check: Warning with detailed information is displayed. Warnin...

  • Page 252

    5.COMPILATION AND DECOMPILATION B-63484EN/08 5.2 DECOMPILATION This section describes how to decompile object code. Procedure (1) Select [Tool] - [Decompile]. The [Decompile] dialog appears. Fig. 5.2 (a) (2) Click the [Option] tab to set the decompile options. • PMC model which supports the...

  • Page 253

    B-63484EN/08 5.COMPILATION AND DECOMPILATION Details of the options are listed below. Table 5.2 (a) Option Explanation Symbol/Comment is decompiled If not checked, no symbol/comment data is decompiled. The definition of the source is directly used. New The definition of the source program is new...

  • Page 254

    5.COMPILATION AND DECOMPILATION B-63484EN/08 Details of the options are listed below. Table 5.2 (b) Option Explanation Symbol/Comment is decompiled If not checked, no symbol/comment data is decompiled. The definition of the source is directly used. Merging the Symbol/ Comment has given priority ...

  • Page 255

    B-63484EN/08 5.COMPILATION AND DECOMPILATION NOTE Password The password to be entered differs depending on the type of the password added to an object code. • Only Password(Read) → Enter Password(Read) to permit display • Only Password(Read/Write) or Password(Write) → Enter Password(Rea...

  • Page 256

    5.COMPILATION AND DECOMPILATION B-63484EN/08 (6) <Update Log> button Only the modules which were modified in the object code are decompiled. To confirm the modified module, please press <Update Log> button. Fig. 5.2 (j) [ ] The file was not updated by decompilation. [*] The file...

  • Page 257

    B-63484EN/08 5.COMPILATION AND DECOMPILATION - 231 - 5.3 AUTOMATIC COMPILATION AND DECOMPILATION This section describes automatic compilation and decompilation. The automatic compilation or decompilation processing is performed when the mode is switched between offline and online so that a sour...

  • Page 258

    5.COMPILATION AND DECOMPILATION B-63484EN/08 5.4 PROTECTING LADDER PROGRAMS BY PASSWORDS This section describes the protection of a ladder program. Adding a password to an object code prevents a ladder program from being displayed or edited on a CNC. How to create object code with a password (...

  • Page 259

    B-63484EN/08 5.COMPILATION AND DECOMPILATION - 233 - NOTE Entering a password 1 A password must consist of no more than eight or sixteen alphanumeric characters. (The maximum length of characters is different in dependence on the PMC model.) 2 Passwords are not case-sensitive. (A lower-case lett...

  • Page 260

    5.COMPILATION AND DECOMPILATION B-63484EN/08 • Applied model PMC-SB4(STEP)/SC4(STEP)/SB6(STEP)/SB6(STEP,IO-2)/SB7/NB2(STEP) PMC Memory B and PMC Memory C of 30i/31i/32i-A PMC Memory B, PMC Memory C and PMC Memory D of 30i/31i/32i/35i-B and Power Motion i-A Series 0i-D PMC NOTE Object cod...

  • Page 261

    B-63484EN/08 5.COMPILATION AND DECOMPILATION NOTE 1. If this software is updated with the new released installer, the %%%FLSET file is initialized. 2. When using Windows Vista or Windows 7, please modify the %%%FLSET file in a folder listed below. C:\ProgramData\FANUC\FANUC LADDER-III\%%%FLSET ...

  • Page 262

    5.COMPILATION AND DECOMPILATION B-63484EN/08 (4) The [Password(Compile)] dialog appears. 12 Fig. 5.4.2 (d) PMC-SB7 Fig. 5.4.2 (e) 30i/31i/32i-A/B, 35i-B, PMi-A, 0i-D Item Selection item Contents Specify: Default The ladder program is protected with specifying password. ...

  • Page 263

    B-63484EN/08 5.COMPILATION AND DECOMPILATION 5.5 AUTOMATIC NUMBERING OF TMRB/TMRBF/DIFU/DIFD If you use this function, the 1st parameter for the TMRB/ TMRBF/ DIFU/ DIFD instructions will be automatically numbered at the compiling process and you no longer have to take care of entering the specif...

  • Page 264

    5.COMPILATION AND DECOMPILATION B-63484EN/08 CAUTION 1 The result of automatic assignment is output to the map log. Push the <Map Log> button to display the net number, the functional instruction and the automatic assigned parameter number. 2 You can check duplication of the parameter num...

  • Page 265

    B-63484EN/08 5.COMPILATION AND DECOMPILATION 5.6 PROGRAM SIZE CHECK FUNCTION When compiling by setting the compilation option beforehand, this function checks the maximum ladder size (number of steps) and the F-ROM size. When either or both exceed the limitation of the size, the result is output...

  • Page 266

    5.COMPILATION AND DECOMPILATION B-63484EN/08 - 240 - Specify the step option Specifying the step option checks the size. Ladder: Select the step option. Add size: Select the symbol capacity expansion option. The F-ROM size is extended. Specify the free size Specifying the inputted arbitra...

  • Page 267

    B-63484EN/08 6.MNEMONIC EDITING - 241 - 6 MNEMONIC EDITING This chapter describes how to convert a source program to a mnemonic file, and vice versa, as well as the mnemonic file format. 6.1 CONVERTING SOURCE PROGRAMS TO MNEMONIC FILES This section describes the procedure for converting a sourc...

  • Page 268

    6.MNEMONIC EDITING B-63484EN/08 - 242 - (3) Select the [Convert Data]. The following items can be selected. Table 6.1 (a) ALL Converts all data in the source program. System Parameter Converts only system parameters. Title Converts only the title data. Symbol&Comment No check External Symb...

  • Page 269

    B-63484EN/08 6.MNEMONIC EDITING - 243 - (6) [Performing automatic address assignment] This item appears when the PMC model is the extended function and convert data is Symbol&Comment. Check : The address of the symbol is assigned automatically. Beforehand, you need to specify the assignme...

  • Page 270

    6.MNEMONIC EDITING B-63484EN/08 - 244 - (10) To convert the source program to mnemonic file(s), click the <OK> button. Once the conversion is completed, the conversion results appear. (To see the last converted results, click the <Log file> button.) Output file name When “Data ...

  • Page 271

    B-63484EN/08 6.MNEMONIC EDITING - 245 - %@A %@0 2 BINARY 3 NO 4 PMC-RB4 % %@1 01 MACHINE TOOL BUILDER NAME : : 10 REMARKS % %@2-C R0200.0 UNIT-3-POWER $1 ‘KEEP POWER ON’ ‘KEEP UNIT-3 POWER ON’ R0200.1 UNIT-2-ACT $1 ‘$’POWER$$’ ‘KEEP UNIT-4 $$POWER$’ ON’ R0300.0 $1 ‘KEEP ...

  • Page 272

    6.MNEMONIC EDITING B-63484EN/08 - 246 - Example2 Converting to multiple files divided by data kind Fig. 6.1 (f) Procedure (1) Select “ALL” from Convert Data. (2) Check "Data kind separation" check box. File is divided and is output as follows. Output Data Output file name Syste...

  • Page 273

    B-63484EN/08 6.MNEMONIC EDITING - 247 - The system parameter is output to PRG00SYSPRM.TXT. %@0 2 BINARY 3 NO 4 30i-A PMC 31 1 32 -1 33 0 100 YES 101 R100-R199 102 R700-R799 103 0-0 104 0-0 111 D100-D149 112 D200-D299 113 0-0 114 0-0 121 E0-E199 122 0-0 123 0-0 124 0-0 % The title is output to ...

  • Page 274

    6.MNEMONIC EDITING B-63484EN/08 - 248 - The symbol & comment is output to PRG00SYMBOL.TXT . The LEVEL1 program is output to PRG00LEVEL1.TXT. The LEVEL2 program is output to PRG00LEVEL2.TXT. The subprogram is output to PRG00Pn.TXT. %@2-D ...

  • Page 275

    B-63484EN/08 6.MNEMONIC EDITING - 249 - The message is output to PRG00MESSAGE.TXT. The I/O module is output to PRG00IOMODULE.TXT. Example3 Converting all ladder programs into one mnemonic file Fig. 6.1 (g) Procedure (1) Select “Ladder” from Convert Data. (2) Select "All...

  • Page 276

    6.MNEMONIC EDITING B-63484EN/08 - 250 - All the ladder programs are output to PRG00.TXT. %@3-D END1 LABEL1 LBL ;<L100 > ;[LABEL L00001] END2 SUBPR1 SP ;<P1 > "SUB PROG. NO.01" ;[SUB PROGRAM DATA NO.01] RD XADRS1 ;<X0.0 > "JUMPB LABEL L0...

  • Page 277

    B-63484EN/08 6.MNEMONIC EDITING - 251 - File is divided and is output as follows. Convert Data Output file name LEVEL1 PRG00LEVEL1.TXT LEVEL2 PRG00LEVEL2.TXT Ladder Subprogram Pn PRG00Pn.TXT The LEVEL1 program is output to PRG00LEVEL1.TXT. The LEVEL2 program is output to PRG00LEVEL2.T...

  • Page 278

    6.MNEMONIC EDITING B-63484EN/08 - 252 - Procedure (1) Select “Ladder” from Convert Data. (2) Select "All Program" from "Program" combo box to convert all ladder program. (3) Check "Used symbol" check box to output the symbols used with the program. When this is...

  • Page 279

    B-63484EN/08 6.MNEMONIC EDITING - 253 - The subprogram and the Symbol used in the subprogram are output to PRG00Pn.TXT. Example6 Converting single subprogram Fig. 6.1 (j) Procedure (1) Select “Ladder” from Convert Data. (2) Select a subprogram to output in the "Prog...

  • Page 280

    6.MNEMONIC EDITING B-63484EN/08 - 254 - Example7 Converting a subprogram and used symbol into one file Fig. 6.1 (k) Procedure (1) Select “Ladder” from Convert Data. (2) Select a subprogram to output in the "Program" combo box. (3) Check "Used symbol" check box to output...

  • Page 281

    B-63484EN/08 6.MNEMONIC EDITING - 255 - Procedure (1) Select [Tool]-[Option...]. Then, the [Option] dialog appears. Fig. 6.1 (l) Apply zero suppression to PMC address No check: (Default) When the mnemonic conversion and the external symbol file is output, the output file is a form like "...

  • Page 282

    6.MNEMONIC EDITING B-63484EN/08 - 256 - (2) For the zero suppression is applied %@A %@0 2 BINARY 3 YES X100 Y20 R10 R50 4 PMC-SB7 % %@2-C X5.0 X_LOOP $1 LOOP Mode SW' X6.0 X_INIT $1 'Initialize SW' % %@3 N00001: RD R9091.0 ;(OFF ) "Always OFF" RD.STK A0.2 ;(A_EX003 ) &...

  • Page 283

    B-63484EN/08 6.MNEMONIC EDITING - 257 - 6.1.1 Converts to the External Symbol File This function outputs the symbol/comment of external symbol file format. External symbol files are composed of identification code and the comma separated text file. You can edit the symbol/comment data by the ex...

  • Page 284

    6.MNEMONIC EDITING B-63484EN/08 - 258 - 6.2 CONVERTING MNEMONIC FILES TO SOURCE PROGRAMS You can convert the edited mnemonic file to the source program based on a certain format. It became possible to convert from divides mnemonic file of subprogram which includes symbol/comment together. Proce...

  • Page 285

    B-63484EN/08 6.MNEMONIC EDITING - 259 - NOTE 1 For conversion to a source program, the source program of the currently open sequence program is changed but is not stored, however. 2 For a coil comment, created in A or B format, that contains single-byte lowercase alphabetic characters, the lower...

  • Page 286

    6.MNEMONIC EDITING B-63484EN/08 - 260 - Example of a mnemonic file division A mnemonic file of each subprogram %@3-D RD YPWSEN ;<Y0.3 > "POWER SUPPLY ENABLE" AND INOEME ;<X8.4 > "NO EMERGENCY" AND.NOT EMSTF1 ;<R1565.0> "EMERGENCY STOP FAULTS&...

  • Page 287

    B-63484EN/08 6.MNEMONIC EDITING - 261 - ; System parameter %@0 2 BINARY 3 NO 4 PMC-SB7 7 150 11 UNUSE 12 0 13 UNUSE 14 0 % ; Title %@1 01 MTB NAME 02 MACHINE TOOL NAME 03 CNC/PMC NAME 04 9999 05 88 06 A08B-9210-J505 07 2003-07-31 08 NAME 09 NAME 10 REMARKS % ; Message %@4 A000.0 MESSAGE1 A000.1...

  • Page 288

    6.MNEMONIC EDITING B-63484EN/08 - 262 - 6.3 MNEMONIC FILE FORMAT This section describes the mnemonic file format. Identification code For a mnemonic file, data is defined using one of four types of identification code, beginning with %. Table 6.3 (a) Identification code Meaning %@A Start of AL...

  • Page 289

    B-63484EN/08 6.MNEMONIC EDITING - 263 - Space or tab Relay comment Coil comment Space or tab Mark that represents comment data (always '$1')Space or tab 1st comment 2nd comment Space or tab Mark that represents comment data (always '$1')(b) Specifying a relay comment and coil comment Describe...

  • Page 290

    6.MNEMONIC EDITING B-63484EN/08 - 264 - (2) Ladder data (a) Starting and ending a net comment Describe a net comment with "(*" , "*)" in a ladder mnemonic. Table 6.3 (c) Description Meaning (* Start of a net comment *) End of a net comment (b) Specifying the position of a...

  • Page 291

    B-63484EN/08 6.MNEMONIC EDITING - 265 - NOTE 1 If you don’t need the control character in a mnemonic file, please set “NETCMT_CTRL_CHAR=NULL” in a file %%%FLSET. 2 When the control character is used in a string, please describe two consecutive control characters. Ex.) When the control char...

  • Page 292

    6.MNEMONIC EDITING B-63484EN/08 - 266 - 6.4 MNEMONIC FILE SAMPLE This section provides examples of mnemonic files for the single format and All format. 6.4.1 Single Format This section shows a sample file for each single-format data. 6.4.1.1 Parameter %@0 2 BCD → Counter data type 3 NO →...

  • Page 293

    B-63484EN/08 6.MNEMONIC EDITING - 267 - Table 6.4.1.1 (a) PMC model Setting data PMC-SC3 PMC-RC3 PMC-SC4 PMC-RC4 PMC-SC4(STEP SEQ) PMC-RC4(STEP SEQ) PMC-NB PMC-NB PMC-NB2 PMC-NB2 PMC-NB6 PMC-NB6 PMC-PA3 PMC-PA3 PMC-QC PMC-QC NOTE Both the capital letter and the small letter are available. The...

  • Page 294

    6.MNEMONIC EDITING B-63484EN/08 - 268 - The setting data of Series 30i/31i/32i/35i-B, Power Motion i-A PMC PMC model (PMC path, PMC memory, Extended function) Table 6.4.1.1 (c) Format Setting data PMC model 30i-B PMC 31i-B PMC 32i-B PMC 35i-B PMC Power Motion i-A PMC path 1st-path PMC 2nd-path...

  • Page 295

    B-63484EN/08 6.MNEMONIC EDITING - 269 - Head address of language program link control statement data 0, or 800000 to 8FFFFF (hex) Time ratio to execute language program 1 to 99 (%) Ladder execution time 100 (always 100%) I/O link assignment selection function (channel 1) Used: USE Not used: ...

  • Page 296

    6.MNEMONIC EDITING B-63484EN/08 - 270 - (4) For PMC-NB/NB2 %@0 2 BINARY 3 NO 4 PMC-NB 5 000000 6 50 7 100 % 2: Counter data type 3: Presence or absence of operator panel 4: PMC type 5: Head address of language program link control statement data 6: Time ratio to execute language program 7: Ladd...

  • Page 297

    B-63484EN/08 6.MNEMONIC EDITING - 271 - (8) For Series 30i/31i/32i/35i-MODEL B PMC %@0 2 BINARY 3 NO 4 Please refer to table 6.4.1.1(c) 11 UNUSE 12 0 13 UNUSE 14 0 15 UNUSE 16 0 17 UNUSE 18 0 31 1 32 -1 33 0 % 2: Counter data type 3: Presence or absence of operator panel 4: PMC type 11: I...

  • Page 298

    6.MNEMONIC EDITING B-63484EN/08 - 272 - 6.4.1.2 Title %@1 01 MACHINE TOOL BUILDER NAME 02 MACHINE TOOL NAME 03 CNC & PMC NAME 04 PMC PROGRAM NO. 05 EDITION NO. 06 PROGRAM DRAWING NO. 07 DATE OF PROGRAMMING 08 PROGRAM DESIGNED BY 09 ROM WRITTEN BY 10 REMARKS % 6.4.1.3 Symbol and comment %2...

  • Page 299

    B-63484EN/08 6.MNEMONIC EDITING - 273 - %2-C2 %@2-C2 R0200.0 UNIT-3-POWER $1 ‘KEEP POWER ON’ ‘KEEP UNIT-3 POWER ON’ R0200.1 UNIT-2-ACT $1 ‘$’POWER$$’ ‘KEEP UNIT-4 $$POWER$’ ON’ R0300.0 $1 ‘KEEP POWER ON’ ‘KEEP UNIT-4 POWER ON’ P0008 OPEN-FRONT $1 ‘OPEN FRONT COVER L...

  • Page 300

    6.MNEMONIC EDITING B-63484EN/08 - 274 - (c) Data format of parameter and data table In a mnemonic file, the values of parameters or data table of functional instructions are described as a decimal number, regardless of their data format; binary or BCD. The numerical data in a mnemonic file wil...

  • Page 301

    B-63484EN/08 6.MNEMONIC EDITING - 275 - Full option Label and subprogram %@3 N00001: SUB 71 ; SP P1 ; (SUBPR1 ) “SUB PROG. NO.01” ; [SUB PROGRAM DATA NO.01] N00002: RD X0.0 ; (XADRS1 ) “JUMPB LABEL L001” SUB 68 ; JMPB L100 ; (LA...

  • Page 302

    6.MNEMONIC EDITING B-63484EN/08 - 276 - NOTE 1. The name of the functional instruction must use the capital letter. 6.4.1.5 Message %@4 A00.0 2100020 ACT DOOR NOT CLOSE A00.1 2101022 SPINDLE SPEED ARRIVAL SIGNAL NOT ON A00.2 2100020 EDTOK KEY SWITCH ON % 6.4.1.6 I/O module %@5 X000 1...

  • Page 303

    B-63484EN/08 6.MNEMONIC EDITING - 277 - 6.4.2 ALL Format %@A %@0 2 BINARY 3 NO 4 PMC-RB4 % %@1 01 MACHINE TOOL BUILDER NAME : : 10 REMARKS % %@2-C R0200.0 UNIT-3-POWER $1 ‘KEEP POWER ON’ ‘KEEP UNIT-3 POWER ON’ R0200.1 UNIT-2-ACT $1 ‘$’POWER$$’ ‘KEEP UNIT-4 $$POWER$...

  • Page 304

    6.MNEMONIC EDITING B-63484EN/08 - 278 - 6.5 CONVERTING STEP SEQUENCE PROGRAMS TO MNEMONIC FILES This section describes the procedure for converting a step sequence program to a mnemonic file. Use this function only when you change a conventional model to a new model. Procedure (1) Modify a mnem...

  • Page 305

    B-63484EN/08 6.MNEMONIC EDITING - 279 - 6.6 MNEMONIC OPTIONS A specified character is separate in “Conversion into a mnemonic file” and “Conversion into the source program”. And the replacement of the white-space character is selectable on the mnemonic option dialog-box ([Tool] – [Opti...

  • Page 306

    6.MNEMONIC EDITING B-63484EN/08 - 280 - Enter the replacing character in the [Specified Character] edit box (one character). Fig. 6.6 (b) Case of Extended symbol Details Converts the source program after replacing unusable symbol character into the specified string. The following screen is d...

  • Page 307

    B-63484EN/08 6.MNEMONIC EDITING - 281 - 6.7 FORMAT OF EXTERNAL SYMBOL FILE Mnemonic file format is enhanced to read a normal CSV file. Identification code For a mnemonic file, data is defined using one of four types of identification code, being with %. Please use identification code "%@2-...

  • Page 308

    6.MNEMONIC EDITING B-63484EN/08 - 282 - 6.7.3 Operation to Import from CSV-file It is possible to import symbol/comment data by the same procedure as a source program conversion. Procedure (1) Boot Ladder Editing Package. And then select [Ladder] - [Programer Mode] - [Offline]. Then, display mo...

  • Page 309

    B-63484EN/08 7.INPUT/OUTPUT 7 INPUT/OUTPUT This chapter describes how to load and store programs. NOTE 1 When input or output (loading data from the PMC or storing data to the PMC) is performed during NC operation, the speed at which data (such as positions) is displayed on an NC screen may fal...

  • Page 310

    7.INPUT/OUTPUT B-63484EN/08 Host Specify a host name (for example, "CNC1") or an IP address (for example, "190.168.0.1"). Port No. Specify the port number of the Ethernet function of the CNC to be connected. Time Out Specify the time out applied to the transmission/recepti...

  • Page 311

    B-63484EN/08 7.INPUT/OUTPUT (3) Click the <Network setting> button to make network settings. Use FBUS When using the expansion driver/library to communicate through a high-speed serial bus, check this option. When using only Ethernet together with Ladder Editing Package (Windows), unchec...

  • Page 312

    7.INPUT/OUTPUT B-63484EN/08 7.2 LOADING SEQUENCE PROGRAMS FROM THE PMC (DURING DISCONNECTION WITH THE PMC) 7.2.1 Procedure (1) Select [Tool] - [Load from PMC]. The [Program transfer wizard Selection of transferred method] screen appears. Fig. 7.2.1 (a) (a) Select a transfer method. • <I/O...

  • Page 313

    B-63484EN/08 7.INPUT/OUTPUT (3) To display the [Communication] screen to start access to the PMC, click the <Yes> button. Fig. 7.2.1 (c) (4) When there is a loader, the [Communication Current Device] screen appears. Select either CNC Main or LOADER, and then click the <Exec> butto...

  • Page 314

    7.INPUT/OUTPUT B-63484EN/08 (6) The [Program transfer wizard Selection of program] screen appears. Fig. 7.2.1 (f) (7) For the remainder of the procedure, see 317,Section 7.3, "Loading Sequence Programs from the PMC (During Connection with the PMC)." ♦ Selecting <I/O by “I/O...

  • Page 315

    B-63484EN/08 7.INPUT/OUTPUT (3) Click the <Next> button. The [Program transfer wizard Selection of program] screen appears. Fig. 7.2.1 (h) (4) Select LADDER or ALL, and then click the <Next> button. (5) The [Program transfer wizard Setting of communication] screen appears. Set a c...

  • Page 316

    7.INPUT/OUTPUT B-63484EN/08 (6) The [Program transfer wizard Confirmation of processing] screen appears. Fig. 7.2.1 (j) (7) Click the <Finish> button. Then, the [Execution of I/O transfer] screen appears. Fig. 7.2.1 (k) NOTE Set CHANNEL, DEVICE, FUNCTION, and DATA KIND on the PMC I/O...

  • Page 317

    B-63484EN/08 7.INPUT/OUTPUT 7.3 LOADING SEQUENCE PROGRAMS FROM THE PMC (DURING CONNECTION WITH THE PMC) 7.3.1 Procedure (1) Select [Tool] - [Load from PMC]. The [Program transfer wizard Selection of transferred method] screen appears. Fig. 7.3.1 (a) NOTE When connection is not established, th...

  • Page 318

    7.INPUT/OUTPUT B-63484EN/08 (b) Click the <Next> button. The [Program transfer wizard Confirmation of processing] screen appears. Fig. 7.3.1 (b) (c) Check the setting items. Click the <Finish> button. Then, the [Transfer monitor] screen appears, and then the program is transferred...

  • Page 319

    B-63484EN/08 7.INPUT/OUTPUT - 293 - 7.4 LOADING MULTI-LANGUAGE PMC MESSAGE FROM PMC Load multi-language PMC message and write into a specified file. (PMC -> Ladder Editing Package(Windows)) 7.4.1 Supported PMC Models Supported Series 30i/31i/32i-A PMC Series 30i/31i/32i/35i-B PMC Power Motio...

  • Page 320

    7.INPUT/OUTPUT B-63484EN/08 NOTE When undermentioned warning has been generated on the PMC side, "The alarm has been generated on the PMC side" is displayed. WN64 MESSAGE FILE SIZE OVER WN65 MESSAGE FILE MISMATCH WN66 MESSAGE FILE PARITY WN67 MESSAGE FILE ERROR BY I/O If these warning ...

  • Page 321

    B-63484EN/08 7.INPUT/OUTPUT (4) Check the setting items. Fig. 7.4.2 (b) (5) Click <Finish> button. (6) the [Transfer monitor] screen appears, and then the program is transferred. Fig. 7.4.2 (c) - 295 -

  • Page 322

    7.INPUT/OUTPUT B-63484EN/08 7.5 LOADING I/O CONFIGURATION DATA FROM PMC You can load the I/O configuration data, in which the assignment data for I/O Link i is stored, from PMC. 7.5.1 Supported PMC models Supported Series 30i/31i/32i/35i-B PMC Power Motion i-A PMC 7.5.2 Procedure (1) Connect ...

  • Page 323

    B-63484EN/08 7.INPUT/OUTPUT (4) The [Program transfer wizard] screen appears. Check the setting items. Fig. 7.5.2 (b) (5) Click the <Finish> button. (6) The [Transfer monitor] screen appears. Fig. 7.5.2 (c) - 297 -

  • Page 324

    7.INPUT/OUTPUT B-63484EN/08 7.6 STORING SEQUENCE PROGRAMS IN THE PMC (DURING DISCONNECTION WITH THE PMC) 7.6.1 Procedure (1) Select [Tool] - [Store to PMC]. The [Program transfer wizard Selection of transferred method] screen appears. Fig. 7.6.1 (a) (a) Selection of transferred method. • &l...

  • Page 325

    B-63484EN/08 7.INPUT/OUTPUT (3) Click the <Yes> button. The [Communication] screen appears, after which access to the PMC is started. Fig. 7.6.1 (c) (4) When there is a loader, the [Communication Current Device] screen appears. Select CNC Main or LOADER, and then click the <Exec> ...

  • Page 326

    7.INPUT/OUTPUT B-63484EN/08 (6) The [Program transfer wizard Selection of program] screen appears. Fig. 7.6.1 (f) (7) For the remainder of the procedure, see Section 331,7.7, "Storing Sequence Programs in the PMC (During Connection with the PMC)." Changing the PMC model of LAD fil...

  • Page 327

    B-63484EN/08 7.INPUT/OUTPUT Table 7.6.1 (b) Example of 30i/31i/32i/35i-B, PMi-A Model Compatible PMC Ladder Type 30i-B 31i-B 32i-B 35i-B PMi-A 1st, MEM-B 30i-B PMC(MEM-B) 31i-B PMC(MEM-B) 32i-B PMC(MEM-B) 35i-B PMC(MEM-B) Power Motion i-A PMC(MEM-B) 1st, MEM-C, EXI 30i-B PMC(MEM-C,EXI) 31i-B P...

  • Page 328

    7.INPUT/OUTPUT B-63484EN/08 ♦ Selecting <I/O by “I/O” key operation> (2) Select <I/O by “I/O” key operation>, and then click the <Next> button. The [Program transfer wizard Selection of loading/store] screen appears. Fig. 7.6.1 (h) (3) Click the <Next> button...

  • Page 329

    B-63484EN/08 7.INPUT/OUTPUT (5) The [Program transfer wizard Setting of communication] screen appears. Set a communication protocol, and then click the <Next> button. Fig. 7.6.1 (j) (6) The [Program transfer wizard Confirmation of processing] screen appears. Fig. 7.6.1 (k) (7) Click t...

  • Page 330

    7.INPUT/OUTPUT B-63484EN/08 NOTE Set CHANNEL, DEVICE, FUNCTION, and DATA KIND on the PMC I/O PROGRAM screen of the PMC in advance. Set HOST for DEVICE. For details of these settings, refer to the FANUC PMC Ladder Language Programming Manual (B-61863E). Press soft key <EXEC> of the NC to p...

  • Page 331

    B-63484EN/08 7.INPUT/OUTPUT 7.7 STORING SEQUENCE PROGRAMS IN THE PMC (DURING CONNECTION WITH THE PMC) 7.7.1 Procedure (1) Select [Tool] - [Store to PMC] The [Program transfer wizard Selection of program] screen appears. Fig. 7.7.1 (a) NOTE When connection is not established, the [Communicati...

  • Page 332

    7.INPUT/OUTPUT B-63484EN/08 (b) Click the <Next> button. The [Program transfer wizard Confirmation of processing] screen appears. Fig. 7.7.1 (b) (c) Check the setting items. Click the <Finish> button. Then, the [Transfer monitor] screen appears, and then the program is transferred...

  • Page 333

    B-63484EN/08 7.INPUT/OUTPUT - 307 - NOTE 1 During ladder editing in online mode, no program can be stored in the PMC. Store programs in the PMC while a ladder is being monitored. 2 After storing a program in the PMC, if the CNC is powered down without backing up the program, the editing results ...

  • Page 334

    7.INPUT/OUTPUT B-63484EN/08 7.8 STORING MULTI-LANGUAGE PMC MESSAGE TO PMC Store the memory card format file made with multi-language PMC message creation tool (Ladder Editing Package(Windows) -> PMC). 7.8.1 Supported PMC Models Supported Series 30i/31i/32i-A PMC Series 30i/31i/32i/35i-B PMC ...

  • Page 335

    B-63484EN/08 7.INPUT/OUTPUT NOTE As to the folder for saving/restoring multi-language PMC message, you can choose the default of the folder for saving/restoring by the Specify the same folder as a LAD file for working directory in the [General] tab of the option.(select the [Tool] - [Option...]...

  • Page 336

    7.INPUT/OUTPUT B-63484EN/08 7.9 STORING I/O CONFIGURATION DATA TO PMC You can store I/O configuration data, in which the assignment data for I/O Link i is stored, to PMC. 7.9.1 Supported PMC models Supported Series 30i/31i/32i/35i-MODEL B PMC Power Motion i-A PMC 7.9.2 Procedure (1) Connect to...

  • Page 337

    B-63484EN/08 7.INPUT/OUTPUT (4) The [Program transfer wizard - Confirmation of processing] screen appears. Check the setting items. Fig. 7.9.2 (b) (5) Press the <Finish> button. (6) The [Transfer monitor] screen appears. The I/O configuration data is stored to PMC. Fig. 7.9.2 (c) - 31...

  • Page 338

    7.INPUT/OUTPUT B-63484EN/08 7.10 ONE-TOUCH OUTPUT OF SEQUENCE PROGRAM You can easily perform the following output operation for the sequence program by pressing a button of toolbar. - Compiling the sequence program depending on the situation and storing it to CNC. - Compiling the sequence progra...

  • Page 339

    B-63484EN/08 7.INPUT/OUTPUT Fig. 7.10.2 (a) If the connection to CNC is not established, connecting is performed. Fig. 7.10.2 (b) The sequence program is stored to PMC. Fig. 7.10.2 (c) NOTE 1. If an error occurs, the processing is aborted. Correct the error and try again. - 313 -

  • Page 340

    7.INPUT/OUTPUT B-63484EN/08 7.10.3 "Storing & execution" button Pressing the button, stores the sequence program to PMC and executes it. Before the operation, you must set the setting of compiling and communication in the option screen in advance. Procedure (1) Press the button &q...

  • Page 341

    B-63484EN/08 7.INPUT/OUTPUT The sequence program is executed. The display of the status bar is changed from "stopped" to "executing". Fig. 7.10.3 (d) the ladder is stopped Fig. 7.10.3 (e) the ladder is executing NOTE 1. If an error occurs, the processing is aborted. Corr...

  • Page 342

    7.INPUT/OUTPUT B-63484EN/08 NOTE 1. Specification of the folder in which memory card format file will be stored - Sequence program You can select a default save folder from Specify the same folder as a LAD file for working directory on the [Option] tab. (Select the [Option] from the [Tool] men...

  • Page 343

    B-63484EN/08 7.INPUT/OUTPUT 7.12 WRITING MULTI-LANGUAGE PMC INTO F-ROM Write the stored multi-language PMC message into F-ROM. 7.12.1 Supported PMC Models Supported Series 30i/31i/32i-A PMC Series 30i/31i/32i/35i-B PMC Power Motion i-A PMC Series 0i-D PMC Series 0i Mate-D PMC/L 7.12.2 Procedur...

  • Page 344

    7.INPUT/OUTPUT B-63484EN/08 7.13 WRITING I/O CONFIGURATION DATA INTO F-ROM 7.13.1 Supported PMC Models Supported Series 30i/31i/32i/35i-B PMC Power Motion i-A PMC 7.13.2 Procedure (1) Connect to PMC. (Refer to "7.1 SETTING UP COMMUNICATION") (2) Select the [Backup] from the [Tool] me...

  • Page 345

    B-63484EN/08 7.INPUT/OUTPUT 7.14 COMPARING WITH PMC You can compare programs with the I/O function, HOST operation. 7.14.1 Menu Bar Select [Tool] - [Load from PMC...] or [Store to PMC...], and the transfer direction selection dialog box of the "Program transfer wizard" will appear. F...

  • Page 346

    7.INPUT/OUTPUT B-63484EN/08 - 320 - 7.14.2.2 Selecting a transfer direction The transfer direction selection dialog box appears. To use the compare function, select "PMC and comparison" and click the <Next> button. Fig. 7.14.2.2 On the subsequent pages of the wizard, follow the...

  • Page 347

    B-63484EN/08 8.EXECUTING AND STOPPING SEQUENCE PROGRAMS 8 EXECUTING AND STOPPING SEQUENCE PROGRAMS This chapter describes how to execute and stop sequence programs. WARNING Special care is needed when you execute or stop a program. If a program is used inappropriately, the machine may operate...

  • Page 348

    8.EXECUTING AND STOPPING SEQUENCE PROGRAMS B-63484EN/08 8.1 EXECUTING SEQUENCE PROGRAMS This section describes the procedure for executing a sequence program. Procedure (1) Select [Tool] - [Program Run/Stop]. For no language program: Fig. 8.1 (a) For a language program: Fig. 8.1 (b) Yes A ...

  • Page 349

    B-63484EN/08 8.EXECUTING AND STOPPING SEQUENCE PROGRAMS - 323 - 8.2 STOPPING SEQUENCE PROGRAMS This section describes the procedure for stopping sequence programs. Procedure (1) Select [Tool] - [Program Run/Stop]. Fig. 8.2 Yes A sequence program is to be stopped. No The dialog box is to be ...

  • Page 350

    9.DIAGNOSIS B-63484EN/08 9 DIAGNOSIS This chapter describes the online diagnosis function for ladder monitoring, PMC status, PMC parameters, signal trace, and signal waveform display. 9.1 LADDER MONITORING CAUTION 1 The online monitor function for step sequence programs is not supported. 2 If ...

  • Page 351

    B-63484EN/08 9.DIAGNOSIS Cursor display The cursor can be displayed in the Monitor screen. Procedure (1) Select [Option] of [Tool] menu, and select [Online] tab. (2) Check the Display the cursor. Fig.9.1.2 (b) 9.1.2.1 [Monitor] screen (extended instruction) Supported PMC models Supported Seri...

  • Page 352

    9.DIAGNOSIS B-63484EN/08 NOTE When the following ladders are monitored, it is different from an actual executing state. - The ladder which connects the relay following the output of a function instructions. - The ladder which connects another function instruction following the output of a funct...

  • Page 353

    B-63484EN/08 9.DIAGNOSIS 9.1.3.1 Multiple used check of the functional instruction parameter number When the <Update> button on the online editing screen is pushed, multiple use of the following functional instruction parameter number is checked. Supported instructions Multiple use of the...

  • Page 354

    9.DIAGNOSIS B-63484EN/08 9.1.4 Signal Trigger Stop Function 9.1.4.1 Procedure (1) When the system is in offline mode, select [Ladder] - [Online/Offline] to set online mode. When the <On-Line/Off-Line Change> button looks released, the system is in offline mode. When the button looks presse...

  • Page 355

    B-63484EN/08 9.DIAGNOSIS 9.1.4.3 Terminating the signal trigger stop function (1) When the signal trigger stop condition is satisfied, the [Signal Trigger] screen appears, and sample data is collected. Fig. 9.1.4.3 (a) (2) The [Signal Trigger Stop Function] termination screen appears. Trigger ...

  • Page 356

    9.DIAGNOSIS B-63484EN/08 Trigger Mode ON: Stops triggering on the rising edge of a specified address signal. OFF: Stops triggering on the falling edge of a specified address signal. <Init> button This button initializes the parameters as follows: Address: Blank Check Point: LEVEL1 ...

  • Page 357

    B-63484EN/08 9.DIAGNOSIS 9.1.5 Mnemonic Monitor A language selection of monitor screen This section describes the procedure for selecting the language of monitor screen. To display the PMC program made by mnemonic files with a mnemonic language monitor screen, please select the monitor languag...

  • Page 358

    9.DIAGNOSIS B-63484EN/08 (4) On the [Program List] screen, double-click the ladder program you want to monitor. Alternatively, select the ladder program and press the [Enter] or [F11] key. Signal status Mnemonic language program Line numberCursor information Fig. 9.1.5 (b) Mnemonic monitor scre...

  • Page 359

    B-63484EN/08 9.DIAGNOSIS Toolbar <1> <2> <3> <1> Display a [Search setting] dialog-box (Ctrl+F) Fig. 9.1.5 (d) <2> Switch search area (Global/Local) (Ctrl+F3) <3> Display a line number (off/on) Shortcut keys Table 9.1.5 Shortcut key Corresponding fu...

  • Page 360

    9.DIAGNOSIS B-63484EN/08 The signal status is displayed as follows. Table. 9.1.5.1 (a) Instructions Status of signal Basic Instructions 1 or 0 "Positive Transition Contact" and "Negative Transition Contact" are also displayed by actual signal. Basic Instructions (PUSH/POP) P...

  • Page 361

    B-63484EN/08 9.DIAGNOSIS 9.2 SIGNAL STATUS The PMC signal status can be displayed and changed in real-time. WARNING Special care must be taken when the signal status or PMC parameters are changed. If the change function is not used appropriately, the machine operation may be unpredictable. Wh...

  • Page 362

    9.DIAGNOSIS B-63484EN/08 9.2.2 Toolbar Fig. 9.2.2 <1> Switches between the status screen and forced I/O screen. <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...

  • Page 363

    B-63484EN/08 9.DIAGNOSIS - 337 - 9.3 PMC PARAMETERS PMC parameters (timers, counters, keep relays, and data table) are displayed. WARNING Special care must be taken when the signal status or PMC parameters are changed. If the change function is not used appropriately, the machine operation ma...

  • Page 364

    9.DIAGNOSIS B-63484EN/08 When you can set the timer accuracy of each timer number Fig. 9.3.2 (b) 9.3.2.1 Toolbar Fig. 9.3.2.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> Units of...

  • Page 365

    B-63484EN/08 9.DIAGNOSIS 9.3.3 Counter The contents of the counter address locations (C) used with the CTR instruction can be displayed and modified. Fig. 9.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...

  • Page 366

    9.DIAGNOSIS B-63484EN/08 9.3.4 Keep Relay The contents of the keep relays (K) can be displayed and modified. Fig. 9.3.4 9.3.4.1 Toolbar Fig. 9.3.4.1 <1> Symbol indication (off ↔ on) <2> Search <3> Combo box for inputting the character string for which a search is to b...

  • Page 367

    B-63484EN/08 9.DIAGNOSIS 9.3.4.4 Data for PMC control software Because some keep relays are used by the PMC control software, sequence programs cannot use the data in these keep relays. This subsection describes only the signals relating to online function operations. For detailed information an...

  • Page 368

    9.DIAGNOSIS B-63484EN/08 • PMC model which does not support minus sign display and bit display Fig. 9.3.5 (b) (2) Data table screen The contents of the data table (D) can be displayed and modified. By selecting the group number which you want to display, the content of the data table is di...

  • Page 369

    B-63484EN/08 9.DIAGNOSIS 9.3.5.1 Toolbar Fig. 9.3.5.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: ...

  • Page 370

    9.DIAGNOSIS B-63484EN/08 9.3.5.5 Context menu Fig. 9.3.5.5 9.3.6 Extra Relay (E) Extra relay (E) can be treated with the control data by setting of Keep Relay as well as the data table. Moreover, it enables to output the contents of extra relay (E) according to the control data by setting of ...

  • Page 371

    B-63484EN/08 9.DIAGNOSIS (2) Extra relay The contents of the selected group number is displayed according to the control data of extra relay (E). Fig.9.3.6 (b) 9.3.6.1 Tool bar <1> <2> <3> <4> <5> <6> <7> <8> &...

  • Page 372

    9.DIAGNOSIS B-63484EN/08 9.3.6.2 Status bar <1> <2> <3> <4> <5> Fig.9.3.6.2 <1> Group name <2> Data area range <3> Number of data items <4> Display format [Byte], [Word], or [Dword] is indicated....

  • Page 373

    B-63484EN/08 9.DIAGNOSIS [Format with control data] N635000 Pnn; Total of extra relay group (1-100) N635002 Pnnnnnnnn; Table parameter of group 1 data (bit type) N635003 Pn; Group 1 data type (0,1,2,3) N635004 Pnnnn; Data number in group of group 1 (1-xxxxx) N635006 Pnnnn; Data first address in...

  • Page 374

    9.DIAGNOSIS B-63484EN/08 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, PMC-SA1: K17 to 19). 9.3.7.2 Procedure (1) Check the setting parameters you want to make valid. Fig. 9.3.7.2 (2) To ...

  • Page 375

    B-63484EN/08 9.DIAGNOSIS • HIDE DATA TBL CNTL SCREEN (PMC-SB7: K900.7, PMC-SA1: K17.7) Not checked: Displays the PMC parameter data table control screen. Checked: Hides the PMC parameter data table control screen. • SIGNAL TRIGGER START (PMC-SB7: K901.2, PMC-SA1: K18.8) Not checked: The tr...

  • Page 376

    9.DIAGNOSIS B-63484EN/08 Fig. 9.3.7.4 OK Displays the selectable I/O link assignment function. Cancel Returns you to the SETTING screen for PMC setting parameters. WARNING If you modify these parameters inadvertently, the I/O device configuration may not match the I/O assignment data, po...

  • Page 377

    B-63484EN/08 9.DIAGNOSIS - 351 - 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. Not checked: The assignment data is invalid. NOTE 1 The basic groups that have been specified for each "Basic Group ...

  • Page 378

    9.DIAGNOSIS B-63484EN/08 9.4 PMC ALARM STATUS PMC alarm messages are displayed. How to check PMC alarm Check a display of PMC alarm by a status bar. Connection/disconnection statusPMC alarm statusFig. 9.4 (a) PMC alarm status Connection/disconnection status Explanation The PMC alarm is oc...

  • Page 379

    B-63484EN/08 9.DIAGNOSIS 9.4.2 Switching the Language in Which PMC Alarm Messages Are Displayed You can switch the language in which PMC alarm messages are displayed. Procedure (1) Select [Tool] - [Options]. (2) Select a language from "PMC alarm language". Fig. 9.4.2 - 353 -

  • Page 380

    9.DIAGNOSIS B-63484EN/08 9.5 PMC STATUS The PMC program status is displayed. 9.5.1 Procedure (1) Select [Diagnose] - [PMC Status]. The [PMC Status] screen appears. Fig. 9.5.1 (a) Multi-path PMC Fig. 9.5.1 (b) Series and edition of the ladder edit card or option card Series and edit...

  • Page 381

    B-63484EN/08 9.DIAGNOSIS 9.6 SIGNAL TRACING Changes in arbitrary signals are displayed on the screen. Signals are traced one or two bytes at a time. For one-byte tracing, two addresses can be traced at the same time. Up to 512 items can be displayed for one-byte tracing. For two-byte tracing, up...

  • Page 382

    9.DIAGNOSIS B-63484EN/08 (6) To terminate tracing, click the <Start> button again. The <Start> button then is released, and signal tracing terminates. • Signal status indication The signal is off. The signal is on. • Mask bit name indication The numbers of the bits to be...

  • Page 383

    B-63484EN/08 9.DIAGNOSIS 9.6.6 [Signal Trace Parameter] Screen Fig. 9.6.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. (The but...

  • Page 384

    9.DIAGNOSIS B-63484EN/08 9.7 SIGNAL ANALYSIS The ladder signal status is sampled and displayed along with the time axis. Trigger conditions can also be set. 9.7.1 Procedure (1) Select [Diagnose] - [Trace]. The [Select Function] screen of the trace function appears. Fig. 9.7.1 (a) (2) Select ...

  • Page 385

    B-63484EN/08 9.DIAGNOSIS (6) To terminate sampling, click the <Sampling> button again. The button is released, and sampling terminates. • Maximum number of signals sampled simultaneously: 16 • Sampling interval: 8 or 4 msec • Maximum sampling period: 10 sec (when the sampling interva...

  • Page 386

    9.DIAGNOSIS B-63484EN/08 9.7.3 Status Bar Fig. 9.7.3 <1> to <6> are displayed when sampling terminates. During sampling, [Executing] is indicated. <1> Sampling time <2> Condition <3> Trigger mode <4> Trigger address <5> Sampling start time <6>...

  • Page 387

    B-63484EN/08 9.DIAGNOSIS 9.7.6 [Signal Analysis Parameter] Screen Fig. 9.7.6 Sampling Time Set the maximum sampling time. When the sampling interval is 8 msec, set 1 to 10 sec (in 0.1-sec increments). When the sampling interval is 4 msec, set 1 to 5 sec (in 0.1-sec increments). Trigger Addres...

  • Page 388

    9.DIAGNOSIS B-63484EN/08 NOTE When About or Before is selected with the condition set to Start, a message box appears, indicating "[About]/[Before] is illegal on [Start] selected." Signal Address Set up to 16 sampling addresses with PMC addresses or symbols. To reset the settings to...

  • Page 389

    B-63484EN/08 9.DIAGNOSIS 9.7.8 [Gridline Format] Screen When [Gridline Format] is selected from the context menu, the [Gridline Format] screen appears. Fig. 9.7.8 Line Color Choose from the following 16 colors: Black, blue, light blue, light green, pink, red, yellow, white, dark blue, peacock ...

  • Page 390

    9.DIAGNOSIS B-63484EN/08 9.8 CLEARING PMC AREAS Addresses G, Y, N, A, R, S and E can be cleared. 9.8.1 Procedure (1) Select [Tool] - [Clear PMC Memory]. The [Clear PMC memory] screen appears. Fig. 9.8.1 (2) To clear the PMC area, click the <OK> button. To cancel the clear operation, cli...

  • Page 391

    B-63484EN/08 9.DIAGNOSIS 9.9 ACTIVATING THE I/O LINK 9.9.1 Procedure (1) Select the [Tool] - [I/O Link Restart]. The [I/O Link Restart] screen appears. Fig. 9.9.1 (2) To activate the I/O Link, click the <OK> button. To cancel the activation of the I/O Link, click the <Cancel> butto...

  • Page 392

    9.DIAGNOSIS B-63484EN/08 9.10 SIGNAL TRACE FUNCTION For the PMC-SB7, 30i/31i/32i-A PMC, 30i/31i/32i/35i-B PMC, Power Motion i-A PMC, 0i-D PMC and 0i Mate-D PMC/L, the screen specifications of the signal trace function and signal analysis function of the PMC-SA5/SB5/SB6 are integrated to improve ...

  • Page 393

    B-63484EN/08 9.DIAGNOSIS NOTE(Only multi-path PMC) If the data table control screen or the ladder edit screen is opened on the PMC side when starting trace, the following message box will be displayed. Fig. 9.10.1 (c) Yes: Trace is started except for the sampling of xx path. (At this time, th...

  • Page 394

    9.DIAGNOSIS B-63484EN/08 <8><9> Up-and-down replacement button Clicking the [UP] button replaces the trace result at the address cursor with the line immediately above. Similarly, clicking the [DOWN] button replaces the trace result with the line immediately below. The display aft...

  • Page 395

    B-63484EN/08 9.DIAGNOSIS 9.10.4 Setting Trace Parameters Clicking the <Trace parameter setting> button displays the [Trace Parameter Setting] dialog box. Fig. 9.10.4 (a) Fig. 9.10.4 (b) multi-path PMC Sampling Set the sampling mode by clicking the corresponding radio button. Time Cyc...

  • Page 396

    9.DIAGNOSIS B-63484EN/08 - 370 - Mode This item can be set when the tracing stop condition is [TRIGGER]. Set the trigger mode for stopping tracing. RISING EDGE: Automatically stops at the rising edge of the trigger signal. FALLING EDGE: Automatically stops at the falling edge of the trigger...

  • Page 397

    B-63484EN/08 9.DIAGNOSIS Write to file button The trace settings are written to the file. OK button Stores the settings and closes the dialog box. Cancel button Closes the dialog box without storing the settings. 9.10.5 Setting Details of Trace Mode Clicking the <Details> button disp...

  • Page 398

    9.DIAGNOSIS B-63484EN/08 Stop Trigger Position This item is displayed when the tracing stop condition is [TRIGGER]. 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 co...

  • Page 399

    B-63484EN/08 9.DIAGNOSIS Path Select the path of a sampling address from a combo box. (Only multi-path PMC) 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. The address or symbol is added to the lis...

  • Page 400

    9.DIAGNOSIS B-63484EN/08 - 374 - 9.10.8 Shortcut Keys Table 9.10.8 Shortcut key Function [F1] Help [F3] Searches for the time or frame. [F4] Displays the [Parameter] screen. [F5] Starts or stops tracing. [F7] Displays symbols. [F8] Marking [Shift]+[F4] Zoom-in [Shift]+[F5] Zoom-out [Shift]+[F6] ...

  • Page 401

    B-63484EN/08 9.DIAGNOSIS - 375 - 9.10.10 Trace Result Output If trace result data is present when a trace operation has been executed, the data can be output to the text format file. Output trace result data can be input to application software such as spreadsheet software run on the personal c...

  • Page 402

    9.DIAGNOSIS B-63484EN/08 Table of data of the first parameter setting page Item Setting number Setting item name Setting Setting character string1 'TIME CYCLE' Sampling mode1 'Sampling mode'2 'SIGNAL TRANSITION' Sampling resolution2 'Sampling resolution'Numeric value 'MSEC' Sampling time'Sampli...

  • Page 403

    B-63484EN/08 9.DIAGNOSIS - 377 - (c) Data of the second parameter setting page identifier-1, data-1, data-2, data-3, . . . . . identifier-2, data-1, data-2, data-3, . . . . . identifier-3, data-1, data-2, data-3, . . . . . identifier-4, data-1, data-2, data-3, . . . . . • identifier Charac...

  • Page 404

    9.DIAGNOSIS B-63484EN/08 - 378 - Example of trace result output (For view comfort, tab settings are made in several places. In actual data output, however, no tab settings are made.) ‘PMC TRACE DATA’ ‘Edition’, 1 ‘Setting’, , , 1,‘Sampling mode’, 2, ‘SIGNAL TRANSITION’ 2,‘...

  • Page 405

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION 10 EXTENDED SYMBOL/COMMENT FUNCTION The extended symbol/comment function allows you to use the following features. • Increase in the symbol/comment character count • Ladder edit by using symbol. • Symbol effective in each sub-program • Symb...

  • Page 406

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 - 380 - 10.1 ABOUT SYMBOL/COMMENT DATA Names and comments can be assigned to the I/O signals, internal relays and subprogram used in ladder programs. Symbol Table 10.1 (a) Kind Extended type (30i/31i/32i-A/B, 35i-B, PMi-A, 0i-D/0i Mate-D Extended ...

  • Page 407

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION - 381 - 10.1.1 Relation between the Global Symbol and the Local Symbol The relation between the global symbol and the local symbol is described below. Table 10.1.1 (a) Comparison Prog. Attribute Effective range Non-Extended function Extended func...

  • Page 408

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 - 382 - (c) The symbol is the same and the address is the same. Table 10.1.1 (d) Case Conditions Example Resultc.1 Global symbol is the same and the address is the same ABC ABC R2 R2 ; Global symbol ; Global symbol (X) c.2 Global symbol is the same...

  • Page 409

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION - 383 - (f) The symbol for P address. P address can only be used as global and cannot be used as local address. The scope of symbols for P address is checked differently with other symbols as below. Table 10.1.1 (h) Case Conditions Example Result...

  • Page 410

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.2 EDITING SYMBOL AND COMMENT • It is possible to display and edit Symbol and comment. • It is possible to display the list of the registered symbol. • It is possible to add, delete, change and search symbol. • It is possible to create NU...

  • Page 411

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION 10.2.2 Context Menu Right-click the [Display selection window] screen. The following context menu appears. Fig. 10.2.2 (a) Add Data... Display [Add Data] screen Symbol Display the symbol which is set in P address of sub program Delete Delete all ...

  • Page 412

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.2.3 Add New Symbol and Comment Procedure (1) Click <Add New Data> button on toolbar. Fig. 10.2.3 (2) Set the data Table 10.2.3 Item Contents PROG. Global symbol and local symbol are specified Global symbol : Nothing is input Local symbo...

  • Page 413

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION CAUTION 1 Same symbol data can not be registered. As error message is displayed when adding new data, register another symbol, please. 2 More than one symbol can be set for one address. In this case, the original symbol data may not be restored by...

  • Page 414

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.2.5 Cut, Copy and Paste of Symbol or Comment Data Plural symbol and comment data can be selected and cut, copy and paste operation is available to them. Procedure (1) Select the symbol to modify or copy. To select plural symbol and comment dat...

  • Page 415

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION CAUTION 1 Even if the symbol data is modified or deleted in symbol/comment editing screen, the modification of symbol does not influence to the ladder program. Therefore, the symbol in ladder program must be modified too. 2 Modifying the address o...

  • Page 416

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.3 EDITING LADDER DIAGRAMS CAUTION 1 For editing the extended ladder program, ladder editor does not support the interface of two pains; “Display Window” and “Edit Window”. 2 Extended ladder program does not support Step Sequence. 10.3....

  • Page 417

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION Table 10.3.2 (a) Address display format Information to be displayed Address Upper: Address is displayed. In cases below, its symbol appears instead: • Symbol is defined, but its address is not assigned yet. • Corresponding symbol is not defined...

  • Page 418

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 CAUTION 1 To change symbol by pressing the <Modify> button, check the Display the replace screen on the ladder diagram by changing the symbol. You can replace symbols in the ladder diagram by using [Replace] screen. 10.3.4 Tool Tip When yo...

  • Page 419

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION 10.3.6 How to Change Symbol or Address You can choose one of following ways to change address or symbol in ladder diagram: Table 10.3.6 (1) Search the address, and change them one by one. Search function (2) Collect the appearance of the address, ...

  • Page 420

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 Search by function key Procedure (1) Move cursor onto the address or symbol that you want to search for. (2) Press <F3> key to search for it at contacts, coils, and parameters of functional instructions. Press <F2> key to search for it...

  • Page 421

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION (3) [Setting of search condition-name] screen appears. This string will be the name of the search condition and will be listed in [Collective Display] screen. Fig. 10.3.6.2 (c) (4) The list in [Collective Display] is updated to contain the new c...

  • Page 422

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 (2) Perform Collective Display function Procedure (1) Right-click the search condition to be modified in [Program List] screen. Search condition Fig. 10.3.6.2 (e) (2) Select [Property] to see [Collective Display] screen. Confirm the condition, a...

  • Page 423

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION (2) Perform Replace function. <Next search> Searches for the next appearance of the search string. <Replace> Replaces the search string with the replace string. <Replace all> Replaces all appearances of the search string with the ...

  • Page 424

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.3.7 How to Add Sub-program Add the sub-program. Procedure (1) Right-click the mouse in [Program List] screen, and then click [Add sub-program F9]. Fig. 10.3.7 (a) (2) The [Add sub-program] screen appears. Fig. 10.3.7 (b) (3) Set the data Ta...

  • Page 425

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION 10.3.8 Notes at Editing Ladder Program (1) Do not create a symbol that can be read as an address. If you make a symbol such as “X003”, the search/replace function may not be unable to work properly with “X003”. (2) If two or more symbols ...

  • Page 426

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.3.9 Input of Jump Label by Symbolic Name This function enables the following programming. • You can input directly a symbol as the label of JMPB/ JMPC/ LBL instructions without assignment of specific label number. • If you input the undefine...

  • Page 427

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION Source conversion In the processing that converts the mnemonic into the source file, if the following conditions are fulfilled, the symbol will be defined automatically. • The undefined symbol is inputted as the label of the JMPB/ JMPC/ LBL instr...

  • Page 428

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 Mnemonic Conversion Source data are converted into the mnemonic format file. • Identification code of the symbol: "%@2-D" The output format of L address is as follows by "Selection Item" on the Mnemonic Conversion screen. T...

  • Page 429

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION • Symbol L address assigned automatically is printed with the "*" mark at the head of the address. Fig. 10.3.9 (e) - 403 -

  • Page 430

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.4 AUTOMATIC ADDRESS ASSIGNMENT FUNCTION When a fixed address need not be assigned for relay contact used temporarily in program etc., the address can be assigned automatically at compiling by inputting only data type and address type when symbol...

  • Page 431

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION Table 10.4.1 Type Rang of Assignment BOOL R100.0 - R109.7 BYTE R110 - R139 WORD R140 - R199 R address DWORD R200 - R251 CAUTION Set the address ranges not to overlap. Otherwise, an error occurs when compiling. 10.4.2 Set of Symbol The symbol o...

  • Page 432

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.4.3 Address Decision The address with * mark which assigned automatically is assigned at each compilation. If an address is not changed, the address is decided. Procedure (1) Double-click the <Symbol comment> item in the [Program List] sc...

  • Page 433

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION - 407 - 10.5 CONVERTING TO SOURCE PROGRAMS (1) When the mnemonic file of non-extended functions is converted into the source of extended functions, the unusable character in the symbol is replaced as follows. • Replacement of the symbol characte...

  • Page 434

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.6 CONVERTING TO MNEMONIC Converting a source data into a mnemonic file. Fig. 10.6 Select the format of a mnemonic file by the Selection Item. Select the Extended function when using an extended function. The output by conventional model is pos...

  • Page 435

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION CNC display language number Comment set number First Comment = 0 Second Comment = 1 : ‘,’ (COMMA) is used as a delimiter When displayed language of CNC is not English/Japanese, first comment is usedWhen displayed language of CNC is English,...

  • Page 436

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.8 COMPILATION Fig. 10.8 A specification whether to output the 3rd comment and 4th comment is added. You can describe up to four sets of comments for each symbol data. Multiple use check of the symbol address Checked: It is checked that two ...

  • Page 437

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION 10.10 PRINTING 10.10.1 Printing the System Parameters The contents of the automatic assignment of address are always printed. Fig. 10.10.1 10.10.2 Printing the Symbol Comment Prints the symbol comment. There are two kind of printing formats. Tabl...

  • Page 438

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.10.3 Printing the Ladder Diagram Prints the Ladder Diagram. The symbol is printed up to 16 characters and the comment is up to 30 characters. The Relay/Coil, the Coil Comment, and the Subprogram Comment can be specified. Fig. 10.10.3 (a) Relay/...

  • Page 439

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION 10.10.4 Printing Cross Reference Prints the Cross Reference of the Address. The symbol is printed up to 16 characters and the comment is up to 30 characters. When both the global symbol and the local symbol are defined as the same signal, only the ...

  • Page 440

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.11 SIGNAL STATUS Procedure (1) Select [Diagnose] – [Signal Status]. The [Signal Status] screen appears. Fig. 10.11 10.11.1 Toolbar <1> <2> <3> <4><5><6><7> <8>...

  • Page 441

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION 10.12 T ADDRESS (TIMER) 10.12.1 Toolbar <1> <2> <3> <4> Fig. 10.12.1 <1> Symbol indication (off ⇔ on) <2> Search <3> Combo box for inputting the character string for which a searc...

  • Page 442

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.14 K ADDRESS (KEEP RELAY) 10.14.1 Toolbar <1> <2> <3> <4> Fig. 10.14.1 <1> Symbol indication (off ⇔ on) <2> Search <3> Combo box for inputting the character string for which a ...

  • Page 443

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION 10.16 SIGNAL TRACING 10.16.1 Toolbar <1><2><3> <4> <5><6><7> <8><9> <10> <11> <12><13><14><15><16> Fig. 10.16.1 <1> Tra...

  • Page 444

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 10.17 TOOLTIPS INDICATION Symbol and comment of addresses are displayed. Local symbol is shown as "P address.Symbol" which added a period between P address and Symbol. Fig. 10.17 Program, Symbol, address, type and comment are displayed....

  • Page 445

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION - 419 - 10.18.1 System Parameter The following information is added. Model information The setting data of Series 30i/31i/32i-A PMC. PMC model(PMC path, PMC memory, Extended function) Table 10.18.1 (a) Format Setting data PMC model 30i-A PMC 31...

  • Page 446

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 - 420 - The setting data of Series 0i/0i Mate-D PMC is as follows. PMC model(Extended function) Table 10.18.1 (c) Format Setting data PMC model 0i-D PMC 0i-D PMC/L 0i-D PMC(DCS) 0i Mate-D PMC/L Extended function : Extended Symbol Extended Instr...

  • Page 447

    B-63484EN/08 10.EXTENDED SYMBOL/COMMENT FUNCTION 10.18.2 Symbol Comment %@2-D Symbol Address:Type $1 'Comment 1' $2 'Comment 2' $LEVEL1 Symbol Address:Type $2 'Comment 2' % Fig. 10.18.2 (a) • Describe an address and a symbol in the same line. A symbol has to be described at the head of a ...

  • Page 448

    10.EXTENDED SYMBOL/COMMENT FUNCTION B-63484EN/08 - 422 - 10.18.3 Ladder Extended functions %@3-D END1 LABEL1 LBL ;<L100 > ;[LABEL L00001] END2 SUBPR1 SP ;<P1 > "SUB PROG. NO.01" ;[SUB PROGRAM DATA NO.01] RD XADRS1 ;<X0.0 > "JUMPB LABEL L00...

  • Page 449

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11 FUNCTIONAL BLOCK FUNCTION Supported PMC models Supported Series 30i/31i/32i-A PMC(Function Block function) Series 30i/31i/32i-B PMC(Function Block function) Power Motion i-A PMC(Function Block function) Series 0i-D PMC(Function Block function) Series ...

  • Page 450

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.1 CREATING FUNCTION BLOCKS 11.1.1 Creating Function Blocks There are following 2 types in function block. Newly created function blocks are added to the function block folder. Table 11.1.1 Function block (LAD file) This is a function block definition...

  • Page 451

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Adding function blocks This procedure lets you create function blocks. The function blocks are added to the program list. Procedure (1) Select [Add FB] from the “Function Block” context menu in the [Program List] window. Alternatively, press the sof...

  • Page 452

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Fig. 11.1.1 (d) Property window After the following items are specified, clicking the <Add> button adds the function block name to the [Function Block] folder. After this, a [FB Definition] window appears. (a) FB Name: Function block definition ...

  • Page 453

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION (3) The [FB Definition] window appears. This window is used to create variable definitions and body programs for function blocks. Variable definition area Body program area Fig. 11.1.1 (e) Function block definition window Displaying soft keys - Soft ke...

  • Page 454

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.1.2 Adding Variables Procedure (1) In the [Program list] window, double-click a function block you want to edit, or press [Enter]. Fig. 11.1.2 (a) Function block definition window (variable definition section) NOTE 1. When variables are added, no va...

  • Page 455

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION - 429 - Variable type Variable type Description Valid item Input parameters This variable receives an input from the input section. It is impossible to output to this variable. It is possible to specify the number of data items to be secured by the varia...

  • Page 456

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Keep This item can be specified for internal variables. It is invalid for variables and parameters except internal variables. Monitor Turning on the check box if you want to add the variable to the FB instance monitoring. (Default: Turned off) Order ...

  • Page 457

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Context menu Right-click on the variable definition area, and the following context menus are displayed. Fig. 11.1.2 (d) New Data Displays a window for adding variables. ADD EN Adds an EN. ADD ENO Adds an ENO. Delete Deletes a variable. Search Displays...

  • Page 458

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 NOTE 1 To change symbol by pressing the <Modify> button, check the Display the replace screen on the ladder diagram by changing the symbol. You can replace symbols in the body program ladder by using [Replace] screen. EDIT menu This menu lets you ...

  • Page 459

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.1.3 Adding Ladders Procedure (1) In [Function block], first double-click or select a function block you want to edit, and then press [Enter]. A window for the function block appears. Fig. 11.1.3 (a) (2) Enter a previously added variable name to the ...

  • Page 460

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 <5> Symbol display format Lets you specify a display format for symbols in the body program area. <6> The button for [Move to the next paste error item] Move to the next item with an error by paste ladder <7> The button for [Move t...

  • Page 461

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.1.4 Creating Function Blocks from Existing Ladder Diagrams Procedure (1) Create a function block or open a previously created function block. (2) Select a ladder diagram you want to add to the function block and copy it. (3) Paste the ladder diagram t...

  • Page 462

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.1.5 Displaying Function Block Graphical Form When a function block is pasted to a ladder, what the instance looks like can be checked. The data types of input, input/output, and output parameters can also be checked. The FB graphical form can be displ...

  • Page 463

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.1.6.1 Addition of FB group Procedure (1) Select [Add FB Group] from the "Function Block" context menu in the [Program List] window. Alternatively, press the soft key [F12] (Add FB Group). Fig. 11.1.6.1 (a) (2) [Add FB Group] window appears...

  • Page 464

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 NOTE 1. Characters for a specific language are not recommended to be used for the FB group name when the ladder may also be displayed on the OS of different language. 2. The program list is displayed in order of the FB group and the FB definition. 3. The...

  • Page 465

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.1.6.3 Copy of FB group The FB group can be copied. At this time, the FB definition included in the FB group is copied together. There are three kinds of copy operations. (1) Copy by context menu (2) Copy by keyboard : [Ctrl]+[C] and [Ctr]+[V] (3) Copy...

  • Page 466

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 NOTE 1. When the function block of the view edit protection is contained in the FB group, the FB group cannot be copied. 2. Push the [Ctrl] key when you copy the FB group in the same program list by mouse's drag & drop. When the [Ctrl] key is not pus...

  • Page 467

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION (3) When the FB group has already existed, the following dialogs are displayed. Fig. 11.1.6.4 (c) <OK> button : Create a new FB group, and move it there. <Skip> button : After the move of the FB group of the same name is skipped, the next...

  • Page 468

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Setting passwords If function blocks are not protected, they can be subjected to either view edit protection or edit protection. It is impossible to change the password for a function block already protected. Delete the password and then set a new passwo...

  • Page 469

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Setting passwords (1) In the [FB password] window, select Set under password and turn on the check boxes for the function blocks for which you want set a password. Fig. 11.1.7 (c) (2) Click the <Exec> button. (3) Select a protection type, and ent...

  • Page 470

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Deleting passwords Passwords for function block definitions can be deleted. Those for function blocks in the function block library cannot be deleted. (1) In the [FB Password] window, select Delete under Password, and turn on the check boxes for function...

  • Page 471

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Close Closes the window. The [FB Password] window appears again. (5) After finishing password deletion, click the <Close> button of the [FB Password] window. The icons for function blocks in the [Program List] window are updated accordingly. (2)...

  • Page 472

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Releasing password protection When you attempt to display function blocks protected (View edit protection and Edit protection) using a password, the “Input of password” window appears. In this window, entering a password temporarily releases password...

  • Page 473

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION NOTE 1. The [Password] cannot be selected when there is no function block in the FB group. 2. The method of setting and deleting the password are the same as "(1) Setting and deleting a password for multiple function blocks at a time". 11.1.8 ...

  • Page 474

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 (d) Enter a nonvolatile memory type address. These boxes are used if the first-setting boxes are insufficient. NOTE 1. Specify addresses not used in ladders. Do not use the addresses specified here in creating ladders. 11.1.9 Saving Function Blocks The...

  • Page 475

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.2 CALLING FUNCTION BLOCKS Function blocks can be called from: (1) Ladders (2) Other function blocks Component names Instance name of FB Definition name of FBFig. 11.2 (a) - 449 - 11.2.1 Calling Function Blocks from Ladders Procedure (1) Drag a func...

  • Page 476

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 (2) Specify each data item, such as an instance name. Fig. 11.2.1 (b) Instance definition window (a) Instance name (always required) Usable characters 0 to 9, A to Z, _ Characters usable at the beginning A to Z, _ Maximum number of usable characters Up...

  • Page 477

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION NOTE 1. If an attempt is made to use the name of a functional instruction as a function block name, the functional instruction rather than the function block is entered. Any functional instruction name should not be used for function blocks. 2. The funct...

  • Page 478

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 (3) A function block provided with an instance name is displayed. Fig. 11.2.2 (c) (4) Assign addresses and constants to the input and output sections of input and output parameters for the function block. NOTE 1. If an attempt is made to use the name ...

  • Page 479

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Editing the input section The input section of a function block can be displayed and edited according to the data types of the input and input/output parameters, as listed below. Table 11.2.3.1 (b) Variable type Data type Input section display and editin...

  • Page 480

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 NOTE 1. The destination of an ENO output can be omitted. 11.2.3.2 Copying and pasting function blocks During offline editing, it is possible to select and copy ladder diagrams including function blocks (function block callers). In the program list windo...

  • Page 481

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Fig. 11.2.3.4 (a) In a ladder Fig. 11.2.3.4 (b) In a function block (3) Input a new instance name, then click the <Modify> button. 11.2.3.5 Search It is possible to search for instance names, function block names, input parameters, input...

  • Page 482

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 - 456 - Search kind Address/Symbol Addresses and symbols are searched for. No function block parameter is searched for. Function Functional instructions are searched for. Function block Function block names and instance names, input parameters, input...

  • Page 483

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Fig .11.2.3.5 (c) <Skip all> button All the input window of the password after this are skipped. The body program of FB with the View edit protection is not searched. <Skip> button Only this FB body program is skipped. <OK> button ...

  • Page 484

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Fig. 11.2.3.6 (b) Replace widow for the FB definition body program area Program Lets you select a replace target program. If a replacement is executed from a ladder diagram such as LEVEL1 or P1, subprograms such as LEVEL1 and P1 can be selected. No f...

  • Page 485

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.2.4 Calling Function Block Library Function Blocks Adding a function block library file (FLL file) displays function blocks in the FLL file on the program list. Fig. 11.2.4 (a) See "11.2.1 Calling Function Blocks from Ladders", for explana...

  • Page 486

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 (2) Click the <Detail> button under Setting of Function Block Library to display the [Detail] window, and specify function block library files (FLL files). Fig. 11.2.4 (c) <Browse>: Lets you specify a function block library file (FLL file)...

  • Page 487

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION (1) Updating with [Enter] key Procedure (1) Move the cursor to the Function Block name, then push the [Enter] key. Fig. 11.2.5 (b) (2) Push the [Enter] key if you want to update the FB instance. Push the [Enter] key after inputting a new Function Block...

  • Page 488

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.3 COMPILE In compiling, ladders using function blocks are translated into object code executable in the PMC. Explained below is the compile operating procedure. procedure (1) Select [Compile] from the [Tool] menu to display the compile dialog box. F...

  • Page 489

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Output FB Definition (Default setting: Turned on) Function block definitions used in a ladder and FB groups are output to the ladder object. When turning off this check box, the memory size of the entire ladder can decrease. But, FB definitions and FB g...

  • Page 490

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Error log The log of compile results is output as shown below. Fig. 11.3 (d) Map log How memory is used in a result of compilation is output as shown below. Header informationSize information TMRB, TMRBF, DIFD, and DIFU numbers assigned automatical...

  • Page 491

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION - 465 - Header information Item Description File name LAD file name PMC model PMC model Date Date and time of file output * The values output at the right of date depend on the local setting. Size information Item Description Message Message data size ...

  • Page 492

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.4 DECOMPILE In decompiling, object code is converted to a source program. Explained below is the decompile operating procedure. Procedure (1) Select [Decompile] from the [tool] menu to display the Decompile dialog box. Fig. 11.4 (a) (2) Click the [...

  • Page 493

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION ・Memory card takes top priority. (Default setting) If this item is selected, a function block definition in the memory card format is restored provided that the file function block name is duplicated in the source program. If the function block defini...

  • Page 494

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.5 MNEMONIC CONVERSION 11.5.1 Mnemonic Conversion In mnemonic conversion, source programs are converted to mnemonic files, which can be edited using a text editor. Function blocks in LAD files are also converted to mnemonic files. Procedure (1) Select...

  • Page 495

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION - 469 - (4) Specify [Selection Item]. Table 11.5.1 (b) Selection Item Description Extended function - Function blocks are converted. - Converts to the format which corresponds to an automatic assignment of address. - Converts to the format which correspo...

  • Page 496

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.5.2 Source Conversion In source conversion, mnemonic file of function blocks is converted to source program. When the Function Block of the same name already exists, an overwrite. Procedure (1) Select [Source Program Convert…] from the [Tool] menu ...

  • Page 497

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.5.3 Identification Code The Extended function format supporting the operation of function blocks is added as a mnemonic format. Table 11.5.3 Selection Item Convert Data Identification code Description of changes System Parameter %@0 - Adding model inf...

  • Page 498

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Body program section The body program section of a function block defines ladder circuits to be added to the function block. Described below is the specification of ladder circuits that can be added to function blocks. (1) Only the Ladder language can be...

  • Page 499

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION - 473 - Mnemonic format Listed below is the mnemonic format of the function block definition section. Table 11.5.4 (a) Function block definition section mnemonic format (identification-code) %@3-0 (definition-start-identifier) $FB_DEF (function-block-nam...

  • Page 500

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Programs and variables are described in the following format. Symbol Data type Number Keep WK_A1 SINT 1 0 Number: Number of data items secured by one variable Keep: Specification of the nonvolatile memory type or the volatile memory type in internal va...

  • Page 501

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Function block mnemonic %@3-0 $FB_DEF $FB_NAME FUNC $1 'CM1' $2 'CM2' $FB_VERSION '1.00' $FB_IN EN BOOL $1 'CM1' IN1 BOOL 1 0 $1 'CM1' $2 'CM2' IN2 SINT 1 0 $END_FB_IN $FB_INOUT IO BOOL 1 0 $1 'CM1' $2 'CM2' $END_FB_INOUT $FB_OUT ENO BOOL $1 'CM1...

  • Page 502

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Body program section ladder JMPB IN1 OUT1SUB68 L_SYMBOL R9091.1 IN2 SUB43 MOVB OUT2 R9091.1 LBL SUB69 L_SYMBOL Fig. 11.5.4 (d) NOTE 1. All basic and functional instructions must be preceded by a space or tab character. 2. All characters that follow th...

  • Page 503

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION - 477 - 11.5.5 Ladder Data Ladder programs can call FB instances. Mnemonic format Listed below is the mnemonic format of the ladder data section. Table 11.5.5 (a) Ladder mnemonic format (Identification-code) %@3-D Ladder (input-argument-specification-s...

  • Page 504

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 (c) Input parameter Input parameters are specified as listed below. Input parameter symbol Data type Symbol BOOL The delimiter for strings is either a space or tab character. (d) Input/output parameter Input/output parameters are specified as listed ...

  • Page 505

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION [Address (symbol) specification method] Table 11.5.5 (d) Specification method Description example Address %X0.0 (Each address must be prefixed with %.) Symbol COUNT_IN Sample ladder 1 IN1ENIN2IOIOOUT1OUT2FUNCFUNC1100 R0200.0 X0000.0 Y0000.0R0003.1ENOEN...

  • Page 506

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Sample mnemonic 1 (Extended function format) %@3-D END1 RD %R10.0 WRT %R10.1 $FB_ARGIN $ARG1 %R3.0 $ARG2 %X0.0 $ARG3 100 $ARG4 %R200.0 $END_FB_ARGIN $FB_CALL FUNC1 FUNC $FB_DEF $FB_IN EN BOOL IN1 BOOL IN2 SINT $END_FB_IN $FB_INOUT IO BOOL $END_FB_INOU...

  • Page 507

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Sample mnemonic 1 (Full Options format) %@3 N00001: SUB 1 N00002: RD R10.0 WRT R10.1 N00003: $FB_ARGIN $ARG1 R3.0 $ARG2 X0.0 $ARG3 100 $ARG4 R200.0 $END_FB_ARGIN $FB_CALL FUNC1 FUNC $FB_DEF $FB_IN EN IN1 IN2 $END_FB_IN $FB_INOUT IO $END_FB_INOUT $FB_O...

  • Page 508

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Sample ladder 2 IN1ENIN2IO IOOUT1OUT2FUNCFUNC1100 R0200.0 X0000.0 Y0000.0R0003.3ENOEND2END1R0003.0 R0010.0 R0010.1R0100R0200.1R0003.1 R0003.2 R0003.4 R0003.5N Fig. 11.5.5 (d) - 482 -

  • Page 509

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Sample mnemonic 2 (Extended function format) %@3-D END1 RD %R10.0 WRT %R10.1 $FB_ARGIN $ARG1_BEGIN RD.NOT %R3.0 ORNT %R3.1 WRT EN $END_ARG1 $ARG2 %X0.0 $ARG3 100 $ARG4 %R200.0 $END_FB_ARGIN $FB_CALL FUNC1 FUNC $FB_DEF $FB_IN EN BOOL IN1 BOOL IN2 SINT ...

  • Page 510

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 NOTE 1. When entering LBL or SP instruction parameters, begin at character position 1. 2. All basic and functional instructions must be preceded by a space or tab character. 3. On each line, any character preceding : (colon) or ; (semicolon) is ignored. ...

  • Page 511

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION - 485 - 11.5.7 System Parameter Data The mnemonic format of system parameters is described below. (Example) 30i-A PMC(MEM-B,FB) samples %@0 2 BINARY 2: Counter data type (BINARY or BCD) 3 NO 3: Whether operator panel is available (Available: YES. Unav...

  • Page 512

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.5.8 FB Group Data Program list Fig.11.5.8 Mnemonic format %@6 $ "Axis control"\"Anomaly detection" Alarm_10 Operation_17 $ "Axis control" AxisSelect Start $ "Work control" WORK_TRANSFER $ SAMPLE_FB TOOL_STATUS...

  • Page 513

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.6 PRINTING It is possible to print function definitions and ladder programs that use function blocks. NOTE 1. In cross-reference and bit address map printing, addresses in the input and output sections of FB instances can be printed. However, those i...

  • Page 514

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 - 488 - (2) Click the [Ladder Diagram] tab, click the <Details> button, and select the Relay/Coil and the Instance. Relay/Coil Before starting to print a ladder diagram, specify "Relay/Coil" to determine what to print for the lower row ...

  • Page 515

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Example of printing a ladder diagram Fig. 11.6.1 (b) NOTE 1. If the Cross Reference check box is turned on, the cross-references of contacts in the input section of FB instance and of coils in the output section of it are printed. - 489 -

  • Page 516

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.6.2 Printing Function Blocks This subsection explains how to print function block definitions. The variable definition section and body program section of a function block definition can be printed. Procedure (1) Select [Print] from the [File] menu. ...

  • Page 517

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Print format of variable Specify a print format for variables and what comment to print. (initial value = All) Selecting All prints all comments. See Fig. 11.6.2 (d). Selecting Simple makes it possible to specify which comment to print. See Fig. 11....

  • Page 518

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Instance Table 11.6.2 (b) Instance and printed data Selecting "Instance" FB instance name FB definition name Parameter (FB instance) <None> Upper row Lower row Symbol (32) None Symbol (15) None 1st comment Upper row Lower row Symbol (32) ...

  • Page 519

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION Fig. 11.6.2 (e) Example for Print format of variable: "Simple" - "2nd Comment" Example of printing a print graphical form When the Print graphical form is checked, the figure below is printed. FB Graphical Form Fig. 11.6.2 (f) - 49...

  • Page 520

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Example of printing an FB body program Fig. 11.6.2 (g) - 494 -

  • Page 521

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.6.3 Printing System Parameters This subsection explains how to print system parameters. The setting of "Assignment Address of FB" used with function blocks can be printed. Procedure (1) Select [Print] from the [File] menu. The [Print] dialo...

  • Page 522

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 11.6.4 Printing Symbols This subsection explains how to print symbol comments. FB instance names and comments are printed. Procedure (1) Select [Print] from the [File] menu. The [Print] dialog box appears. In the [Option] window, specify symbol print op...

  • Page 523

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION 11.7 DIAGNOSIS This section explains how to monitor and edit ladder programs in online diagnosis. 11.7.1 Ladder Monitoring It is possible to monitor the way ladder programs including function blocks operate. Procedure (1) Select [File] - [Open Program]...

  • Page 524

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 Editing window It is possible to edit ladders including function blocks in the online mode. For nets using function blocks, it is possible to edit PMC addresses and constants in the input/output sections and to delete nets from them. Fig. 11.7.1 (b) NO...

  • Page 525

    B-63484EN/08 11.FUNCTIONAL BLOCK FUNCTION (3) Click the FB instance, then select "xx Open" from the context menu. "xx" displays the instance name. The FB body program can be opened by pushing [Enter] key or the double click. Fig. 11.7.2 (a) (4) The FB body program is displa...

  • Page 526

    11.FUNCTIONAL BLOCK FUNCTION B-63484EN/08 - 500 - 11.8 FUNCTION BLOCK LIBRARIES Function block definitions shared by several sequence programs (LAD files) can be grouped to create a library file consisting only of function block definitions. The function block library is stored to a file whose f...

  • Page 527

    B-63484EN/08 12.LADDER DIVIDING MANAGEMENT FUNCTION 12 LADDER DIVIDING MANAGEMENT FUNCTION Supported PMC models Supported Series 30i/31i/32i/35i-B PMC Power Motion i-A PMC Outline The ladder dividing management function enables you to divide the ladder program into plural files and input/output...

  • Page 528

    12.LADDER DIVIDING MANAGEMENT FUNCTION B-63484EN/08 NOTE 1. The ladder dividing management function can be used for the sequence program from 1st PMC to 5th PMC. 2. Neither message data nor I/O module data is required in the divided ladder program because the message data and the I/O module data...

  • Page 529

    B-63484EN/08 12.LADDER DIVIDING MANAGEMENT FUNCTION 12.1 MNEMONIC CONVERSION In mnemonic conversion, source programs can be converted to mnemonic files, which can be edited using a text editor. In the divided ladder program, the divided ladder program number is output to system parameter of the ...

  • Page 530

    12.LADDER DIVIDING MANAGEMENT FUNCTION B-63484EN/08 - 504 - (Example) Divided ladder program of 30i-B PMC(MEM-B,FB) : System parameter %@0 2 BINARY 2: Counter data type (BINARY or BCD) 3 NO 3: Whether operator panel is available (Available: YES. Unavailable: NO.)4 30i-A PMC(MEM-B,FB) 4: PMC t...

  • Page 531

    B-63484EN/08 12.LADDER DIVIDING MANAGEMENT FUNCTION 12.2 SOURCE CONVERSION Mnemonic file can be converted to source program. Procedure (1) Select [Source Program Convert...] from the [Tool] menu to display the [Mnemonic] dialog box. Fig. 12.2 (a) (2) Specify whether to initialize the existing...

  • Page 532

    12.LADDER DIVIDING MANAGEMENT FUNCTION B-63484EN/08 12.3 PRINTING The divided ladder program number is printed in the system parameter. Procedure (1) Select [Print] from the [File] menu. The [Print] dialog box appears. Fig. 12.3 (a) (2) To start printing click the <OK> button. Fig. 12....

  • Page 533

    B-63484EN/08 12.LADDER DIVIDING MANAGEMENT FUNCTION 12.4 COMPILE In compiling, the divided ladder program is translated into object code executable in the PMC. Explained below is the compile operating procedure. Procedure (1) Select [Compile] from the [Tool] menu to display the compile dialog b...

  • Page 534

    12.LADDER DIVIDING MANAGEMENT FUNCTION B-63484EN/08 12.5 DECOMPILE In decompiling, object code is converted to a source program. Explained below is the decompile operating procedure. Procedure (1) Select [Decompile] from the [tool] menu to display the Decompile dialog box. Fig. 12.5 (a) (2) T...

  • Page 535

    B-63484EN/08 12.LADDER DIVIDING MANAGEMENT FUNCTION 12.6 IMPORT The import screen of a divided ladder program is as follows. Fig. 12.6 (a) Memory-card Format File A memory card format file can be imported. When the divided ladder program number of the LAD file and the MEM file is different, a...

  • Page 536

    12.LADDER DIVIDING MANAGEMENT FUNCTION B-63484EN/08 12.7 EXPORT The export screen of a divided ladder program is as follows. Fig. 12.7 (a) Memory-card Format File A memory card format file can be exported. FANUC LADDER-III File (*.LAD) A data file can be exported to another sequence program...

  • Page 537

    B-63484EN/08 12.LADDER DIVIDING MANAGEMENT FUNCTION - 511 - 12.9 Input/Output This chapter describes how to load and store a divided ladder programs by online function. The data that can be transfer by loading or storing is as follows. Table 12.9(a) The data that can be transmitted by loading ...

  • Page 538

    13.CONVERTING SEQUENCE PROGRAMS B-63484EN/08 13 CONVERTING SEQUENCE PROGRAMS This chapter describes how to convert DOS-version FANUC LADDER-II and Ladder Editing Package (Windows) sequence programs. 13.1 CONVERTING FROM DOS-VERSION FANUC LADDER-II This section describes how to convert DOS-versi...

  • Page 539

    B-63484EN/08 13.CONVERTING SEQUENCE PROGRAMS Fig. 13.1.1 (d) Fig. 13.1.1 (e) - 513 -

  • Page 540

    13.CONVERTING SEQUENCE PROGRAMS B-63484EN/08 13.2 CONVERTING TO DOS-VERSION FANUC LADDER-II This section describes how to convert Windows-version sequence programs to the DOS version. 13.2.1 Procedure (1) Select [Tool] – [Data Conversion.] (2) On the pull-down menu, select [Data File ← LAD ...

  • Page 541

    B-63484EN/08 13.CONVERTING SEQUENCE PROGRAMS 13.3 CONVERTING SEQUENCE PROGRAMS BETWEEN PMC MODELS Converting a mnemonic file enables it to be used as a sequence program for another PMC model. 13.3.1 Conversion by Changing System Parameters For the following PMC models, changing the system param...

  • Page 542

    13.CONVERTING SEQUENCE PROGRAMS B-63484EN/08 - 516 - NOTE For an explanation of the setting items of the system parameter section of each model, see Subsection 6.4.1.1, "Parameter" in Section 6.4, "MNEMONIC FILE SAMPLE". 13.3.2 Using System Program Data for Another Program ...

  • Page 543

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA 14 CREATION OF I/O Link i ASSIGNMENT DATA This chapter explains several functions for the assignment data of I/O devices connecting to FANUC I/O Link i, i.e. "creation", "editing", "printing", "mnemonic con...

  • Page 544

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.2 I/O Link i EDITING SCREEN In the I/O Link i editing screen, you can edit the following data. - Title data - I/O Link i assignment data - Selectable assignment data This section describes how to open the screen and the configuration of I...

  • Page 545

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA Status bar It changes by selected item of the tree display. Title Displays the data number of the title. Assignment Selection Displays the number of channels which are effective in the selectable assignment data function for I/O Link i. I/O ...

  • Page 546

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.2.2 Editing I/O Link i Assignment You can set the assignment data of I/O devices connecting to I/O Link i. Procedure (1) Double-click [I/O Link i] in [Program List] screen. The [I/O Link i Editing] screen appears. Fig. 14.2.2 (a) (2) A...

  • Page 547

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA Manual pulse generator Set the use or no-use of the manual pulse generator. When checking this setting, the manual pulse generator is used and the [MPG] is added in the last slot of specified group. (4) Sets the name of Slot and X address/ ...

  • Page 548

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 (5) Pressing the <Modify> button registers the data normally and the list display is updated. Fig. 14.2.2 (e) NOTE 1. The maximum size of the group selected the "Safe I/O" is 28 bytes. 2. To delete [MPG], re-set the check o...

  • Page 549

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA 14.2.2.2 Changing Slot No. You can change the slot No. of the assignment data for I/O Link i. Procedure (1) Move the cursor into the slot, which you want change, in the tree display in the [I/O Link i Editing] screen. Fig. 14.2.2.2 (a) (2...

  • Page 550

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.2.3 Editing Selectable Assignment You can enable/disable the selectable assignment data function of I/O Link i for each channels. NOTE 1. This setting is effective in I/O assignment data of I/O Link i. Refer to subsection "3.3.5&quo...

  • Page 551

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA 14.3 SAVING I/O Link i ASSIGNMENT DATA You can save the assignment data for I/O Link i into a specified "FIL" file. Procedure (1) Select the [Save] from the [File] menu. When changing the data, the [Program update] screen appears....

  • Page 552

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.4 OPTION SCREEN You can set the option of the function of the assignment data for I/O Link i. Procedure (1) Select the [Option] from the [Tool] menu. The following dialog appears. Fig. 14.4 (a) Specify the same folder as a FIL file for...

  • Page 553

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA 14.5 COMPILATION You can convert the assignment data for I/O Link i into an I/O configuration data (memory card format file). Procedure (1) Select the [Compile] from the [Tool] menu. The [Compile] screen appears. Or, press the <Compile&g...

  • Page 554

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.6 DECOMPILATION You can convert the I/O configuration data (memory card format file) into an assignment data for I/O Link i. Procedure (1) Select the [Decompile] from the [Tool] menu. The [Decompile] screen appears. Fig. 14.6 (a) (2) T...

  • Page 555

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA 14.7 MNEMONIC CONVERSION You can convert the assignment data for I/O Link i into a mnemonic file Procedure (1) Select the [Mnemonic Convert] from the [Tool] menu. The [Mnemonic Conversion] screen appears. Fig. 14.7 (a) (2) Enter the [Mnem...

  • Page 556

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.8 SOURCE CONVERSION You can convert the mnemonic file of assignment data for I/O Link i, which is edited by text editor, into a source format. Procedure (1) Select the [Source Program Convert] from the [Tool] menu. The [Source Program Co...

  • Page 557

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA - 531 - 14.9 FORMAT OF MNEMONIC FILE This section describes the format of mnemonic file of the assignment data for I/O Link i. Identification code Identification code Contents %@7 I/O Link i assignment data % The end of data Reservation ;(...

  • Page 558

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.9.1 Sample of Mnemonic %@7 $TITLE 'Date:2008-7-7 Edition:0002 For xx Machine I/O Link i assignment data' $SELECT_IO 1 USE ; SELECTABLE I/O LINK I (CHANNEL 1) 2 1 ; BASIC GROUP COUNT 3 UNUSE ...

  • Page 559

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA - 533 - Comment Sets the comment of slot The following are usable characters. Maximum number 40 characters Usable characters A to Z, a to z, 0 to 9, ! " # & ' ( ) * + , - < = > ? @ [ / ] ^ _ ` { | } ~ Unusable characters at t...

  • Page 560

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.10 PRINTING You can print the assignment data for I/O Link i. Procedure (1) Select the [Print] from the [File] menu. The [Print] screen appears. Fig. 14.10 (a) (2) Press the <Option> button. The [Option] screen appears. Fig. 14....

  • Page 561

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA (5) To set the printing option, press the <OK> button. To cancel the setting, press the <Cancel> button. The [Print] screen appears. (6) To print, press the<OK> button. To cancel, press the <Cancel> button. Fig. 14...

  • Page 562

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.11 IMPORT You can import (copy) the memory card format file and user file into the assignment "FIL" file for I/O Link i, which is being opened. Procedure (1) Select the [Import] from the [File] menu. Fig. 14.11 (a) (2) Select...

  • Page 563

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA NOTE You can select a default import folder from Specify the same folder as a FIL file for working directory on the [Option] tab. (Select the [Option] from the [Tool] menu.) Checked..................... The same folder as the "FIL&qu...

  • Page 564

    14.CREATION OF I/O Link i ASSIGNMENT DATA B-63484EN/08 14.12 EXPORT You can export the memory card format file and user file, which are the assignment "FIL" file for I/O Link i and being opened. Procedure (1) Select the [Export] from the [File] menu. Fig. 14.12 (a) (2) Select the fi...

  • Page 565

    B-63484EN/08 14.CREATION OF I/O Link i ASSIGNMENT DATA - 539 - (3) Click the <Next> button. Specify the export file and press the <Finish> button. Fig. 14.12 (b) NOTE You can select a default export folder from Specify the same folder as a FIL file for working directory on the [O...

  • Page 566

    15.ERROR MESSAGES B-63484EN/08 - 540 - 15 ERROR MESSAGES This chapter describes the error messages that may be displayed by Ladder Editing Package (Windows). 15.1 ERROR MESSAGE FORMAT Ladder Editing Package (Windows) outputs error messages in the following format: Function symbol: Classificati...

  • Page 567

    B-63484EN/08 15.ERROR MESSAGES - 541 - 15.1.2 Message Classification A message type is represented using one alphabetic character. Classification Type Description No. F Fatal error State in which the system is operational, but cannot continue processing due to a reason such as there being an in...

  • Page 568

    15.ERROR MESSAGES B-63484EN/08 - 542 - 15.2 ERROR MESSAGES 15.2.1 File Error code Message Cause/action A:F-2000 Insufficient memory A:F-2001 Insufficient disk space A:F-2004 This data can not be handled at this version of FAPT LADDER The source program includes an invalid file or does not inc...

  • Page 569

    B-63484EN/08 15.ERROR MESSAGES - 543 - Error code Message Cause/action A:E-3146 **** file I/O error A:E-3147 Unknown PMC series A:E-3148 **** file write error. Hit any key. The **** file cannot be written to. A:E-6000 Illegal folder name Specify an existing folder as the export destination for...

  • Page 570

    15.ERROR MESSAGES B-63484EN/08 - 544 - Error code Message Cause/action C:E-3022 File write error. Hit any key The I/O module file (IOMODULE) or control file (CONTROL) cannot be written to. C:E-3023 Input data invalid Check the input method. C:E-3024 Appointed Group not exist Check the input rang...

  • Page 571

    B-63484EN/08 15.ERROR MESSAGES - 545 - 15.2.5 Ladder/Step Sequence Editing Error code Message Cause/action E:F-2100 Cannot read **** file E:F-2101 Cannot write **** file E:F-2102 Cannot seek **** file E:E-3200 Illegal source code E:E-3201 Buffer size over E:E-3202 Number of nest branch too ...

  • Page 572

    15.ERROR MESSAGES B-63484EN/08 - 546 - Error code Message Cause/action E:E-6045 Ladder size over (PMC) Error status = **** The size of a ladder being edited exceeded the writable size on the PMC. Reduce the size of the ladder being edited. E:E-6046 The program is not corresponding(PMC). status=*...

  • Page 573

    B-63484EN/08 15.ERROR MESSAGES - 547 - Error code Message Cause/action E:E-6072 JMPB FUNCTION MISSING The JMPB instruction allows a jump to be made to a sub-program only. Ensure that a jump is made to a point within a sub-program. E:E-6073 LBL FUNCTION NOTHING (JMPC) Function instruction LBL, sp...

  • Page 574

    15.ERROR MESSAGES B-63484EN/08 - 548 - Error code Message Cause/action E:E-6139 PT/NT COUNT OVER The number of positive / negative transition (PT/NT) instruction exceeded the limitation. Please delete the PT/NT instruction and end the online editing. Next, you can continue the editing by saving ...

  • Page 575

    B-63484EN/08 15.ERROR MESSAGES - 549 - 15.2.7 Print Error code Message Cause/action H:F-2005 Source program has wrong file H:F-2008 Cannot open **** file 15.2.8 Compile Error code Message Cause/action I:F-2100 Not enough disk space I:F-2101 Out of memory I:F-7850 The program is not in funct...

  • Page 576

    15.ERROR MESSAGES B-63484EN/08 - 550 - Error code Message Cause/action I:E-3254 The number of division of LADDER exceeds 99. The number of divisions of the second level of the main program exceeded the maximum allowable value (99), so that the ladder cannot be executed. Reduce the size of the se...

  • Page 577

    B-63484EN/08 15.ERROR MESSAGES - 551 - Error code Message Cause/action I:E-3334 COME instruction must be the pair with COM. If a COM instruction control range is not started, the COME instruction for ending a control range cannot be used. I:E-3335 COME instruction is detected though the case of ...

  • Page 578

    15.ERROR MESSAGES B-63484EN/08 - 552 - Error code Message Cause/action I:E-3462 DSTEP instruction without DLBL. The label representing the jump destination of a DSTEP instruction cannot be found. I:E-3480 The step number **** is assigned for two or more step programs. For a different step, the s...

  • Page 579

    B-63484EN/08 15.ERROR MESSAGES - 553 - Error code Message Cause/action I:E-6007 Illegal size.(CHn, Gyy, Szz) The size of assignment, which is assigned at the slot "zz" of the group "yy" of the channel "n" exceeds the limit fo PMC address. Or, the size of both DI and...

  • Page 580

    15.ERROR MESSAGES B-63484EN/08 - 554 - Error code Message Cause/action I:E-6707 This functional instruction cannot use the local symbol.(***) -The local symbol is set to the parameter of the functional instruction listed below. CALL(SUB65), CALLU(SUB66), SP(SUB71) ,JMPC(SUB73), CM(SUB75) -The sa...

  • Page 581

    B-63484EN/08 15.ERROR MESSAGES - 555 - Error code Message Cause/action I:E-6855 The parameter is different between instance and function block. (Definition name, variable type, position number) The probable causes are: ・ A parameter specified in the instance is not found in the definition. ・...

  • Page 582

    15.ERROR MESSAGES B-63484EN/08 - 556 - Error code Message Cause/action I:W-4203 The coil number specification of JMP instruction is not allowed. The end position of a jump cannot be defined using the numberof coils. The specification of the number of coils is ignored, and the end position is det...

  • Page 583

    B-63484EN/08 15.ERROR MESSAGES - 557 - Error code Message Cause/action I: W-7551 Assignment was started from address boundary. 15.2.9 Decompile Error code Message Cause/action J:F-2100 Function code error DATA:*************** SYSTEM:************ There is a mismatch between the function codes i...

  • Page 584

    15.ERROR MESSAGES B-63484EN/08 - 558 - Error code Message Cause/action J:W-4102 **** unused NET COMMENT strings found. **** net comment character strings not corresponding to net comment pointers were detected. The net comment character strings are deleted. Make corrections by ladder editing as ...

  • Page 585

    B-63484EN/08 15.ERROR MESSAGES - 559 - Error code Message Cause/action J: W-7203 The symbol used the limitation character.(Prog., Symbol) J: W-7204 The paragraph of comment exceeded the number of limitations.(Prog.:$, Symbol:$) J: W-7205 The comment has exceeded the limitation length of charac...

  • Page 586

    15.ERROR MESSAGES B-63484EN/08 - 560 - Error code Message Cause/action K:F-2112 Not specified environmental variable 'TMP'. K:F-2113 Illegal name of Set-up file. K:F-2114 Not found Set-up file. K:F-2115 Expected '/PC' option. K:F-2116 **** executable file not found. K:F-2117 Input data ille...

  • Page 587

    B-63484EN/08 15.ERROR MESSAGES - 561 - Error code Message Cause/action Illegal Source-program name. K:E-3127 The specified source program name is illegal. The specified mnemonic file name is illegal. K:E-3128 Illegal Mnemonic file name. Illegal parameter number. K:E-3129 Illegal title number. ...

  • Page 588

    15.ERROR MESSAGES B-63484EN/08 - 562 - Error code Message Cause/action K:E-3158 Out of address limits in data table. An address outside the specifiable range was specified in the data table of a function instruction. K:E-3159 Out of address limits of address. An address outside the specifiable r...

  • Page 589

    B-63484EN/08 15.ERROR MESSAGES - 563 - Error code Message Cause/action K: E-3197 Column number overlaps in option setting. Confirm the contents of the option setting of "%@3-E". K: E-3198 The range of the assignment is illegal. Confirm the range of automatic address assignment. K: E-31...

  • Page 590

    15.ERROR MESSAGES B-63484EN/08 - 564 - Error code Message Cause/action K:E-6516 The limitation character is used for the symbol. The limitation character was used for the symbol. K:E-6517 The output prohibition symbol was specified as the coil. The symbol of the output prohibition was used for t...

  • Page 591

    B-63484EN/08 15.ERROR MESSAGES - 565 - Error code Message Cause/action K: E-6548 Illegal value. (***) Invalid numeric was found in the group data "***", or the slot data "***". Correct the mnemonic file. K: E-6549 Out of value. (***) Numeric data, which is out of range, were ...

  • Page 592

    15.ERROR MESSAGES B-63484EN/08 - 566 - Error code Message Cause/action K:W-4127 Too many control conditions. Too many control conditions are set for a function instruction. K:W-4128 Unexpected coil(s). Coils were specified for a function instruction that requires no coils. K:W-4129 Unexpected co...

  • Page 593

    B-63484EN/08 15.ERROR MESSAGES - 567 - Error code Message Cause/action K:W-7002 The space code exists in the symbol data. K:W-7003 The symbol of the same name as the already inputted local symbol cannot be inputted.(Prog., symbol) K:W-7004 Too long third comment data. The number of characters ...

  • Page 594

    15.ERROR MESSAGES B-63484EN/08 - 568 - Error code Message Cause/action K:W-7507 The limitation character is used for 3rd comment data. An attempt was made to use an unusable character in the third comment data for an FB definition. K:W-7508 The limitation character is used for 4th comment data. ...

  • Page 595

    B-63484EN/08 15.ERROR MESSAGES - 569 - Error code Message Cause/action K:W-7535 The specification of monitor type is illegal. An attempt was made to use the undefined data as a monitor type. K:W-7536 Expected beginning of identifier. There is no corresponding start identifier for the end identif...

  • Page 596

    15.ERROR MESSAGES B-63484EN/08 - 570 - Error code Message Cause/action L:E-6007 Can not store PMC parameter to PMC side(Not emergency stop nor PWE = 1) L:E-6012 Multi-language PMC message file Format Error. Try to make multi-language PMC message file. L:E-6013 Multi-language PMC message file pa...

  • Page 597

    B-63484EN/08 15.ERROR MESSAGES - 571 - Error code Message Cause/action N:E-3185 Write protect.(Check PWE.) The CNC is in status of write-protected. Set the "PWE" to 1. N:E-3186 Write protect.(Check PWE and KEY4.) The CNC is in status of write-protected. Set the "PWE" or the &...

  • Page 598

  • Page 599

    APPENDIX

  • Page 600

  • Page 601

  • Page 602

  • Page 603

  • Page 604

  • Page 605

  • Page 606

  • Page 607

  • Page 608

  • Page 609

  • Page 610

    APPENDIX B-63484EN/08 D. MULTI-LANGUAGE PMC MESSAGE CREATION TOOL - 584 - D.1.2 Usable Characters The types of characters usable in message text vary depending on the PMC model. See the following table for details. Table D.1.2 (a) Characters that can be entered Alphabetical characters PMC Numer...

  • Page 611

    B-63484EN/08 APPENDIX D.MULTI-LANGUAGE PMCMESSAGE CREATION TOOLTable D.1.2 (b) Character code list(Shift code: 0D) Table D.1.2 (c) Supported Korean (Hangul) characters on CNC - 585 -

  • Page 612

    APPENDIX B-63484EN/08 D. MULTI-LANGUAGE PMC MESSAGE CREATION TOOL Table D.1.2 (d) Character code list(Shift code: 05) Table D.1.2 (e) Character code list(Shift code: 0E) - 586 -

  • Page 613

    B-63484EN/08 APPENDIX D.MULTI-LANGUAGE PMCMESSAGE CREATION TOOL- 587 - NOTE The "Multi-language PMC message creation tool" converts characters coded in unicode in a message source file to characters coded in internal code in a memory card formatted file. In this case, some of characte...

  • Page 614

    APPENDIX B-63484EN/08 D. MULTI-LANGUAGE PMC MESSAGE CREATION TOOL D.1.3 Entering Special Characters D.1.3.1 New line character Input method of new line character in the source file. (a) Direct input Press <Enter> key (b) Code input Please input “@0A@” D.1.3.2 Numeric data Input me...

  • Page 615

    B-63484EN/08 APPENDIX D.MULTI-LANGUAGE PMCMESSAGE CREATION TOOL- 589 - D.1.3.3 Reservation character @ is used to input codes (New line character and e.t.c.). And square brackets ( [] ) are used to input numeric data. The above 3 characters are treated as a reservation character in the source fi...

  • Page 616

    APPENDIX B-63484EN/08 D. MULTI-LANGUAGE PMC MESSAGE CREATION TOOL D.2 USAGE This section describes the usage of multi-language PMC message creation tool. This tool is included in the installation disk of Ladder Editing Package (Windows). But this tool can be executed by command line, so that th...

  • Page 617

    B-63484EN/08 APPENDIX D.MULTI-LANGUAGE PMCMESSAGE CREATION TOOL(2) Creating a source file from a multi-language PMC message file. FPMCMSG [drive:][path]mcard-file [/unicode] [/t=language-id] /o=[drive:] [path]message-text-file Parameter [drive:][path]mcard-file Specify t...

  • Page 618

    APPENDIX B-63484EN/08 D. MULTI-LANGUAGE PMC MESSAGE CREATION TOOL [Example –1] Create a multi-language PMC message file “msg_mcard” from a source file “multi_msg.txt”. Multi-language message text file (ANSI) (multi_msg.txt) %@4-D “Create:11-Dec-2003 Edition:0002 Multi-language m...

  • Page 619

    B-63484EN/08 APPENDIX D.MULTI-LANGUAGE PMCMESSAGE CREATION TOOL[Example-3] Create a source file “multi_msg.txt” from a multi-language PMC message file “msg_mcard”. Multi-language PMC message text file (ANSI) (multi_msg.txt) %@4-D “Create:11-Dec-2003 Edition:0002 Multi-language me...

  • Page 620

    APPENDIX B-63484EN/08 D. MULTI-LANGUAGE PMC MESSAGE CREATION TOOL - 594 - D.3 ERROR MESSAGES This section describes the error messages that may be displayed by Multi-language PMC Message Creation ool. T D.3.1 Error List Message Cause & Remedy filename(line number): Message file symbol undefi...

  • Page 621

    B-63484EN/08 APPENDIX - 595 - D.MULTI-LANGUAGE PMCMESSAGE CREATION TOOLMessage Cause & Remedy Command line error. “(command line character string)” The mistake is found in the command line. Please check the command line character string.(Example: There are the same two parameters or more...

  • Page 622

    APPENDIX B-63484EN/08 - 596 - E. THE DATA FORMAT OF THE EXTERNAL SYMBOL FILE E THE DATA FORMAT OF THE EXTERNAL SYMBOL FILE Convert the symbol and comment data to CSV (Comma Separated Value format), and add identification code at the top/bottom of the file. • Identification code It is the cha...

  • Page 623

    B-63484EN/08 APPENDIX E.THE DATA FORMAT OFTHE EXTERNAL SYMBOL FILE- 597 - Table E.1 (b) PMC type Description (1) SA1, SB7 etc. Coil comment is one and relay comment is one. (2) 30i/31i/32i-A/B, 35i-B, 0i-D/0i Model-D non-extended symbol. Comment is two. (3) 30i/31i/32i-A/B, 35i-B, 0i-D/0i Model-...

  • Page 624

    APPENDIX B-63484EN/08 E. THE DATA FORMAT OF THE EXTERNAL SYMBOL FILE - 598 - •In 30i/31i/32i-A/B, 35i-B, PMi-A, 0i-D/0i Mate-D (comment set: two) Table E.1 (d) Identification code %@2-E(SYM=1 ADR=2 CM1=3 CM2=4) % (Example output) The symbol is the 1st row, the address is the 2nd row, the co...

  • Page 625

    B-63484EN/08 APPENDIX E.THE DATA FORMAT OFTHE EXTERNAL SYMBOL FILE- 599 - E.2 ABOUT THE CHARACTER OF THE EXTERNAL SYMBOL FILE About the unusable character of the external symbol file In the 30i/31i/32i-A/B, 35i-B, PMi-A, 0i-D/0i Mate-D Extended function, if the following character is used for t...

  • Page 626

    APPENDIX B-63484EN/08 E. THE DATA FORMAT OF THE EXTERNAL SYMBOL FILE - 600 - E.3 COMPATIBILITY OF THE EXTERNAL SYMBOL FILE To read the external symbol file of 30i/31i/32i-A in 30i/31i/32i-A extended function Procedure (1) Display the export screen in 30i/31i/32i-A, and output the external symbo...

  • Page 627

    B-63484EN/08 APPENDIX - 601 - E.THE DATA FORMAT OFTHE EXTERNAL SYMBOL FILEE.4 ZERO SUPPRESSION OF PMC ADDRESS The external symbol file is output by the form that do not add "0" to the PMC address. Procedure Select [Tool]-[Option...]. Then, the [Option] dialog appears. Fig. E.4 (a) A...

  • Page 628

  • Page 629

    B-63484EN/08 INDEX i-1 INDEX <A> ABOUT SYMBOL/COMMENT DATA .....................380 ABOUT THE CHARACTER OF THE EXTERNAL SYMBOL FILE ........................................................599 About the Deletion of the Unused Net Comment.........144 About the Distinction of Symbol and Addre...

  • Page 630

    INDEX B-63484EN/08 i-2 CREATION OF I/O Link i ASSIGNMENT DATA ....517 CROSS-REFERENCE DISPLAY FUNCTION ..........183 Cut, Copy and Paste of Symbol or Comment Data ......388 <D> D ADDRESS (DATA TABLE) ...................................416 Data for PMC control software ........................

  • Page 631

    B-63484EN/08 INDEX i-3 Keep Relay...................................................................340 <L> Ladder ...................................................................273,422 Ladder Data..................................................................477 Ladder Diagram is O...

  • Page 632

    INDEX B-63484EN/08 i-4 PRINTING TITLES.....................................................188 Procedure ........................................................................... 22,73,100,128,131,137,140,144,145,151,161,171,174,176,179,180,181,185,186,188,190,194,196,198,200,202,204,208,210,2...

  • Page 633

    B-63484EN/08 INDEX i-5 THE DATA FORMAT OF THE EXTERNAL SYMBOL FILE ........................................................596 The example of an output file ......................................102 The Merge Display of Other Programs ........................181 Timer...............................

  • Page 634

  • Page 635

    B-63484EN/08 REVISION RECORD r-1 REVISION RECORD Edition Date Contents 08 Jul., 2011 -Total revision -Applied to Series 30i/31i/32i/35i-B PMC -Applied to Power Motion i-A PMC -Applied to I/O Link i function -Applied to Ladder dividing management function -Addition of function for Series 0i-D PMC...

  • Page 636

    REVISION RECORD B-64483EN-1/02 r-2 Edition Date Contents 02 Jul., 2000 - Addition of following Items 3.3.2 Opening Programs Opened by Another User 3.3.3 Opening Programs with the Read-only Attribute 3.5.13 Search 3.5.14 Collective Display 3.5.15 Setting the Number of Columns per R...

  • Page 637

  • Page 638

    B-63484EN/08* B -63484E N /08*

x