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

The text of a manual · part 5 of 12

Visual KV Series User's Manual 2: Support Software, pages 31 to 40

Pages 31 to 40 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 31

Chapter 1 Introduction

1.3

Before Programming The personal computer should be connected to a Visual KV or a conventional KV to transfer the programs to the Visual KV or the conventional KV and to use the monitor function.

Machines to be prepared

1

You must prepare the following machines before beginning programming. ■ PC • Connect it to the D-Sub 9-pin type serial port. Connection cable D-sub 9-pin type conversion connector

Model: OP-26487 Model: OP-26486

KV Series PLC To RS-232C connector OP-26486

OP-26487

To RJ-11 modular connector

CAUTION

PC

If a Visual KV or a conventional KV is accidentally connected to the personal computer’s printer port, the personal computer, the basic unit or the CPU unit may be damaged. Pay careful attention. Note: Make sure to use a dedicated cable. If any other cable is used, the unit may not operate properly. Standard cable

SD RD

KV 3 5

SG

4

RJ-11 Modular Connector

When the PC has 25-pin connector PC 2 3 4 5 6 7 8 9-pin D-sub connector

SD RD

KV 3 5

SG

4

PC (DTE) 2 SD 3 RD 4 RS 5 CS 6 DR 20 ER 7 SG

25-pin D-sub connector

2-7

Page 32

Chapter 1 Introduction

1.3.1

Differences from the KV IncrediWare (DOS) Because the Ladder Builder for KV is a Windows application, its specifications are slightly different from the KV IncrediWare (DOS) for MS-DOS, as listed below. •

Some of the keys assigned to keyboard functions are different. ➮ Refer to “Appendix G Quick Reference” on page 2-180.

1

1.3.2

•

The timing chart simulator and the timing chart monitor are provided as the registration monitor screen.

•

The function to set the trigger on the timing chart monitor is not provided.

•

The memory card operation function is not provided.

•

The timing chart save/read function is not provided.

•

The "extended ladder ➞ normal ladder" conversion function is not provided.

Differences from the Ladder Builder for KV Ver 1.0 From the Ladder Builder for KV Ver 1.5, the following changes and additions were made to the specifications and functions.

2-8

•

The editor function allows the selection to show/hide contact comments.

•

You can edit ladder diagrams while checking the use status list of devices on the monitor.

•

The operation of switching the numbering system between decimal (#) and hexadecimal ($) is assigned to shortcut key [Ctrl]+[E].

•

The Visual KV Series units are newly supported.

Page 33

Chapter 1 Introduction

1.4

Installing the Software This section describes how to install the Ladder Builder for KV on the personal computer’s hard disk.

1.4.1

Preparation for installation Confirm the following points before installing the software. ■ Free hard disk space The Ladder Builder for KV must be installed on the hard disk. The free space required is 4.5 MB. Ensure that this space is available. ■ Installation in a Windows environment The Ladder Builder for KV runs in Windows, and must be installed from Windows. Ensure that Windows 3.1 or Windows 95 is installed and operating correctly in your personal computer. ■ RS-232C (serial port) The RS-232C (serial port) on the personal computer should be ready before transferring programs to a Visual KV or a conventional KV and using the Ladder Builder for KV’s monitor functions. For the setup procedure, refer to your personal computer’s instruction manual. Note 1: The serial port must also be set up in the Ladder Builder for KV after this program is installed. ➮ Refer to "Setting the serial port" on page 2-136.

Note 2: It is recommended that you make a backup copy of the master disks in case the disks are accidentally damaged.

2-9

1

Page 34

Chapter 1 Introduction

1.4.2

Installation procedure This section describes how to install the software. The installation procedure varies depending on which Windows version you are using. Refer to the section appropriate for your operating environment. Installation in Windows 95 (➮ See below) Installation in Windows 3.1 (➮ Page 2-12)

1

Installation in Windows 95 As an example, this section describes how to install the software in Windows95 using the following drive configurations. Drive C: Hard disk drive Drive A: Floppy disk drive

Start up Windows and prepare the two master disks supplied. Note: Close all other applications before beginning installation. 1. Insert the Ladder Builder for KV master disk #1 into the floppy disk drive. 2. Click "Run" on the Start menu. 3. Enter "a:\setup" in "Open", and click the [OK] button. Or click the [Browse] button, and select the desired name from the "Browse"dialog box. ➮ Refer to page 2-11.

•

To select the file name from the "Browse" dialog box:

1. Select "3 1/2" FD".

2. Click "setup.exe".

3. Click the [Open] button.

2-10

Page 35

Chapter 1 Introduction 4. The graph is displayed, and preparation for installation begins.

1 5. When the following screen is displayed, click the [Next] button. To cancel installation, click the [Cancel] button.

6. Confirm the drive name and the folder (directory) name in which the software is to be installed. The default path is "C:\KEYENCE\Lbk". To install the software to this location, click the [NEXT (N)] button. To change the installation destination, click the [Reference] button and then specify the drive name and the folder (directory) name.

7. The file copy status graph is displayed on the screen.

2-11

Page 36

Chapter 1 Introduction 8. When you are prompted to insert the next disk, insert the Ladder Builder for KV master disk #2 and then click the [OK] button.

1 9. Recent information not included in this manual is saved in the README file. Be sure to click the [Yes] button to read this file.

10. Installation is now completed. Click the [OK] button.

Installation in Windows 3.1 As an example, this section describes how to install the software in Windows3.1 running on a DOS machine using the following drive configurations. Drive C: Hard disk drive Drive A: Floppy disk drive Start up Windows and prepare the two master disks supplied. 1. Insert the Ladder Builder for KV master disk #1 into the floppy disk drive. 2. Select "Run" and "Command Line" from the program manager menu. 3. Enter "a:\setup" in "Command Line", and click the [OK] button. Or click the [Reference] button, and select the desired name from the "Browse" dialog box.

The rest of the installation procedure is the same as step 4 to step 10 in "Installation in Windows 95" (➮ page 2-10).

2-12

Page 37

Chapter 1 Introduction

1.5

Cautions for Use This section describes the cautions for using the Ladder Builder for KV. Be sure to read this section. ■ When a notebook personal computer is used When a notebook personal computer is used, ensure that the RS-232C is set up. If it is not, a communication error will occur while the monitor is operating and monitor operation may not be correct. For the setup procedure, refer to your personal computer’s instruction manual. ■ While the monitor is operating Never turn off the power of the Visual KV, the conventional KV or unplug the connection cable while the monitor is operating. This may cause a communication error to occur and the monitor to be forcibly terminated. ■ Monitor after the ladder diagram is changed Be sure to select "Convert ➞ Transfer ➞ Monitor" from the menu and transfer programs to the PLC when operating the monitor after changing the ladder diagram. ■ Resolution of the screen Ensure that the resolution of the screen is at least 640 x 480. It is recommended that the highest possible resolution be used to ensure comfortable operation. (1,024 x 768 or higher is recommended.) ■ Long file names The Ladder Builder for KV runs in Windows 95, but it does not support long file names. File names can only consist of up to 8 half-width characters and the file extension (3 characters).

2-13

1

Page 38

Chapter 1 Introduction

1.6

Basic Operations This section describes what you should know before using the Ladder Builder for KV, such as the programming flow, available modes, software startup procedure, and software termination procedure.

1.6.1

1

Program creation flow and available modes Three modes are available in the Ladder Builder for KV. These are the editor, monitor and simulator modes. The actual programming procedure, the modes used in each procedure and the major functions available in each mode are described below.

1. Creating the ladder diagram Create the ladder diagram based on the design drawing indicating the operations to be performed by the PLC. Editor ➮ p. 2-25 • Save and read a file in the original LDR format or another format. • Save and read mnemonic lists and comments. • Enter and delete symbols. • Enter and delete connection lines. • Insert and delete lines. • Move and copy ladders. • Edit contacts/line comments/labels. • Change the display color on the screen. • Undo function. • Jump. • Search for instruction words/operands. • Replace operands. • Convert a/b contacts. • Edit lists. • Device use status. • Set the automatic save function. • Create macros. • Print out ladder diagrams, etc.

2. Compiling the ladder diagram Compile the ladder diagram into machine code that can be read by a Visual KV or a conventional KV. Although compilation is automatically performed when the monitor is started up (only when "Transfer Program to PLC" is selected), nothing else can be executed at the same time as the compilation job. Editor ➮ p. 2-25 • Transfer a program to the PLC. Select this function when changing over to the monitor. • Simulator Select this function when changing over to the simulator. • Compilation

2-14

Page 39

Chapter 1 Introduction 3. Debugging the program Read the machine code created by the editor, and confirm the operation status including changes in devices. This allows errors to be detected and the ladder program to be changed accordingly. •

•

You can use either the simulator or the monitor when debugging the program. When using the simulator, you can simulate the status in which a Visual KV or a conventional KV is connected. When using the monitor, you actually connect a Visual KV or a conventional KV and write programs to it. The method for using the ladder monitor, the monitor all and registration monitor which indicate the device status; the method for setting up the current value/preset value/ attribute from the dialog bar; and the method for printing out the registration monitor are shared between the simulator and the monitor with the exception of certain functions. These methods are described in the simulator section.

When a CPU unit is not connected: Simulator ➮ p. 2-83 • Set the break condition, the wait time, the scan time, etc. • Execute scan continuously or once. • Executes a step continuously, a step continuously in the reverse direction, a step once or a step once in the reverse direction. • Change the timing chart size. • Display the mnemonic list. • Search for devices. When a CPU unit is connected: Monitor ➮ p. 2-133 • Serial port setting • Start and stop the monitor, and reconstruct the record. • Set up the PLC mode. • Disable input refresh, disable output (Visual KV Series and KV-300) • Transfer programs (When the menu is selected from the editor and executed, programs are transferred to the monitor.) • Search for devices. Simulator and monitor • Save and read the ladder monitor, monitor all, and registration monitor. ➮ p. 2-88, 2-108, 2-118 • Display the operation status of the ladder monitor, monitor all, and registration monitor. ➮ p. 2-88, 2-108, 2-118 • Display the timing chart (on the registration monitor). • Set up the current value/preset value/attribute. ➮ p. 2-117 • Print out the registration monitor. ➮ p. 2-131

4. Debugging the program using the ladder diagram and transferring the program In addition to debugging using the monitor or simulator, the ladder diagram can also be changed using the editor. A program (machine code) which has been transferred to a basic unit or a CPU unit can be read, and the ladder diagram can then be displayed. Editor ➮ p. 2-25 When debugging is completed and the program runs correctly, transfer the finished program (machine code) to a Visual KV or a conventional KV and write it.

2-15

1

Page 40

Chapter 1 Introduction

1.6.2

Starting up and exiting from the software The procedures for starting up and exiting from the Ladder Builder for KV are described below.

To start up the software ■ In Windows 95 Select "Program", "KEYENCE Applications" and "LADDER BUILDER for KV" from the Start menu.

1

■ In Windows 3.1 Double-click the Ladder Builder for KV icon in the KEYENCE Applications group in the program manager. •

The ladder software starts up.

■ To exit from the software Perform one of the following procedures to exit from the software. • • • •

2-16

Select "File" and "Exit" from the menu. Press the Alt and F4 keys at the same time. In Windows 95, click the close button provided at the right end of the title bar. In Windows 3.1, double-click the control menu box provided at the left end of the title bar.