Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 6 of 12

Visual KV Series User's Manual 2: Support Software, pages 41 to 50

Pages 41 to 50 of 105

The original document is the PDF (910 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Keyence KV-16R

Page 41

Chapter 1 Introduction

Setting and changing the model used File ➔ Change Models When a new file is created, the dialog box to set the model used is displayed. Select the PLC model connected, and click the [OK] button. To change the model while the Ladder Builder for KV is running, select "Change Models" from the "File" menu.

CAUTION

•

If the PLC model connected is not set correctly, the error message “Unmatched model" is displayed when communicating with a KV Series PLC. Transferring of programs to the PLC and the monitor function are also disabled. If the model is not set correctly, failure may occur.

•

If the model is specified as "KV-10(16)A/D" or "KV-24(40)A/D", created ladder diagrams cannot be opened with Ladder Builder for KV Ver 1.0 or KV IncrediWare (DOS). To use ladder diagrams with either of these programs, specify the model as "KV-300".

2-17

1

Page 42

Chapter 1 Introduction

1.6.3

Screen

Windows in each mode The screens of the Ladder Builder for KV in each mode are related to each other as described below. Editor

1 Simulator

Changed over to monitor Transfer Program to PLC → Monitor

▲

Monitor

▲

▲

▲▲

Simulator

Editor Editor after devices are cleared

Editor

The name and functions of each window are described on the following pages. Editor ➮ p. 2-25 Simulator ➮ p. 2-83 Monitor ➮ p. 2-133

Current window The currently selected active window is called "current window". To select a window while two or more windows are displayed on the screen in each mode, use one of the following methods. (The color of the current window’s title bar is typically different than the color of the other title bars.)

2-18

•

Click the title bar of the window you wish to select as the current window.

•

Select the "Window" menu to view a list of all of the windows that are currently open. Select the title of the window you wish to select as the current window.

Page 43

Chapter 1 Introduction

Showing/hiding the tool bar, status bar and dialog bar The display status of the tool bar, status bar and dialog bar can be changed. Select "View" from the editor’s menu bar. Check mark

1

Tool bar

Dialog bar Status bar

When the check mark is visible: Show mode When the check mark is not visible: Hide mode A check mark appears before each bar by default. Every time the check mark is clicked, the display status is toggled between show mode and hide mode. * The dialog bar is not provided in the editor.

Display mode The screen display can be viewed in 5 different sizes. In the editor, you can set whether or not labels and comments are displayed for each screen. ■ Changing the display size Five different sizes are available to display the ladder diagram. When the software is started up, "100%" is selected by default. Use the following method to change the display size. (In the editor, size can be set in the "Display Mode Setup" dialog box.) View ➔ Zoom In View ➔ Zoom Out

Ctrl + PageDown keys: Selects a higher mode. Ctrl + PageUp keys: Selects a lower mode.

■ Changing the display size (only in the editor) The display size can be set in the "Display Mode Setup" dialog box using the following procedure. 1. Select "Display Mode" from the "View" menu on the editor’s menu bar, or click the button. The "Display Mode Setup" dialog box is displayed.

2-19

Page 44

Chapter 1 Introduction 2. Set each item, and click the [OK] button. To cancel the changes you made and close the dialog box, click the [CANCEL] button.

1

200%

Displays a ladder diagram at twice the standard size. This size is useful when characters are small and difficult to read.

150%

Displays a ladder diagram at 1.5 times the standard size.

120%

Displays a ladder diagram at 1.2 times the standard size.

100% (Normal)

Displays a ladder diagram in the standard size.

80%

Displays a ladder diagram in the smallest size. This size is useful when checking the entire operation because the maximum number of cells can be dis played on the screen.

Display Size

Show in XYM

Displays device names in the ladder diagram using "X", "Y" and "M".

Show Decimal Constant with Sign

Displays decimal constants with sign in the ladder diagram.

Show Device Label

Displays the label name of each device in the ladder diagram.

Show Comment

Displays comments in the ladder diagram.

Comment type

Comment 1

Displays comment 1 [which is completely shared with the KV IncrediWare (DOS)]

Comment 2

Displays comment 2 (which cannot be transferred to the PLC)

Comment 3

Displays comment 3 (which cannot be transferred to the PLC)

Current Edit Screen

Reflects the setting on the edit screen (current window).

Current Reference Screen

Reflects the setting on the reference screen (current window).

Current Screens

Reflects the setting on both the edit screen and the reference screen (both current windows).

All Windows

Reflects the setting on all the windows.

Mode Setting Range

* *

2-20

The current window refers to the currently selected active window. Line comments cannot be transferred.

Page 45

Chapter 1 Introduction

Show/hide comments You can select to show or hide contact comments on the editor screen. "Comment 1" is displayed. Show comments

Hide comments

0000 0001

▲

▲

0000 0001

Click

1.6.4

1

Lamp ON

Mouse operation and keyboard operation The Ladder Builder for KV can be operated using the mouse except when input of characters is required. This improves efficiency when creating the ladder diagram and during debugging. Each job can be performed even more efficiently by using keyboard commands (shortcuts).

How to execute each function (command) Commonly used functions are assigned to the tool bar and the function keys. Commands selected from the menu can also be executed quickly by using the shortcut keys and the shortcut menu displayed by right-clicking. •

In this manual, the menu, buttons and keys available for each function are indicated at the right end of each title for quick reference.

•

The shortcut keys are indicated on the right side of each menu in the software.

Example The following two methods can be used to enter connection lines. •

Pressing the keys or clicking the icon F8 and / (front-slash) or : Draws a connection line downward from the cursor position. F9 and - (hyphen key) or

: Draws a connection line to the right of the cursor position.

• Using the mouse and cursor control keys in connection line edit mode To draw connection lines using the mouse, first change the input mode. The following four methods can be used to change modes. • Select "Edit Connection Line" from the menu displayed by right-clicking. • Select "Edit Connection Line" from the "Edit" menu. • Press the Ctrl and K keys at the same time. • Press the \ key. Several methods are offered so that the most efficient operation for the situation can be chosen.

2-21

Page 46

Chapter 1 Introduction

Basic mouse operation The use of the mouse is described below. If you familiar with using Windows, you can skip this section. ■ What is a "click"? ● Double left-click To double left-click means to press the left button twice quickly and consecutively. This is used to open the "Enter Instruction Word" dialog box on the ladder diagram window. In this manual, this type of clicking is referred to as double-clicking.

1

● Left-click To left-click means to press the left button once. This is used to click a button on the screen or to align the cursor with the input position in the text entry box. In this manual, this type of clicking is simply referred to as clicking.

● Right-click To right-click means to press the right button once. This is used to display the shortcut menu as desired for more efficient operation. For example, by right-clicking the ladder diagram window, each function (command) such as "cut", "copy", "paste", and "edit connection line" can be executed.

■ What is "drag & drop"? To drag means to press the left button at the selection start position, move the mouse cursor while pressing and holding the left button, and then release the button at the selection end position. Dragging is used to select a range or draw a connection line. To drop means to move the selected item to a different position or window and then release the button. Dropping is used to move, copy or register an item. In the Ladder Builder for KV, a device can be registered by selecting it in the ladder monitor and dragging and dropping it to the registration monitor. 1. While pressing and holding this button,

2. Move the mouse.

2-22

3. Release this button.

Page 47

Chapter 1 Introduction

1.6.5

Online help The Ladder Builder for KV includes online help. If you are not sure about a function, click the button on the tool bar or select "Help" from the menu bar to open the help window. Operation help window

1

Instruction word help window

2-23

Page 48

Chapter 2 Editor 2.1 2.1.1 2.2 2.2.1 2.2.2 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5 2.5.1 2.5.2 2.5.3 2.6 2.6.1 2.6.2 2.7 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8 2.8.1 2.8.2 2.9 2.9.1 2.10 2.10.1 2.11 2.11.1 2.11.2 2.12 2.12.1 2.12.2 2.12.3 2.13 2.13.1 2.13.2 2.14 2.14.1

Outline of the Editor Functions ........................................................... 2-26 Cautions for editing ladder programs ....................................................... 2-26 Edit Screen ............................................................................................ 2-27 Name and function of each part of the screen ......................................... 2-27 Ladder program window screen ............................................................... 2-28 File Management ................................................................................... 2-29 Creating a new file ................................................................................... 2-29 Setting the automatic file read function .................................................... 2-30 Setting automatic file save for the file ...................................................... 2-31 Saving and reading files ........................................................................... 2-32 Reading and saving a file in another format ............................................. 2-33 Saving a ladder diagram in text format .................................................... 2-36 Verifying files ............................................................................................ 2-36 Entering/Deleting Symbols and Connection Lines ............................ 2-37 Entering symbols ...................................................................................... 2-37 Deleting symbols ...................................................................................... 2-42 Entering contacts/coils directly ................................................................. 2-42 Changing the device at the current cursor position .................................. 2-43 Entering/Deleting connection lines ........................................................... 2-44 Canceling edit operations ......................................................................... 2-45 Entering Comments/Labels .................................................................. 2-46 Editing comments/labels .......................................................................... 2-46 Editing line comments .............................................................................. 2-50 Changing ladder lines into comments ...................................................... 2-51 Edit and Arrangement ........................................................................... 2-52 Copy, move, and delete ........................................................................... 2-52 Inserting and deleting lines ...................................................................... 2-57 Jump, Search, and Replace ................................................................. 2-58 Jump ........................................................................................................ 2-58 Searching for instruction words/operands ................................................ 2-62 Searching for the device at the cursor position ........................................ 2-63 Replacing operands ................................................................................. 2-64 Converting a/b contacts ........................................................................... 2-65 Editing the Mnemonic List ................................................................... 2-67 Displaying and terminating a mnemonic list ............................................. 2-67 Copy, move, and delete ........................................................................... 2-69 Displaying the Use Status .................................................................... 2-70 Displaying a use status list ....................................................................... 2-70 Setting the System ................................................................................ 2-71 Setting the system .................................................................................... 2-71 Entering and Developing Macros ........................................................ 2-72 Creating a macro file ................................................................................ 2-72 Entering and developing macros .............................................................. 2-74 Compilation ........................................................................................... 2-75 Executing compilation .............................................................................. 2-75 Error display ............................................................................................. 2-76 Double coil check ..................................................................................... 2-76 Printing Functions ................................................................................ 2-77 Printing ..................................................................................................... 2-77 Preview display ........................................................................................ 2-81 Changing the Display Color on the Screen ........................................ 2-82 Changing display colors on the screen .................................................... 2-82

Page 49

Chapter 2 Editor

2.1

Outline of the Editor Functions This section outlines each function available in the editor. For detailed descriptions of each function, refer to the corresponding page. The editor allows you to create ladder diagrams, and provides editing functions including input of instruction words and registration of comments. The editor offers the following functions.

2

• Creates ladder diagrams using diversified instructions of the ladder language. • Performs editing functions including copy and move. •

Registers a comment for a contact and transfers it to the Visual KV or the conventional KV.

• Converts ladder diagrams, and transfers the converted diagrams to a PLC. • Prints out ladder diagrams, mnemonic lists, label comments, device status lists, etc.

2.1.1

Cautions for editing ladder programs The maximum number of editable lines is 9,999. The maximum number of lines that can be edited for one ladder program window by the Ladder Builder for KV is 9,999. The maximum size of one block is 100 lines. Keep in mind that a ladder program exceeding 9,999 lines cannot be created. When the program is running slowly When many applications are simultaneously running on a personal computer with low memory capacity, the memory and the source become insufficient. As a result, the swap file is frequently accessed and operating speed deteriorates. If this occurs, close other applications to decrease the load on the system. It is also effective to increase the memory.

2-26

Page 50

Chapter 2 Editor

2.2

Edit Screen This section describes the configuration and functions of the screen displayed in the editor.

2.2.1

Name and function of each part of the screen When the Ladder Builder for KV is started up, the ladder program window is not initially displayed. To create a new ladder program, select "New" from the "File" menu to open the new window, and then edit it. To open an existing ladder program, select "Open" from the "File" menu, and specify the desired ladder program. The name and function of each part of the screen are described below. Normal mode and connection line edit mode are available in the editor. ➮ 2.4.5 Entering/Deleting connection lines (p. 2-44)

Note: When the automatic read function is set, the selected file is automatically read and displayed when the software is started up. ➮ Setting the automatic file read function (p. 2-30)

Example Normal edit mode screen using the file "SAMP*.LDR" Main window title bar Displays the name of the file being edited in the current window.

Main window The entire editor screen.

Ladder program window One window is displayed for each ladder program file.

Menu bar Displays the menu to execute commands. Tool bar Provides buttons to execute commands. Only commonly used commands are provided as buttons. Each command can be executed by clicking the corresponding button once.

Status indication bar Indicates the function currently selected and the key status.

Ladder diagram line No. Indicates a line number in the ladder diagram.

Step No. Indicates a step number in the ladder diagram. A step number is displayed only after conversion, and is deleted when the ladder diagram is changed.

Title bar Displays the name of the file being edited.

Function menu Displays the functions assigned to the function keys. Because each function is displayed as an icon, an instruction can be directly entered by clicking the corresponding icon.

Connection line

Ladder symbol Displayed when an instruction word, etc. is entered.

Cursor Allows selection of a device, etc., and can be moved in the vertical and horizontal directions.

2-27

12