329

Click here to load reader

GE Fanuc Open Ladder Editing

  • Upload
    ivica

  • View
    138

  • Download
    26

Embed Size (px)

DESCRIPTION

GE Fanuc Ladder Editing

Citation preview

  • GFZ-62884EN B-62884EN

    GE Fanuc CNC

    Open CNC Ladder Editing PackageOperators Manual

    Presented By: CNC Center

    For Product Needs Please Visit:

    http://www.cnccenter.com/

    OR Email:

    [email protected]

    OR Call:

    1-800-963-3513GE Fanuc CNC Manuals www.cnccenter.com

    http://www.cnccenter.com/mailto:[email protected]
  • GE Fanuc Automation

    Computer Numerical Control Products

    Open CNCLadder Editing Package

    Operator's Manual

    GFZ-62884EN/01 September 1996

  • GFL-001

    Warnings, Cautions, and Notesas Used in this Publication

    Warning

    Warning notices are used in this publication to emphasize that hazardous voltages, currents,temperatures, or other conditions that could cause personal injury exist in this equipment ormay be associated with its use.

    In situations where inattention could cause either personal injury or damage to equipment, aWarning notice is used.

    Caution

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

    NoteNotes merely call attention to information that is especially significant to understanding andoperating the equipment.

    This document is based on information available at the time of its publication. While effortshave been made to be accurate, the information contained herein does not purport to cover alldetails or variations in hardware or software, nor to provide for every possible contingency inconnection with installation, operation, or maintenance. Features may be described hereinwhich are not present in all hardware and software systems. GE Fanuc Automation assumesno obligation of notice to holders of this document with respect to changes subsequently made.

    GE Fanuc Automation makes no representation or warranty, expressed, implied, or statutorywith respect to, and assumes no responsibility for the accuracy, completeness, sufficiency, orusefulness of the information contained herein. No warranties of merchantability or fitness forpurpose shall apply.

    Copyright 1996 GE Fanuc Automation North America, Inc.

    All Rights Reserved.

  • B62884EN/01 Table of contents

    i

    1. GENERAL 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1 OVERVIEW 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.2 THE MAJOR FUNCTIONS 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.1 The Overview of Ladder Editing Package 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.2 Supported PMC Functions 7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2.3 Sequence Program Creation 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1.3 ABOUT PMC PROGRAM 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.1 PMC Programming Method 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.2 About Symbol & Comment Data 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2. CONFIGURATION AND INSTALLATION OF PACKAGE 14. . . . . . . . . . . . . . . . . . . . 2.1 OPERATING ENVIRONMENT 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.2 PACKAGE CONFIGURATION 17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.3 INSTALLATION 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.1 Registering the Software in the Windows [Programs] Menu 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.2 Installing the Software to Invoke from the DOS Command Prompt 22. . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.4 DIRECTORY CONFIGURATION AFTER INSTALLATION 25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.5 CONFIG.SYS 26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    2.6 FILE CONFIGURATION 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6.1 File System 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.6.2 The Constitution of Source Program 29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3. OPERATION 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1 STARTING THE LADDER EDITING PACKAGE 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.2 OVERVIEW OF OPERATION 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.1 Menu Structure 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.3 COMMON SYSTEM OPERATIONS 35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.4 ONLINE FUNCTIONS 37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.1 Overview of the OnLine Functions 37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.2 File 43. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.3 Diagnose 47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.4 Input/Output 101. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.5 Communication 105. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.6 Examples of Operation 106. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    3.5 OFF-LINE FUNCTION 115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.1 General 115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.2 Editing 115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.3 Printout 174. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.4 Compilation 195. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.5 Decompilation 202. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.6 Input/Output 209. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.7 Setting Program Options 220. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.8 Mnemonic Editing 224. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.9 Utility 235. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.5.10 Selecting On-Line Function from Off-Line Function 236. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4. ERROR MESSAGE LIST 237. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1 A : INITIAL MENU 238. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.1.1 Fatal Error 238. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1.2 Error 239. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.2 B : TITLE EDITING 240. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    www.

    cncc

    enter

    .com

  • B62884EN/01Table of contents

    ii

    4.2.1 Error 240. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.3 C : I/O MODULE EDITING 241. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.1 Error 241. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.3.2 Warning 241. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.4 D : SYSTEM PARAMETER EDITING 242. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.4.1 Error 242. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.5 E : LADDER/STEP SEQUENCE EDITING 243. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5.1 Fatal Error 243. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5.2 Error (at Editing Ladder Diagram) 243. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5.3 Error (at Editing Step Sequence) 244. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.5.4 Warning (at Editing Ladder Diagram) 246. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.6 F : SYMBOL & COMMENT EDITING 247. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.6.1 Error 247. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.7 G : MESSAGE EDITING 248. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.7.1 Error 248. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.8 H : PRINTOUT 249. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.8.1 Fatal Error 249. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.8.2 Error 249. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.8.3 Warning 250. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.9 I : COMPILE 251. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.9.1 Fatal Error 251. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.9.2 Error 251. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.9.3 Warning 255. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.10 J : DECOMPILATION 256. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.10.1 Fatal Error 256. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.10.2 Error 256. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.10.3 Warning 257. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.11 K : MNEMONIC CONVERSION 258. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.11.1 Fatal Error 258. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.11.2 Error 259. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.11.3 Warning 262. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.12 L : INPUT/OUTPUT 264. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.12.1 Error 264. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.12.2 Warning 270. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    4.13 N : ONLINE MONITOR 271. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.13.1 Error 271. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    APPENDIX

    A. FUNCTIONS SPECIFIC TO INDIVIDUAL PMC MODELS 281. . . . . . . . . . . . . . . . . . . A.1 SYSTEM PARAMETERS 282. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    A.1.1 Editing 282. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.1.2 Examples of Mnemonic Files (SingleFormat) 283. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    A.2 LINK 284. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    B. AUTOMATIC COMPILATION AND DECOMPILATION 288. . . . . . . . . . . . . . . . . . . . . .

    C. CHANGE OF EACH SETTING FILE 290. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C.1 SYSTEM CONFIGURATION FILE %%% FLSET. CNF 291. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    www.

    cncc

    enter

    .com

  • B62884EN/01

    iii

    D. CONVERSION OF SEQUENCE PROGRAM 293. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.1 DIFFERENCES FROM FAPT LADDER 294. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.2 CONVERSION FROM FAPT LADDER 297. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.3 CONVERT THE PMC TYPE OF SEQUENCE PROGRAM 298. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.3.1 Converting by System Parameter Editing 298. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.3.2 Conversion Using a Signal Address Converter 299. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.3.3 Using Data in a Sequence Program for Another Program 301. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    D.4 TRANSFER FROM PG 302. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.4.1 Function for Transferring Data between the PG and PC 302. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    E. STANDARD SYMBOL DATA 308. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    F. TOOL FOR CHANGING MESSAGE DATA (CHGMES) 309. . . . . . . . . . . . . . . . . . . . .

    G. CAUTIONS FOR USING THE O/S 315. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    H. DATA TRANSFER CABLES 316. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    I. INQUIRY FORM 318. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    www.

    cncc

    enter

    .com

  • B62884EN/01 1. GENERAL

    1

    1

    www.

    cncc

    enter

    .com

  • 1. GENERAL B62884EN/01

    2

    Thank you for purchasing Ladder Editing Package.

    Ladder Editing Package is a programming system for developingFANUC PMC sequence programs. This software is designed to operate on the FANUC OPEN CNC andsupports both the Japanese and English languages. For details of theoperating conditions, see Chapter 2.

    Personalcomputer Name Specification Remarks

    FANUC OPEN CNC Ladder EditingPackage

    A08B-9201-J510 Japanese andEnglish are bothsupported

    The development of a sequence program on a personal computer,operating independently of the FANUC OPEN CNC, requires the use ofthe sequence program development software listed below. For details,refer to the relevant manuals.

    Name Operators manual

    FAPT LADDER FAPT LADDER Operators Manual (B66131E)

    FAPT LADDERII FAPT LADDERII Operators Manual (B66184EN)

    This manual explains procedures required to install, activate, and operatethis software about that are specific to the system designed for use withpersonal computers.For PMC operations and how to create PMC sequence programs, refer tothe manuals listed below.

    [FANUC PMC-MODEL PA1/PA3/RA1/RA2/RA3/RB/RB2/RB3/RB4/RB5/RB6/RC/RC3/RC4/NB/NB2 Programming manual (LADDERlanguage) ] B-61863E

    Inquiry formIf you have any questions after reading this operatorsmanual and the manuals listed above, use the inquiry formattached at Appendix I to consult us the questions.

    1.1OVERVIEW

    www.

    cncc

    enter

    .com

  • B62884EN/01 1. GENERAL

    3

    The following abbreviations are used in this manual.1) For PMC models

    Abbreviations PMC Models

    PMC-R Series PMC-RA3 PMC-RB3 PMC-RB4 PMC-RB5 PMC-RB6 PMC-RC3 PMC-RC4

    FANUC PMC-MODEL RA3FANUC PMC-MODEL RB3FANUC PMC-MODEL RB4FANUC PMC-MODEL RB5FANUC PMC-MODEL RB6FANUC PMC-MODEL RC3FANUC PMC-MODEL RC4

    2) Others

    Abbreviations Name

    OPEN CNCMMCIVHSSB

    FANUC OPEN CNCFANUC MMCIVHigh Speed Serial Bus

    MS-DOS and PC-DOS are both referred to simply as DOS, unless itis necessary to distinguish between the two operating systems.

    www.

    cncc

    enter

    .com

  • 1. GENERAL B62884EN/01

    4

    The Ladder Editing Package is a software package that enables the use ofthe following PMC functions and sequence program developmentfunctions on the OPEN CNC.

    1) Sequence program input, display, editing, and output2) Sequence program monitoring/debugging

    Signal status monitoring PMC status monitoring Ladder monitoring/editing Alarm display Cross reference display

    3) PMC parameter setting/display4) Sequence program execution/termination5) Writing to flash ROM6) Sequence program printout

    1.2THE MAJORFUNCTIONS

    1.2.1The Overview ofLadder EditingPackage

    www.

    cncc

    enter

    .com

  • B62884EN/01 1. GENERAL

    5

    Ladder editing package

    Floppy disk

    CNC / PMC

    Input/editing

    DI/ DO

    Keyboard

    Printer

    Drawing

    Hard disk

    OPEN CNC

    Machine

    Online functions

    Sequence program monitoring/debugging

    Sequence program execution/termination

    Sequence program transfer

    PMC parameter setting/display

    Fig.1.2.1.1 Function Overview

    A variety of OPEN CNC system configurations are described below.

    1) System with a FANUC NC board, built into a commerciallyavailable personal computer

    [Overview]

    Personalcomputer Machine

    FANUC NC board

    Incorporated

    Fig.1.2.1.2(a)

    1.2.1.1 Function Overview

    1.2.1.2 OPEN CNC SystemConfigurations

    www.

    cncc

    enter

    .com

  • 1. GENERAL B62884EN/01

    6

    [Program backup destination]PMC program memory [hard disk] of the personal computer

    2) System with a personal computer board (MMCIV), built intothe CNC

    [Overview]

    Machine

    CNC with MMCIV

    Fig.1.2.1.2(b)

    [CRT/MDI operation]When using this system with the CRT/MDI panel, assign thosekeys that are not available on the CRT/MDI panel as describedbelow. For details, refer to the FANUC MMCIV OperatorsManual (B62494EN).

    Key Correspondence

    Full keyboard CRT/MDI

    Ctrl

    Tab

    Alt

    BackSpace

    Esc

    Custom

    System

    Alter

    Can

    HELP

    NoteThe CRT/MDI keys cannot be used to start a system bymeans of Japanese input. To enter comments in Japanese,use the full keyboard.

    [Program backup destination]PMC flash memory

    3) System in which the CNC is connected to a commerciallyavailable personal computer via the highspeed serial busww

    w.cn

    ccen

    ter.co

    m

  • B62884EN/01 1. GENERAL

    7

    [Overview]

    Personalcomputer

    Highspeed serial bus

    Machine

    CNC

    Fig.1.2.1.2(c)

    [Program backup destination]PMC flash memory

    4) System in which the CNC is connected to a FANUC intelligentterminal via the highspeed serial bus

    [Overview]

    Highspeed serial bus

    Machine

    CNCIntelligentterminal

    Fig.1.2.1.2(d)

    [CRT/MDI operation]See Item 2) above.

    [Program backup destination]PMC flash memory

    1) Supported PMC modelsThe following PMC models are supported: PMCRA3 PMCRB3 PMCRB4 PMCRB5 PMCRB6 PMCRC3 PMCRC4

    2) Supported functions for each PMC modelTable 1.2.2 lists the supported functions for each PMC model. Fordetails of the functions, refer to the sections indicated in theReference section column.

    1.2.2Supported PMCFunctions

    www.

    cncc

    enter

    .com

  • 1. GENERAL B62884EN/01

    8

    Table 1.2.2 Functions Supported for Each PMC Model

    Function

    PMC model

    Referencesection

    RA3 RB3 RB4RB4

    (STEPSEQ)

    RB5 RB6RB6

    (STEPSEQ)

    RC3 RC4RC4

    (STEPSEQ)

    Step sequence program

    1.33.5.2

    Online functions 3.4

    Offline functions 3.5

    Input/output

    PMC out utdevice Handy File 3.5.6

    Memory card

    Link function Section A.2 in Appendix A

    : Usable : Not usable

    : May be usable (Whether the functions are supported varies with the series and editions of the PMC and CNC.For details, refer to the PMC programming manual.)

    1.2.3Sequence ProgramCreation

    www.

    cncc

    enter

    .com

  • B62884EN/01 1. GENERAL

    9

    Start control system development

    Determine control targets (machine, CNC)

    Determine control operation specifications (calculation of number of DI/DO points, control scale determination)

    Determine interface specifications (DI/DO assignment)

    Create sequence program (design, address map determination, coding)

    In online mode, programming/monitoring can be performed during communication with the PMC. Inoffline mode, programming is performed on the OPEN CNC without communication. Other PMC pro-gramming systems (for use with personal computers) are FAPT LADDER and FAPT LADDERII. Fordetails, refer to the following manuals:

    FAPT LADDER Operators Manual (B66131E)

    FAPT LADDERII Operators Manual (B66184EN)

    Ladder diagram monitoring/editing

    Signal monitoring

    Ladder diagram editing

    YES

    New?

    NO

    Debuggingcompleted?

    Compile (link)Print?

    Decompile

    Sequence program printing

    Sequence program input, editing, debugging, and printing

    Online functions Offline functions

    YES

    End

    Mnemonic editing

    YES

    End

    YES

    NO NO

    NO

    NODebuggingcompleted?

    Fig.1.2.3 Sequence Program Creation

    www.

    cncc

    enter

    .com

  • 1. GENERAL B62884EN/01

    10

    The ladder method is most of ten used for programming the sequencecontrol governed by a PMC. This method was derived from relay-panelcontrol circuits. Since it has been in use for years, many sequenceengineers are already familiar with it.The greater the number of functions implemented by the PMC, the largerand the more complicated the sequence program becomes. And it is hardto describe such program for ladder method.To overcome this problem, step sequence method programming has beenintroduced.

    (1) What is the step sequence method ?The step sequence is one of the method for programming a sequencecontrol governed by a programmable controller, this method featuresthe direct representation of the control flow on a flow chart. Eachblock of processing is described as a subprogram, using the laddermethod. Therefore it provides an easy-to-understand visualized flowof the processes and is well-suited to the control of entire process.

    See 1.2.2 Supported PMC Functions for the machines are able to use thestep sequence.

    For the details of the step sequence method, refer to the following manual.

    [3.5.2.2.(3) STEP SEQUENCE EDITING]

    (2) The configuration of a sequence programA sequence program consists of the following 5 kinds of program unit ;

    The 1st level of ladder The 2nd level of ladder The 3rd level of ladder Subprograms of ladder Subprograms of step sequence

    1.3ABOUT PMCPROGRAM

    1.3.1PMC ProgrammingMethod

    www.

    cncc

    enter

    .com

  • B62884EN/01 1. GENERAL

    11

    LEVEL 1 ( LADDER)

    LEVEL 2 ( LADDER)

    LEVEL 3 ( LADDER)

    Sub Program P1 (Step Sequence)

    Sub Program P2 (LADDER)

    Sub Program P3 (LADDER)

    Sub Program Pn (Step Sequence)

    (3) Data flow

    Subprogram P2

    Subprogram P1

    Ladder 3rd level

    Ladder 2nd level

    Ladder Editing Package

    Source program

    Ladder 1st levelMnemonic

    conversion

    Mnemonic program

    A mnemonic program without

    step sequence

    Compilation/Decompilation

    Object code

    Memory card format file

    CNCwww.

    cncc

    enter

    .com

  • 1. GENERAL B62884EN/01

    12

    You can assign names or add notes to I/O signals, internal relays, and canadd notes to a sequence program.They are generally called symbol & comment data.

    (1) The definition of termsThe definition of terms are shown below to distinguish between somesymbol & comment data.

    Terms Definition and uses Display

    Symbol Name assigneduniquely to eachrelay/coil,to be used in place ofPMC address.

    X0.0 INPUT

    Relay comment Text assigned torelays/coils toexplain them.

    X0.0 Y0.0

    RELAY XCOMMENT

    COIL YCOMMENT

    Coil comment Text assigned to coilsto explain them. Y0.0 HERE IS COIL

    COMMENT

    Net comment Text assignedbetween ladder netsto explain them. (* HERE IS NET *)

    (* COMMENT *)

    (2) Symbol & comment specification list(a) For input signal and internal relay

    Specification Symbol Relay comment Coil comment

    Availablecharacters

    ASCII characters(lower-casealphabeticcharacters notallowed)

    ASCII charactersJapanesekana/kanjicharacters

    ASCII charactersJapanesekana/kanjicharacters

    Maximum cha. 16 byte 16 byte 30 byte

    Maximumnumber

    20,000 entries(Note)

    20,000(Note)

    20,000(Note)

    Duplicateddefinition

    Not allowed Allowerd Allowerd

    NoteFree area size of hard disk drive, EMS and XMS on personalcomputer may restrict them.

    1.3.2About Symbol &Comment Data

    www.

    cncc

    enter

    .com

  • B62884EN/01 1. GENERAL

    13

    (b) For ladder sequence program

    Specification Net comment

    Available characters ASCII charactersJapanese kana/kanji charactersLine feed

    Steps to occupy 2 step/Net comment

    Maximum characters/line 64 characters/line4095 characters/Net comment (Note 1)

    Maximum lines 100 lines/Net commennt (Note 1)

    Maximum number About 20,000 Net comments (Note 2)

    Notes1. The limitation which is reached first becomes the limitation for the

    Net comment.2. Number of characters in each Net comment effects on maximum

    number of Net comments. Free area size of hard disk drive, EMSand XMS on personal computer may further restrict them.

    www.

    cncc

    enter

    .com

  • 2. CONFIGURATION AND INSTALLATION OF PACKAGE B62884EN/01

    14

    2

    www.

    cncc

    enter

    .com

  • B62884EN/012. CONFIGURATION AND INSTALLATION OF

    PACKAGE

    15

    To use this software, configurations of hardware and software are requiredas follows.

    Computer FUNUC OPEN CNC

    CPU 386SX or higher

    OS Microsoft Windows 95 (Note 1) DOS Version 5.0/V or later (to activate Japanese/

    English system) DOS Version 5.0 or later (to activate English system)

    Device driver Extended Drivers and Librarys.(For DOS : A02B0207K706 For Windows : A02B0207K726)

    Drivers and Librarys(For DOS : A02B0207K707 For Windows : A02B0207K727) (Note 2)

    CNC function FANUC OPEN CNC Additional option EXTENDED DRIVERS AND LIBRARIES

    FUNCTION (A02B0207J800) Ladder Editing Package Function

    (A02B0207J820)

    Memory Conventional memory 520 Kbytes or more (Note 3) EMS and/or XMS of 4 Mbytes or more (recommended)

    (Note 4)

    Hard disk 5 Mbytes or more space (Note 5)

    Graphic adapter VGA or higher

    Printer EPSON VP1000 and compatible printers (Note6)

    Japanese languageinput system

    Input system in conormity with MS-KANJI API

    Notes1 When using this saftware under Windows95, Please install

    the software by the installation procedure described in[2.3.1 Registering the software in the Windows [Programs]menu. ]

    2 A device driver tailored to the OPEN CNC systemconfiguration must be incorporated.

    3 Even if the machine has 640 Kbytes memory, the freememory may be less than 520 Kbytes when an installeddriver, for example, uses a large memory space.The size of free space in memory can be checked with theDOS command CHKDSK.

    4 The quantity of EMS and XMS memory effects on theperformance to handle Symbol data and Net comment.Please prepare enough EMS and XMS memory specicallyfor Symbol data or Net comment of large number.Moreover, at the system with EMS less than 256 Kbytes, themaximum number of steps which this software can handlemay be restricted.Please prepare 256 Kbytes or more EMS if possible.

    5 In addition, an space for storing sequence data is required.6 [NEC PR201H]and[FANUC PRINTER]are also available by

    changing system file.For details, refer to[3.5.3.6 Changing the Printer].

    2.1OPERATINGENVIRONMENT

    www.

    cncc

    enter

    .com

  • 2. CONFIGURATION AND INSTALLATION OF PACKAGE B62884EN/01

    16

    About size of Expansion memory to be used :

    Expansion memory are used for ladder and symbol & comment data asan temporary area. Although, Ladder Editing Package runs with no EMS& XMS, enough size of EMS and/or XMS memory according to thesource program to handle will be necessary for better performance.

    (1) Expansion memoryWhen reading ladder programs, Ladder Editing Package uses EMSif available. If EMS is not available, Ladder Editing Package usesconventional memory. When only conventional memory is used, upto 21840 program steps can be created. When 256KB EMS memoryis available, however, up to 32000 program steps can be created. Thesize of EMS is 256KB for all PMC models, regardless of the size ofthe program to be edited.

    (2) Expanded memory for Symbol & Comment dataFAPT LADDER uses EMS and/or XMS memory for Symbol &Comment data if available.When neither of them are available, Ladder Editing Package willmake temporary file on the hard diskdrive, and processing largenumber of Symbol & Comment data may be slower.About 200 Kbytes of EMS & XMS memory are used for every 1,000Symbol data.

    (3) Expanded memory for Net commentLadder Editing Package also uses EMS and/or XMS memory, ortemporary file as same as Symbol & Comment data. If neither EMSnor XMS is prepared, use hard disk.About 200 to 300 Kbytes of EMS or XMS memory are used for every1,000 Net coment.

    www.

    cncc

    enter

    .com

  • B62884EN/012. CONFIGURATION AND INSTALLATION OF

    PACKAGE

    17

    The Ladder Editing Package is distributed on the five system disks listedbelow. These disks are of 3.5inch, 2HD type (1.44MB). Check that noneof the system disks is missing.

    (1) Ladder Editing Package (Vol.1)/A08B9201J510#ZZ071

    (2) Ladder Editing Package (Vol.2)/A08B9201J510#ZZ072

    (3) Ladder Editing Package (Vol.3)/A08B9201J510#ZZ073

    (4) Ladder Editing Package (Vol.4)/A08B9201J510#ZZ074

    (5) Ladder Editing Package (Vol.5)/A08B9201J510#ZZ075

    2.2PACKAGECONFIGURATION

    www.

    cncc

    enter

    .com

  • 2. CONFIGURATION AND INSTALLATION OF PACKAGE B62884EN/01

    18

    There are two different installaction procedures to install the software.One is to register the software in the Windows [Programs] menu.Theother is to invoke this software from the DOS command prompt.

    The following describes the installation of this software from floppy diskdrive A to hard disk drive C.

    (1) Insert Vol. 1 into drive A.

    (2) Click the [Start] button, then click the [Run] dialog box.(3) Enter A:SETUP in the [Open] box of the [Run] dialog box.

    Open :

    Type the name of a program, folder, or document, and Windows will open it for you.

    Run [ ? ] []

    A: SETUP

    Ok Cancel Browse . . .

    (4) The message below appears, and the setup program is started.

    SETUP

    Initializing Setup...

    2.3INSTALLATION

    2.3.1Registering theSoftware in theWindows [Programs]Menu

    www.

    cncc

    enter

    .com

  • B62884EN/012. CONFIGURATION AND INSTALLATION OF

    PACKAGE

    19

    (5) Specify the hard disk drive to which the software is to be installed(Note).

    Welcome to Ladder Editing Package.

    Setup will place system files into the following drive.If you want to install these files in a different disk drive,select the install disk drive.

    Ladder Editing Package setup

    [] c:[C_DRIVE]

    Continue Exit Setup

    Install to :

    (6) Specify the OPEN CNC interface type. If the OPEN CNC has alreadybeen installed in the personal computer, the installer automaticallyidentifies the interface type, and the dialog box shown below appears.If the detected interface type matches that of the Ladder EditingPackage to be installed, click [Ok].

    Interface Type 2 is detected.Ladder Editing Package for Type 2 will be installed.

    Ladder Editing Package setup

    Ok Cancel

    If the OPEN CNC has not yet been installed in the personal computer,the dialog box shown below appears. Select the interface type of theOPEN CNC to be installed.

    Interface Type 1 Interface Type 2

    Interface driver is not detected.Whitch type Interface driver are you want to use ?

    Ladder Editing Package setup

    Ok Cancel

    Interface Typewww.

    cncc

    enter

    .com

  • 2. CONFIGURATION AND INSTALLATION OF PACKAGE B62884EN/01

    20

    (7) Select the language of the messages to be installed. The size of thefiles to be installed and the amount of free space available on the harddisk to which the software will be installed are displayed. If there issufficient free space for the installation, click [Ok].

    English only Japanese only English and Japanese

    Select language of message to be installed.

    Ladder Editing Package setup

    7808K

    Install Language

    Required space:

    Disk information

    C:

    128000KAvailable space:

    Ok

    Cancel

    (8) Select a display color type according to the display unit to be used.After selecting a display color type, click [Test] to check the displayappearance. If the colors are displayed correctly, click [Ok].

    COLOR MONO 1 MONO 2

    Select color type.

    Ladder Editing Package setup

    Ok Cancel

    Color type

    Test

    www.

    cncc

    enter

    .com

  • B62884EN/012. CONFIGURATION AND INSTALLATION OF

    PACKAGE

    21

    (9) The dialog box shown below appears during installation. Insert therequested floppy disk, then click [Ok].

    Please insert the following disk (or type the new directory),

    and then press .

    Ladder Editing Package setup

    Disk 2(Ladder Editing Package Vol.2) Floppydiskto be in-sertedA :

    Ok Cancel

    (10)Upon the completion of installation, the Ladder Editing Package isregistered in the [Programs] menu.

    NoteThe configuration of the directory in which the LadderEditing Package has been installed cannot be modified.

    www.

    cncc

    enter

    .com

  • 2. CONFIGURATION AND INSTALLATION OF PACKAGE B62884EN/01

    22

    The following describes the installation of the Ladder Editing Packagefrom floppy disk drive A to hard disk drive C.

    (1) Insert Vol. 1 into drive A.

    (2) Enter A:INSTALL at the DOS command prompt.

    > A : INSTALL

    (3) The installer is started, and the title screen appears. Select [Continue].

    (4) Enter the hard disk drive to which the software is to be installed(Note).

    Install to :

    Enter disk drive name to install theLadder Editing Package:

    C

    Ok Quit

    Fig.2.3.2(a)

    (5) Specify an OPEN CNC interface type. If the OPEN CNC is alreadyinstalled in the personal computer, the interface type is automaticallyidentified by the installer, and the dialog box shown below appears.After checking that the interface type detected by the installer iscorrect, select [Ok].

    Interface Type 1 is detected.Ladder Editing Package for Type 1 will be installed.

    Ok Quit

    Fig.2.3.2(b)

    If the OPEN CNC is not installed in the personal computer yet, thedialog box shown below appears. Select the interface typecorresponding to the OPEN CNC to be installed.

    2.3.2Installing the Softwareto Invoke from the DOSCommand Prompt

    www.

    cncc

    enter

    .com

  • B62884EN/012. CONFIGURATION AND INSTALLATION OF

    PACKAGE

    23

    The Interface driver has not been detected.Which Interface driver will be used?

    Ok Quit

    Interface Type 1 Interface Type 2

    Fig.2.3.2(c)

    (6) Select an installation message language.

    Select language of message to be installed.

    English and Japanese

    Japanese only

    English only

    Fig.2.3.2(d)

    (7) To set the display color, the dialog box shown below appears. Thedialog box color can be changed by selecting an appropriate display

    color option with the and keys. Select a color option that

    is appropriate for the display unit.

    COLOR MONO1 MONO2

    Select color type.

    Ok Quit

    Fig.2.3.2(e)

    www.

    cncc

    enter

    .com

  • 2. CONFIGURATION AND INSTALLATION OF PACKAGE B62884EN/01

    24

    (8) The selected options are displayed. After checking that the desiredoptions are selected, select [Yes]. The installation is started.

    Install drive : C: FANUCLEPInterface : Type 1Language : English only

    Are you sure to start installation?

    Yes No

    (9) When the installation terminates normally, the message shown belowappears.

    Installation is done.

    Exit

    Fig.2.3.2(f)

    NoteThe configuration of the installation destination directorycannot be modified.

    www.

    cncc

    enter

    .com

  • B62884EN/012. CONFIGURATION AND INSTALLATION OF

    PACKAGE

    25

    The Ladder Editing Package is installed by the installer under thedirectory configuration indicated below. The user can freely select thehard disk drive to which installation is to be performed, but cannot modifythe directory name.

    : Ladder Editing Package system

    : Japanese message data for the Ladder EditingPackage system

    : English message data for the Ladder EditingPackage system

    : OPEN CNC system (separate system)

    : Basic operation package (separate system)

    (1) Message file directoryAccording to the message language selection made at installation, theinstaller creates the subdirectories listed below to enable the installation ofthe message files.

    a. When the Japanese message option was selectedC:FANUCLEP

    : Japanese message data for the LadderEditing Package

    b. When the English message option was selectedC:FANUCLEP

    : English message data for the LadderEditing Package

    c. When the Japanese and English message option was selectedC:FANUCLEP

    : Japanese message data for the LadderEditing Package

    : English message data for the LadderEditing Package

    (2) Work directoryAs a work directory, the following subdirectory is created automatically.A program used online is stored under this directory, and can be editedoffline.

    C:FANUCLEP: Work directory

    2.4DIRECTORYCONFIGURATIONAFTERINSTALLATION C:FANUC

    LEPJPN

    ENG

    CNCBOP

    JPN

    ENG

    JPN

    ENG

    PMC0000www.

    cncc

    enter

    .com

  • 2. CONFIGURATION AND INSTALLATION OF PACKAGE B62884EN/01

    26

    To use the system, make the following modifications to theCONFIG.SYS file.

    (1) When the system is used under Windows 95 (when Windows 95 isinstalled in C:WINDOWS)

    DEVICE=WINDOWSANSI.SYSDEVICE=WINDOWSEMM386.EXE

    When the system is used under Windows 95, the Japanese inputsystem is not specified in the CONFIG.SYS file. The specificationmethod depends on the Japanese input system being used. Whenusing the system from the MSDOS prompt, both the Japanese inputsystem registered in Windows and that of the DOS version can beused. In MSDOS mode, only the DOSversion Japanese inputsystem can be used. Additions or modifications to the settings of theWindows Japanese input system can be made by modifying theLanguage item of Keyboard Properties, after doubleclicking theKeyboard icon on the Control Panel. The DOS version Japaneseinput system can be installed by using the ADDDRV command. Fordetails of the installation method, see DOSIME.BAT under theCOMMAND directory of Windows and DOSIME.SYS under theroot directory of the startup disk.

    (2) When the system is used under DOS (In the following example, DOSis already installed in C:DOS.)

    DEVICE=C:DOSANSI.SYSDEVICE=C:DOSEMM386.EXEDEVICE=C:DOSMSIME.SYSDEVICE=C:DOSMSIMEK.SYS

    (a) ANSI.SYS (required)The display mode and attributes of the display unit are set. Thissetting cannot be omitted.

    (b) EMM386.EXEThis device driver enables the use of expansion memory as EMSmemory. When using another EMS driver, refer to the relevantmanual for details of the setting required in CONFIG.SYS.

    (c) MSIME.SYS/MSIMEK.SYSThis device driver enables the use of MSKANJI API forJapaneselanguage input. When using another Japaneselanguage input system, refer to the relevant manual for details ofthe setting required in CONFIG.SYS.

    2.5CONFIG.SYS

    www.

    cncc

    enter

    .com

  • B62884EN/012. CONFIGURATION AND INSTALLATION OF

    PACKAGE

    27

    Notes1 All of the above device drivers are provided as standard with

    Windows 95/MSDOS. The specification of switches andparameters may be required for the above settings. Fordetails, refer to the windows 95/the MSDOS online helpor the relevant manual.

    2 When using a memory card, refer to the manual providedwith the memory card for details of the setting required inCONFIG.SYS.

    3 Some device drivers may adversely affect the LadderEditing Package. If a problem is anticipated, specify onlyANSI.SYS in CONFIG.SYS. Omit the specification of theother device drivers. When only ANSI.SYS is specified,Ladder Editing Package will support only English, but allowsany contention with other device drivers to be identifiedquickly. Recognized conflicts are listed in Appendix G.

    www.

    cncc

    enter

    .com

  • 2. CONFIGURATION AND INSTALLATION OF PACKAGE B62884EN/01

    28

    The files constituting system are described below.

    (1) Customizable filesSome functions can be customized by the user. These functionsinclude setting of the format for printing created ladder programs, andcommunication port setting based on the RS-232C standard. For these functions, the associated data is held in text-format files,which can be directly edited by the user. These files are listed below.(a) Printing (For details, see Section 3.5.3.5.)

    AMROFTRP.DAT CROSSINF.DAT *.INF

    (b) Communications (For details, see Section 3.5.6.1.) FLIO_AT.DAT

    (c) Compile/decompile (For details, see Section 3.5.7.3.) OPTION.CNF

    (d) Entire system FLMNE.DAT (For details, see Section 3.5.8.7.) FLVIEW.DAT (For details, see Section 3.5.9.)

    (2) Other files(a) README.TXT/READMEJ.TXT

    These text files contain important information that becameavailable after the manual was printed. Use this information in combination with the manual. Note thatREADMEJ.TXT contains Japanese text, while README.TXTcontains English text.

    (b) *.JPN/*.ENGA file having either of the above extensions contains most of themessages (menus, displayed instructions, and error indications)to be displayed or printed by the system. The location of such afile is described in Section 2.4.

    (c) FLMNE.ERRThe results (including errors) of mnemonic conversion arewritten into this text file.

    (d) *.EXEA file having this extension is an executable file. Such files arenot handled by the user.

    (3) Files that are not installed The files under subdirectory APPENDIX on Volume 5 are notinstalled by the installer. These files are listed below.(a) Printing (For details, see Section 3.5.3.6.)

    AMROFTRP.ESC AMROFTRP.PR

    (b) Standard symbols (For details, see Appendix E.) F16&18-M. SYM F16&18-T. SYM PM-D.SYM PM-H.SYM FS0M-CNV. SYM FS0T-CNV. SYM PM-C_CNV. SYM

    2.6FILECONFIGURATION

    2.6.1File System

    www.

    cncc

    enter

    .com

  • B62884EN/012. CONFIGURATION AND INSTALLATION OF

    PACKAGE

    29

    (c) Message conversion tools (For details, see Appendix F.) _CHGMES.EXE

    A sequence program, which is object of editing and printing, is calledsource program and managed by storing in files below.

    in case of named C:DATASAMPLE as source program

    C:

    data

    SAMPLE.ERR SAMPLE.MAP

    execution result filemap file

    (Note 1)(Note 1)

    SAMPLE

    CONTROL Source program managing file SYSPARAM System parameter data file TITLE Title data file XSYMBOL.xxx Symbol & Comment data file (Note 2) MESSAGE Message data file IOMODULE I/O module data file LEVEL1. #LA 1st level ladder data file LEVEL2. #LA 2nd level ladder data file LEVEL3. #LA 3rd level ladder data file (Note 3) Pyyy. #LA Sub-program ladder data file (Note 4) Pzzz. #SS Sub-program step sequence data file(Note 4) NETCMT.xxx Net comment data file (Note 2) MCARD Memory card format data file

    Notes1. Contain source program compile/decompile results and map

    information. These files are not included in a source program, butare named in accordance with the name of the source program.These files are stored under the directory one level above thesource program storage directory.

    2. xxx is number of multi file managing.3. Only for using LEVEL-3 ladder.4. yyy, zzz is number of sub-program.

    2.6.2The Constitution ofSource Program

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    30

    3

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    31

    1 Starting the Ladder Editing Package from the DOS command line

    (1) Move to the drive and directory where the system software of theLadder Editing Package is installed.

    (2) Key in FLADDER Enter .

    Example:Starting the Ladder Editing Package when the packageis installed under the FANUCLEP directory of driveC.

    A : >C :

    C : >CD FANUCLEP

    C : FANUCLEP>FLADDER

    Enter

    Enter

    Enter

    (3) The online functions are activated as soon as the Ladder EditingPackage is started.

    End

    DOS prompt

    Start (command name FLADDER)

    Online functions Offline functionsEnd

    NoteIf Interface Type 1 is selected at installation, the LadderEditing Package will not operate normally if the package isstarted from the Windows DOS prompt. If Interface Type1 is selected at installation, first terminate Windows, thenstart the Ladder Editing Package from the DOS commandline.

    2 Starting the Ladder Editing Package from Windows

    (1) To start the system software of the Ladder Editing Package whenthe package is installed under Windows, doubleclick thecorresponding icon. Once the Ladder Editing Package has beenstarted, the online functions are activated.

    3.1STARTING THELADDER EDITINGPACKAGE

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    32

    OPEN CNC, DOS/Windows, Ladder Editing Package,extended driver/library

    Install DOS/Windows

    Incorporate device driver (Modificationof CONFIG.SYS and AUTOEXEC.BAT)

    Install extended driver/library disk or driver library disk installation,and incorporate driver

    Install Ladder Editing Package

    Start Ladder Editing Package

    Operate Ladder Editing Package

    End?

    Termination of Ladder Editing Package

    NO

    YES

    (Reference)

    Fig.3.1 Flow of Operations Required to Start the Ladder Editing Package

    3 Terminating the Ladder Editing Package

    The Ladder Editing Package can be terminated in either of thefollowing two ways.

    (1) Select [Exit] from the pulldown menu for [1.File] of the onlinefunctions.See Section 3.4 for an explanation of online function menuselection.

    (2) Select [Exit] from the offline function menu.See Section 3.5 for an explanation of offline function menuselection.

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    33

    The menu screens displayed by the system are structured as shown below.

    Timer

    PMC status

    Load program

    MSDOS

    Signal status

    Signal Trace

    1Online function File

    Offline function (1) See Fig. 3.2.1(b)

    2Diagnose

    PMC alarm status

    3 I/O

    4 Commu-nication

    Communication

    Exit

    PMC parameter

    RUN/STOP the program

    Backup programStore program

    Data tableData table controlKeep relayCounter

    Start

    Ladder monitoring/Online editing

    Restore PMC parameterSave PMC parameter

    Signal trigger/Ladder debug

    System informationSignal Analysis

    Fig.3.2.1(a) Menu Structure (1)

    3.2OVERVIEW OFOPERATION

    3.2.1Menu Structure

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    34

    Title

    FA writer

    Source program mnemonic file

    Step sequence

    TitleStep sequence

    (1)

    F2

    F3

    F4

    F5

    F6PROGRAMOPTION SETUP

    F8

    F9

    F10

    F1Offline function EDIT

    PRINT

    COMPILE

    DECOMPILE

    I/O

    F7MNEMONIC EDIT

    UTILITY

    ONLINE FUNCTION

    END

    Ladder diagramSymbolParameter

    Bit address map Cross reference listMessageI/O module

    ROM format fileBackupMemory cardHandy FilePMCPMC writer

    LinkerView resultFloadatDosExecute user batch filesMnemonic file source program

    I/O moduleMessageSymbol & comment

    Ladder diagram/

    System parameter

    Fig.3.2.1(b) Menu Structure (2)

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    35

    The operations described below are common operations.

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

    1 EDIT 2 PRINT 3 COMPIL 4 DECOMP 5 I/O 6 SETUP 7 MNEEDT 8 UTILTY 9 ONLINE 10 END

    [F1] [F2] [F3] [F4] [F5] [F6] [F7] [F8] [F9] [F10]

    (2) Escape key

    The escape key Esc has the same effect as selecting [END] with the

    function key. The escape key terminates the current screen thenreturns the display to the previous screen in the menu hierarchy.

    (3) Cursor keys

    The cursor keys , , , and are used to move the

    cursor to select input items.When two or more cursors can be used on a single screen, the second

    or subsequent cursor can be moved by pressing the Shift key together

    with the or key.

    (4) Scroll keys

    The scroll keys PageDown andPageUp display the next page and the previous

    page, respectively.

    (5) [INS] keyThis key switches between the overwrite mode and insert mode.

    (6) [TAB] key

    When multipul keys are displayed, press Tab key and select one

    button.

    (7) Status lineA status line is displayed at the top of the screen.

    Item name PMC ModelCurrentdirectory name

    Main menu PMCRB3 [C : FLADDER ]

    Edit mode (Overwrite/insert)

    NoteThe indications on the key tops may slightly vary from thedescriptions of this manual, depending on the personalcomputer used.

    (8) Popup menuWhen the following popup menu appears, the desired process canbe selected using any of the three methods described below.

    3.3COMMON SYSTEMOPERATIONS

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    36

    The file already exists.

    F1 UpdateF2 QuitF3 Append

    1) Cursor movement

    To select an item, press the cursor key or , such that

    the item to be selected is displayed in reverse video. Then,

    pressing the Enter key selects that item.

    2) Function keyA function key is indicated at the left of each item. To select anitem, press the corresponding function key.

    3) Command nameAn uppercase letter in (usually, the initial of) an item name is the

    command name. In the above case, pressing the letter key U ,

    Q , or A can select the Update, Quit, or Append command,respectively.

    (9) Pulldown menusOn some screens, the following menu bar is displayed along the topof the screen

    Function number.

    function name Icon forPMC status indication(See the section explan-ing how to start the online functions.)

    I1. File 2. Diagnose 3. I/O 4. Communication

    Pressing the Alt key displays the pulldown menu for I1. File

    The pulldown menu for a function can also be displayed by pressing

    the Alt key and the corresponding function number simultaneously.

    Exit

    I1. File 2. Diagnose 3. I/O 4. Communication

    File save

    Using the cursor keys, position the highlight to the desired item ona functions pulldown menu. A menu item with an arrow mark ( )at its right edge has its own pulldown menu, which can be displayed

    by pressing the key.

    The target screen is displayed by pressing the Enter key after

    positioning the highlight to a desired menu item.

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    37

    The online functions are used to perform ladder and signal statusmonitoring, display, and modification on the OPEN CNC screen.

    [Menu structure]

    (1) [1.File] menuWith this menu, the user can write to and read from a file on hard diskor floppy disk, switch between functions, and terminate processing.

    (2) [2.Diagnose] menuWith this menu, the user can display the PMC status and performediting for PMC status display.

    (3) [3.I/O] menuWith this menu, the user can write programs to and read programsfrom the PMC.

    (4) [4.Communication] menuWith this menu, the user can establish communications for PMCstatus display and PMC operation.

    1) Starting the Ladder Editing Package

    2) Loading programs from the PMC (automatic)

    [When programs have already been loaded]

    A comparison is automatically made between the PMC programsand those which have already been loaded.

    Program load operation

    Program store operation

    Continuation or end

    3)

    File

    Relay comment

    Net comment

    4) Online functions

    Diagnosis

    I/O (Program load/store, writing toFROM)

    Communication (with the PMC)

    Offline function selection

    4)

    Ladder Editing Package PMC

    Sequence program(RAM)

    Power ON

    Sequence program(FROM)Sequence program

    (RAM)3) Ladder monitoring

    4)

    3)

    Fig.3.4.1.1 Overview of OnLine Functions

    3.4ONLINE FUNCTIONS

    3.4.1Overview of theOnLine Functions

    3.4.1.1 Outline

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    38

    The use of the online functions is automatically enabled when the systemis started. Alternatively, the use of the online functions can be selectedin offline mode. For an explanation of online function selection inoffline mode, see Section 3.5.

    (1) Moving to the ladder monitoring screenTo move from an online function to the ladder monitoring screen,follow the procedure given below. On the ladder monitoring screen,select the desired function from the pulldown menu or press thecorresponding function key.[Moving to the ladder monitoring screen]

    1) Starting the system/online function selection2) Work program compilation/decompilation

    (started only when required)

    3) Communication with the PMC (automatic)

    4) Monitoring method selection

    (started only when required) Program load operation Program store operation

    5) Ladder monitoring

    Subprogram screen display (automatic)

    Subprogram selection

    Ladder monitor screen display

    Each screen is explained below. For details, see the related section.(a) Work program compilation

    If a source program that was edited offline has not yet beencompiled, the following message appears.

    Source program has updated. Compile it ? (Y/N)

    If an online function is to be used for an edited program, enterY. For details, see Appendix B.

    (b) Work program decompilationIf a source program that was acquired with the offline I/Ofunction has not yet been decompiled, the following message isdisplayed.

    Memory card format file has been updated. Decompile it ? (Y/N)

    If an online function is to be used for a program acquired withthe I/O function, enter Y. For details, see Appendix B.

    3.4.1.2 Starting the OnLineFunctions

    Reference section

    See Section3.4.3.1.

    See Appendix B.

    See Section 3.4.5.

    See Section 3.4.4.1.See Section 3.4.4.2.

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    39

    (c) Communication with the PMCSelecting ONLINE FUNCTION causes the online monitorscreen (SET COMMUNICATION dialog box) to appear asshown below. Communication with the PMC startsautomatically.

    F8Search

    F7Splist

    F9Symbol

    F10Setting

    Communication

    1. File 2. Diagnose 3. I/O 4. Communication

    Try to connect with PMC ... 0000 0000Cancel

    Status

    Start

    Fig.3.4.1.2 (a)

    (d) Selecting a monitoring methodWhen communication with the PMC starts normally, theprogram is compared with that held on the PMC. If the programsdo not match, the dialog box shown below appears.Select a desired function.

    [LOAD] : A program is loaded from PMC memoryand the program is overwritten.

    [STORE] : The program is stored to the PMC. The program replaces the program already onthe PMC.

    [CONTINUE] : The ladder monitor screen appears, but theprogram already on the PMC is not replaced. Note that ladder monitor display is not performed correctly.

    [END] : The online function terminates.

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    40

    Load from PMC program memory.

    N : E3160 Selected program is not same.

    Load

    Store

    Disregard

    Qiut Quit On Line function.

    Disregard difference.

    Store to PMC program memory.

    Fig.3.4.1.2 (b)

    NoteIf the program does not match the program on the PMC thedialog box shown above appears. This occurs, for example,when a single program is modified by means of offlineediting.When the online monitor function is started for a programthat is loaded or stored, the dialog box does not appear.Instead, the subprogram selection screen appearsimmediately.

    (e) Loading from the PMCAfter communication with the PMC starts normally, the SETCOMMUNICATION dialog box closes automatically and theLOAD FROM PMC dialog box is opened in its place.

    Load Program

    Transfer data type LADDER ALL

    0%

    Exec Abort Cancel

    100%

    Fig.3.4.1.2 (c)

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    41

    (f) Displaying the SUBPROGRAM dialog box (Ladder monitorfunction)Once a program is loaded from the PMC, the SUBPROGRAMdialog box for the ladder monitor function appears. Specify thesubprogram to be monitored in the dialog box as describedbelow:

    NoteThe online monitoring function of a step sequenceprogram is not supported.

    [Operation]1) Position the cursor to the desired subprogram by pressing the

    or key.

    2) Press the Enter key.

    3) The ladder diagram for the selected subprogram appears.

    Subprogram list

    Ok Cancel

    LEVEL 1

    LEVEL2

    P00001 (OPEN RIGHT DOOR) MOVE RIGHT DOOR TO LIMITSWIITR1

    P00002 (OPEN LEFT DOOR) MOVE LEFT DOOR TO LIMITSWIITL1

    S P00010 (GRIP WORK PIECE) PICK UP A WORK ON THE STAND

    P00011 (PUT WORK PIECE) PUT DOWN A WORK

    P00021 (CLOSE RIGHT DOOR) MOVE RIGHT DOOR TO LIMITSWTHR2

    P00022 (CLOSE LEFT DOOR) MOVE LEFT DOOR TO LIMITSWTH L2

    Fig.3.4.1.2 (d)

    (2) Displaying the PMC status (icon)The online function indicates the current PMC statuses, using iconsat the right end of the status line.(a) Display positions and types of icons

    Displayed positionof icon

    1) 2) 3)

    1. File 2. Diagnose 3. I/O 4. Communication

    Fig.3.4.1.2 (e)

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    42

    1) PMC alarm statusThe following icon indicates whether the PMC is in the alarmstate.

    Yellow : Alarm exists on PMC

    Gray : Alarm not exists on PMC

    Fig.3.4.1.2 (f)

    2) Ladder execution statusThe following icon indicates whether a ladder program isrunning.

    Program onPMC is running.

    Program on PMC is stopped.

    Fig.3.4.1.2 (g)

    3) PMC communication statusThe following icon indicates whether a communication linkwith the PMC is established.

    Communication is active.

    Communication is not active.

    Fig.3.4.1.2 (h)www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    43

    While communicating with PMC, PMC parameters can be saved to a file.To use this function while running a ladder program, turn the CNC toEDIT mode. If not running, you can use this function at any time.

    (1) Menu positionPull down [1.File] menu, and select [Save PMC parameter] on themenu.

    Save PMC parameterRestore PMC parameter Off-Line Function MS DOS Exit

    1. File

    Fig.3.4.2.1 (a)

    (2) Dialog box view

    Save PMC parameter

    File name

    Input a saving file name.

    C:\DATA\PMC_PRM

    Exec Cancel

    0% 100%

    Abort

    Execute saving Abort saving Close dialog box

    Fig.3.4.2.1 (b)

    (3) OperationAt first, specify the saving file name. PMC_PRM is initiallydisplayed as a default file name.It is possible to change the saving directory and the file name.(a) Select [Exec]

    PMC parameter is saved and the dialog box closes.(b) Select [abort] (during a file saving)

    Saving is stopped.(c) Select [Cancel]

    PMC parameter is not saved and the dialog box closes.

    3.4.2File

    3.4.2.1 Saving PMC Parameter

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    44

    (4) Message

    Message Meaning and countermeasure

    File already exists.Overwrite?

    Same file name exists.Select [Yes] to overwrite.Select [No] to cancel saving.

    While communicating with PMC, PMC parameters can be restored froma file.To use this function while running a ladder program, turn the CNC toEMERGENCY STOP and set PWE(CNC parameter) to 1 on the CNC.If not running, you can use this function at any time.

    (1) Menu positionPull down [1.File] menu, and select [Restore PMC parameter] on themenu.

    Save PMC parameterRestore PMC parameter Off-Line Function MS DOS Exit

    1. File

    Fig.3.4.2.2 (a)

    (2) Dialog box view

    Restore PMC parameter

    File name

    Input arestoring file name.

    C:\DATA\PMC_PRM

    Exec Cancel

    0% 100%

    Abort

    Execute restoring Abort restoring Close dialog box

    Fig.3.4.2.2 (b)

    (3) OperationAt first, specify a restoring file name.PMC_PRM is initiallydisplayed as a default file name.It is possible to change the restoring directory and the file name.

    3.4.2.2 Restoring PMCParameter

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    45

    (a) Select [Exec]PMC parameter is restored and the dialog box closes.

    (b) Select [Abort] (during a file saving)Restoring is stopped.

    (c) Select [Cancel]PMC parameter is not restored and the dialog box closes.

    The Off-Line function can be selected from the On-Line function. Fordetails, see 3.5 Off-Line Function.

    (1) Menu positionTo use Off-Line Function, pull down [1. File] menu, and select[Off-Line Function] on the menu.

    Save PMC parameterRestore PMC parameter Off-Line Function MS DOS Exit

    1. File

    Fig.3.4.2.3

    An MSDOS command can be executed without terminating onlinemode.

    (1) Menu positionTo use MSDOS, select [1.File] from the pulldown menu, thenselect MSDOS. (The MSDOS prompt appears.)The user can return to online mode by executing the EXIT commandfrom the MSDOS prompt.

    Save PMC parameterRestore PMC parameter Off-Line Function MS DOS Exit

    1. File

    Fig.3.4.2.4

    3.4.2.3 Selecting OffLineFunction from OnLineFunction

    3.4.2.4 MSDOS

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    46

    This function is used to finish On-Line Function.

    (1) Menu positionPull down [1. File] menu, and select [Exit] on the menu.

    Save PMC parameterRestore PMC parameter Off-Line Function MS DOS Exit

    1. File

    Fig.3.4.2.5(a)

    (2) Dialog box view

    Are you sure you want to exit ?

    CancelOk

    Fig.3.4.2.5(b)

    (3) Operation(a) Push [OK] button.

    1) Online function ends.2) When there are any modifications which have not been

    preserved by F7 [UPDATE] on the online editor, this File

    save operation is canceled. And the following dialog boxappears.

    Ladder diagram has been modifiedSure to quit ?

    NoYes

    Fig.3.4.2.5(c)

    [Yes]: The modifications by on-line editor is canceled and On-LineFunction ends.

    [No] : Cancel to [Exit].

    3.4.2.5 Exit

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    47

    [2. Diagnose] menu contains the menu items as shown below.

    for Ladder Monitor /Online Editor windowfor Signal status windowfor sub-menu of PMC Parameter windowsfor PMC alarm message dialog boxfor PMC Status windowfor RUN/STOP the program dialog boxfor Signal Trace dialog boxfor Signal Analysis dialog boxfor System Information dialog box

    Ladder MonitorSignal StatusPMC ParameterPMC alarm statusPMC StatusRUN/STOP the programSignal TraceSignal AnalysisSystem Information

    2. Diagnose

    To select the ladder monitor screen, select [2. Diagnose] to display a pull-downmenu, then select [Ladder Monitor].For [Ladder Monitor], both the ladder monitor function and on-line editfunction can be used.

    (a) Configuration of the ladder monitor screenThe ladder monitor screen is shown below.On the ladder monitor screen, signal statuses are indicated as shownbelow.1) Displaying signal statuses

    STATUS : OFF

    (Thin line)

    STATUS : ON

    (Thick line)

    3.4.3Diagnose

    3.4.3.1 Ladder Monitor

    3.4.3.1.1 Ladder monitor

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    48

    F8Search

    F7SpList

    F9Symbol

    F10Seting

    !!!!!!!!!!!!!!

    1. File 2. Diagnose 3. I/O 4. Communication

    [LEVEL1] NET 0000100006

    SUB 64END

    SUB 2END2

    SUB 1END1

    D000 R0000.1

    D000 R0000.0

    Ladder MonitorSignal StatusPMC ParameterPMC alarm statusPMC StatusRUN/STOP the programSignal TraceSignal AnalysisSystem Information

    S+F8SSet

    +Shift

    Fig.3.4.3.1.1(a)

    (b) Ladder monitor functionThe table below lists the operations performed by the ladder monitorfunction.

    Operation group Function Key to be used Reference

    Cursor movement Moving the cursor up ordown

    Moving the cursor to thebeginning of the ladderprogram

    Home

    Moving the cursor to theend of the ladder program End

    Moving the cursor to theprevious page

    Moving the cursor to thenext page

    SpList Listing subprograms andselecting a subprogram

    F7 : [SpList] (c)

    Search Searching for data F8 : [Search] (d)

    Entering the search data+Shift F8

    (d)

    Symbol Displaying the symbol orcomment defined at aspecified address

    F9 : [Symbol] (e)

    Setting Switching between laddermonitor and on-lineediting, switchingbetween symbol displayand comment display

    F10 : [Setting] (f)

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    49

    (c) Selecting a subprogram (F7 [SpList])A ladder program is monitoried and edited in units of subprograms.This function is uesd to list existing subprograms and to select thesubporgram to be displayed.

    NoteThe online monitoring function of a step sequence program is notsupported.The subprogram of a step sequence program is not selected.

    1) Subprogram list display screenPressing F7 [SpList] causes a window to be displayed, as shownbelow. Select the program to be displayed by pressing a cursor

    key or the PageUp , PageDown keys then the Enter key.

    Subprogram list

    Ok Cancel

    LEVEL 1

    LEVEL2

    P00001 (OPEN RIGHT DOOR) MOVE RIGHT DOOR TO LIMITSWIITR1

    P00002 (OPEN LEFT DOOR) MOVE LEFT DOOR TO LIMITSWIITL1

    S P00010 (GRIP WORK PIECE) PICK UP A WORK ON THE STAND

    P00011 (PUT WORK PIECE) PUT DOWN A WORK

    P00021 (CLOSE RIGHT DOOR) MOVE RIGHT DOOR TO LIMITSWTHR2

    P00022 (CLOSE LEFT DOOR) MOVE LEFT DOOR TO LIMITSWTH L2

    Fig.3.4.3.1.1(b)

    2) Display informationThe following information appears on the subprogram screen.

    LEVEL 1

    LEVEL2

    P00001 (OPEN RIGHT DOOR) MOVE RIGHT DOOR TO LIMITSWIITR1

    P00002 (OPEN LEFT DOOR) MOVE LEFT DOOR TO LIMITSWIITL1

    S P00010 (GRIP WORK PIECE) PICK UP A WORK ON THE STAND

    Step Sequence(S mark)

    Ladder (No mark)

    Subprogram No. Symbol Coil comment

    Fig.3.4.3.1.1(c)

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    50

    (d) Searching for data (F8 [SEARCH])/Entering the search data ( Shift +

    F8 )

    1) Searching for data (F8 [SEARCH])

    A search for a net starts when the F8 key is pressed after the

    search data has been entered.

    If the F8 key is pressed without specifying any search data, a

    search is made for the data set specified in 2) below, Enteringsearch data (see (b)).A search can be made for several types of data, as describedbelow:

    Address/symbol

    Searching for an address: address + F8

    Example) X0000.0+ F8

    Searching for a symbol: symbol + F8

    Example) SYMBOL1+ F8

    Functional instruction number/nameSearching for a number: S+functional

    instructionnumber+ F8

    Example) S1+ F8

    Searching for a name: functionalinstruction

    name + F8

    Example) END1+ F8

    Net number: netnumber+ F8

    Example) 10+ F8

    2) Entering search data ( Shift + F8 )

    Data for which a search is to be made by means of operation 1),described above, can be registered. To repeatedly search foridentical data, use this function. While this function is active, thefollowing dialog box appears.

    To position the cursor to another item, press the Tab key. To

    change the setting, press the or key.www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    51

    Search

    OK Cancel

    ADDR/SYMBOL WRTCOIL FUNCTION NETNO

    Search Data : Data Kind

    X0000. 0

    Fig.3.4.3.1.1(d)

    SEARCH DATA Enter the search data:address, symbol, net number, functional instructionname, functional instruction number (number only,without S)

    DATA TYPE Select the type of the search data.

    (e) Displaying a symbol (F9 [SYMBOL])This function displays the symbol or comment defined at a specified

    address. When F9 is pressed, the following dialog box appears.

    Symbol & Comment Display

    OK Cancel

    Address [ ] Relay Comment [ ]

    Symbol [ ] Coil Comment [ ]

    Fig.3.4.3.1.1(e)

    ADDRESS : Enter the address of the symbol orcomment to be displayed.

    SYMBOL : The symbol at the specified addressis appears.

    RELAY COMMENT : The relay comment at the specifiedaddress appears.

    COIL COMMENT : The coil comment at the specifiedaddress appears.

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    52

    (f) Setting a function (F10 [SET])This function includes the following: LADDER MODE:

    Switching between ladder monitor and online editing.For details of the online function, see (2), Onlineediting in this section.

    SYMBOL & COMMENT DISPLAY:Selecting the address display mode in ladder monitoringor online editingThree types of data can be displayed: address, symbol,and relay comment.

    FUNCTION PARAMETER:Selecting whether the parameters of functionalinstructions are to be displayed

    When the F10 key is pressed, the dialog box shown below appears:

    To move the cursor to another item, press the Tab key. To change

    the setting, press the or key.

    Display setting

    OK

    Cancel

    Symbol Address Relay Comment Symbol & Address Relay Comment & Address Relay Comment & Symbol

    Ladder Mode

    Ladder Monitor Online Editor Signal Trigger Debug Ladder

    Symbol & Comment Display

    Function Paramareter

    Display

    Fig.3.4.3.1.1(f)

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    53

    To select the Online Editor screen, select [Ladder monitor] from the [2.Diagnose] pulldown menu, then press F10 : [Setting]. The Displaysetting dialog box appears. In the dialog box, select [Online Editor].

    Display setting

    OK

    Cancel

    Symbol Address Relay Comment Symbol & Address Relay Comment & Address Relay Comment & Symbol

    Ladder Mode Ladder Monitor Online Editor Signal Trigger Debug Ladder

    Symbol & Comment Display

    Function Paramareter Display

    Fig.3.4.3.1.2(a)

    (a) Configuration of the online edit screenThe configuration of the online edit screen is as shown below:

    3.4.3.1.2 Online editing

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    54

    F2 F8Search

    F1 F3 F4 F5 F6Functn

    F7Update

    F9Symbol

    F10Seting

    Online Editor

    [LEVEL1] NET 0000100006

    SUB 64END

    SUB 2END2

    SUB 1END1

    X0000.0 Y0000.0

    X0000.1 X0000.2 Y0000.1

    X0001.0 Y0000.2

    X0001.1 Y0000.2

    (S)

    (R)

    X0000.0 (*1)

    +

    S+F2 S+F8SSET

    S+F1 S+F3 S+F7Undo

    (S)

    (R)

    +

    C+F2LinIns

    C+F1NetIns

    C+F3ElmIns

    C+F4Select

    C+F5Cut

    C+F6Copy

    C+F7paste

    Shift

    Ctrl

    1. File 2. Diagnose 3. I/O 4. Communication

    Fig.3.4.3.1.2(b)

    1) Key input line display(*1)The most recently entered contact or coil is displayed. If thedisplay of an address and a contact or coil is selected, pressing

    the Enter key causes a single contact or coil to be set in the ladder

    diagram.

    (b) Online editingOnline editing operations (1)

    Operationgroup Function Key to be used Reference

    Input mode modification

    Insert modeEnabling/Cancelling Insert

    (C) 1)

    Insert modeEnabling/Cancelling Delete

    (C) 2)

    Contact/coilinput

    inputF1

    (d) 1)

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    55

    Operationgroup ReferenceKey to be usedFunction

    Contact/coilinput

    input+ F1Shift

    (d) 2)

    inputF2

    (d) 3)

    input+ F2Shift

    (d) 4)

    input(S) F3(d) 5)

    input(R) + F3Shift(d) 6)

    Selecting a contact/coil ,

    +

    Tab

    Shift Tab

    (d) 7)

    Changing an addressonly address + Enter

    (d) 8)

    Entering a contact/coilEnter

    (d) 9)

    Functionalinstruction input

    Entering a functionalinstruction

    functionalinstructionnumber

    + F6

    (d) 10)

    Line connection inputF4

    (e) 1)

    inputF5

    (e) 2)

    Line deletion deletionDelete mode + F4

    (e) 1)

    deletionDelete mode + F5

    (e) 2)

    Net, line, elementinsertion

    Inserting a net+Ctrl F1

    (f) 1)

    Inserting a line + F2Ctrl(f) 2)

    Inserting a element+ F3Ctrl

    (f) 3)

    Cut and pastefunction

    Specifying a range+ F4Ctrl

    (g) 1)

    Cutting a net+ F5Ctrl

    (g) 2)

    Copying a net+ F6Ctrl

    (g) 3)

    Pasting a net+ F7Ctrl

    (g) 4)

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    56

    Online editing operations (2)

    Operationgroup Function Key to be used Reference

    Cursormovement

    Moving the cursor up ordown

    , (h) 1)

    Moving the cursor to theleft or right

    , (h) 2)

    Moving the cursor to thebeginning of the ladderprogram

    Home(h) 3)

    Moving the cursor to theend of the ladder program

    End

    (h) 4)

    Moving the cursor to theprevious page

    PageUp

    (h) 5)

    Moving the cursor to thenext page

    PageDown

    (h) 6)

    Search Searching for data F8 : [Search] See (1),LadderEntering the search data

    + F8ShiftLaddermonitor.

    Symbol Displaying the symbol orcomment defined at aspecified address

    F9 : [Symbol] See (1),Laddermonitor.

    Setting Switching between ladder monitor and online editing, switchingbetween symbol displayand comment display, etc.

    F10 :[Setting] See (1),Laddermonitor.

    Others Updating the ladder program

    F7 : [UPDATE] (i) 1)

    Restoring the ladder program to the state existing prior to editing

    +Shift F7(i) 2)

    (c) Changing the input modeTo change the input mode on the edit screen, use the following keys.The current input mode is displayed at the bottom right corner of thescreen. When nothing is displayed, it indicates that overwrite modeis selected (default).1) Insert mode

    Key : Insert

    Function : When a contact or coil is entered in this mode,thecontact or coil is inserted at the cursor position.

    Cancel : Press the Insert key in insert mode.

    2) Delete mode

    Key : Delete

    Function : When the line connect function is used in thismode,data at the cursor position is deleted.

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    57

    Cancel : Press the Delete key in delete mode.

    (d) Input Contact/CoilTo input a contact or coil, register the input element in the key input

    line, then press the Enter key.

    The registered element is added to the ladder diagram. The followingkeys are used for this operation:[Keys used for registration]1) Set

    Key : F1

    Function : Set at the input line.

    An addressed is input to the key input line by entering

    an address and pressing the F1 key.

    2) Set

    Key : Shift + F1

    Function : Set at the input line.

    An addressed is input to the key input line by entering

    an address and pressing the Shift and F1 keys.

    3) Set

    Key : F2

    Function : Set at the input line.

    An addressed is input to the key input line by entering

    an address and pressing the F2 key.

    4) Set

    Key : Shift + F2

    Function : Set at the input line.

    An addressed is input to the key input line by entering

    an address and pressing the Shift and F2 keys.

    5) Set (S)

    Key : F3

    Function : Set (S) at the input line.

    An addressed (S) is input to the key input line by entering

    an address and pressing the F3 key.

    6) Set (R)

    Key : Shift + F3

    Function : Set (R) at the input line.

    An addressed (R) is input to the key input line by entering

    an address and is pressing the Shift and F3 keys.

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    58

    7) Select Contact/Coil

    Key : Tab , Shift + Tab

    Function : Select Contact/Coil at the input line.

    Tab changes Contact/Coil in the input line to the

    forward direction. Shift + Tab changes reverse.

    The contacts and coils are displayed in the orderindicated below:

    ]

    ][ ][ /

    ][ [

    ]][ [(S) (R)

    8) Change address only

    Key : address+ Enter

    Function : Change address on ladder diagram without changinginput line.The contact or coil at the cursor position is modified.

    [Input Key]9) Input Contact/Coil

    Key : Enter

    Function : Write Contact/Coil which is set at input line to ladderdiagram.

    (e) Connect/delete line1) Input ___

    Key : F4

    Function : Input horizontal line. If in the delete mode, deleteContact/Coil or horizontal line.

    2) Entering |

    Key : F5

    Function : A vertical line is entered to the right of the cursorposition. In delete mode, a vertical line is deleted.

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    59

    (f) Inserting a net, line, or element1) Inserting a net

    Key : Ctrl + F1 [Netlns]

    Function : Inserts a single blank net after the net at the cursorposition.

    2) Inserting a line

    Key : Ctrl + F2 [Lilns]

    Function : Inserts a single blank line under the line to which thecursor is positioned.

    3) Inserting an element

    Key : Ctrl + F3 [Elmlns]

    Function : Inserts a single blank element at the cursor position.

    (g) Cut and paste function1) Specifying a range

    Key : Ctrl + F4 [Select]

    Function : Specifies the range to be cut or copied. The range isspecified by means of the following procedure:

    i) Position the cursor to the first net in the desiredrange.

    ii) Press the Ctrl and F4 keys. (SEL is displayed

    at the bottom right corner of the screen.)

    iii)Position the cursor to the last net in the desiredrange.Cutting and copying of a specified net range isexplained in 2) or 3) below.

    Cancel : Press the Ctrl and F4 keys in range mode.

    2) Cutting a net

    Key : Ctrl + F5 [Cut]

    Function : Cuts a net. When a net range is specified, thespecified net range is cut. The cut portion is saved inthe buffer for subsequent pasting.

    3) Copying a net

    Key : Ctrl + F6 [Copy]

    Function : Copies a net into the buffer for subsequent pasting.When a net range is specified, the specified range iscopied.

    4) Pasting a net

    Key : Ctrl + F7 [Paste]

    Function : Writes a net that was previously cut or copied andsaved into the buffer.

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    60

    (h) Cursor1) Move cursor Up/Down

    Key : ,

    Function : Up/Down cursor, When press at the top of the

    screen or press at the bottom of the screen, the

    screen scrolls.

    2) Move cursor to Left/Right

    Key : ,

    Function : Move cursor to the left/light. When pressing at

    the left end of the screen, the cursor moves to one line

    above and right end. When pressing at the right

    end of the screen, the cursor moves one line below andleft end.At the top.bottom of the screen, the screen scrolls.

    3) Move to the top of ladder

    Key : Home

    Function : Move cursor to the top of ladder.

    4) Move cursor to the bottom of ladder

    Key : End

    Function : Move cursor to the bottom of ladder.

    5) Previous page

    Key : PageUp

    Function : Go to the previous page.

    6) Next page

    Key : PageDown

    Function : Go to the next page.

    (i) Others1) Update

    Key : F7

    Function : Update the modification to the ladder diagram onPMC.

    NoteWhen the [UPDATE] function is used, the ladder programon the PMC is modified. Before executing this function, check whether modificationof the ladder program is permitted.

    www.

    cncc

    enter

    .com

  • B62884EN/01 3. OPERATION

    61

    2) Undo

    Key : Shift + F7

    Function : Restore ladder diagram just before the last update

    F7 .

    NoteApplying the [Undo] function causes the effects of editingsince the last update to be lost.

    (1) Outline of Signal Trigger FunctionThe ladder monitor display is stopped when the specified signalchanges. And the signal state of the ladder can be confirmed.

    (2) Operations(a) Selection of Signal Trigger Screen

    Please select Signal Trigger of Ladder Mode by Displayingsetting dialog (F10 key) of the Ladder Monitor screen.

    Display setting

    OK

    Cancel

    Symbol Address Relay Comment Symbol & Address Relay Comment & Address Relay Comment & Symbol

    Ladder Mode Ladder Monitor Online Editor Signal Trigger Debug Ladder

    Symbol & Comment Display

    Function Paramareter Display

    3.4.3.1.3 Signal trigger function

    www.

    cncc

    enter

    .com

  • 3. OPERATION B62884EN/01

    62

    F8Search

    F7Splist

    F9Symbol

    F10seting

    [LEVEL1] NET 0000100006

    X0000.0 X0000.1 X0000.2 X0000.3 X0000.4 X0000.5 X0000.6 Y0000.1

    G0500.3 R0900.0

    X0010.7 Y0065.7

    X0012.5 Y0014.2

    SUB 1END1

    SUB 2END2

    COMMENT

    TRIGGER * MODE:ON : X0000.0 : 0 : 65535/65535 * 19