KEYENCE KV Series User Manual

Page 38

Advertising
background image

Chapter 1 Introduction

2-14

1

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.

KVSKA Chap 01.P65

08.3.11, 11:27 AM

14

Advertising