305
R Ladder logic programming manual JW-300SP Version 1.2 Produced in June 2004 User's Manual Model name

Ladder logic programming manual JW-300SP User's Manualglobal.sharp/sms/en/pdf/plc/jw-300sp/m_300spe_2.pdf · 3-12 Multipoints monitoring 3-43 3-13 Setting/resetting (latched relay

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

  • R

    Ladder logic programming manual

    JW-300SP

    Version 1.2

    Produced in June 2004

    User's Manual

    Model name

  • About software version

    This manual describes the version 1.10 of JW-300SP.

    Thank you for purchasing the ladder logic programming software JW-300SP.

    Please read the instruction manual carefully in order to apply the software correctly by understanding its func-

    tion and operations.

    Please keep this user’s manual near you. It will certainly help you when you encounter problems.

    - Despite of our effort to create products with excellency, should you find any deficiency, please

    notify the dealer where you obtained the software or our customer service companies.

    - Users are not authorized to copy the whole or the part of this instruction manual and software

    without our consent.

    - Due to the amelioration of the product, please understand that the materials of this manual and

    software are subject to change without notification.

    - We are not held responsible for any damages created as the result of using this software , nor

    damages claimed by the third party as the result of using this software.

    Notes

    - When you plan to use SHARP programmable controllers (hereafter referred to as "PLCs"),you

    are requested to design each system so that even if a fault or malfunction occurs within the PLC,

    it will not lead to a serious accident in your system. You should incorporate back-up measures

    and fail-safe features in your system that will thoroughly protect your system from malfunctions

    if a fault or error occurs in the PLC.

    - SHARP PLCs are designed and manufactured with the idea that they will be used in general

    applications in ordinary industries. Therefore, they must not be used in specific applications that

    can affect the health or safety of the public, such as nuclear power plants and other power

    generating plants. Such applications require a special warranty of quality that SHARP explicitly

    does NOT offer for these PLCs. However, if a user will certify that he/she does not requires a

    special quality warranty on the PLC, and will limit the use of the PLC to non critical areas of these

    applications, SHARP will agree to such use.

    If you are planning to use SHARP PLCs for applications that may affect the lives of human

    beings and property, and you need particularly high reliability performance, such as in the fields

    of aviation, medicine, transportation, combustion and fuel processing equipment, passenger

    cars, amusement park rides, and safety equipment, please contact our sales division so that we

    can confirm the required specifications.

    Precautions

  • Ladder logic programming software JW-300SP

    ■ User's ManualChapter 1 Preface

    Chapter 2 Menu Operation

    Chapter 3 Creating Programs

    Chapter 4 Setting for Operation

    Chapter 5 Printing

    Chapter 6 Compatibility

    Chapter 7 Online Setting

    Chapter 8 Q&A

  • T-1

    Table of contents

    Chapter 1 ......................................................................................................... 1-1 to 131-1 Features 1-1

    1-2 Operating environments 1-2

    1-3 Compatible PLC models table 1-3

    1-4 Basic system organization 1-4

    Optional connection system organization 1-5

    (1) Satellite net connection 1-5

    (2) Remote I/O connection 1-6

    (3) Ethernet connection 1-7

    (4) FL-net connection 1-8

    (5) ME-NET connection 1-9

    (6) Expansion network connection 1-10

    1-5 Product organization 1-11

    1-6 Installation 1-12

    1-7 Extension 1-13

    Chapter 2 ......................................................................................................... 2-1 to 2042-1 File 2-1

    ■Create a new file 2-1 ■Open 2-4 ■Close 2-6 ■Save 2-7 ■Save as 2-8 ■Cross Import (50SP file import) 2-10 ■Cross Import (100SP file import) 2-12 ■Cross Import (ZM file import) 2-14 ■Cross Export (50SP file export) 2-16 ■Cross Export (100SP file export) 2-18 ■Cross Export (ZM file export) 2-20 ■Verify 2-22 ■Import(Block) 2-24 ■Import(Program) 2-27 ■Import(Symbol) 2-31 ■Export(Block) 2-33 ■Export(PC Card) 2-36 ■Page Setup 2-40 ■Print Preview 2-43 ■Print 2-45 ■Recently used projects 2-47 ■Exit 2-48

    2-2 Edit 2-49

    ■Undo 2-49 ■Redo 2-50 ■Cut 2-51 ■Copy 2-52

  • T-2

    ■Paste 2-55 ■Delete 2-58 ■Search through Project 2-59 ■Find 2-62 ■Find Next 2-65 ■Find Prev 2-66 ■Find Coil 2-67 ■Replace at once 2-68 ■Replace 2-70 ■Go To (First Network) 2-73 ■Go To (Next Free Address) 2-74 ■Go To (Nextwork Number) 2-75 ■Go To (Program Address) 2-77 ■Instruction (NO Contact) 2-78 ■Instruction (NC Contact) 2-81 ■Instruction (Coil) 2-84 ■Instruction (F45) 2-87 ■Instruction (F44) 2-89 ■Instruction (F43) 2-91 ■Instruction (MD) Maintenance display 2-93 ■Instruction (TMR) 2-96 ■Instruction (CNT) 2-99 ■Instruction (FUN) 2-102 ■Instruction (OR) 2-105 ■Instruction (OR+) 2-108 ■Instruction (Network) 2-111 ■Program Check 2-112 ■Read Only 2-113 ■Auto Allocation 2-114 ■Exchange NO and NC 2-119

    2-3 View 2-120

    ■Change Display 2-120 ■Local Symbols 2-121 ■Global Symbols 2-122 ■System Memory 2-123 ■Data Memory 2-124 ■Parameter Memory 2-125 ■I/O Table 2-126 ■Network Comment 2-128 ■Window(Project) 2-129 ■Window(Watch) 2-130 ■Window(Message) 2-131 ■Window(Cross Reference) 2-132 ■Keyboard Map 2-133 ■Status Bar 2-134 ■Data List 2-135 ■Data Information 2-136 ■Address Notation 2-137 ■Address Expression 2-138

  • T-3

    ■Zoom (Zoom in) 2-139 ■Zoom (Zoom out) 2-140

    2-4 Online 2-141

    ■Communication setting 2-141 ■PLC Status (Check) 2-143 ■PLC Status (Run) 2-144 ■PLC Status (Stop) 2-145 ■PLC Transfer (Download) 2-146 ■PLC Transfer (Upload) 2-147 ■PLC Transfer (Verify) 2-148 ■PLC Transfer (Memory Clear) 2-150 ■PLC Monitor (Start) 2-151 ■PLC Monitor (Stop) 2-152 ■PLC Monitor (Online Edit) 2-153 ■PLC Operation (I/O table auto registration) 2-154 ■PLC Operation (Secret function) 2-155 ■PLC Operation (PC Card) 2-156 ■PLC Operation (EEPROM) 2-157 ■PLC Information (Information) 2-158 ■PLC Information (Renewal History) 2-159 ■PLC Information (Timer) 2-160 ■PLC Information (Scan Time) 2-161 ■Error History 2-162 ■Block Status 2-163 ■Logging Data 2-164

    2-5 Block 2-166

    ■Change Model 2-166 ■Project Comment 2-167 ■Order (Block Order) 2-168 ■Order (Program Order) 2-169 ■New (Block) 2-170 ■New (Program) 2-171 ■Delete (Block) 2-172 ■Delete (Program) 2-173 ■Memory Setting 2-174 ■Parameter Settings (by Module name) 2-175 ■Parameter Settings (by Module type) 2-176

    2-6 Tool 2-178

    ■Sampling Trace 2-178 ■Customize 2-191 ■Shortcut Keys 2-193 ■Option 2-194

    2-7 Widnow 2-196

    ■Split 2-196 ■Close 2-197 ■Close All 2-198 ■Cascade 2-199

  • T-4

    ■Tile Horizontally 2-200 ■Tile Vertically 2-201

    2-8 Help 2-202

    ■JW-300SP Help 2-202 ■Programming Manual 2-203 ■About JW-300SP 2-204  Chapter 3 Creating Programs ....................................................................... 3-1 to 51

    3-1 Programming with a keyboard 3-1

    3-2 Programming with a mouse 3-16

    3-3 Checking programs 3-31

    3-4 Editing Network Comments 3-32

    3-5 Editing Sub-comments 3-33

    3-6 Copying and Pasting 3-34

    3-7 Sending Data 3-35

    3-8 Editing Library 3-36

    3-9 Inserting NOP 3-40

    3-10 Refreshing 3-41

    3-11 Instruction (Instruction word programming) 3-42

    3-12 Multipoints monitoring 3-43

    3-13 Setting/resetting (latched relay or general-purpose relay) 3-46

    3-14 Forced process, forced release, forced all release 3-47

    3-15 Break monitoring 3-48

    3-16 Function keys 3-51

    Chapter 4 Setting for Operation.................................................................... 4-1 to 114-1 Using Property Sheet 4-1

    4-2 Direct Input 4-11

    Chapter 5 Printing .......................................................................................... 5-1 to 55-1 Page Setup 5-1

    ■Ladder Print Setup 5-1 ■Margin 5-2 ■Ptinted Paper 5-3 ■Header 5-4 ■Footer 5-5  Chapter 6 Compatibility ................................................................................. 6-1 to 7

    6-1 JW-50SP File 6-1

    6-2 JW-100SP File 6-3

    6-3 JW-50SP operation mode 6-5

    Chapter 7 Online Setting ............................................................................... 7-1 to 37-1 USB Connection 7-1

    7-2 Serial Connection 7-3

    Chapter 8 Q&A................................................................................................ 8-1 to 38-1 Inquiries 8-1

    8-2 Upgrading 8-2

    8-3 Miscommunciation with PLC in USB mode 8-3

  • Chapter 1 Preface

    1-1 Features

    (1) You can operate this software, using a keyboard When you have some difficulty in using a mouse, for example, you can input instructions or can switch screens, using only the keyboard. The key assignment is the same as one for JW-50SP/100SP, however, you can customize it. Programming with a keyboard (P3-1)

    (2) Detecting a network You can always check the situations of contacts or coils selected in the ladder diagram in the cross-reference window.You can easily jump to the network you want to edit.This function saves your time for design or debugging.

    (3) Selecting a view Various optional function You can select a window view according to your purpose.

    (4) Improving working efficiency You can operate or manage the programs before and after editing, at the same time, in one project file.

    (5) Dividing your task You can divide a programming task into several blocks and, furthermore,can divide a block into several subprograms to design or manage. The divided program is easy to design, reuse or debug.

    (6) Using the line input system You can efficiently create a network with the line input system of JW-300SP. This system prevents input errors by rejecting a disconnected network or a syntactically prohibited network. You can also use the cell input system of JW-50SP/100SP to change a network, for example, by adding OR lines or to insert or delete a contact. Note : Cell input system The system in which you input vertical lines (OR lines) and horizontal line (AND line) into a cell. While you can input them freely, you may happen to input a disconnected network or a syntactically prohibited network. As a result, your operation time may be increased compared with a case using the line input system. Line input system (P3-2)

    This product is ladder logic programming software for programmable controllers (PLC)working on Windows. You can input, edit and monitor programs or data for PLC.

    1-1

  • This software can be used by any personal computers that satisfy the following operating environments

    Items Specifications Operating system Microsoft Windows 98 / 2000 / XP

    Personal computer Personal computer that operates above operating systems

    CPU Pentium/Celeron series or its compatible processor,with more than 450MHz clock frequency

    Memory 128 M-bytes minimum (recommend 256M- bytes or more) Hard disk 100 M- bytes or more free space

    Monitor SVGA or more (Resolution:800 x 600 pixels, 256-color or more) Recommended color monitor display: High color (16 bits) or better

    CD-ROM drive 1 drive

    Mouse A mouse or pointing device compatible with the Microsoft. Printer A printer that works on Windows 2000/XP PLC connection interface

    JW300 series RS232C or USB (Rev. 1.1 or Rev. 2.0) port Other PLCs RS232C port

    1-2 Operating environments

    1-2

    Chapter 1 Preface

    - Windows is a registered trademark of Microsoft Corporation,USA. - Microsoft is a registered trademark of Microsoft Corporation,USA. - All other company or product names in this manual are trademarks or registered trademarks of their respective holders.

  • - You can connect your programmable controller to other optional modules than above. - For the connection between personal computer and programmable controller, refer to Chapter 7.

    1-3 Compatible PLC models table

    1-3

    Chapter 1 Preface

    The following PLC models are compatible to this software.

    PLC series Control module

    JW10 JW-1324K JW-1342K JW-1424K JW-1442K JW-1624K JW-1642K

    JW20/20H JW-21CU(H) JW-22CU(H)

    JW30H

    JW-31CUH JW-31CUH1 JW-32CUH JW-32CUH1 JW-33CUH JW-33CUH1 JW-33CUH2 JW-33CUH3 JW-32CUM1 JW-32CUM1(D) JW-32CUM2

    JW50/70/100 JW-50CU JW-70CU JW-100CU JW50H/70H/100H JW-50CUH JW-70CUH JW-100CUH

    JW300H

    JW-311CU JW-312CU JW-321CU JW-322CU JW-331CU JW-332CU JW-341CU JW-342CU JW-352CU JW-362CU

    J-board Z-311J Z-312J Z313J Z-511J Z-512J

    VME built-in controller JW-32CV1 JW-32CV2 JW-32CV3

  • 1-4 Basic system organization

    Chapter 1 Preface

    1-4

    Remote I/O slave module [ZW-20CM2] [JW-20MN]

    Control module [JW50/70/100] [JW50H/70H/100H]

    Network module [ZW-20CM] [ZW-30CM] [JW-20CM]

    ME-NET module[ZW-20CM2] [JW-20MN]

    I/O bus expansion adapter [JW-2EA]

    Serial interfacemodule [JW-10SU]

    Ethernet module[JW-50CM] [JW-51CM]

    FL-net module [JW-50FL] [JW-52FL]

    Control module [JW-1324K/1342K] [JW-1424K/1442K] [JW-1624K/1642K]

    Control module [JW-31CUH/H1] [JW-32CUH/H1/M1] [JW-33CUH/H1/H2/H3]

    Network module[JW-22CM] ME-NET module[JW-21MN]

    CPU board [Z-311J/312J/313J][Z-511J/512J] Satellite net board [Z-335J] ME-NET board [Z-334J] Ethernet board [Z-339J] FL-net board [Z-336J][Z-336J2]

    VME built-in controller [JW-32CV1][JW-32CV2][JW-32CV3]

    Control module [JW-311CU] [JW-312CU] [JW-321CU] [JW-322CU] [JW-331CU] [JW-332CU] [JW-341CU] [JW-342CU] [JW-352CU] [JW-362CU]

    Network module [JW-22CM] ME-NET module [JW-21MN] Ethernet module [JW-255CM] [JW-25TCM] FL-net module [JW-20FL5] [JW-20FLT] [JW-22FL5] [JW-22FLT] I/O bus expansion adapter [JW-32EA]

    I/O bus expansionadapter [JW-32EA]

    [JW-100SA]Communication adapter

    [USB straight]

    USB port

    JW-300SP

    Personal computer

    RS232C

    [JW-12KC] [ZW-3KC] [JW-22KC][JW-24KC]

    Control module[JW-21CU] [JW-22CU]

    Ethernet module[JW-255CM] [JW-25TCM] FL-net module [JW-20FL5] [JW-22FL5] [JW-20FLT] [JW-22FLT]

  • (1) Satellite net connection

    Optional connection system organization

    1-5

    Chapter 1 Preface

    JW50H/70H/100H JW-20CM

    Satellite net (data link function) maximum 64 stations, maximum length 1km

    JW20H/30H JW-22CM

    JW300 JW-22CM

    Remote programming/monitor

    JW-300SP

    Personal computer

    Communication adapter[JW-100SA]

    [ZW-3KC]

    [JW-22KC] [JW-24KC]

    When connected with JW-22CM, use for JW-22KC/24KC

    #00 #01 #02

  • (2) Remote I/O connection

    1-6

    Chapter 1 Preface

    JW-20RS JW-20RSJW50H/70H/100H JW-20CM

    [ZW-3KC]Communication adapter[JW-100SA]

    Remote programming/monitor

    JW-300SP

    Personal computer

    #00#01#02

    Remote I/O : Maximum 63 stations, maximum length : 1km

  • (3) Ethernet connection

    1-7

    Chapter 1 Preface

    Personal computerJW300 [JW-255CM][JW-25TCM]

    JW50H/70H/100H[JW-50CM] [JW-51CM]

    Maximum 100 stations

    Transceiver cable(maximum 50m)

    10BASE5 coaxial cable(yellow cable)

    TransceiverTerminator

    Coaxial cable segment (maximum 500m)

    JW-300SP

    Remote programming/monitor

  • (4) FL-net connection

    1-8

    Chapter 1 Preface

    JW50H/70H/100H [JW-50FL] [JW-52FL] JW300

    [JW-20FLT] [JW-20FL5] [JW-22FLT] [JW-22FL5]

    Transceiver cable (maximum 50m)

    FL-net

    Maximum 100 nodes per segment

    Terminator Transceiver10BASE5 coaxial cable (yellow cable)

    Coaxial cable segment (maximum 500m)

    Communication adapter [JW-100SA]

    Personal computer

    JW-300SP

    Remote programming/monitor

    [ZW-3KC]

    [JW-22KC] [JW-24KC]

    When connected with JW-20FL5/T and JW-22FL5/T, use for JW-22KC/24KC

    JW20H/30H [JW-20FLT] [JW-20FL5] [JW-22FLT] [JW-22FL5]

  • (5) ME-NET connection

    1-9

    Chapter 1 Preface

    JW50H/70H/100H JW-20MN JW300

    JW-21MN JW20H/30H JW-21MN

    ME-NET: maximum 64 stations, maximum length 1km

    When connected with JW-21MN, use for JW-22KC/24KC

    #02#01#00

    JW-300SP

    Personal computer

    Remote programming/monitor

    Communication adapter[JW-100SA]

    [ZW-3KC]

    [JW-22KC][JW-24KC]

  • (6) Expansion network connection

    1-10

    Chapter 1 Preface

    JW50H/70H/100HJW-20CMJW300

    JW-22CMJW20H/30H JW-22CM

    JW50H/70H/100HJW-20CM

    JW20H/30H JW-22CM

    Satellite net (data link function) maximum 64 stations, maximum length 1km

    Remote programming/monitor (expansion)

    JW-300SP

    Personal computer

    Communication adapter[JW-100SA][ZW-3KC]

    [JW-22KC][JW-24KC]

    #01#00 #00 #02

    #01 #02

    Satellite net (data link function) maximum 64 stations, maximum length 1km

  • CD-ROM------------------------------------------One Instruction manual -------------------------------One User registration card ----------------------------One User list registration paper ----------------------One

    JW-300SP

    1-5 Product organization

    1-11

    Chapter 1 Preface

  • Install JW-300SP in the procedure below: 1. Start Windows, and insert the JW-300SP CD-ROM into the CD-ROM drive of your PC. 2. Double-click the [My Computer] icon on the desktop. 3. Double-click the [CD-ROM] drive icon. 4. Double-click the [Setup.exe] icon. 5. The installation program starts, and the message below is displayed.

    1-6 Installation

    1-12

    Chapter 1 Preface

    6. Follow the instructions on the screen to complete the installation.

  • 1-7 Extension

    Using this software, you can open, create or open several files, at a time, about PLC. programs and different data types. The table below shows a file list concerning JW-300SP.

    Chapter 1 Preface

    Extension Contents Details

    lpg Program file

    syg Symbol / comment file Global symbol, commentssyt System memory file System memoryspm Parameter file Optional/special module parameterspn Parameter file Parameter settings informationsdm Data memory file Data memorystt I/O table file I/O tablestn I/O table file Module configuration

    Ladder/instruction programming, block display colors, fonts, communication settings, printing settings, multi points monitor settings, project comments, local symbol, comments

    1-13

  • 1. From the menu bar, select [File] - [New]. If you want to operate JW-300SP with a keyboard, press the [Ctrl] + [N] keys, or press the [Alt] + [F] keys and select [New] with the[upper arrow/lower arrow]and [Enter] keys. You can also customize shortcut keys by selecting [Tool] - [Shortcut Keys] - [Keyboard].

    Create a new file This command creates a new project file. A project file contains ladder/instruction programming, block information, display color, font, communicationsettings, printing settings multi points monitor settings, project comments, and local symbols. To create a new program, execute this command.

    Chapter 2 Menu Operation2-1 File

    2-1

    2. The [New Project] dialog box is displayed. Enter the project name in the [Name] box. 3. To change the location of the project file,press the button on the right of the project name box and select thefolder. The hard disk is recommendable as the location where you create the project. A floppy disk may not be able to save the project file because of the sizable data of some PLC models or programs. 4. You can enter comment within 40 characters. Comments you have entered are saved in the program file (*.lpg). To review your comments, select [View] - [Project Information] from the menu bar.

  • 2-2

    Chapter 2 Menu Operation

    5. Set the input system of contacts, coils, or registers a ladder program is using. Usually, use the address-based system by selecting [Address] for the [Base Mode]. The address-based system enters the address into contacts, coils, or registers of the ladder program when creating a ladder program. The symbol-based system is suitable for a programming allotment work. In a programming allotment work, the address is automatically allocated after you enter symbols such as(LS01) into contacts, coils, or registers of a ladder program when creating a program.You can enter symbols with less than 24 characters. If you want to operate JW-300SP with a keyboard you can move from an item to another item to enter by pressing the [Tab] key.

    6. Enter the [New] dialog box, and click the [OK] button. The [Select Module] dialog box is displayed. Select your PLC series, select your PLC model, and click the [Next] button. To go back to the [New] dialog box, click the [Back] button. To close the [Select Module] dialog box, click the [Cancel] button.

  • 8. The [Project Information] dialog box is displayed. Click the [OK] button if it is correct.

    Chapter 2 Menu Operation

    2-3

    7. The [Memory Module/Memory Settings] dialog box is displayed when you are using some PLC series or PLC models. Set the mounted memory module.

  • 2-4

    Chapter 2 Menu Operation

    Open This command opens an existing JW300-related project file. A project file contains ladder/instruction programming, block information, display color, font, communication settings, printing settings, multi points monitor settings, project comments, and local symbolsFrom the menu bar, select [File] - [Open]. If you want to operate JW-300SP with a keyboard, press the [Ctrl] + [O] keys, or press the [Alt] + [F] keys and select [Open] with the [Upper arrow/Lower arrow] and [Enter] keys. You can also customize shortcut keys by selecting [Tool] - [Shortcut Keys] - [Keyboard].

    The [Open] dialog box is displayed. Click the [Open] button after selecting the location of the file and choosing the file you want to open. To close the [Open] dialog box, click the [Cancel] button. Information about the project file is displayed on the right of the display.You can select [Files of type] and open the file. When you operate JW-300SP with a keyboard, you can move from an item to another item to enter by pressing the [Tab] key. If you select [All Files] from the [Files of type] drop down list, files with extensions not related to JW-300SP are also displayed. However, you cannot open files in no relation to JW300. To read a file in no relation to JW-300SP, execute [Other files import]. You can use the tool bar on the right side of the [Look in] box as you are using Explorer.

  • 2-5

    Go to last folder visited

    Changing the view

    Creating a new folder

    Changing the view

    Chapter 2 Menu Operation

  • Close This command closes the currently opening file. You cannot exit JW-300SP. From the menu bar, select [File] - [Close]. If you want to operate JW-300SP with a keyboard, press the [Ctrl] + [N] keys, or press the [Alt] + [F] keys and select [Close] with the [Upper arrow/Lower arrow] and [Enter] keys. You can also customize shortcut keys by selecting [Tool] - [Shortcut Keys] - [Keyboard].

    If there is no difference between the currently opened project file and the previously opened one, the file closes immediately. If there is any difference between the currently opened project file and the previously opened one, the message below is displayed.

    To overwrite the project file, click the [Yes] button. To close the project file without saving, click the [No] button. To go back to the screen immediately before you select [Close] without saving the project file, click the [Cancel] button. The key operation for [Close] with the [F12] key is only to close the program screen. To display it again, select the appropriate program on the screen of the project tree. (This operation differs from the above-mentioned operation.)

    Chapter 2 Menu Operation

    2-6

  • Save This command saves the currently opened project file. From the menu bar, select [File]-[SaveIf you want to operate JW-300SP with a keyboard, press the [Ctrl] + [S] keys, or press the [Alt] + [F] keys and select [Save] with the [Upper arrow/Lower arrow] and [Enter] keys. You can also customize shortcut keys by selecting [Tool] - [Shortcut Keys] - [Keyboard].

    Chapter 2 Menu Operation

    2-7

  • Save as... This command names and saves the all currently opened files. From the menu bar, select [File] - [Save as]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

    1. The dialog [Save as] box is displayed. The file name of a new project or a project you have read by selecting [File] - [Open] is shown in the [Name] box. Enter an appropriate file name in the [Name] box. This appropriate name are not only the name of the project file but also the name of the automatically created folder when the file is saved.You can enter a name with up to 20 characters. 2. To change the path, click the button on the right of the [Name] box and select a directory. The hard disk is recommendable as the location where you create the project. A floppy disk may not be able to save the project file because of the sizable data of some PLC models or programs. 3. You can enter a comment with up to 40 characters. Comments you have entered are saved in the program file (*.lpg). To review your comments, open an *.lpg file or select [View]-[Project Information]from the menu bar. 4. To go back to the screen immediately before you select [Save as] without saving the project file, click the [Cancel] button. To save the file, click the [OK] button. 5. However, the [Project already exists, overwrite it?] dialog box is displayed if you do not enter an appropriatefile name in the step 1 above and click the [OK] button without changing the file name.

    Chapter 2 Menu Operation

    2-8

  • 2-9

    6. To overwrite the file, click the [Yes] button. To go back to the [Save as] dialog box without saving the file,  click the [No] button. JW-300SP automatically selects the way of saving or creating files according to the PLC models or saved data. When the PLC is a JW300 series, there are eight kinds of files as you can see the following list. Seven kinds of files (lpg syg syt spm sdm stt stn) excepting [spn] are saved.[spn] is a file for internal processing of JW-300SP (and a parameter file storing parameter setting information). However, an [stn module configuration file] is not created when the module configuration is not set or read. These files are not created when the PLC is a model  without parameter or I/O table file such as JW10 series. Therefore, you can save all files you want to save in the appropriate directory with the [Save as] command.

    Chapter 2 Menu Operation

    Extension Contents Details

    lpg Program file

    Ladder/instruction programming,block information, display colors, fonts, communication settings, printingsettings, multipoints monitor settings, project comments,local symbol, comments

    syg Symbol comment file Global symbol, commentssyt System memory file System memoryspm Parameter file Optional, special module parameterspn Parameter file Parameter settings informationsdm Data memory file Data memorystt I/O table file I/O tablestn I/O table file Module configuration

    The dialog box below is an example of the saved file.

  • 2-10

    Chapter 2 Menu Operation

    Cross Import (50SP file import) This command opens an existing JW-50SP file. From the menu bar, select [File] - [Cross Import...] - [50SP files]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

  • Notice JW-300SP V1.00 does not correspond to ZW models.You cannot do the above operation if the PLC model of the programs created with JW-50SP is a ZW model.

    The [Import 50SP File] dialog box is displayed. 1. Specify the location of the file. 2. Select the file you want to open. 3. Click the [OK] button. To close the dialog box [Import 50SP File], click the [Cancel] button. If you select [All Files] from the [Files of type] drop down list, files with extensions not related to JW-50SP are also displayed. However, you cannot open files not related to JW-50SP on this screen. You can also select the files of type and open the file.You can also operate with [Tab] key to move from an item to another item. You can use the tool bar on the right side of the [Look in] box as you are using Explorer.

    2-11

    Chapter 2 Menu Operation

  • 2-12

    Chapter 2 Menu Operation

    Cross Import (100SP file import) This command opens an existing JW-100SP file. From the menu bar, select [File] - [Cross Import...] - [100SP files]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

  • The [Import 100SP File] dialog box is displayed. 1. Specify the location of the file. 2. Select the file you want to open. 3. Click [OK]. To close the [Import 100SP File] dialog box, click the [Cancel] button. If you select [All Files] from the [Files of type] drop down list, files with extensions not related to JW-300SPare also displayed. However, you cannot open files not related to JW-100SP on this screen. You can also select the files of type and open the file. You can also operate with [Tab] key to move from an item to another item. You can use the tool bar on the right side of the [Look in] box as you are using Explorer.

    2-13

    Chapter 2 Menu Operation

    Notice JW-300SP V1.00 does not correspond to ZW models. You cannot do the above operation if the PLC model of the programs created with JW-100SPis a ZW model.

  • 2-14

    Chapter 2 Menu Operation

    Cross Import (ZM file import) This command opens an existing ZM format symbol comment file. (extension: mg) A ZM style file is a text style data to export to a Sharp LCD control terminal (ZM series) for its message. The ZM style file can be converted from a symbol comment file you have created with JW-100SP or JW-300SP. Since ZM series cannot import mg file directly, open and copy & paste the file with Memo Pad. In JW-300SP, execute this command to use a ZM file containing only symbol comment files on the currently opened screen. From the menu bar, select [File] - [Cross Import] - [ZM Files]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, andcustomize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] after pressing the [Alt] + [F] keys.

  • Notice You cannot do the above mentioned operation immediately after you start JW-300SP. (The menu is grayed out, and you cannot select [Import ZM File].) You can operate after creating a new file or opening a file. The mg file configuration is as follows: I/O address Tab symbol Tab comment (Example)

    The [Import ZM File] dialog box is displayed. Specify the location of the file. Select the file you want to open and click the [OK] button. To close the dialog [Import ZM File] box, click the [Cancel] button. You can move from an item to another item to enter by pressing the [Tab] key. You can use the tool bar on the right side of the [Look in] box as you are using Explorer.

    2-15

    Chapter 2 Menu Operation

  • 2-16

    Chapter 2 Menu Operation

    Cross Export (50SP file export) This command names and saves an existing file in JW-50SP format. Execute this command to use JW-300SP and JW-50SP at the same time. However, information not contained in the file for JW-50SP, e.g. the functions specific to JW-300SP (such ascircuit comment or sub comment) or the PLC models JW-50SP does not support. From the menu bar, select [File] - [Cross Export] - [50SP Files]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

  • 2-17

    1. The [Export 50SP Type File] dialog box is displayed. Click the [Browse] button and select the directory to save. 2. Enter the name in the [File Name] box. 3. Check the box for the type of exporting file. 4. To go back to the screen before selecting [50SP Files] without saving the file, click the [Cancel] button. To save the file as a JW-50SP format file, click the [OK] button. Notice Use the latest version of JW-50SP. (V5.8A or V5.9 as of July 2003) The above operation is valid only when you are using JW-300SP in the limits of functions of JW-50SP. A symbol comment file is saved with extension [sye] (the format of JW-50SP Ver. 5 or higher).

    Chapter 2 Menu Operation

  • 2-18

    Chapter 2 Menu Operation

    Cross Export (100SP file export) This command names and saves an existing file in JW-100SP format. Execute this command to use JW-300SP and JW-100SP at the same time. However, information not contained in the file for JW-100SP, e.g. the functions specific to JW-300SP (such as circuit comment or sub comment) or the PLC models JW-100SP does not support. From the menu bar, select [File] - [Cross Export] - [100SP Files]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

  • 1. The [Export 100SP Type File] dialog box is displayed. Click the [Browse] button and select the directory to save. 2. Enter the name in the [File Name] box. 3. Check the box for the type of exporting file. 4. To go back to the screen before selecting [100SP Files] without saving the file, click the [Cancel] button. To save the file as a JW-50SP format file, click the [OK] button. Notice Use the latest version of JW-100SP. (V5.23 as of July 2003) The above operation is valid only when you are using JW-300SP in the limits of functions of JW-100SP. The above operation does not create ladder display information (lad/la2), instruction display information (ist/is2), line comments (lcm), multi points monitor information (mon) or sampling trace files (smp).

    2-19

    Chapter 2 Menu Operation

  • 2-20

    Chapter 2 Menu Operation

    Cross Export (ZM file export) This command saves an existing symbol comment file as a symbol comment file in a ZM format (extension: mg). A ZM style file is a text style data to export to a Sharp LCD control terminal (ZM series) for its message. The ZM style file can be converted from a symbol comment file you have created with JW-100SP or JW-300SP. Since ZM series cannot import mg file directly, open and copy & paste the file with Memo Pad. In JW-300SP, execute this command to use a ZM file containing only symbol comment files on the currently opened screen. From the menu bar, select [File] - [Cross Export] - [ZM Files]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] after pressing the [Alt] + [F] keys.

  • Notice The mg file configuration is as follows: I/O address Tab symbol Tab comment (Example)

    1. The [Export Zm Type File] dialog box is displayed. Click [Browse] and select the directory to save in. 2. Enter the name in the [File Name] box. 3. Check the box for the type of exporting file. 4. To go back to the screen before selecting [ZM Files] without saving the file, click the [Cancel] button. To save as the ZM format file, click the [OK] button.

    2-21

    Chapter 2 Menu Operation

  • 2-22

    Verify This command verifies whether the contents of the current file are the same with those of the file to be saved. From the menu bar, select [File] - [Verify]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keyson the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

    Chapter 2 Menu Operation

  • 2-23

    The [Verify] dialog box is displayed. Select the type of files you want to compare. Click the button on the right side of the [File] box. The [Select a file to compare] dialog box is displayed. Click the [Open] button after selecting a file to compare.

    To start comparing, click the [OK] button in the [Verify] dialog box. The result is displayed in the message window. To close the [Verify] dialog box, click the [Cancel] button.

    Chapter 2 Menu Operation

  • Chapter 2 Menu Operation

    Import (Block) This command imports additional blocks to the current file. In JW300 series, you can divide one program into some blocks to run. When using JW-300SP, you can furtheremore divide one block into some programs. This divided program is called a structured program. A block consists of some structured programs. Conventionally, the following steps were necessary to change a program: Back up the existing program => Change the program => Transfer (Write) the program to the PLC However, this command reads the changed program only while keeping the program before change as it is. In addition, this command selects "online" or "offline" for the program (before/after change) without sending the data to the PLC. Divided addresses in the block are in serial order. 1. Before importing blocks, here is an example to open a project file, [255CM]. The figure below is the project tree immediately after opening the project file [255CM], in which the PLC model is JW-362CU. To expand the details of the tree, click the + button. In this structure, there is a program, [Program_255CM], under the block [Main block_255CM]. To change names of the block and program, click the right mouse button and open the shortcut menu.

    =>

    2-24

  • 2.Import the block. From the menu bar, select [File] - [Import] - [Block]. If you want to operate JW-300SP with a keyboard,select [Tool] - [Shortcut keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Apper arrow / Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

    3. The [Import] dialog box is displayed. Select the folder, select the project file you want to import and click the [Open] button.

    2-25

    Chapter 2 Menu Operation

  • ==> 5. The figure below is the project tree immediately after importing a block, [22HC], under an existing block, [Main block_255CM].To expand the details of the tree, click the + button.To change names of the block and project, click the right mouse button and open the shortcut menu.

    4. The [Select a block] dialog box is displayed. After selecting the block, click the [OK] button.In the [Position] dialog box, select location of the block where you want to import. The block with the upper position is processed earlier. In this example, to insert under the existing [Main block_255CM], select [downward], select [Main block_255CM] and click the [OK] button.

    2-26

    Chapter 2 Menu Operation

  • Chapter 2 Menu Operation

    Import (Program) This command imports additional programs to the current file. In JW300 series, you can divide one program into some blocks to run. When using JW-300SP, you can furtheremore divide one block into some programs. This divided program is called a structured program. A block consists of some structured programs. Conventionally, the following steps were necessary to change a program: Back up the existing program => Change the program => Transfer (Write) the program to the PLC However, this command reads the changed program only while keeping the program before change as it is. In addition, this command selects "online" or "offline" for the program (before/after change) without sending the data to the PLC. Divided addresses in the block are in serial order. 1. Before importing programs, here is an example to open a project file, [255CM]. The figure below is the project tree immediately after opening the project file [255CM], in which the PLC model is JW-362CU and importing a block, [22HC], with the operation mentioned in the previous section. To expand the details of the tree, click the + button. There are two blocks in the tree. In this structure, one block is [Main block_255CM] and its program is [Program_255CM]; the other block is [22HC] and its program is [22HC]. To change names of the block and program, click the right mouse button and open the shortcut menu. The subsection below explains the operation to import the program [21HC], into the block [22HC].

    2-27

  • 3. The [Import] dialog box is displayed. Select the folder, select the project file you want to import and click the [Open] button.

    2. Import the program. From the menu bar, select [File] - [Import] - [Program]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

    2-28

    Chapter 2 Menu Operation

  • 4. The [Select a block] dialog box is displayed. After selecting the program [21HC], click the [OK] button. In the [Position] dialog box, select location of the block where you want to import. The block with the upper position is processed earlier. In this example, to insert under the block [22HC], select [22HC] in the [Select a block] box, select [downward], select [22HC] and click the [OK] button.

    =>

    2-29

    Chapter 2 Menu Operation

  • 2-30

    5. The figure below is the project tree immediately after importing a program, [21HC], under the program [22HC] of the block [22HC]. To expand the details of the tree, click the + button. To change names of the block and project, click the right mouse button and open the shortcut menu.

    Notice: To display the ladder diagram of the program [21HC], click [21HC] in the project tree. When you click a block or a program in the project tree, its ladder diagram are displayed in the right frame.

    Chapter 2 Menu Operation

  • 2-31

    Chapter 2 Menu Operation

    Import (Symbol) This command replaces only symbol comments in the selected program among currently opened project files. You can replace only the symbol / comment files while keeping the program before change as it is. 1. Before importing symbols, here is an example to open a project file, [255CM]. The figure below is the project tree immediately after opening the project file [255CM], in which the PLC model is JW-362CU. To expand the details of the tree, click the + button. There are two blocks in the tree. In this structure, there is a program, [Program_255CM], under the block [Main block_255CM]. To change names of the block and program, click the right mouse button and open the shortcut menu. The subsection below explains the operation to replace the symbol comment file of the program [Program_255CM] with a symbol comment file, [Change 255CM].

    2. Click [Program_255CM] in the project tree. From the menu bar, select [File] - [Import] - [Symbol]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

  • 4.The [Do you want to import symbol?] dialog box is displayed. Click the [OK] button. To cancel importing symbol, click the [X] button.

    3. The [Import] dialog box is displayed. Select the folder, select the symbol / comment file you want to import and click the [Open] button.

    2-32

    Chapter 2 Menu Operation

  • Chapter 2 Menu Operation

    Export (Block) This command saves a specified block in the current file. In JW300 series, you can divide one program into some blocks to run. When using JW-300SP, you can furtheremore divide one block into some programs. This divided program is called a structured program A block consists of some structured programs. Conventionally, it was necessary to save all the files for backup after changing the program. In JW300 series, you can name and save only blocks that have been changed in the project file. This function is called Export (block). 1. Before exporting a block, here is an example to open a project file, [255CM]. The figure below is the project tree immediately after opening the project file [255CM], in which the PLC model is JW-362CU. To expand the details of the tree, click the + button. In this structure, one block is [Main block_255CM] and its program is [Program_255CM]; the other block is [22HC] and its programs are [22HC] and [21HC]. The subsection below explains the operation to name and save (Export - block) only the block [22HC] after changing the contents of the programs [22HC] and [21HC] in the block [22HC]. To change names of the block and program, click the right mouse button and open the shortcut menu.

    2-33

  • 3. The [Export] dialog box is displayed. Select a block to export and click the [Export] button.

    2-34

    Chapter 2 Menu Operation

    2. Export a block. From the menu bar, select [File] - [Export] - [Block]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

  • 2-35

    4. The dialog box [Save as] is displayed. Select the folder, enter the file name with up to 20 characters, and click the [Save] button. The hard disk is recommendable as the location where you create the project. A floppy disk may not be able to save the project file because of the sizable data of some PLC models or programs. To go back to the [Save as] dialog screen without saving the file, click the [No] button.

    5. If the file name you have entered in the above step already exists, the dialog box below is displayed

    6. To overwrite the file, click the [Yes] button. To go back to the screen [Save as] without saving the file, click the [No] button.

    Chapter 2 Menu Operation

  • This command names and saves the currently opened project file in the PC Card format. Control modules with PC Card function are as follows. JW-312CU JW-322CU JW-332CU JW-342CU JW-352CU JW-362CU Extensions of the files you can save in PC Card format are as follows. Program - - - - - - - - - -ppg System - - - - - - - - - - -psm Parameter - - - - - - - - -ppa Data - - - - - - - - - - - - pdt File - - - - - - - - - - - - -pfl Symbol comment - - - -psb 1. From the menu bar, select [File] - [Export] - [PC Card]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

    Chapter 2 Menu Operation

    Export (PC Card)

    2-36

  • 2-37

    2. The [PC Card Save] dialog box is displayed.

    3. The [Browse for Folder] dialog box is displayed. Select the folder where you want to save and click the [OK] button.

    Chapter 2 Menu Operation

  • 2-38

    4. In the [Files of type] box, you can select which types of file among all files in the folders you have selected in the previous operation. In the example below, [Program (*.ppg)] is selected, but no file names are listed because there are no files with the ppg extension.

    5. Check the box for the file format you want to save as. Enter the name in the [File] box and click the [Save] button. The file is transferred from the PC card to the PLC when you turn on the PLC if you check the box for [When PLC power on, save files to PLC Automatically. ( PC Card =>PLC )]. If you have enabled this automatic transferring system, never forget to save the program on the PC card after changing a program. Otherwise, the program turns back to be the status before changing. Do not check the box usually.

    Chapter 2 Menu Operation

  • 2-39

    6. Click the [Save] button. The [Confirm] dialog box is displayed. The operation history for the [Undo] or [Redo] function is erased even when you are editing the program. Not to save in the PC card format, click the [No] button. The operation history for the [Undo] or [Redo] function is not erased and you can keep editing the program.

    Chapter 2 Menu Operation

  • Chapter 2 Menu Operation

    Page Setup Before printing, you can set printing rate, partial printing, cross reference, margin, printed paper, header and footer. 1. From the menu bar, select [File] - [Page Setup]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Short Cut] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

    2. The [Page Setup] dialog box is displayed. Click the [Ladder Print] tab. You can select the printing rate with the [Zoom to] pull-down menu. To print some parts of the ladder, enter the network numbers in the [Start Network] and [End Network] boxes. To print the ladder with the cross reference, check the box for [Cross Reference].

    2-40

  • 3. Click the [Margins] tab, and set margin by the centimeter.

    4. Click the [Printer] tab, and select your printer model, set the paper size and the orientation.

    Chapter 2 Menu Operation

    2-41

  • 5. Click the [Header] tab. Select the position for a header and enter your comment.

    6. Click the [Insert] button, and you can select a standard header.

    7. Click the [Footer] tab. Select the position for a footer and enter your comment.

    2-42

    Chapter 2 Menu Operation

  • Chapter 2 Menu Operation

    Print Preview You can look at the printed image before printing. This command confirms the printing rate, partial printing, cross reference, margins, printed paper,headers and footers. 1. From the menu bar, select [File] - [Print Preview]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] - [Keyboard] from the menu bar and set the key operation. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

    2-43

  • Chapter 2 Menu Operation

    Example of print preview

    2. You can use the following functions with menu buttons: [Print], [Next Page], [Prev Page], [Two Pages], [Zoom In], [Zoom Out] and so on. To close the preview, click the [Close] button.

    2-44

  • 2-45

    Chapter 2 Menu Operation

    Print This command prints the items below: ladder programming, instruction programming, module configuration, contact use list (data use list), system memory, symbol comment, parameter, data memory, project information, sampling trace, and local symbol screen. Before printing, select [Print Setup] from the menu bar to set the printing rate, partial printing, cross reference, margins, printed paper, headers and footers, and select [Print Preview] to make sure these settings are appropriate. 1. From the menu bar, select [File] - [Print]. If you want to operate JW-300SP with a keyboard, press the [Ctrl] + [P] keys, or press the [Alt] + [F] keys and select [Print] with the [Upper arrow/Lower arrow] and [Enter] keys. You can also customize shortcut keys by selecting [Tool] - [Shortcut Keys] - [Keyboard]

  • 2. To start printing, click the [OK] button. For the property of the printer, the print range and the details of copies, refer to the specifications of the printer driver.

    2-46

    Chapter 2 Menu Operation

  • Chapter 2 Menu Operation

    Recently used projects Under the command of [File] - [Print], recently used project files are displayed. You can click and open the project file you want to without selecting [File] - [Open]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Short Cut] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

    2-47

  • Chapter 2 Menu Operation

    Exit To exit JW-300SP, select [File] - [Exit], or click the [X] button at the upper right corner of the window. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [F] keys.

    If you select [Exit] before saving the file while editing the program, the [Do you want to save the changes?] dialog box is displayed.

    To go back to the screen before selecting [Exit], click the [Cancel] button. To exit JW-300SP without saving the project file, click the [No] button. To overwrite the project file, click the [Yes] button.

    2-48

  • 2-49

    Chapter 2 Menu Operation

    2-2 EditUndo This command reverses the last operation made to the program. This command is useful in correcting mistakes while you are editing. From the menu bar, select [Edit] - [Undo].

    If you want to operate JW-300SP with a keyboard, do one of the following 5 ways: -Press the [Alt] + [Back Space] keys. -Press the [Ctrl] + [Z] keys. -Press the [F11] key. -From the menu bar, select [Tool] - [Customize], and customize shortcut keys. -Press the [Alt] + [E] keys, and operate with the [Upper arrow/Lower arrow] and [Enter] keys.

  • This command re-applies the operation on which you have used the Undo command. From the menu bar, select [Edit] - [Redo].

    If you want to operate JW-300SP with a keyboard, do one of the following 3 ways: -Press the [Ctrl] + [Y] keys. -From the menu bar, select [Tool] - [Shortcut Keys], and customize shortcut keys on the [Keyboard] tab. -Press the [Alt] + [E] keys, and then operate with the [Upper arrow/Lower arrow] and [Enter] keys.

    2-50

    Chapter 2 Menu Operation

    Redo

  • 2-51

    Chapter 2 Menu Operation

    Cut This command removes the selected data and stores it on the Windows clipboard temporarily. This command is useful in modifying, deleting and moving a part of ladder programs. (1) Cutting a contact To cut the [F44] instruction in the program below, follow the steps below. Click the [F44] instruction.

    From the menu bar, select [Edit] - [Cut]. If you want to operate JW-300SP with a keyboard, press the [Ctrl] + [X] keys.

    (3) Cutting multiple networks To cut more than one network, follow the steps below. 1. Drag the mouse cursor vertically over the area showing program addresses of the networks which you want to copy. The bus line of these networks becomes thick. It means these networks are selected together.

    (2) Cutting a network To cut a network in the program, follow the steps below. 1. Click the area showing its program address: the left side of the left bus line of the network. The bus line of the selected network becomes thick. 2. From the menu bar, select [Edit] - [Cut].

  • Chapter 2 Menu Operation

    2-52

    Copy This command stores the selected data on the Windows clipboard. You should use the Copy command and the paste command in pairs. This command is useful in creating and modifying similar programs efficiently. (1) Copying a contact 1. To copy the [AND 000446] instruction in the program below, click [AND 000446] and select [Edit] - [Copy]. If you want to operate JW-300SP with a keyboard, press the [Ctrl] + [C] keys. The selected data you want to copy is stored on the clipboard temporarily.

    =>

    2. Click a contact next to the position where you want to paste the clipboard data. In the example below, to copy [000446] into the position next to [STR 003000], click [STR 003000], and then select [Edit] - [Paste]. If you want to operate JW-300SP with a keyboard, press the [Ctrl] + [V] keys.

    =>

  • 2-53

    3. Copying a contact is completed.

    (2) Copying a network 1. To select a network you want to copy, click the area showing its program address: the left side of the left bus line of the network. The bus line of the selected network becomes thick. Select [Edit] - [Copy].

    Chapter 2 Menu Operation

  • 2-54

    To copy more than one network, follow the steps below. 1. Drag the mouse cursor vertically over the area of showing the program addresses of the networks you want to copy. The bus line of these networks becomes thick. It means these networks are selected together. If you want to select multiple networks with a keyboard, operate with the [Upper arrow/Lower arrow] keys while pressing the [Shift] key. 2. From the menu bar, select [Edit] - [Copy]. 3. Insert the selected networks into the position. Select a network just under the position where you want to insert the selected networks,and then select [Edit] - [Paste]. Copying multiple networks is completed.

    (3) Copying multiple networks

    2. Insert the selected network between the network No.21 and No.22 below. Select the network No.22 with the mouse cursor, and select [Edit] - [Paste].

    3. Copying a network is completed.

    =>

    Chapter 2 Menu Operation

  • 2. Select a contact next to the position where you want to paste the clipboard data. In the example below, to copy [000446] into the position next to [STR 003000], click [STR 003000] and select [Edit] - [Paste]. If you want to operate JW-300SP with a keyboard, press the [Ctrl] + [V] keys.

    Chapter 2 Menu Operation

    2-55

    Paste This command transfers the data stored on the clipboard by the Cut or Copy command into the desired position. You should use the Paste command and either the Cut or Copy command in pairs. This command is useful in creating and modifying ladder programs efficiently. (1) Pasting a contact 1. To copy [AND 000446] instruction in the program below, click [AND 000446] and select [Edit] - [Copy]. If you want to operate JW-300SP with a keyboard, press the [Ctrl] + [C] keys. The selected data you want to copy is stored on the clipboard temporarily.

    =>

    =>

  • 3. Pasting a contact is completed.

    (2) Pasting a network 1. To select a network you want to copy, click the area showing its program address: the left side of the left bus line of the network. The bus line of the selected network becomes thick. Select [Edit] - [Copy].

    2-56

    Chapter 2 Menu Operation

  • (3)Pasting multiple networks To paste more than one network, follow the steps below. Drag the mouse cursor vertically over the area of showing the program addresses of the networks. you want to paste. The bus line of these networks becomes thick.It means they are selected together. If you want to select multiple networks with a keyboard, operate with the [Upper arrow/Lower arrow] keys while pressing the [Shift] key. From the menu bar, select [Edit] - [Copy]. Insert the selected networks into the position. Select a network just under the position where you want to insert the selected networks, and select [Edit] - [Paste]. Pasting multiple networks is completed.

    2. Insert the selected network between the network No.21 and No.22 below. Select the network No.22 with the mouse cursor, and select [Edit] - [Paste].

    2-57

    Chapter 2 Menu Operation

  • (3) Delete multiple networks To delete more than one network, follow the steps below. 1. Select the multiple networks you want to delete by dragging the mouse cursor vertically over the area showing the program addresses of the networks. The bus line of these networks becomes thick. It means they are selected together. 2. From the menu bar, select [Edit] - [Delete]. If you want to select several networks with a keyboard, operate with the [Upper arrow/Lower arrow] keys while pressing the [Shift] key.

    (2) Deleting a network To select a network you want to delete, click the area showing its program address: the left side of the left bus line of the network. The bus line of the selected network becomes thick. Select [Edit] - [Delete].

    2-58

    Chapter 2 Menu Operation

    Delete This command erases the selected instructions and networks. Although the deleted instructions and networks are not available for the Cut or Paste command, you can get the deleted data back with the [Undo]command.

    (1) Deleting a contact To delete the [F44] instruction in the program below, follow the steps below. 1. Click the [F44] instruction.

    2. From the menu bar, select [Edit] - [Delete]. When operating JW-300SP with a keyboard, press the [Delete] key.

  • Chapter 2 Menu Operation

    Search through Project This command searches all blocks and programs displayed on the project tree window.

    An example of project trees

    2-59

    1. From the menu bar, select [Edit] - [Search through Project]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

  • Chapter 2 Menu Operation

    2-60

    2. The [Search through Project] dialog box is displayed. Check the boxes for items you want to find and enter strings you want to search for in the [Find What] box, and then click the [Search] button. To close the dialog box, click the [Close] button. The items to find are as follows: [Relay Address] - - - -Searches relay addresses such as [004000] [Register Address] - - Searches register addresses such as [009000 / ]00000] [File Address] - - - - - Searches file addresses such as [file1-000000] [Symbol, Comment] - Searches symbols or comments such as [LS0 / transmission error] [Instruction] - - - - - - -Searches instructions such as [STR00000 / F-00] [Constant] - - - - - - - -Searches constants such as [octal constant 377 / hex constant FF] [Output to pane 2] - - -Displays the search results on the [Find in Programs 2] tab in the message window. The dialog box below is an example of settings when you search the relay addresses for "4000".

    3. The results of the search is displayed on the [Searches 1] tab in the message window. The block names, program names, program addresses and the number of occurrences is displayed.

  • 2-61

    Chapter 2 Menu Operation

    4. To jump to the program, double-click its name in the results.

    5. When you check the box for [Symbol] and [Comment] and click the [

  • An example of project trees

    2-62

    Chapter 2 Menu Operation

    Find This command searches only the selected program among all blocks and programs. In the example below, you can search only the selected program, [Program _255CM]. To change the target program, click a name of the program you want to search in the project tree.

    1. From the menu bar, select [Edit] - [Find]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

  • 2-63

    Chapter 2 Menu Operation

    2. The [Find] dialog box is displayed. Check the boxes for items to find and enter strings you want to search for in the [Find What] box, and then click the [Find Next] button. To close the dialog box, click the [Close] button. The items to find are as follows: [Relay Address] - - - Searches relay addresses such as [004000] [Register Address] - -Searches register addresses such as [009000 / ]00000] [File Address] - - - - -Searches file addresses such as [file1-000000] [Symbol, Comment] - Searches symbols or comments such as [LS0 / transmission error] [Instruction] - - - - - - Searches instructions such as [STR00000 / F-00] [Constant] - - - - - - - Searches constants such as [octal constant 377 / hex constant FF] To set the search direction, select either the [From Top], [Up](from the cursor position to the beginning of the file) or [Down] (from the cursor position to the end of the file) option. Note that JW-300SP has stored the strings you previously searched for. In the example below, enter the comment, [Response from a port], in the [Find What] box, and click the [Find Next] button.

    3.When finding a string which meets the search conditions, JW-300SP jumps to the position in the program. To find the next match in the selected direction, click the [Find Next] button.

  • 4. You can also conduct a search using the search box on the toolbar.

    5. If the string cannot be found, the message below is displayed.

    2-64

    Chapter 2 Menu Operation

  • An example of project trees

    2-65

    Chapter 2 Menu Operation

    Find Next This command searches the selected program among all blocks and programs for the last string that you have searched for from the current address forward. In the example below, you can search only the selected program, [Program _255CM]. To change the target program, click the name of the program you want to search in the project tree.

    =>

    In order to make the [Find Next] command available, execute the [Find] command beforehand. From the menu bar, select [Edit] - [Find Next]. If you want to operate JW-300SP with a keyboard, do one of the following ways: Press the [F7] key. From the menu bar, select [Tool] - [Customize] from the menu bar, and customize shortcut keys. Press the [Alt] + [E] keys, and then operate with the [Upper arrow/Lower arrow] and [Enter] keys.

  • In order to make the [Find Prev] command available, execute the [Find] command beforehand. From the menu bar, select [Edit] - [Find Prev]. If you want to operate JW-300SP with a keyboard, do one of the following ways Press the [F6] key. From the menu bar, select [Tool] - [Customize] from the menu bar, and customize shortcut keys. -Press the [Alt] + [E] keys, and then operate with the [Upper arrow/Lower arrow] and [Enter] keys.

    An example of project trees

    Chapter 2 Menu Operation

    Find Prev This command searches the selected program among all blocks and programs for thelast string that you searched for from the current address backward. In the example below, you can search only the selected program, [Program_255CM].To change the target program, click the name of the program you want to search in the project tree.

    2-66

  • An example of programs

    If you select [Edit] - [Find Coil] from the menu bar when the cursor is placed on [AND NOT 004000], JW-300SP executes the [Find Coil] command in search for [OUT 004000]. If you want to operate JW-300SP with a keyboard, press the [Alt] + [E] keys and then operate with the [Upper arrow/Lower arrow] and [Enter] keys.

    =>

    Chapter 2 Menu Operation

    Find Coil This command searches the selected program among all blocks and programs for a coil (OUT instruction).

    2-67

  • An example of programs.

    Chapter 2 Menu Operation

    2-68

    Replace at once This command replaces a specified range of addresses of relays, timers, counters or registers in the program. This subsection shows how to replace the relay addresses, [002000 - 002177], with the [030000 - 030117] in the program below.

    1. From the menu bar, select [Edit] - [Replace at once]. The [Batch Replace] dialog box is displayed. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

  • 7. After replacing, the program names, network numbers and program addresses are displayed on the message window. To jump to the program, double-click its name in the results.

    2-69

    2. Select the [Relay], [TMR/CNT NO] or [Register] option in the [Object] field. In the example below, select the [Relay] option to replace the relay addresses. 3. Enter the start address you want to replace, "002000", in the [Start] box, the end address,"002117",in the [End] box, and the address you want to replace the original start address with, "030000", in the [Replace with] box. 4. To decide whether to replace the addresses in the selected program only or in the whole project, select the [Current Program] or [Project] option in the [Type] field.4. To decide whether to replace the addresses in the selected program only or in the whole project, select the [Current Program] or [Project] option in the [Type] field. 5. When the box for [Keep Symbol / Comment] is checked, JW-300SP replaces the addresses keeping their symbols and comments. Usually, check this box. 6. To execute the address block conversion, click the the [OK] button.

    Chapter 2 Menu Operation

  • An example of programs

    Chapter 2 Menu Operation

    2-70

    1. From the menu bar, select [Edit] - [Replace]. The [Replace] dialog box is displayed. If you want to operate JW-300SP with a keyboard, select [Tool] - [Shortcut Keys] from the menu bar, and customize shortcut keys on the [Keyboard] tab. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

    Replace This command replaces the allocated relay addresses, register addresses, files addresses, symbols, comments, sub-comments, network comments etc. To change addresses, symbols, comments in the program, you do not have to replace it one by one with this command. This command replaces addresses of relays, timers, counters or registers in the program at the same time. This subsection shows how to replace the comment, [Communication delaying], with [Communication delay] together in the program below.

  • 2-71

    2. In the example below, select [Comment] from the [Search] drop-down list. You can select the [Address], [Symbol], [Comment], [Sub Comment] or [Network Comment] options from the [Search] drop-down list. 3. Enter the comment, [Communication delaying], which you want to replace with, in the [Find what] box. When you select the [Address] option from the [Search] drop down list, select either the [Global (global address)] or the [Local (local address)] option. 4. Enter the comment, [Communication delay], which you want to replace with, in the [Replace with] box. When you select the [Address] option from the [Search] drop- down list, select either the [Global(global address)] or the [Local (local address)] option. 5. When you select the [Address] option from the [Search] drop-down list, the [Keep Symbol / Comment] checkbox is available. When the box for [Keep Symbol / Comment] is checked, JW-300SP replaces the addresses keeping their symbols and comments. Usually,check this box. 6. When you select the [Symbol], [Comment], [Sub Comment] or [Network Comment] option from the [Search] drop-down list, the [Find whole words only] and [Match case] checkboxes are available. 7. To decide whether to replace the addresses in the selected program only or in the whole project, select the [Current Program] or [Project] option in the [Range] field. 8. When you click the [Find Next] button, JW-300SP automatically searches for the program with the same address. 9. To replace the strings together, click the [Replace All] button. To close the dialog box, click the [Close] button.

    Chapter 2 Menu Operation

  • 2-72

    10. After the replacement, the program names, network numbers and program addresses are displayed on the [Replacements] tab in the message window. To jump to the program, double-click its name in the results.

    Chapter 2 Menu Operation

  • Chapter 2 Menu Operation

    Go To (First Network) You can make the cursor jump to the first row, while creating, monitoring or editingprograms. From the menu bar, select [Edit] - [Go To] - [First Network]. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

    2-73

  • Chapter 2 Menu Operation

    Go To (Next Free Address) You can make the cursor jump to the unedited row, the row under the last row of the program, while creating, monitoring or editing programs. From the menu bar, select [Edit] - [Go To] - [Next Free Address]. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

    2-74

  • Go To (Network Number) You can make the cursor jump to the row of the desired network number (the row number), while creating, monitoring or editing programs. From the menu bar, select [Edit] - [Go To] - [Network Number]. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

    Chapter 2 Menu Operation

    2-75

  • ||v

    Select the [Network Number] command. In the [Assigned] dialog box, enter a network number or row number, and click the [Go to] button. To close the dialog box without jumping, click the [Close] button.

    2-76

    Chapter 2 Menu Operation

  • 2-77

    Chapter 2 Menu Operation

    Go To (Program Address) You can make the cursor jump to the desired program address, while creating, monitoring or editing programs. From the menu bar, select [Edit] - [Go To] - [Program Address]. If you want to operate JW-300SP with a keyboard, press the [F3] key. This shortcut key can be customized after selecting [Tool] - [Customize].

    Select the [Program Address] command. In the [Program address] dialog box, enter a program address, and click the [Go to] button. To close the dialog box without jumping, click the [Close] button.

    ||

  • 2-78

    Chapter 2 Menu Operation

    Instruction (NO Contact) This command inputs [NO contact] into the program. From the menu bar, select [Edit] - [Instructions] - [NO Contact]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Customize] from the menu bar, and customize shortcut keys. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

    1. Select the [NO Contact] command. The [NO Contact] mark is displayed in the lower right corner of the mouse cursor. When you place the cursor anywhere inside the workspace, JW-300SP automatically selects either [Insert here], [Insert right], [Insert left], [Overwrite here] or "invalid" according to the cursor position. In the example below, since the mouse cursor is placed between [STR 000420] and [F-044], JW-300SP automatically selects [Insert here]. When you operate with a keyboard, select a contact next to the position into which you want to insert a new contact using the arrow keys. To insert a new contact into the right side of the selected contact, press the [Shift] + [S] keys. To insert a new contact into the left side of the selected contact, press the [Ctrl] + [Shift] + [S] keys.

  • ==>

    2-79

    In the example below, since the mouse cursor is placed on [F-044], JW-300SP automatically selects [Overwrite here]. When you operate JW-300SP with a keyboard, select a contact which you want to overwrite using the arrow keys, and press the [S] key.

    In the example below, since the mouse cursor is placed on [F-032], JW-300SP automatically selects "invalid" (you cannot input data)

    Chapter 2 Menu Operation

    Until you click another button on the toolbar, this [NO contact] input waiting state continues. That is, when you click on any other appropriate area, you can input [NO contact] continuously. 2. This is an example of [Overwrite here] below. When you click the mouse button in this state, you can input [NO contact] there. To cancel the [NO contact] input waiting state, right-click the mouse button or press the [Esc] key. The [NO contact] mark in the lower right corner of the mouse cursor disappears.

  • 4. Set the [Address], [Symbol], [Comment], [Variable] and [Contact type] values and options,and click the [OK] button.

    2-80

    3. To set the address, symbol, comment, Global/Local setting, type of the instruction after creating [NO contact], double-clickthe created [NO contact] area (the highlighted part) or press the [Enter] key. The [Instructions] box below is displayed.

    Chapter 2 Menu Operation

  • 2-81

    Chapter 2 Menu Operation

    Instruction (NC Contact) This command inputs [NC contact] into the program. From the menu bar, select [Edit] - [Instructions] - [NC Contact]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Customize] from the menu bar, and customize shortcut keys. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

    1. When you select the [NC Contact] command, the [NC Contact] mark is displayed in the lower right corner of the mouse cursor. When you place the cursor anywhere inside the workspace, JW-300SP automatically selects either [Insert here], [Insert right], [Insert left], [Overwrite here] or [Invalid] according to the cursor position. In the example below, since the mouse cursor is placed between [STR 000420] and [F-044], JW-300SP automatically selectss [Insert here]. When you operate with a keyboard, select the contact next to the position into which you want to insert a new contact using the arrow keys. To insert a new contact into the right side of the selected contact, press the [Shift] + [D] keys. To insert a new contact into the left side of the selected contact, press the [Ctrl] + [Shift] + [D] keys.

  • 2-82

    In the example below, since the mouse cursor is placed on [F-032], JW-300SP automatically selects [Invalid] (you cannot input data).

    In the example below, since the mouse cursor is placed on [F-044], JW-300SP automatically selects [Overwrite here]. When you operate JW-300SP with a keyboard, select a contact which you want to overwrite using the arrow keys, press the [D] key.

    Chapter 2 Menu Operation

    2. This is an example of [Overwrite here] below. When you click the mouse button in this state, you can input [NC contact] there. Until you click another buttons on the toolbar, this [NC contact] input waiting state continues. That is, when you click on any other appropriate area, you can input [NC contact] continuously. To cancel this [NC contact] input waiting state, right-click the mouse button or press the [Esc] key. The [NC contact] mark in the lower right corner of the mouse cursor disappears.

    =>

  • 2-83

    4. Set the [Address], [Symbol], [Comment], [Variable] and [Contact type] values and options, and click the [OK] button.

    3. To set the address, symbol, comment, Global/Local setting, type of the instruction after creating [NC contact], double-click the created [NC contact] area (the highlighted part) or press the [Enter] key.The [Instructions] box below is displayed.

    Chapter 2 Menu Operation

  • 2-84

    Chapter 2 Menu Operation

    1. When you select the [Coil] command, the [Coil] mark is displayed in the lower right corner of the mouse cursor. When you place the cursor anywhere inside the workspace, JW-300SP automatically selects either [Overwrite here], [Insert here] or [Invalid] according to the cursor position. In the example below, since the mouse cursor is placed on [OUT 004024], JW-300SP automatically selectss [Overwrite here]. When you operate JW-300SP with a keyboard, select the contact which you want to overwrite using the arrow keys, and press the [X] key.

    Instruction (Coil) This command inputs [Coil] (OUT instruction) into the program. From the menu bar, select [Edit] - [Instructions] - [Coil]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Customize] from the menu bar, and customize shortcut keys. You can also operate with the [Upper arrow/Lower arrow] and [Enter] keys after pressing the [Alt] + [E] keys.

  • 2-85

    Chapter 2 Menu Operation

    =>

    2. This is an example of [Overwrite here] below. When you click the mouse button in this state, you can input [Coil] there. Until you click another buttons on the toolbar, this [Coil] input waiting state continues. That is, when you click on any other appropriate area, you can input [Coil] continuously. To cancel this [Coil] input waiting state, right-click the mouse button or press the [Esc] key. The [Coil] mark in the lower right corner of the mouse cursor disappears.

    In the example below, since the mouse cursor is placed off the appropriate area for [Overwrite] although it is near [OUT 004024], JW-300SP automatically selects [Invalid] (you cannot input data).

    3. To set the address, symbol, comment, Global/Local setting, type of the instruction after creating [Coil], double-click the created [Coil] instruction (the highlighted part) or press the [Enter] key. The [Instructions] box below is displayed.

  • 2-86

    Chapter 2 Menu Operation

    4. Set the [Address], [Symbol], [Comment], [Variable] and [Coil type] values and options, and click the [OK] button.

  • 2-87

    1. When you select the [F45] command, the [F45] mark is displayed in the lower right corner of the mouse cursor. When you place the cursor anywhere inside the workspace, JW-300SP automatically selects either [Insert here], [Insert right], [Insert left], [Overwrite here] or [invalid] according to the cursor position. In the example below, since the mouse cursor is placed on the right side of [AND NOT 000602], JW-300SP automatically selects [Insert right].

    Instruction (F45) This command inputs [F45] (OFF differential instruction) into the program. From the menu bar, select [Edit] - [Instructions] - [F45]. If you want to operate JW-300SP with a keyboard, select [Tool] - [Customize] from the menu bar, and customize shortcut keys. You can also operate with the [Upper arrow/Lower arrow] an