Manual KV Studio V9 PDF
Manual KV Studio V9 PDF
Manual KV Studio V9 PDF
KV STUDIO Ver.9
Chapter
FILE AND PRINT
4
Chapter
5 EDIT
Chapter MONITOR/
9 SIMULATOR
Chapter
10 DEBUG
Chapter
11 TOOL
Chapter
SCRIPT
12
• Lists of Error Messages
• List of Shortcut Keys
• Index
• KV-7500
• KV-7300
• KV-5500
• KV-5000
• KV-3000
• KV Nano Series
• KV-1000
• KV-700
• KV-10/16/24/40
• KV-P16
Preface
"KV STUDIO" is software for creating ladder programs that combines ease of use and powerful
programming processing capabilities.
This manual provides an overview of KV STUDIO as well as describing the functions of and how to use
KV STUDIO.
Be sure to carefully read and fully understand this manual before you use the product. In addition, store
this manual in a safe place so that you can retrieve it whenever necessary.
Name Description
Store this manual in a safe place so that you can retrieve it whenever necessary.
Provide this manual to the end users of the product.
Symbols
This document contains notices that you should observe to ensure your own personal safety, as well
as to protect the product and connected equipment. These notices are marked according to the level
of danger as shown below.
Important It indicates cautions and limitations that must be followed during operation.
788GB 1
General precautions
• Ensure that the KV Series functions correctly before using KV STUDIO.
• Before you use this product, verify its functionality and performance at startup and
during operation.
• Provide a safety circuit that bypasses the PLC to enable failsafe operation of the
WARNING entire system in the event that the PLC fails.
• Output circuit or internal circuit malfunctions sometimes prevent control from being
performed normally. Be sure to provide a safety circuit in control systems where
circuit malfunction may lead to fire or other serious accidents.
• Do not use the product with the purpose of protecting human beings.
If used these products in any methods other than those specified in this instruction
CAUTION
manual, the provided protection in these products may be compromised.
• Proceed with care when modifying the product or when using it in a manner that
falls outside of the ranges indicated in its specifications since KEYENCE is unable
to guarantee product functionality or performance in such situations.
NOTICE • Use this product in combination with other products only after careful consideration
since the product may fail to satisfy its functionality and performance capabilities
as a result of factors such as its usage conditions and the environment in which it is
used.
1. Definition
1.1 "use" or "using" means to access, install, download, copy, or otherwise benefit from using the
functionality of This Software.
1.2 "This Software" means the software and all associated documentation provided by KEYENCE.
2. Grant of License.
Conditioned upon compliance with all of the terms and conditions of this Agreement, KEYENCE
grants you a nonexclusive and nontransferable license to install this Software on all computers
used in a single business address (factory, division, office) in order to use the KEYENCE product.
You will require user registration to use the software. Without registration, only one license is
available for one computer. You may make one copy of this Software for backup or archive
purposes only.
3. Restrictions.
3.1 Except for installation of updates or new functions provided by KEYENCE,you may not modify or
add any function to this Software.
3.2 You may not reverse engineer, decompile or disassemble this Software.
3.3 You may not create derivative works based on this Software.
3.4 Other than expressly stated by KEYENCE, you may not resell, retransfer, rent or otherwise
redistribute this Software to any third parties.
5. Disclaimer.
Keyence is licensing this Software to you "AS IS" and without any warranty of any kind.
In no event will KEYENCE or its suppliers be liable to you for any damages, claims, costs or any
lost profits caused by using this Software.
6. Termination.
6.1 Your license under this Agreement will terminate automatically if you destroy this Software and
the copy of this Software in your possession or voluntarily return this Software to us.
6.2 Your license under this Agreement will terminate automatically without any notice from KEYENCE
if you fail to comply with any of the terms and conditions of this Agreement.
Promptly upon termination, you shall cease all use of this Software and destroy all copies, full or
partial, of this Software in your possession or control.
6.3 You will compensate KEYENCE for costs or any lost profits caused by your violation or breach of
any term of this Agreement.
7. Governing Law.
7.1 This Agreement will be governed by and construed in accordance with the substantive laws of
Japan without regards to the principles of conflicts of law.
7.2 If any part of this Agreement is found void and unenforceable, it will not affect the validity of the
balance of this Agreement, which shall remain valid and enforceable according to its terms and
conditions.
* This product contains open source software components.
For details of the open source software components, refer to the text file located in the ""license""
folder in the installation folder.
Chapter BEFORE USING THE This chapter describes how to check the package contents,
1 PRODUCT
an overview of the product, how to connect to a PC, and
common operating methods. 1
Chapter PROJECT 2
2
This chapter describes project management.
MANAGEMENT
Chapter This chapter describes how to call tools such as the Unit
11
TOOL Editor, logging settings, and positioning parameter setting
function.
Chapter
12
SCRIPT This chapter describes how to enter and edit scripts.
Chapter 5 EDIT
Chapter 8 CONVERT
Chapter 9 MONITOR/SIMULATOR
Chapter 11 TOOL
Chapter 12 SCRIPT
Terminology
Terminology Description
"KV-7500" This refers to KEYENCE KV-7500 Series programmable controllers.
"KV-7300" This refers to KEYENCE KV-7300 Series programmable controllers.
"KV-5500" This refers to KEYENCE KV-5500 Series programmable controllers.
"KV-5000" This refers to KEYENCE KV-5000 Series programmable controllers.
"KV-3000" This refers to KEYENCE KV-3000 Series programmable controllers.
This refers to KEYENCE KV Nano Series programmable controllers.
"KV Nano Series"
Relevant model names are: KV-N14**, KV-N24**, KV-N40**, KV-N60** and KV-NC32T.
"KV-1000" This refers to KEYENCE KV-1000 Series programmable controllers.
"KV-700/700+M" This refers to KEYENCE KV-700 Series programmable controllers.
"KV-10 (16)/24 (40)" This refers to KEYENCE KV-10/16/24/40 Series programmable controllers.
"KV-P16" This refers to KEYENCE KV-P16 Series programmable controllers.
An electrical device that can control instruments freely by changing the program.
PLC
PLC stands for Programmable Logic Controller.
PC This is an abbreviation of Personal Computer.
"KV STUDIO" This refers to the KV STUDIO ladder support software.
This refers to programs that are created with the KV STUDIO ladder support
Ladder program
software.
This refers to the version of the function added to the CPU.
CPU function version For details, see the KV-7000 Series User's Manual and the KV-5500/5000/
3000 Series User's Manual.
KV-7500/7300 in CPU function version **.
"KV-7500 Ver.**"
This designation is used to distinguish it from KV-7500/7300 in CPU function
"KV-7300 Ver.**"
versions prior to **.
KV-5000/3000 in CPU function version **.
"KV-5000 Ver.**"
This designation is used to distinguish it from KV-5000/3000 in CPU function
"KV-3000 Ver.**"
versions prior to **.
About Symbols
Menus and buttons in this manual are indicated using the following symbols.
Terminology Description
" " Menu items, which can be selected from the menu bar.
[ ] Names of dialog boxes and items.
Buttons with text descriptions in dialog boxes for various operations, such as
" "
executing and canceling.
Ctrl Keys on the keyboard.
This DVD-ROM contains the KV STUDIO Ver.9G installer. Keep it in a safe place after
installation.
IN
REALTIME OUT
Memory capacity
Logic Controller
CARD
V0+
MENU ENTER I0+
CH0
0-
COM
CARD SW V1+
recommended by Microsoft
LINK V3+
I3+
CH3
3-
COM
NS
IN OUT
BAT EtherNet/IP™
Corporation
Windows XP: Expanded memory 256 MB or more
(512 MB or more recommended)
Applicable OS
• Windows 10 / Windows 8 (including 8.1) / Windows 7 (SP1 or later) / Windows Vista (SP2 or later) /
Windows XP (SP3 or later, excluding 64-bit versions)
Free space available on hard disk
1500MB or more
* If you want to install the manual help files in several languages, an additional 700 MB of space is required
for each language.
* An additional 1000 MB of free space is temporarily required during installation.
PLC
KV STUDIO Ver.9 supports the following PLC models.
• KV-7500
• KV-7300
• KV-5500
• KV-5000
• KV-3000
* KV Nano Series
• KV-1000 KV-N14AR/KV-N14DR/KV-N14AT(P)/KV-N14DT(P)
• KV-700/700+M KV-N24AR/KV-N24DR/KV-N24AT(P)/KV-N24DT(P)
• KV Nano Series* KV-N40AR/KV-N40DR/KV-N40AT(P)/KV-N40DT(P)
• KV-P16 KV-N60AR/KV-N60AT(P)
KV-NC32T
• KV-10/16/24/40
KV STUDIO Functions
1 KV STUDIO has the following functions.
Editor function
• You can use various instructions in the ladder language to
create ladder programs.
• You can use module, function block, macro, and local device
to create a program structure.
• You can register comments and labels on devices and
transfer these comments and labels to PLCS.
• You can convert the ladder program that you have created
into a code that can be read by all KV Series units.
• You can display on the screen and print lists of the ladder
programs that you have created, mnemonics lists, comments and labels, and the use status of devices.
Simulator function
• You can simulate the operation of the ladder program you have
created without connecting any KV Series units. This enables
you to debug the program you have created.
• You can easily perform troubleshooting by conducting
continuous scan execution, single scan execution, and
single step execution.
• Reversed step execution is also possible.
• Ladder programs can be edited while simulating operation
(simulator edit).
The simulator edit function can only be used when the selected PLC model is the KV-
Reference
7500/7300.
Monitor function
• You can use the ladder program that you have created to
perform online monitoring of the ON/OFF status of contacts
in real time.
• You can display time charts.
• You can perform online editing.
• When KV STUDIO Ver. 9 reads a ladder program file (*.ldc) for the KV-700/700+M, KV-10/16/24/40
and KV-P16, the file is converted into the KV STUDIO file format (*.kpr).
If such a converted file (*.kpr) is then saved to the original folder (the folder in which the *.ldc files
are saved), you will no longer be able to open the project in KV BUILDER. Save the converted files
in a different folder.
• When KV STUDIO Ver. 9 reads a ladder program intended for the KZ-300/350 (*.ldc), the PLC model
is considered to be the KV-700.
• "Comment 1," "Comment 2," and "label" can be read, but not "Comment 3."
• The circuit library is not supported.
• When you are using labels, check that the following character strings are not used.
Character strings that cannot be used as label names
• ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ ¥ ] ^ ` { } ~ (space)
• Characters that cannot be used at the beginning of a label name: _0123456789
• Character strings that cannot be used: Global,*1 (a name identical to an instruction), (a device
name)
• One alphabetic character + R, or M + a number
• One alphabetic character + a number
• X + (A to F)
• Y + (A to F)
• The following key words specified in KV script
IF, THEN, ELSE, END, SELECT, CASE, IS, TO, MC, MCR, FOR, NEXT, WHILE, DO, UNTIL, TYPE
• The following key words specified in IEC61131-3
TRUE, FALSE,
TIME, DATE, TIME_OF_DAY, TOD, DATE_AND_TIME, DT,
BOOL, SINT, INT, DINT, LINT, USINT, UINT, UDINT, ULINT, REAL, LREAL, STRING, WSTRING,
BYTE, WORD,
DWORD, LWORD,
ANY, ANY_DERIVED, ANY_ELEMENTARY, ANY_MAGNITUDE, ANY_NUM, ANY_REAL, ANY_INT,
ANY_BIT, ANY_STRING,
ANY_DATE,
ACTION, END_ACTION,
ARRAY, OF,
AT,
1 CASE, END_CASE,
CONFIGURATION, END_CONFIGURATION,
BEFORE USING THE PRODUCT
CONSTANT,
EN, ENO,
EXIT,
F_EDGE,
FOR, TO, BY, DO, END_FOR,
FUNCTION, END_FUNCTION,
FUNCTION_BLOCK, END_FUNCTION_BLOCK,
IF, THEN, ELSIF, ELSE, END_IF,
INITIAL_STEP, END_STEP,
NOT, MOD, AND, XOR, OR,
PROGRAM, WITH, END_PROGRAM, R_EDGE,
READ_ONLY, READ_WRITE,
REPEAT, UNTIL, END_REPEAT,
RESOURCE, END_RESOURCE,
RETAIN, NON_RETAIN,
RETURN,
STEP,
STRUCT, END_STRUCT,
TASK,
TRANSITION, FROM, END_TRANSITION,
TYPE, END_TYPE,
VAR, VAR_INPUT, VAR_OUTPUT, VAR_IN_OUT, VAR_TEMP, VAR_EXTERNAL, VAR_ACCESS,
VAR_CONFIG, VAR_GLOBAL,
END_VAR,
WHILE, DO, END_WHILE
• Other character strings (IEC61131-3 standard)
• Two or more continuous "_" are not allowed in a label name. For example, "a_b_c" can be used, but
"a__bc" is forbidden.
• Character strings are not case-sensitive. For example, "aBc" and "abC" are treated as the same
label name.
• Some character strings can be used when KV-1000, KV-700/700+M, KV-10 (16),
Point
KV-24 (40), or KV-P16 is selected for the PLC model.
• When KV STUDIO reads a ladder program that contains label names with
character strings that cannot be used, the labels that use the illegal character
strings are not read, and the device names are displayed in place of these
labels.
• When a ladder program is transferred to a KV-700/700+M, KV-10/16/24/40, or
KV-P16, the label information in use is not transferred (because these units do
not have label information storage areas).
Consequently, when KV STUDIO Ver. 9G is used to read a ladder program from
a KV-700/700+M, KV-10/16/24/40, or KV-P16, device names are displayed
instead of labels.
1-6 - KV STUDIO Ver.9 User’s Manual -
1-3 About Data Compatibility
• Depending on the function, some settings that were previously configured from
Important
ladder programs are now instructions and some settings that were previously 1
configured from ladder programs are now configured from KV STUDIO.
Model change
KV STUDIO Ver. 9 has a function to change the ladder program's PLC model.
For details, see "Changing the Model" (page 4-19).
KZ Ladder Programs
KV STUDIO Ver. 9 can read the ladder programs for the KZ-300/350 and KZ-A500. When KV STUDIO
Ver. 9 reads a ladder program file for the KZ-300/350 (*.ldc) or KZ-A500 (*.ldx), the file is converted
into the KV STUDIO file format (*.kpr).
Bluetooth communication
To use the Bluetooth unit KV-BT1 to transfer programs from a PC to the KV-5500/5000/3000 or to use
the monitor function, attach the USB adapter for Bluetooth connections (sold separately) to the PC,
and enable Bluetooth communication in advance. For details on how to configure the settings, see the
user's manual of the USB adapter for Bluetooth connections.
Precautions in Windows XP
User rights
1
The USB driver is automatically installed during the installation of KV STUDIO. If you need to manually
reinstall the USB driver, the USB driver file can be found in "C:\Program Files\KEYENCE\KVS9\KVS".
User rights
When KV STUDIO is installed in the standard folder (C:\Program files\KEYENCE\KVS9G\), set the
following access rights.
• Assign "Standard User" rights or higher to the users who will use KV STUDIO.
Installation
This section describes how to install the software on a PC with the following drive configuration as an
example.
C : Hard drive
E : DVD-ROM drive
1 Start Windows, and insert the KV-STUDIO DVD-ROM into the CR-ROM drive of the PC.
• The PC's autorun function will start the installer.
If the installer does not start, select "Run" from the Start menu, type "e:\setup" in the "Run" dialog box,
and then click "OK."
• Follow the installer's instructions to install the software.
When installing KV STUDIO on Windows 10, 8, 7, Vista or XP, log in as a user with
Point
"Administrator" rights.
Uninstalling KV STUDIO
1 Checking PC settings
Before using the product, check that the settings have been configured to enable USB, RS-232C and
BEFORE USING THE PRODUCT
Ehernet.
If these settings have not been configured, a communication error will occur during monitor operation,
and you will not be able to operate the monitor correctly.
For details on how to configure the settings, see the manual of the PC you are using.
Display resolution
Be sure to set the display resolution to 1024 × 768 pixels, High Color (16 bits) or higher, small fonts. To
make operations more comfortable, use a display that has as large a resolution as possible. (We
recommend a resolution of 1280 × 1024 or higher.)
1 System configuration Create the system configuration according to the design drawing.
Use the Unit Editor to configure the following.
Unit Editor
· Unit configuration information of the · Unit functions
KV-7500/7300/5500/5000/3000/1000/700 system · KL system settings
· Unit relay and DM assignments
2 Ladder diagram creation Create a ladder program according to the processing details to be
controlled by the PLC.
Editor
· Creation of modules ................................................ Create a ladder program for each module.
· Creation of macros ................................................... Create macros as required.
· Setting of the module execution sequence
4 Program debugging
Check the operating status such as device changes.
You can correct ladder programs by detecting locations in which errors occur.
· To perform debugging by simulating an environment in which KV Series units are connected, use the "Simulator."
· To perform debugging by actually connecting KV Series units and writing a program to it, use the "Monitor."
Debugging without the CPU unit connected Debugging with the CPU unit connected
Simulator Monitor
Editor
About Help
In addition to the printed manual, online help and a PDF manual are also available in KV STUDIO. When you
1
have a problem, such as not understanding the operations, click on the toolbar. Alternatively, click
You can select HTML help or the PDF manual from the pulldown menu displayed when you click "Help
(H)" on the menu bar.
The items displayed in the pulldown menu vary depending on the model of the PLC being edited.
KV-FL20V PDF
BEFORE USING THE PRODUCT
KV-LE21V PDF
KV-LE20V PDF
KV-L21V PDF
KV-L20V PDF
KV-LM21V PDF
KV-CL20 PDF
(this manual).
In some cases, even though a program could be edited with KV STUDIO, it cannot
Point
be transferred to a PLC due to the CPU unit or base unit restrictions on the
program capacity or number of steps.
For example, it is not possible to transfer 4,000 programs each containing 40,000
lines of code to the KV-7500/7300.
Eventually, it depends on the size restriction of data after conversion. Check the
size that you can use to perform "Convert" and then transfer the data.
"Convert" (page 8-2)
For details on the restrictions of the CPU unit and base unit, see "4-3 Project"
in the KV-7000 Series User’s Manual, "3-3 Project" in the KV-5500/5000/3000
Series User’s Manual and "4-3 Projects" in the KV Nano Series User’s Manual.
created previously.
You can also display windows and toolbars containing a variety of functions. See the following
example.
"6-1 About View Functions" (page 6-2)
Toolbar
This displays buttons
for executing
different functions.
Workspace
This displays buttons
for executing
different functions.
Output window
This displays the
search result or
messages such as
errors.
Docking navigator
When you customize the edit screen by dragging a window such as the workspace, ladder edit
window, output window, or watch window or a dialog box, the docking navigator is displayed so that 1
you can specify the destination of the screen element.
Displays the top, bottom, left, and right parts of the edit screen.
Drop the window on one of these marks to dock the window in the
specified location.
Auto-hide function
This function displays the workspace, output window, and watch window only when necessary.
Click the pin icon displayed in the upper-right corner of the workspace, output window, or watch
window docked in the top, bottom, left, or right of the edit screen.
If the window cannot be automatically hidden or if it is displayed as a tab, it will not be hidden.
Icon Explanation
Cursor
Use the cursor to
select devices and
other objects to edit.
Connecting wire
Rung number This displays the
This is the rung instruction in symbol
number of the ladder format.
program.
Instruction symbol
Step number This displays the
This is the step instruction in symbol
number of the ladder format.
program. It is only
displayed after
conversion. If you
change the ladder
program, the step
number will
disappear.
PROJECT MANAGEMENT
PROJECT
MANAGEMENT
This chapter describes project management.
2 KV STUDIO processes various data files. Data files are managed in batches per project folder.
The following support tool data exists in a project folder.
PROJECT MANAGEMENT
When you create a project in KV STUDIO, a project folder and a KV STUDIO data file are automatically
created. Support tool data for the Unit Editor, CPU positioning parameter setting, MOTION BUILDER,
PROTOCOL STUDIO, MV LINK STUDIO, and KV MOTION+ tools is created when each tool is started.
PROJECT MANAGEMENT
Windows XP: C:\Documents and Settings\<UserName>\My Documents\KEYENCE\
KVS\KVS□□\PROJECT
Example If you create a project folder called "USER" within the "PROJECT" subfolder in the
KV STUDIO installation folder, the folder path will be:
For Windows 8: C:\Users\<UserName>\Documents\KEYENCE\KVS□□\
KVS\PROJECT\USER
User data files such as KV STUDIO data files are stored in the "USER" folder.
A project folder stores user data files such as KV STUDIO data files.*
2 Item
File Name Extension
Description
Item
Description
File Name Extension
KV-XLE setting data file
UnitComm .xle KV-XLE02 setting data file
KV-XL setting data file
UnitComm .xl KV-XL402/XL202 setting data file
2
KV-XH setting data file
PROJECT MANAGEMENT
UnitPos .xh KV-XH04ML/XH16ML setting data file
UnitPos .xhec KV-XH16EC setting data file
KV-SH setting data file
UnitPos .sh4 KV-SH04PL setting data file
KV DATA LINK+ setting file
(User input) .eid EtherNet/IP KV DATALINK+ setting file
Data file for positioning unit simple setting and MOTION BUILDER
(User input) .mb2 Positioning unit file
Simple PLC link data file
(user input) .spb Simple PLC link setting file
Serial PLC Link data file
(User input) .srb Serial PLC Link setting file
PROTOCOL STUDIO data file
(User input) .psm PROTOCOL STUDIO communication macro file
MV LINK STUDIO data file
(User input) .mls MV LINK STUDIO MV-L40 parameter file
KV-DN20 setting data file
(User input) .d20 DeviceNet connection setting file
KV-CL20 setting data file
(User input) .c20 CC-Link connection setting file
KV MOTION+ data file
(User input) .mul KV-ML16V setting data file
(User input) .muc KV-MC40V/MC20V setting data file
(User input) .mvl SV series MECHATROLINK-II setting data
(User input) .mvp SV series analog/pulse input setting data
* If you select "Save compact project," you can save all user data files in the project folder as one "Project
compression file (*.kpz)."
"Compressing and Saving Projects" (page 4-4)
Creating projects
2 Create a new project, and then create the ladder program.
For details on how to create a new project, see "About File Functions" (page 4-2).
PROJECT MANAGEMENT
2 Right-click the folder whose project name is to be changed, click "name change" in the menu
that is displayed, and then enter the folder name.
The folder name is changed.
You can only use "changing Project names" to change the names of project
Point folders. Even if you change the name of the project folder, the data in the folder
will not be changed. To change the file names of the data in the folder as well, use
"Save project as" in the edit screen.
"Saving Projects with a New Name" (page 4-3)
Deleting projects
To delete a project, select the folder whose project name is to be deleted, and then press Delete or
right-click the folder and click "delete" from menu that appears.
Point When you delete a project folder, all the data in the project folder is also deleted.
Copying projects
To copy a project, select the folder of the project name that you want to copy, and then press Ctrl +
C to copy the project, then press Ctrl + V to paste the project. Alternatively, right-click the
folder, and then click "Copy" and "Paste" in that order in the menu that appears.
Setting passwords
The password setting function is intended to inhibit the reading of unit setup information, programs,
comments and logging settings stored in the KV-7500/7300/5500/5000/3000/1000/700 and
KV Nano Series.
Once a password is set, data cannot be read unless the correct password is entered.
Setting passwords can prevent programs from being read from the KV-7500/7300/5500/5000/3000/
1000/700 or KV Nano Series by unauthorized personnel.
For details on setting passwords, see "Set password" (page 4-5).
• Passwords cannot be set when the KV-P16, KV-10 (16) or KV-24 (40) is selected
Point
for the PLC model.
• When read protection is set, the password confirmation dialog is not displayed.
UNIT EDITOR
UNIT EDITOR
This chapter describes the functions of the Unit Editor and how to use the
Unit Editor.
Reference The Unit Editor cannot be used when the KV-10 (16), KV-24 (40), or KV-P16 is selected
for the PLC model.
Overview of Functions
3
When the KV-7500/7300/5500/5000/3000/1000/700 is used, you have to register the units to be
UNIT EDITOR
• You cannot start Unit Editor in a standalone fashion. Be sure to open a ladder
Point
file, and then start Unit Editor from KV STUDIO.
• With the KV Nano Series, when you are not using any special units, you do not
have to register units with the CPU.
UNIT EDITOR
The "Auto-replace Devices" function is also available to change the relay and DM numbers in the
ladder program automatically according to the changes to the relay and DM numbers of each unit in
the Unit Editor. Because unit configuration information is integrated with the ladder program, device
assignment errors are avoided.
Integration
* For KV - 7500/7300 with the CPU function version 2.2 or earlier, it will be up to R99915.
Mistakes occur because you configure settings You can make selections by following the
while reading the manual. menus, so it is easy to configure settings.
- KV STUDIO Ver.9 User’s Manual - 3-3
3-1 Unit Editor Overview
3
Switch settings have traditionally You can use the Unit Editor to transfer
UNIT EDITOR
File
This menu contains the commands for file operation and printing.
UNIT EDITOR
from other projects.
Read unit configuration from PLC Read unit configuration information from a PLC. 3-29
Edit
This menu contains the commands for editing the unit information.
Convert
This menu contains the commands for the relay and DM assignment function.
Setup Slave
The menu is displayed only when the KL-N20V unit is selected in the unit
Point
configuration area.
3
Item Icon Model See Page
UNIT EDITOR
View
This menu contains the commands related to switching the display of the window.
Message area - Select whether to show or hide the message area. 3-14
-
Display the unit setting window of the unit that is 3-25
Display unit setting
currently selected with the cursor.
Switch between the bitmap display and box display 3-33
Display bitmap/with box
of the units in the unit configuration area.
When KV STUDIO is in monitor or online edit mode,
Unit Monitor - the Unit Monitor of the unit selected in the unit 3-26
configuration area is displayed.
-
When KV STUDIO is in monitor or online edit mode, 3-26
Built-in Function Monitor
the built-in function monitor is displayed.
When KV STUDIO is in monitor or online edit mode,
-
the expanded buffer memory of the unit selected in 3-27
Buffer memory monitor
the unit configuration area is monitored in the batch
monitor window.
Options
This menu contains the commands related to the environmental settings of the Unit Editor.
Window
This menu contains the commands related to switching the display of the window.
Select unit
Setup unit
-
-
Select the select unit tab.
Select the setup unit tab.
3-12
3-12
3
Update setting - Select the update setting tab. 3-13
UNIT EDITOR
Message area - Select the message area. 3-14
Help
File
This menu contains the commands for file operation and printing.
3 Item Icon Model See Page
Copy the slave setup information from another 3-39
Import slave information
UNIT EDITOR
project.
Close the slave setup window that is currently being 3-36
Close slave setup window
edited.
Edit
This menu contains the commands for editing the unit information.
Convert
View
This menu contains the commands related to switching the display of the window.
-
Open the unit setting window of the slave that is -
Setup unit/slave property
currently selected with the cursor.
Window
This menu contains the commands related to switching the display of the window.
Select unit
Setup unit
-
-
Select the select unit tab.
Select the setup unit tab.
3-35
3-35
3
Setup address - Select the address setting tab. 3-36
UNIT EDITOR
Message area - Select the message area. 3-14
Help
Message area
This displays errors and operating information
during the operation of the Unit Editor.
*1 It appears when the model is the KV-7500/7300/5500/5000/3000, and the KVFL20V (KV-FL20V mode)
or the KV-5000 (FL-net mode) is selected in the unit configuration area.
*2 It is displayed when selecting X-Unit, S-Unit supported by Inter-unit synchronous refresh in the unit
arrangement area and setting Inter-unit synchronization function to "To use".
This displays the unit configuration that is set in the Unit Editor.
In the unit configuration area, you can:
• Configure, delete, and change the connection positions of units.
• Select the unit to configure detailed settings of.
• Display the current consumption, weight, and dimensions of the entire system.
• Display the relay addresses assigned to each unit.
3
• Display an image of the unit configuration.
UNIT EDITOR
System information*
The following information is displayed for each level of the connected units:
• Model (KV Nano Series only, excluding KV-NC32T)
• Width (mm)
• Height (mm)
• Depth (mm)
• Current consumption (mA)
• Weight (g)
• Service power supply (mA; AC power supply type KV Nano Series only)
Unit number
This displays the connection number
of the unit assigned as 0, 1, 2, 3, 4
and so on starting from the CPU.
Extension cable
Extension cables are displayed as
broken lines when the Extension Unit
KV-EB1 is used in a multi-level
* For the KV Nano Series, this information is not displayed unless "Model" is selected in the "Setup unit" tab.
Use this tab when you are configuring units on the edit screen. Select a unit to be configured from the
Unit Selection window.
Reference Selectable unit models vary depending on the model being used.
Use this tab to display detailed settings such as the mode and assigned relay numbers of the unit
configured in the unit configuration area as well as to change these settings.
UNIT EDITOR
and a function (eg PROFINET) supports Auto refresh is used.
For details, see KV-XLE02 User's Manual.
It appears only when the model is the KV-7500/7300, and you select the KV-XH16ML/XH04ML/
XH16EC/SH04PL in the unit configuration area and set the inter-unit synchronization function to "use".
The buffer memory and the device can be specified which will be refreshed in addition to the standard
assignment device when refreshing each unit.
3
UNIT EDITOR
For details, refer to the "KV-SH04PL User’ Manual" and the "KV-XH16ML/XH04ML User’s
Manual"
Message area
This displays errors and conversion results during the operation of the Unit Editor.
As an example, this section describes the procedure for using the Unit Editor to create a new system
with the following unit configuration.
3
KV│PU1
KV│7500
KV│SIR32XT
KV│SAD04
KV│L21V
KV│H20S
KV│AD40V
End unit
UNIT EDITOR
1 In the KV STUDIO edit screen, click the "File (F)" menu "New project (N)."
The "New project" dialog box is displayed.
2 Enter the name of a new project, select the PLC model, and then click "OK." To change the
location to save the project, click "Refer.," select the location, and then click "OK."
The "Confirm unit setting information" dialog box is displayed.
Click "Yes" to start the Unit Editor.
Item Explanation
Yes The Unit Editor starts. Set the unit configuration.
The KV STUDIO edit screen is displayed.
No
To set the unit configuration, start the Unit Editor separately.
The unit configuration information is read from the CPU unit.
Read unit
Configure the PC and the CPU unit so that they can communicate with each other in
setting
advance.
Reference When the selected PLC model is the KV Nano Series, the "Confirm unit setting
information" dialog box is not displayed. When you are only using the base unit and
expansion I/O units, the occupied devices are assigned automatically, so you can skip
the procedure shown below.
4 From the unit selection window, select the unit to connect, and then drag it to unit configuration area.
The unit is displayed in the edit screen.
This procedure uses the unit configuration shown above as an example. Drag the units in the following
order: KV-PU1, KV-SIR32XT, ... KV-AD40.
3
UNIT EDITOR
Reference The CPU unit, bus connection unit and end unit are automatically configured in the
configuration area.
(If only KV-7500/7300 and KV-7000 Series expansion units are used, a bus connection
unit and end unit are not required.)
(There is no end unit when you are using the KV Nano Series.)
Reference In the procedure described here, relays and DM entries are automatically assigned. To
assign relay numbers manually, see "Manually Assigning Relays and DM Entries of
Configured Units" (page 3-22).
6 In the unit configuration area, double-click the unit that you want to set the details of, and then
use the "Setup unit" tab to configure the settings.
Reference For details on how to set each unit and details on the setting contents, see the manual of
each unit.
7 After you have finished configuring the settings of all the units, click "OK."
The created system is saved and the KV
STUDIO editor screen is displayed.
In the KV STUDIO editor screen, click the "Tool (T)" menu "Unit Editor (U)." 3
The Unit Editor starts.
UNIT EDITOR
Reference The Unit Editor cannot start if no projects exist.
"About File Functions" (page 4-2)
"File(F)" "Close(S)"
Click the "File (F)" menu "Close (S)." A confirmation dialog box appears.
Item Explanation
The unit configuration settings will
Yes be saved, and
you will exit the Unit Editor.
The unit configuration settings will
No be discarded, and
you will exit the Unit Editor.
Cancel You will return to the Unit Editor.
• KV-7500/7300/5500/5000/3000/1000/700
Point
To enable operation, the unit setting information must be set. If you exit the
Unit Editor without saving the settings, you will need to create the unit setting
information again when you transfer the project to the CPU unit.
• KV Nano Series
Operation is possible without setting the unit setting information in the Unit
Editor. However, you need to use the Unit Editor to set the unit setting
information when you are using a special unit such as the analog unit or when
you are using functions such as Modbus serial communication.
Reference If you click "OK" in the Unit Editor, the unit configuration will be saved and you will then
exit the Unit Editor without the confirmation dialog box being displayed.
Displaying Windows
3 Three types of windows are displayed on the right side of the Unit Editor: the Select unit tab, Setup unit
tab, and Update setting tab. You can switch between which window is displayed.
UNIT EDITOR
Reference The first time that the Unit Editor starts, the Select unit window is displayed. The next
time that the Unit Editor starts, the window that was displayed when the Unit Editor
exited previously is displayed.
Configuring Units
Select the unit to be connected from the Select unit window, and drag it to the edit window.
The unit is configured at the position that you dropped it.
UNIT EDITOR
The KV-7000 Series operates as shown below.
Point • The CPU unit is already configured in the unit configuration area when the Unit
Editor starts.
• The power supply unit can only be installed on the left side.
• Only one CPU unit is allowed per system. It can be configured at the leftmost
position of the top level or next to the power supply unit.
• The expansion unit for KV-7000 Series should be configured between the KV-
7500/7300 and bus connection unit (or the right edge).
• The bus connection unit is automatically inserted when the expansion unit for
the KV-5000/3000 Series is configured. *The bus connection unit is not counted
to the unit number.
• The expansion unit for KV-7000 Series can be configured at the top level only
and maximum 16 units.
• Even if you do not configure extension unit KV-EB1, one will be configured
automatically when you configure a unit on the lower level.
• The maximum number of units that can be connected in a single system is 16
(excluding power supply, CPU, extension and bus connection units) per level of
horizontal connection. Up to three levels can be used.
The KV-5000/3000/1000/700 Series operates as shown below.
• The CPU unit and end unit are configured in the unit configuration area when
the Unit Editor starts.
• The power supply unit, error output unit, and Bluetooth unit can only be
installed on the left side.
• Only one CPU unit is allowed per system, and it can be configured at the
leftmost position of the top level or next to the power supply unit or error
output unit.
• Even if you do not configure an Extension Unit KV-EB1, one will be configured
automatically when you configure a unit on the lower level.
• The maximum number of units that can be connected in a single system is 16
(excluding power supply, CPU, and extension units) per level of horizontal
connection. Up to three levels can be used.
The KV Nano Series operates as shown below.
• Only the base unit is configured in the unit configuration area when the Unit
Editor starts.
• The extension cassette/extension adapter can be set on the "Setup unit" tab of
the base unit.
• The units can be configured only in one horizontal level. Even when the units
are used in two levels through the use of the bus extension cable, they are
displayed as one level in the Unit Editor settings.
• The maximum number of units that can be connected in a single system is 8 (3
when the KV-N14** is used).
Select the unit to be deleted, and then click the "Edit (E)" menu "Delete (D)" or right-click the
3 unit, and then select "Delete" from the menu that appears.
• To delete multiple units, select the units with the mouse and then delete the units.
• The deleted section is displayed shaded in.
If you delete a unit of a system whose relays and DM entries have already been
Point
assigned, the relay and DM numbers of the deleted unit are displayed in red as
invalid operands in the ladder program, and the program can no longer be
transferred to the PLC.
Use the ladder edit screen to clear the invalid operands or edit the ladder program
again. Also, if you clear the "Device auto-convert mode by changes to unit
config" checkbox in the "system settings" tab that is displayed when you click
the "Tool (T)" menu "Option (O)" in the ladder edit screen, these relay and
DM numbers will not become invalid operands.
"Clearing Invalid Operands" (page 8-4)
1 To copy a selected unit, click the "Edit (E)" menu "Copy (C)." To move a unit, click the
"Edit (E)" menu "Cut (T)."
If you cut a unit of a system whose relays and DM entries have already been
Point
assigned, the relay and DM numbers of the cut unit are displayed in red as invalid
operands in the ladder program, and the program can no longer be transferred to
the PLC.
Even if you paste the unit, the relay and DM numbers will not be inherited. Use the
ladder edit screen to clear the invalid operands or edit the ladder program again.
"Clearing Invalid Operands" (page 8-4) 3
Also, if you clear the "Device auto-convert mode by changes to unit config"
checkbox in the "system settings" tab that is displayed when you click the "Tool
UNIT EDITOR
(T)" menu "Option (O)" in the ladder edit screen, these relay and DM
numbers will not become invalid operands.
2 Move the unit cursor to position that you want to paste the unit, right-click the mouse button,
and then select "Paste" from the menu that appears.
Reference When you are using the KV-7500/7300/5500/5000/3000/1000/700, you can use the
option settings to set the automatic assignment rules.
In the default settings, relays are assigned in 10-channel units from the leading number
of 30000 and DM entries are assigned in 100-entry units from the leading number of
10000. Both relay and DM entry assignments start from the position neighboring the
CPU unit.
"Setup device assignment" (page 3-44)
For the KV Nano Series, the assignment is set to "unit number × 1000" (for input units
and I/O units) or "unit number × 1000 + 500" (for output units). (The assignment may be
shifted when a special unit is used.)
3 1 Select the unit to be set, and then click the "View (V)" menu "Display unit setting (R)."
The settings of the unit selected in the unit configuration area are displayed in the Setup unit window.
UNIT EDITOR
Reference • The Unit Editor has an "auto-convert function" that automatically changes the relay
and DM numbers in the ladder program when you change relay or DM numbers in a
system in which relay and DM assignment has already been performed.
• In the default settings, automatic conversion is enabled. When the automatic
conversion function is not required, click the "Tool (T)" menu "Option (O)" in the
ladder edit screen, and then clear the "Device auto-convert mode by changes to unit
config" checkbox in the "system settings" tab to change the setting.
"Setup device assignment" (page 3-44)
• Enter the leading relay number by specifying a channel. Channel numbers refer
Point
to relay numbers without the last two digits. For example, R10000 is channel
100.
• The relays and DM entries that can be assigned to all the units are those relays
and DM entries that are within the global device range.
If you specify a device outside of this range, an error will occur during
conversion. Check the global device range.
"Overall Local Device Assignment Settings" (page 8-6)
• You can only enter even numbers for the leading DM numbers.
1 Click the "Edit (E)" menu "Batch input relay No. (A)."
UNIT EDITOR
channels, and then click "OK."
Reference • The Unit Editor has an "auto-convert function" that automatically changes the relay
and DM numbers in the ladder program when you change relay or DM numbers in a
system in which relay and DM assignment has already been performed.
• In the default settings, automatic conversion is enabled. When the automatic
conversion function is not required, click the "Tool (T)" menu "Option (O)" in the
ladder edit screen, and then clear the "Device auto-convert mode by changes to unit
config" checkbox in the "system settings" tab to change the setting.
"Setup device assignment" (page 3-44)
Enter the leading relay number by specifying a channel. Channel numbers refer to
Point
relay numbers without the last two digits. For example, R10000 is channel 100.
Reference • For a system with relay/DM assigned, when its relay/DM number is changed, the
"Automatic conversion function" automatically changes the relay/DM number on the
ladder program.
• By default, automatic conversion is in effect. If you don’t want to use the automatic
conversion function, from the ladder edit screen, select "Tool(T)" "Options"(O).
Then, on the "System settings" tab, clear the "Ladder device automatic conversion
3 mode using unit configuration change" check box to change this setting.
"Setup device assignment" (page 3-44)
UNIT EDITOR
• Only the units whose "Inter-unit synchronization function" is set to "To use"
Point
will be displayed.
• DM can be assigned within the range of a global device.
If you specify it to be out of the range, then an error occurs during conversion.
Check the range of the global device.
"Setting Local Devices for Each Program" (page 8-6)
• For a leading DM number, you can enter only an even number.
Check that the unit configuration and the relay and DM assignments of each unit that you set in the
Unit Editor are correct.
Reference When you exit the Unit Editor, the devices are automatically checked. If there is an error,
a message indicating the error will be displayed.
Select the unit to be set, and then click the "View (V)" menu "Display unit setting (R)."
The settings of the unit selected in the unit configuration area are displayed in the Setup unit window.
3
UNIT EDITOR
The Setup unit window of the selected unit is
displayed.
Follow the procedure below to display the Setup unit tab of the unit selected in the unit configuration
area.
1 Select the unit to be set, and then click the "View (V)" menu "Display unit setting (R)".
The Setup unit tab of the unit selected in the unit configuration area is displayed.
2 Click the item whose setting is to be changed, and enter the new value.
When KV STUDIO is in monitor mode, you can display the unit monitor from the Unit Editor.
3 Select the unit whose unit monitor you want to display, and then click the "View (V)" menu
monitor (U)" or right-click the unit, and then select "Unit monitor" from the menu that appears.
"Unit
For details on the unit monitor, see the user's manual of each unit.
UNIT EDITOR
When KV STUDIO is in monitor mode, you can display the built-in function monitor from the Unit Editor.
Select the CPU unit, and then click the "View (V)" menu "Built-in Function Monitor (M)" or right-
click the unit, and then select "Built-in Function Monitor" from the menu that appears.
For details on the built-in function monitor, see "9-5 Built-In Function Monitor" (page 9-57).
When KV STUDIO is in monitor mode, you can display the buffer memory monitor from the Unit Editor.
Select the unit whose buffer memory monitor you want to display, and then click the "View (V)" menu
"Buffer memory monitor (B)" or right-click the unit, and then select "Buffer memory monitor" from
3
the menu that appears.
UNIT EDITOR
For details on the buffer memory monitor, see "9-4 Batch Monitor" (page 9-54).
"File(F)" "Import(I)"
Follow the procedure below to read the unit setting information and unit comments that were created
3 1
for another project.
2 Specify the location of the unit setting information file and the unit comments that you want to
import.
Item Explanation
This displays the storage location of the unit setting information file and the unit
Name of unit setting
comments that you want to import. You can click "Refer" to display the "Open" dialog
info file
box, and you can then use this dialog box to select a unit setting information file.
This displays as a list the information related to the unit configuration of the file to be
Unit list
imported.
This displays the unit number of the unit setting information.
Unit No.
The units whose checkboxes are selected will be imported.
Unit name This displays the unit name.
Position This displays the number of unit levels and the unit connection position (number).
Comments This displays unit comments.
Select all Click this to select all the unit number checkboxes.
Unselect Click this to clear all the unit number checkboxes.
Point
• Configure KV STUDIO and the PLC so that they can communicate with each 3
other in advance.
UNIT EDITOR
"Communication Settings" (page 9-5)
• The settings of all the units of the read unit configuration are initialized (not set).
You cannot use the unit configuration reading function to read unit setting information.
Entering Comments
Unit comments
Add a comment to the unit selected in the unit configuration area.
Click the "Edit (E)" menu "Edit cmnts (O)" "Unit cmnt (U)."
The "Unit comments" dialog box is displayed. Enter the unit comment.
Reference The entered unit comment is displayed as a hint (tool tip) for the unit in the unit
configuration area.
Block comments
Add a comment to the block that includes the unit selected in the unit
configuration area.
Click the "Edit (E)" menu "Edit cmnts (O)" "Block cmnt (B)."
The "Block comments" dialog box is displayed. Enter the block
comment.
Reference The entered block comment is displayed under the system information of the unit
configuration area.
System comments
Add a comment to the set system configuration.
Click the "Edit (E)" menu "Edit cmnts (O)" "System
cmnts (S)."
The "System comments" dialog box is displayed. Enter the system
comment.
3
The entered system comment is displayed in the upper-left part of the unit configuration
UNIT EDITOR
Reference
area.
• Select the unit to be reserved, and then click the "Edit (E)" menu "Reserve unit(R)" or right-
click the unit, and then select "Reserve unit(R)" from the menu that appears.
• If you plan to add a unit in the future, or when you have a unit to be attached or removed in the same
ladder program depending on the type of the equipment, you can "reserve" the unit.
• To cancel the reservation, select a reserved unit, and then click the "Edit (E)" menu "Unreserve
unit(R)" or right-click the unit, and then select "Unreserve unit(R)" from menu that appears.
Reference The unit reservation function works differently depending on the unit.
When a unit is
reserved
This function displays the unit that corresponds to the error messages displayed during operations
1
such as relay and DM assignment and unit addition and deletion.
UNIT EDITOR
message is
highlighted.
The cursor in the unit configuration area moves to the unit on which the error is occurring.
1 Select the KL-N20V whose slave you want to set, and then click the "Setup slave (K)" menu "Setup
slave (N)."
The slave setup screen is displayed.
Alternative procedure Right-click the KL-N20V whose slave you want to set, and then select "Setup slave"
from the menu that appears.
Reference For details on how to set the KL slave units, see the manual of each unit.
Read slave setting information that was created for another project. When you are creating a system
that has the same slave configuration as that of a previously created system, you can use the "Import
3 slave info" function to acquire previously created system information as-is, which eliminates the work
that is required to configure the settings.
UNIT EDITOR
1 Select the KL-N20V whose slave setting information you will read, and then click the "Setup
slave (K)" menu "Import slave info (I)" or right-click the KL-N20V, and then select "Import
slave info" from the menu that appears.
Item Explanation
This displays the location where the slave setting information file to import is
Name of slave setting info
saved. You can click "Refer" to display the "Open" dialog box, and you can
file
then use this dialog box to select a unit setting information file.
Master list This displays the units (master) list.
Select all Click this to select all the units (masters).
Unselect Click this to clear all the selected units.
3 Select the unit (master) whose slave information you will import, and then click "OK."
The slave setting information is imported.
Copy the KL unit information created with the KL address setup software to the clipboard. For details
on how to operate this function, see the KL-N20V User's Manual.
3-32 - KV STUDIO Ver.9 User’s Manual -
3-6 Unit Editor Operations
Import to the Unit Editor the KL unit information that was copied to the clipboard with "Copy KL info." For
details on how to operate this function, see the KL-N20V User's Manual.
3
Starting the KL-N20V Setup (KL Address Setup) Software
UNIT EDITOR
"Setup slave(K)" "KL-N20V setup(KL address setup)(E)" Ctrl + E
Start the KL address setup software, and then configure the KL-N20V address settings. For details on
how to operate this function, see the KL-N20V User's Manual.
Reference When you are using the KL address setup software to set addresses, "Communications
with other KL master units" in the KL-N20V Setup unit window is automatically set to
"TRUE."
You can change the way that the configured unit illustrations are displayed in the unit configuration
area and the slave configuration area. You can use the bitmap display to display an image of the units
in the manner that they are actually connected. You can use the box display to display the assigned
relay numbers.
Reference This setting is saved by the system. The next time that you start the Unit Editor, the
same setting will be used.
Displaying Help
When you are using the KL Series, you have to use the slave setup screen to set the slaves to connect.
3 In the Unit Editor, select the "Setup slave" menu to display the slave setup screen.
You can only select the "Setup slave" menu when a KL-N20V is selected.
UNIT EDITOR
This displays the slave configuration that has been set in the slave setup screen.
In the slave configuration area, you can:
• Configure, delete, and change the connection positions of slaves.
• Select the slave to configure detailed settings of.
• Display the current consumption and weight of the entire slave system.
• Display the relay addresses assigned to each slave.
• Display an image of the unit configuration.
System information
This displays the current
consumption (mA) and weight (g)
of the entire slave system.
Unit information
This displays the model numbers
and assigned relay numbers and
addresses of the configured
slaves.
Use this tab when you are configuring slave units in the slave configuration area.
Select the slave unit to configure from the Select unit window.
UNIT EDITOR
This displays the slave model.
Use this tab to display detailed settings such as the mode of the master unit configured in the slave
configuration area as well as to change these settings.
Use this tab to display the table of detailed address assignments of the slave unit configured in the
slave configuration area, to manually assign addresses, and to change settings.
The relays and DM entries of the KL Master Unit KL-N20V are assigned according
Point
to the slave information set in the Slave setup screen. When the Slave setup
screen was closed without the slave setup information saved, either create the
slave setup information again or manually set the addresses of the KL-N20V when
transferring the ladder program to the CPU unit.
UNIT EDITOR
You can use the menu to switch the cursor position (the area or tab that is active).
Configuring Slaves
From the unit selection window, select the slave to be connected, and then drag it to the edit screen.
Select the slave to be deleted, and then click the "Edit (E)" menu "Delete (D)" or right-click the
slave, and then select "Delete" from the menu that appears.
3 These commands copy, move, and paste the selected slave station.
You can also use the menu that appears when you right-click a slave to perform these operations.
UNIT EDITOR
If you cut a slave whose address has already been assigned, even if you paste the
Point
slave, the pasted slave will not have the assigned address number.
Even if you change the address of a slave whose relay and DM assignment has
Point
already been performed, the relay and DM numbers in the ladder program are not
changed.
Reference The rule for automatic assignment of addresses is to assign addresses in the order that
slaves are configured.
1 Select the unit to be set, and then select the "Setup address" tab.
The address setting of the unit selected in the slave setup screen is
displayed in the setup address window.
2 Select the address of the slave that you want to change, and then enter the new address
number.
3
• Be sure to set a unique address for each slave.
Point
UNIT EDITOR
• Even if you change the address of a slave whose relay and DM assignment has
already been performed, the relay and DM numbers in the ladder program are
not changed.
Check that the unit configuration and the address assignments of each unit that you set in the slave
setup screen are correct.
Reference When you exit the slave setup screen, the addresses are automatically checked. If there
is an error, a message indicating the error will be displayed in the message area of the
Unit Editor.
2 The result of the check is displayed in the message area of the Unit Editor.
If there is an error, the details of the error
are displayed in the message area. If there
are no errors, a message stating this is
displayed in the message area.
Read slave setting information that was created for another project. When you are creating a system
that has the same slave configuration as that of a previously created system, you can use the "Import
slave info" function to acquire previously created system information as-is, which makes it possible to
configure settings easily.
"Importing Slave Information" (page 3-32)
Entering Comments
1 Select the unit or slave whose comment you want to enter, and then click the "Edit (E)" menu
3 "Edit Unit/slave cmnts (U)" or right-click the unit or slave, and then select "Edit Unit/slave
cmnts" from the menu that appears.
UNIT EDITOR
When you select a slave, the "slave comment (slave station comment)" dialog box is displayed. When
you select a unit, the "Unit comments" dialog box is displayed.
Reserving Units and Slaves and Canceling Unit and Slave Reservations
• Select the unit or slave to be reserved, and then click the "Edit (E)" menu "Reserve unit / slave
(R)" or right-click the unit or slave, and then select "Reserve unit / slave" from the menu that appears.
• If you plan to add a unit or slave in the future, or when you have a unit or slave to be attached or
removed in the same ladder program depending on the type of the equipment, you can "reserve"
the unit or slave, which will set it as a dummy unit or slave in the configuration.
• To cancel the reservation, select a reserved unit or slave, and then click the "Edit (E)" menu
"Unreserve unit/slave(R)" or right-click the unit or slave, and then select "Unreserve unit / slave" from
the menu that appears.
This function displays the slave that corresponds to the error messages displayed during operations
such as address assignment and slave addition and deletion.
2 In the Unit Editor, click the "Convert (P)" menu "Jump to error rung (E)."
The cursor in the slave configuration area moves to the slave on which the error is occurring.
UNIT EDITOR
Displaying Help
3 Display the "Setup option" dialog box, and then configure the Unit Editor environment settings.
Click the "Option (O)" menu "Setup option (S)" to display the "Setup option" dialog box.
UNIT EDITOR
Setup display
UNIT EDITOR
Reference With the KV Nano Series, the lower level block cannot be used.
Setup color
To change the color of an item, click the color button next to it.
Reference • The colors that you set here are saved to KV STUDIO, and they are also enabled the
next time that you start KV STUDIO.
• To return the saved colors to their defaults, click "Initialize."
Set the automatic assignment rule of the relay devices on the KV-7500/7300/5500/5000/3000/1000/
700 and KV Nano Series. If you want to change the leading relay number and leading DM number that
can be assigned, change the settings again.
3
UNIT EDITOR
EtherNet/IP Setting
Set the device assignment rule used by an EtherNet/IP-ready unit for cyclic communication and
configure the settings for automatic registration to the list of units of the sensor setting file.
UNIT EDITOR
Item Explanation Default
Leading bit Enter the leading bit device. B00
Setup leading device
Leading word Enter the leading word device. W00
When this checkbox is selected,
bit devices are assigned in
Assign bit device by 10CH. Selected
10-channel units to the devices
assigned to the EtherNet/IP unit.
Setup device assignment
When this checkbox is selected,
word devices are assigned in 10-
Assign word device by 100. Selected
device units to the devices
assigned to the EtherNet/IP unit.
A dialog box will be displayed to
Register or not check whether to perform
Setting of auto register to unit registration. Register
list of sensor settings file Never execute Registration will not be performed. or not
Always register sensor The KV STUDIO sensor setting file
settings file of scan list will be updated automatically.
The colors set in this tab will be used to display units in the box display of the unit configuration area.
The colors will also be the character color for the unit's relay and DM numbers that are displayed in
the ladder diagram.
3 To change the color of an item, click the color button next to it.
UNIT EDITOR
Reference • The colors that you set here are saved to KV STUDIO, and they are also enabled the
next time that you start KV STUDIO.
• To return the saved colors to their defaults, click "Initialize."
Other Settings
UNIT EDITOR
Item Explanation Default
Display slave When this checkbox is selected, the slave setting and EtherNet/
setting, EtherNet/IP IP setting screens are displayed in front of the Unit Editor
Window Selected
setting in front of window. By default, the slave setting and EtherNet/IP setting
Unit Editor. screens are always displayed in front of the Unit Editor window.*
Pop up
When this checkbox is selected, a confirmation message is
confirmation
displayed when relay and DM numbers and addresses are
message when Selected
automatically assigned. By default, the confirmation message is
auto assign
displayed.
address
When this checkbox is selected, the address of the KL Master
unit KL-N20V can be set manually. The KL-N20V normally uses
Allow manual setup
Other the address setting specified in the slave setting screen or the
of KL-N20V Selected
"KL address setup software." When you want to manually assign
address
addresses, select this checkbox to enable manual input on the
unit setting screen.
Display comments When this checkbox is selected, unit comments, block
in unit comments, and system comments are displayed in the unit
Selected
configuration configuration area. When this checkbox is cleared, all
window. comments will be hidden.
* The "Window" setting is applied after the Unit Editor is restarted.
MEMO
3
UNIT EDITOR
Item Explanation
*1
Project name Enter the project name.
PLC model Select the PLC type.
Position Specify the location to save the project in.
Comment Enter a comment.*2
AW display Enter the project name to display in the access window. (You can enter up to 12 half-
comments*3 width alphanumeric characters.)
Register special
When this checkbox is selected, special device comments will be registered.
device cmnts
*1 If the model is the KV-7500/7300 with CPU function version 2.0 or later, then 64 characters (no distinction
between half-width and full-width characters) can be entered. If the model is the KV-7500/7300 with CPU
function version earlier than 1.1, then 32 characters (no distinction between half-width and full-width
characters) can be entered. If the model is the KV-700/700+M/24(40)/10(16)/P16, then 60 half-width
characters or 30 full-width characters can be entered. For other models, 32 half-width characters or 16
full-width characters can be entered.
*2 The module name can be set up to 64 characters (no distinction between half-width and full-width) when
the selected PLC model is KV-7500/7300, and up to 64 half-width characters/32 full-width characters for
the other PLC models.
*3 Due to the restrictions on the characters that can be displayed by the access window, enter values
between the following ASCII code ranges: 20 to 7E (hexadecimal) and A1 to DF (hexadecimal). KV-5000/
3000/1000 Series or KV Nano Series can olny be set.
Reference • The CPU function version of the KV-7500/7300 can be upgraded by using KV
STUDIO.
" Checking the Function Version" (page 11-22)
• For details on the characters that cannot be used in project names, see "App 2
List of Characters That Cannot Be Used" (page A-35).
Opening Projects
Click the "File (F)" menu "Open project (O)," and then specify an existing project.
The "Open project" dialog box is displayed.
To open files that have an extension different from "*.kpr," use the "Save as type" list to
Reference
specify the extension. 4
Click the "File (F)" menu "Close project (C)" to close the open project.
Saving Projects
Click the "File (F)" menu "Save project (S)" to save the project being edited.
Click the "File (F)" menu "Save project as (A)" to save the open project under a new name.
Click the "File (F)" menu "Save compact project (J)," and then specify the save location and file
name.
Verifying Projects
Project Properties
Set password
By setting a password, you can prevent the reading of the unit setting information, programs,
comments and labels, logging settings, mail settings (KV-7500/7300/5500/5000/3000 and KV Nano
Series only), and device default settings (KV-7500/7300/5500/5000/3000 and KV Nano Series only)
stored in the KV-7500/7300/5500/5000/3000/1000/700 or KV Nano Series.
Once a password is set, data cannot be read unless the correct password is entered. Setting a
password can prevent programs from being read from the KV-7500/7300/5500/5000/3000/1000/700
or KV Nano Series by unauthorized personnel.
1 Click the "File (F)" menu "Project property (F)," and then click "Set password (P)" in the
"Project attribute" dialog box.
The "Set password" dialog box appears.
2 Enter the password, and then click "OK." To delete an already registered password, delete the
currently displayed password, and then click "OK."
You can set passwords that are up to 6 half-width alphanumeric characters long (32 characters long
with the KV-7500/7300 and KV Nano Series).
4
FILE AND PRINT
If you forget the registered password, you can clear the password by executing a
clear all operation in the KV-7500/7300/5500/5000/3000/1000/700 or KV Nano
Series access window or by overwriting the project. Note that doing so will clear
NOTICE all settings and user programs.
Be sure to back up the data of projects that you set passwords on to prevent data
loss in case you forget the password.
The protection ranges of projects on which a password has been set and that have been transferred
to the KV-7500/7300/5500/5000/3000/1000/700 or KV Nano Series are shown below.
KV-7500/7300/5500/5000/3000/1000/700 or KV-NC32T
CARD SW
USB
NS
BAT EtherNet/IP™
KV-N14**/N24**/N40**/N60**
Click the "File (F)" menu "Register sensor setting file (E)," and then specify the sensor setting file - EDS
file (*.eds or *.ez1) - that you want to register.
The "Open File" dialog box is displayed.
Reference • Normally, EDS files are saved with the extension "*.eds," but KEYENCE EtherNet/IP 4
unit sensor setting files are saved with the extension "*.ez1."
Importing Programs
Click the "File (F)" menu "Import (I)" "Import program(M)", and then specify a program to
import.
Item Description
When this checkbox is selected, CPU positioning information is
Import CPU positioning info
imported from other projects.
*
You can only select this when the PLC model is the KV-7500/7300/5500/5000/3000.
You can import *.ldc files from projects for the KV-700 created in KV BUILDER.
Point
(Use the "Save as type" list to select KVB ladder diagram files, *.ldc.)
For details on importing projects for the KV-700 created in KV BUILDER, see
"5-6 Fully Utilizing KV-700 Data" in the KV-1000 Series Programming Manual.
import.
The comments or labels of the file that you specified are imported.
*.cm1 to *.cm8: Comment files 1 to 8*
*.lbl: Label file
* When the selected PLC model is KV-7500/7300, comment files 1 to 8 can be specified. When it is
another device, comment files 1 and 2 can be specified.
Reference Comments and labels assigned to the devices that are out of the range of the PLC
model will not be imported.
Click the "File (F)" menu "Import (I)" "Import log info (L),"and then specify the file to import.
The logging information of the project file that you specified is imported.
Reference When a setting cannot be executed because the required device is unavailable for the
PLC model, the setting is removed from the information to import.
Click the "File (F)" menu "Import (I)" "Import device default (D)," and then specify the file whose
device defaults you want to import.
The specified device default information is imported.
Alternative procedure Right-click "device default" in the "project" tab of the workspace, and then select 4
"import" from the menu that appears.
Reference • Device defaults files are generated when you set defaults in the "device default
setting" dialog box.
• When the device default values of the KV-7000/5000/3000 Series are imported into
the KV Nano Series, devices out of the available range will be deleted.
Click the "File (F)" menu "Import (I)" "Import File Register setting (F)," and then specify the
file register settings file to import.
The specified file register setting information is imported.
Alternative procedure Right-click "file register setting" in the "project" tab of the workspace, and then
select "import" from the menu that appears.
FR***.fru (KV-7500/7300) :File register settings file (*** indicates the file register settings number)
FR***.frb (KV-5500/5000/3000)
Reference File register settings files are generated when you configure settings in the "file register
setting" dialog box.
Click the "File (F)" menu "Import (I)" "Import CPU positioning parameters (P)," and then
specify the file to import.
The CPU positioning parameters of the specified project file are imported.
4 CpuMb.inf:
CpuMb2.inf:
CPU positioning file (KV-5500/5000/3000/1000/700)
CPU positioning file (KV Nano Series)
CpuMbPrm.inf: CPU positioning file (KVB)
FILE AND PRINT
2 Click the "File (F)" menu "Memory card (M)" "Write (W)" or "Read (R)."
When you are using KV STUDIO to save a new file on the memory card, be sure to create a new folder
by selecting "Make New Folder" in the "Browse For Folder" dialog box, and then save the file.
When reading data from the memory card, select the folder containing the data and then read the data.
KV-5500/5000/3000/1000/700
When saving data When reading data
Click this Select the folder to save Click this button to Click this button to Click this button
button to create data in, and then click this cancel the saving read the data in the to cancel the
a new folder. button to save the data. of data. selected folder. reading of data.
4-10 - KV STUDIO Ver.9 User’s Manual -
4-1 About File Functions
When you select an existing folder to save to, the data will be overwritten, and
NOTICE
you will lose the previous data.
Note that when you save KV-5000/3000 data to a memory card and a function that is only supported
by CPU function version 2.0 or later is used in the data, you cannot load this data with a CPU unit with
a CPU function version earlier than 2.0. To load such data, create memory card data so that it is
supported by CPU function version 1. When you select data CPU function version 1 data, the memory
card data is created after the functions supported only by CPU function version 2.0 or later are
deleted.
4
Reference • To create a new folder and save data to it, click "Make New Folder" and then enter the
folder name. The project folder will be created.
KV-7500/7300/NC32T
When saving data When reading data
4
FILE AND PRINT
Item Explanation
Displays the folder name where output will be saved. The folder name changes
Output target folder
according to the load method and folder number.
Select folder Select the folder to save in.
Folder No. Specify a folder number.
Load from the access Save the project folder name as KVSAVE. Loads when
window*1 the folder is specified in the access window load menu.
Save the project folder name as AUTOLOAD or
AtLoad** (**: 01 to 99). Loads the project in the folder
Load when power is
number stored in CM1790 (or CM1700 for KV-NC32T)
turned on
when mode is changed from PROG to RUN. (When 0 is
stored, the project of the RUNLOAD folder is loaded.)
When you select an existing folder to save to, the data will be overwritten, and
NOTICE
you will lose the previous data.
Output files for the ladder monitor of the VT3 Series (VTLDR00.vlr).
1 Click the "File (F)" menu "Output VT ladder monitor file (D)," and then select the output
folder for ladder monitor data.
Save the comments of the open ladder program as a file in CSV format (MBCS) (*.csv) or TXT format
(Unicode) (*.txt).
Click the "File (F)" menu "Save device comments in CSV/TXT format (K)," and then specify the
location to save the comments.
4
FILE AND PRINT
Item Explanation
Save in Specify the position where the TXT file or CSV file will be saved.
File name Enter the name of the file to save.
Save as type Specify CSV file (MBCS) (*.csv) or TXT file (Unicode) (*.txt).
Select a program to
Specify a program to save.
save.
Read comments saved in a CSV format file (MBCS) (*.csv) or TXT format file (Unicode) (*.txt) into the
open ladder program.
Click the "File (F)" menu "Read device comments in CSV/TXT format (Q)," and then specify the
comments to read. 4
Save the ladder program that you are creating to a mnemonics list. A mnemonics list is a regular text
format file with the ".mnm" extension.
mnemonics list.
1 Click the "File (F)" menu "Mnemonics list (R)" "Save (S)."
The "Select comment type" dialog box is displayed. Select the comment to add to the list.
2 Click "OK" to display the "Browse For Folder" dialog box. Specify the location to save the
mnemonics list.
Reference Each program is saved in its own file in the form of FileName(program name).mmm.
Read a ladder program into a mnemonics list. A mnemonics list is a regular text format file with the
".mnm" extension.
Click the "File (F)" menu "Mnemonics list (R)" "Read (R)," and then specify the file of the
mnemonics list to read.
A program with the same name as the file name is added to the project.
If the project already contains a file with the same name, the "Input program name" dialog box
appears.
Enter a name for the program, and then click "OK".
Save the pin assignments and the list of comments of a connected unit as a CSV format file or TXT
format file.
Click the "File (F)" menu "Output CSV/TXT file (U)" "Unit specifications (U)," and then
4 specify the location to save the CSV file or TXT file.
Output file example
FILE AND PRINT
Save reference information (cross references) in a CSV format file or a TXT format file.
Click the "File (F)" menu "Output CSV/TXT file (U)" " Cross ref info (C)," and then specify
the location to save the CSV file or TXT file.
Output file example
Click the "File (F)" menu "Change model (L)" to display the "Change model" dialog box, which
you can use to change the model.
The convertible PLC models are shown below.
Convertible Model
Model
Being
KV-P16
KV-10/ KV-700
4
KV Nano KV-1000 KV-3000 KV-5000 KV-5500 KV-7300 KV-7500
Edited 16/24/40 (M)
Reference Click "Open file" to select the file format to read the ladder programs for the KZ-300/350
and the KZ-A500. The ladder program for the KZ-300/350 is read as for the KV-700, and
the ladder program for the KZ-A500 is read as for the KV-1000.
"1-3 About Data Compatibility" (page 1-5)
When you change the model, not only is the model of the CPU or base unit changed,
but also the control relays and control memory entries being used are automatically
replaced within the available range. Devices and instructions that cannot be replaced
are replaced with unregistered labels. The result of the replacement is displayed in the
output window.
For the differences between model devices and instructions, see the user's manuals
and instruction reference manuals of the corresponding units.
From the menu, select [File (F)] --> [Check/change function version (G)] to open the [Check/change
function version] dialog box. Use this function to check and change the function version used by
project units.
Change to the version that supports the functions you are using.
4
FILE AND PRINT
• If the function version of the units is in a version earlier than the function
Point
version set in the project, update the system project for each unit before use.
• In the KV-7500/7300, if the function version of the saved project is different from
the major version of the newly saved CPU function, then all must be cleared.
"Checking the Function Version" (page 11-22)
"File(F)" "Auto-save(Z)"
If you set the auto-save function, file backups will be automatically created at preset time intervals.
3 Click "OK."
Exiting
"File(F)" "Exit(X)"
Save the project that you are editing, and then exit KV STUDIO.
4
FILE AND PRINT
Printing
To print data, an environment in which data can be printed from the PC is required. See information
such as the PC's user's manual to enable printing from the PC.
The following details can be printed.
Yes: Can be printed
-: Cannot be printed 4
KV-NC32T
KV-5000 KV-700 /N60□□ KV-N14 KV-24(40)
CPU system - - - -
Yes Yes Yes Yes Yes Yes
settings
Module
configurations Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ReferenceIf you write the <print-break> (half-width) character in a rung comment, when the ladder
diagram is printed, the following rung starts on a new page.
Set the content to print before you start printing.
2 Set the content to print. Select the checkboxes of the items that you want to print.
4
FILE AND PRINT
Reference The font and font size to be used for printing can be specified. Click the item, and then
use the dropdown list that is displayed to specify the setting.
Item Explanation
When this checkbox is selected, the date and time that the project was printed is
Header
printed in the upper left of each page.
When this checkbox is selected, "printed page number/total number of pages" is
Footer
printed at the bottom of each page.
Blank Set the margins of the printed pages.
Preview This displays the print position after the margins are changed.
Initialize Click this to return all settings in the "Setup page" dialog box to their default values.
Point If you change a setting and then click "Cancel," the changes will be discarded.
Print Preview
2 Set the content to print. Select the checkboxes of the items that you want to print, and then click 4
"Print preview" to display the preview.
Reference The font and font size to be used for printing can be specified. Click the item, and then
use the dropdown list that is displayed to specify the setting.
Printer Settings
Configure settings such as the size of the paper to print on and the printing direction (portrait or
landscape).
Point The content that is displayed varies depending on the printer that you are using.
Reference For details on how to configure these settings, see the user's manual of the printer.
MEMO
4
FILE AND PRINT
EDIT
This chapter describes the various editing functions and how to input and
delete instructions.
Undo
5 • Cut
• Replacement of
• Paste
• Replacement of text
• Multiple paste
• NO/NC contact
operands conversion
EDIT
Reference • When an operation cannot be undone, the button is displayed in gray and cannot be
selected.
• You can only undo device comment changes when you made the changes in the
device comment edit window.
Redo
Reference When an operation cannot be redone, the button is displayed in gray and cannot be
selected.
Select the range, and then cut, copy or paste the selected range.
2 Drag the cursor to the last position that you want to select.
The selected range is displayed in a different color.
5
EDIT
• Selecting the range in cell units
Drag the mouse pointer to select the cells. You can select any number of cells.
To select all the cells, click the upper-left corner of the ladder edit window screen.
Reference • You can drag the mouse pointer over multiple rung numbers to select multiple rungs.
• To cancel the selection, click anywhere in the ladder diagram.
1 Use the arrow keys to move the cursor to the first cell to select.
2 Hold down Shift and press the arrow keys, , to move the cursor to the last cell
to select.
The selected part is displayed in a different color.
5
EDIT
Cut
Copy
Paste
Multiple paste
You can use multiple paste to paste multiple copies of the ladder program that you have copied in
rung units with the device numbers shifted by an offset amount.
This function is useful when creating multiple ladder programs which only differ only their device
number.
1 Select the rungs to copy, and then click the "Edit (E)" menu "Copy (C)."
"Selecting the range" (page 5-3)
EDIT
Item Explanation
Select the range to specify offset in batch.
The offset specified Type: Specify the same offset to the same type device.
target Devices: Specify the same offset to the same device.
Individual: Specify the offset to each device.
Paste number Specify the number of times to paste the data.
Clear offset Click this to clear all offsets to 0.
Type*1 This displays the device type that you want to paste.
Device*2 This displays the device number that you want to paste.
Row offset*3 This displays the rung position of the corresponding device within the copy range.
Column*3 This displays the column position of the corresponding device within the copy range.
Offset Specify the offset to shift the device number on each offset paste.
Device comment This displays comments of the device. *4
*1 It is displayed only when "type" is selected to the offset specified target.
*2 It is displayed only when "device" and "individual" is selected to the offset specified target.
*3 It is displayed only when "individual" is selected to the offset specified target.
*4 The comment is not displayed when "type" is selected to the offset specified target.
• You can only use the multiple paste function when you copied data in units of rungs.
Point • You cannot use the multiple paste function when the data contains script rungs
or PACK instructions (KV-700).
Example
The R1000 offset is 5, the DM1000 and DM0001 offsets are 10, and the number of
pastes is 2
Device Search
Click the "Edit (E)" menu "Search device(S)" to display the "Search/replace" dialog box.
5
EDIT
Item Explanation
Device
Label
Constant
Enter an operand or program to search. Clicking displays a pull-
Target Program
down menu with a list of the last 10 selected items.
Device Comment
Reserve/Disable
Invalid line
Specify a number of devices. Starting from the entered device number,
(Search) Width*2
this number of devices will be searched.
*1 Specify the instruction to be searched for at the same time as items
Search with instruction
specified.
Entire project Search will be performed in all programs.
Range
Current window *4 Search will be performed on the current program.
Up Searching will be executed up from the current cursor position.
Direction
Down Searching will be executed down from the current cursor position.
*3 When this checkbox is selected, a case-sensitive search will be
Case sensitive
executed.
When this checkbox is selected, only items that exactly match the
Search 100% match*3
entered characters will be found as a result of the search.
Options In addition to the devices used as operands, all devices with
Including applicable instructions assigned will also be searched.
range of instruction*2 However, index-specified devices and indirectly referenced devices
will be excluded from the search.
Differentiate between When this checkbox is selected direct I/O devices (DR) and I/O devices
direct devices*2, 5 (R) will be differentiated between.
Select which output window to output the search/replace result to,
Output target
Search1 or Search2.
Click this to conduct the search according to the specified conditions
List display
and list the result in the output window.
Search Click this to start the search according to the specified conditions.
Close Click this to close the "Search/replace" dialog box.
*1 This item is not displayed when "Program" is selected as the target.
*2 This item is displayed only when "Device" is selected as the target.
*3 This item is displayed only when "Label", "Program", "Device comment", or "Label comment" isselected as
the target.
*4 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or "KV
Nano Series" is selected for the PLC model.
*5 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," or "KV Nano
Series" is selected for the PLC model.
Device Replacement
Click the "Edit (E)" menu "Replace device(I)" to display the "Search/replace" dialog box.
EDIT
Item Explanation
Enter the operand before the replacement is executed. Click to
Before
display a pulldown menu with a list of the last 10 selected items.
Enter the operand after the replacement is executed. Click to
After
Operand display a pulldown menu with a list of the last 10 selected items.
Enter the replacement width (the range of the replacement as
Width specified by the number of operands starting with the operand
before the replacement is executed).
Entire project Replace will be performed in all programs.
*2
Current window Replacement will be performed on the current program.
Range
The replacement will be performed within the range selected in
Selected range
the editor.
The replacement will be executed up from the current cursor
Up
position.
Direction
The replacement will be executed down from the current cursor
Down
position.
When this checkbox is selected, comments will also be moved
Move device comments*4
together with the replaced operands.
When this checkbox is selected, the source comments will be
Options Left source comments
retained.
Differentiate between When this checkbox is selected direct I/O devices (DR) and I/O
direct devices*3 devices (R) will be differentiated between.
Select which output window to output the search/replace result to,
Output target
Search1 or Search2.
Click this to replace all the applicable devices in the specified
Replace all
range.
Click this to search according to the specified condition.
Search
Replacements will not be made.
Click this to replace the applicable devices in the specified range
Replace
individually.*1
Close Click this to close the "Search/replace" dialog box.
*1 If you do not want to replace an item, click "Search" to move the cursor to the next instruction.
*2 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or "KV
Nano Series" is selected for the PLC model.
*3 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," or "KV Nano Series"
is selected for the PLC model.
*4 You can click the "Edit (E)" menu > "Undo (U)" to return the operands to their original state, but the moved
device comments will not return to their original location.
- KV STUDIO Ver.9 User’s Manual - 5-7
5-1 About Editing Functions
Search for the specified instruction and display all the found results or replace the instruction with a
different instruction.
Click the "Edit (E)" menu "Search /Replace Instruction (E)," and then enter the necessary items.
Search
5 Search for an instruction that is being used in a ladder program.
EDIT
Item Explanation
Enter the instruction to search for.*1 Click to display a
pulldown menu with a list of the last 10 selected items.
• " | " can be used to specify multiple items for the search using
*1 You cannot use wildcard characters in the instruction input. In addition, you cannot perform partial
searches (a search in which you only enter a part of the instruction). Use the input assistance to enter a
correct instruction.
*2 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or "KV
Nano Series" is selected for the PLC model.
Replace
Replace an instruction that is being used in a ladder program.
When you select the "Replace with" checkbox, the items that are necessary to perform the
replacement are displayed.
EDIT
Item Explanation
Enter the instruction to search for.*1 Click to display a pulldown
menu with a list of the last 10 selected items.
Search instruction " | " can be used to specify multiple instructions for the search using
the OR condition.
Example) "LD | LDB"
When this checkbox is selected, an entry box is displayed, so enter
Replace with
the instruction to replace.
Entire project Replacement will be performed on all programs.
Current window*3 Replacement will be performed on the current program.
Range
The replacement will be performed within the range selected in the
Selected range
editor.
Up The replacement will be executed up from the current cursor position.
Direction The replacement will be executed down from the current cursor
Down
position.
Replace suffix/ When you clear this checkbox, suffixes and differentials will be
Options
differential ignored, and only instructions will be replaced.
Select which output window to output the search/replace result to,
Output target
Search1 or Search2.
Click this to replace all the applicable instructions in the specified
Replace all
range.
Click this to search according to the specified condition.
Search
Replacements will not be made.
Click this to replace the applicable instructions in the specified range
Replace
individually.*2
Close Click this to close the "Search/replace" dialog box.
*1 You cannot use wildcard characters in the instruction input. In addition, you cannot perform partial
searches (a search in which you only enter a part of the instruction). Use the input assistance to enter a
correct instruction.
*2 If you do not want to replace an item, click "Search" to move the cursor to the next instruction.
*3 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or "KV
Nano Series" is selected for the PLC model.
Click the "Edit (E)" menu "Convert NO/NC contacts (A)" to display the "Search/replace" dialog
box.
5
EDIT
Item Explanation
Enter the operand to convert. Click to display a pulldown menu
Target operand
with a list of the last 10 selected items.
Entire project Conversion will be performed on all programs.
Conversion
Current window *1 Conversion will be performed on the current program.
range
Selected range The conversion will be performed within the range selected in the editor.
Up The conversion will be executed up from the current cursor position.
Direction
Down The conversion will be executed down from the current cursor position.
Select which output window to output the search/replace result to,
Output target
Search1 or Search2.
Replace all Click this to convert all the applicable devices in the specified range.
Click this to search according to the specified condition. Conversions
Search
will not be made.
Click this to convert the applicable devices in the specified range
Replace
individually.
Close Click this to close the "Search/replace" dialog box.
*1 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or "KV
Nano Series" is selected for the PLC model.
Click the "Edit (E)" menu "Search rung comments (M)" to display the "Search/Replace" dialog
box.
EDIT
Item Explanation
When this checkbox is selected, if rung comments that span
multiple ladder rungs are contained within the rung comments in
Only display leading rung of comments
the search range, only the leading one rung of each rung
comment will be displayed.
Entire project The entire project will be searched.
Search range
Current window *1 Search will be performed on the current program.
Select which output window to output the search/replace result
Output target
to, Search1 or Search2.
Click this to conduct the search according to the specified
List display
conditions and list the result in the output window.*2
Close Click this to close the "Search/replace" dialog box.
*1 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or
"KV Nano Series" is selected for the PLC model.
*2 Double-click a rung comment listed in the output window to move the cursor to that rung comment.
Reference Set the program that you want to search as active, before using "Search range" to
specify "Program".
Click the "Edit (E)" menu "Search/Replace Text (K)" to display the "Search/replace" dialog box.
5
EDIT
Item Explanation
Enter the character string to search for. Click to display a pulldown
Search string
menu with a list of the last 10 selected items.
Select this checkbox when you want to replace the character string. After
Replace with you select this checkbox, an entry box is displayed, so enter the
replacement character string.
Entire project Replacement will be performed on all programs.
Current window *3 Replacement will be performed on the current program.
Range
The search and replacement will be performed within the cells currently
Selected range*1
selected in the editor.
The search and replacement will be executed up from the current cursor
Up
position.
Direction
The search and replacement will be executed down from the current cursor
Down
position.
Rung comment Select this checkbox to set rung comments as the search object.
Script Select this checkbox to set scripts as the search object.
Objects*3 Program name Search the program name.
Select this checkbox to set character strings as the search object. The in
String value
operation bit is included.
When this checkbox is selected, case-sensitive searches and
Case-sensitive
replacements will be executed.
Options
When this checkbox is selected, only items that exactly match the entered
100% match
characters will be found as a result of searches and replacements.
Select which output window to output the search/replace result to, Search1
Output target
or Search2.
Click this to replace all the applicable character strings in the specified
Replace all*1
range.
Click this to conduct the search according to the specified conditions and
List display*2
list the result in the output window.
Click this to search according to the specified condition. Replacements will
Search
not be made.
Click this to replace the applicable character strings in the specified range
Replace*1
individually.
Close Click this to close the "Search/replace" dialog box.
*1 This is only displayed when the "replaced to the next character string" checkbox is selected.
*2 This is only displayed when the "replaced to the next character string" checkbox is cleared.
*3 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or
"KV Nano Series" is selected for the PLC model.
Batch Replace
EDIT
Item Explanation
No. This is the batch replacement rung number (number 1 to number 32).
Before Specify the number of the replacement source device.*1
After Specify the number of the replacement destination device.*1
Points Specify the replacement range as a value.*2
Select the format for entering items in "Point form" from decimal and
Form
hexadecimal.
Replace content This displays a preview of the replacement details.
Entire project Search will be performed on all programs.
Current window*3 Replacement will be performed on the current program.
Range Select
Use the pull-down menu to switch the current program.
module
The replacement will be performed within the range selected in the
Selected range
editor.
When this checkbox is selected, the comments of the replacement
Move device comment*4 source devices will also be moved into the replacement destination
devices when the replacement is executed.
Keep source comments When this checkbox is selected, the source comments will be retained.
Execute Click this to execute the batch replacement.
Close Click this to close the "Batch replace device" dialog box.
*1 If you specify an illegal device number, "-" will be displayed in "Replacement content" to indicate that the
device cannot be replaced.
*2 If you specify a number of devices such that a range of devices that do not exist are included, "-" will be
displayed in "Replacement content" to indicate that the range is illegal.
*3 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or
"KV Nano Series" is selected for the PLC model.
*4 You can click the "Edit (E)" menu > "Undo (U)" to return the operands to their original state, but the moved
device comments will not return to their original location.
Reference • If you click "Execute" while devices or ranges that cannot be replaced are specified, a
dialog box informing you that the replacement could not be performed is displayed,
and then the cursor is moved to the input box in which the illegal entry is present.
• You can copy and paste data between KV STUDIO and Microsoft Excel.
( Ctrl + C and Ctrl + V )
Search for the specified device and display all the found results, or replace with another device. This
can also be done with expansion unit devices (UG/UD).
When the flow edit screen is not displayed, the normal device search/replace is
Point displayed. To search for or replace an expansion unit device, execute the device
5 search/replace when editing flow.
EDIT
Item Explanation
Enter the expansion device to search for. Expansion unit devices (UG/
Device for search UD) can also be used. Click this to display a pulldown menu with a list
of the last 10 selected items.
Check the checkbox to replace the device. After checking the
Replace to next device checkbox enter the device to replace in the box. Expansion unit
devices (UG/UD) can also be entered.
The specified number of devices from the device number entered will
Search width/replace width
be the targets for search/replace.
Ladder Search/replace in the whole ladder program.
Entire project
Flow Search/replace in the whole flow. You can also select the target unit.
Range
Current window Search/replace in the program currently being displayed.
Selected range*1 The cells currently selected in editor will be the targets for search/replace.
Up Search/replace will be executed up from the current cursor position.
Direction
Down Search/replace will be executed down from the current cursor position.
Specify unit of expansion Select to specify the target unit when you have entered an expansion
unit device unit device (UG/UD).
Options In addition to the devices used as operands, all devices with
Including app range of instructions assigned will also be searched.
inst.*2 However, index-specified devices and indirectly referenced devices
will be excluded from the search.
Select whether to output the search/replace result to the Search1 or
Output target
Search2 output window.
Replace all*1 Click this to replace all the target character strings in the specified range.
*2 Click this to conduct the search according to the specified conditions
List display
and list the result in the output window.
Click this to search according to the specified condition.
Search
Replacements will not be made.
Replace*1 Click this to replace the target devices in the specified range individually. *3
Close Click this to close the "Search/replace" dialog box.
*1 This is only displayed when the "Replace with the next device" checkbox is checked.
*2 This is only displayed when the "Replace with the next device" checkbox is not checked.
*3 If you do not want to replace the target, click the "Search" button to move to the next device.
During online editing, display the block (with a light blue background color) list added and edited after
the last transfer in the "Search" window of the output window.
EDIT
Cross References
The positions in which the specified operand is used are listed in the output window.
Jump
Jump to any specified position such as a rung number or step in a program, or jump to the top rung or
the bottom rung.
Follow the procedure below to jump to any specified position such as a rung number or step number 5
in a program.
EDIT
1 Click the "Edit (E)" menu "Jump (J)" "Rung / step No. (L)."
The "Jump to specified line" dialog box is displayed.
Alternative procedure Right-click, and then select "Jump (J)" "Rung /step No. (L)" from the menu
that appears.
2 Enter the jump destination rung number or step number. To jump to a specified step number,
select the "Jump to step No." checkbox.
The specified rung or step is displayed. The cursor is also moved to the specified rung.
If you want to jump to a step number, you have to convert the program in
Point
advance.
Top or bottom
5
Jumping to the bottom rung
EDIT
Home or end
5
Previous changed block or next changed block
EDIT
"Edit(E)" "Jump(J)" "Prev. changed block(O)" Ctrl + Alt +
"Next changed block(Q)" Ctrl + Alt +
Open the programs where targets are the instructions and functions of MDSTRT, MDSTOP, MCALL,
MSTRT, ECALL, FB, and FUN.
Select the instruction and function of MDSTRT, MDSTOP, MCALL, MSTRT, ECALL, FB, and FUN, and
then click the "Edit (E)" menu "Jump (J)" "Open target program(M)".
When a contact instruction such as LD or LDP is selected, jump to the corresponding output
instruction.
When an output instruction such as OUT or SET is selected, jump to the first corresponding contact
instruction. When you execute this function again, focus will jump to the next contact instruction. If you
execute this function after the last contact instruction has been reached, focus will return to the output
instruction.
Select a contact or output instruction, and then click the "Edit (E)" menu "Jump (J)"
"Contact/Coil (R)."
The commands that support jumping to contacts and coils are shown below.
Point
Contact commands: LD, LDB, LDP, LDF, LDPB, LDFB, STP, and STG
Output commands: OUT, OUB, SET, RES, KEEP, DIFU, DIFD, ONDL, OFDL, SHOT,
FLIK, ALT, TMR, TMS, TMH, TMU, C, RFSX, RFSY, SFT, JMP, W-ON, W-OFF, W-UE,
W-DE, FRSTM, FRLDM, PMOV, BSR, BSL, RCOM, and CTC
Insert
Cells
1 Move the cursor to the rung where the cell will be inserted.
Alternative procedure
EDIT
Right-click, and then select "Insert cell (V)" from menu that appears.
Empty rungs
1 Move the cursor to the rung where the empty rung will be inserted.
Reference To insert multiple empty rungs as a group, select the group of rungs where the empty
rungs will be inserted.
"Selecting the range" (page 5-3)
2 Click the "Edit (E)" menu "Insert (W)" "Empty rung (E)."
An empty rung is inserted at the selected rung.
Alternative procedure Right-click, and then select "Insert empty rung (E)" from the menu that appears.
Rung comments
1 Move the cursor to the rung where the rung comment will be inserted.
2 Click the "Edit (E)" menu "Insert (W)" "Rung cmnt (H)."
A new rung is added and is displayed in the ladder diagram.
Alternative procedure Right-click, and then select "Insert rung comment (H)" from the menu that appears.
Reference To edit a rung comment that has already been entered, double-click the rung comment
or press and F2 .
Loopback ladders
EDIT
This is useful when you want to create a long
ladder program from the power rail to the
output line.
Click the "Edit (E)" menu "Insert (W)" "Loopback ladder (K)" to display the connection line
for the loopback ladder.
Reference Loopback ladders in which loopback symbols are used can be inserted when "KV-7500",
"KV-7300", "KV-5500," "KV-5000," KV-3000," "KV-1000," or "KV Nano Series" is selected for
the PLC model.
"System settings" (page 11-36)
Loopback symbols
When "Enable folding symbol of ladder" is set to ON in the option settings, the insertion
of loopback ladder sets the relationship to the return symbol, enabling continuous
insertion of instructions. (This is only supported by KV STUDIO Ver. 4.11 or later.)
The insertion of loopback ladders can be selected from the menu when you select the
Point
third row or later.
Deleting Rungs
Reference To delete multiple rungs at the same time, select all the rungs to be deleted.
"Selecting the range" (page 5-3)
If you set parts of a ladder to be handled as rung comments, these parts will be ignored in terms of
ladder operations when the conversion is performed. You can set parts of a ladder to be ignored in
this manner temporarily, such as when you do not want certain parts to be executed during
debugging.
1 Select a rung that you want to set to disabled or a rung whose disabling you want to cancel.
"Selecting the range" (page 5-3)
Point Ladders in which rungs have been disabled will not be transferred to the PLC.
Adjust the column width and rung height of the selected range.
Width
"Edit(E)" "Rung setup(N)" "Width(W)"
Adjust the column width of the selected range.
1 Click the "Edit (E)" menu "Rung setup (N)" "Width (W)."
The "Column width" dialog box is displayed.
5
EDIT
Alternative procedure Right-click, and then select "Rung setup (N)" "Width (W)" from the menu that
appears.
2 Enter the value.
The column width is adjusted to the specified width.
Height
"Edit(E)" "Rung setup(N)" "Height(H)"
Adjust the rung height of the selected range.
1 Click the "Edit (E)" menu "Rung setup (N)" "Height (H)."
The "Rung height" dialog box is displayed.
Alternative procedure Right-click, and then select "Rung setup (N)" "Height (H)" from the menu that
appears.
2 Enter the value.
The rung height is adjusted to the specified height.
Auto-adjust
"Edit(E)" "Rung setup(N)" "Auto-adjust(D)"
Automatically adjust the column widths and row heights of the ladder program that you are editing.
1 Click the "Edit (E)" menu "Rung setup (N)" "Auto-adjust (D)."
The widths and heights are automatically adjusted to the optimum values.
Alternative procedure • Right-click, and then select "Rung setting (N)" "Auto-adjust (D)" from the
menu that appears.
• Select the range, and then double-click the boundary line between a pair of cells.
Bookmarks
If you set a bookmark in a rung comment, the rung comment will be displayed in the workspace.
If you double-click a bookmark displayed in the workspace, the corresponding bookmarked rung
comment will be displayed.
5 Insert
EDIT
1 Move the cursor to the rung where the rung comment will be inserted.
Alternative procedure Right-click, and then select "Bookmark (H)" "Insert (I)" from the menu that
appears.
Set
Alternative procedure Right-click, and then select "Bookmark (H)" "Set (S)" from the menu that 5
appears.
EDIT
Remove
Alternative procedure • Right-click, and then select "Bookmark (H)" "Remove (D)" from the menu
that appears.
• Right-click a bookmark in the workspace, and then select "Remove the selected
bookmark (D)" from the menu that appears.
Hyperlinks
You can set hyperlinks on text written in rung comments and within scripts to folders or files on a PC. If
you click text to which a hyperlink has been set, you will jump to the linked folder or file.
Alternative procedure Right-click, and then select "Set/edit hyperlink (A)" from the menu that appears.
Use the "Setup hyperlink" dialog box to set the file or folder to link to.
Set the link destination, and then click "OK" to set a hyperlink in the selected text.
Example: Specifying "Sample1.csv" in the "Project 1" project folder and "Sample2.csv" in user
documents* in the memory card as link destinations
Link destination
.
.. PROJECT Project1 Sample1.csv .\Sample1.csv
When a file or folder in a project folder is specified using a relative path, the following are possible.
• When the link destination file or folder is also compressed and saved as a compact project, the
folder structure will be kept when it is decompressed, and hyperlinks can be used.
"Compressing and Saving Projects" (page 4-4)
• When the link destination specifies a user document* file or folder and is transferred to the PLC, the
folder structure will be kept when it is read on another computer, and hyperlinks can be used.
* User documents can only be used with the KV-7000 Series.
"User documents" (page 6-11)
Delete
EDIT
2 Click the "Edit (E)" menu "Hyperlink (Z)" "Delete (B)."
Alternative procedure Right-click, and then select "Delete hyperlink (B)" from the menu that appears.
List
Item Explanation
Setup link destination Click this to use the "Hyperlink setting" dialog box to edit the selected hyperlink.
Search/replace link Click this to use the "Search/replace" dialog box to search for and replace the file
destination name or folder name used for the hyperlink's link destination.
Delete settings Click this to delete the selected hyperlink.
Delete all settings Click this to delete all the set hyperlinks.
Reference Even if the project is edited with a different PC, you can use the link destination search/
replacement function to replace batches of hyperlink destination folder names, so this is
a useful function.
- KV STUDIO Ver.9 User’s Manual - 5-27
5-1 About Editing Functions
Edit Mode
You can switch to expanded ladder mode or connection line edit mode.
In the normal ladder notation, only one output instruction such as OUT or TMR can be written to one
rung of the ladder. However, you can reduce the number of rungs in the program and make the
5 processing sequence clearer by using the expanded ladder mode.
For example, you can write an ON delay timer as shown below.
EDIT
T0 R500
When you select the expanded ladder mode and enter an output instruction, the cursor is not moved
automatically to the right edge of the rung, and you can continue entering instructions. In a mode
other than expanded ladder mode, the cursor is moved automatically to the right edge of the rung
when you enter an output instruction.
For example, the entry of an OUT instruction is performed as shown below.
Reference The expanded ladder mode setting is automatically saved in KV STUDIO, so this mode
will be enabled the next time that KV STUDIO starts.
Click the "Edit (E)" menu "Edit mode (B)" "Expanded ladder mode (G)" to enable
expanded ladder mode (a checkmark is displayed next to the setting).
To disable the expanded ladder mode (to clear the checkmark from the setting), repeat the above
procedure.
MOV
Box-type instructions such as ( ) are connected to the right power rail
Point
even in the expanded ladder mode.
In connection line edit mode, you can use the mouse and arrow keys to draw and delete connection
lines.
To return to the normal edit mode from the connection line edit mode, perform the same operations as
those to switch to connection line edit mode.
1 Click the "Edit (E)" menu "Edit mode (B)" "Connection line edit mode (B)."
Alternative procedure Right-click, and then select "Edit connection line (F)"
mode (B)" from the menu that appears.
"Connection line edit
5
EDIT
Reference In connection line edit mode, a check mark is displayed next to "Connection line edit
mode (B)" in the Edit menu.
2 To draw a connection line, move the mouse pointer to the starting position of the connection
line.
3 Click the mouse to change the mouse pointer to a "pencil holding hand," and then drag the
mouse from the starting position of the connection line to the final position of the connection
line.
To delete a connection line, hold down Shift and drag the mouse from the starting position to the
final position of the connection line.
Alternative procedure • To draw a connection line by using the arrow keys, hold down Alt and use the
arrow keys to move the cursor in the direction that you want to draw the
connection line.
• To delete a connection line by using the arrow keys, hold down Alt and use the
arrow key to move the cursor.
By pressing keys
F8 : A vertical connection line will be drawn down from the cursor position.
F9 : A horizontal connection line will be drawn to the right from the cursor
position.
Alt + : A connection line will be drawn in the direction corresponding to the
arrow key that you press (up, down, left, or right).
Alt + or Ctrl + Tab : A connection line will be drawn from the cursor position to the end of
the rung.
By clicking icons
: A vertical connection line will be drawn down from the cursor position.
: A horizontal connection line will be drawn to the right from the cursor position.
By using the mouse and arrow keys in connection line edit mode
"Connection line edit mode" (page 5-29)
By pressing keys
Shift + F8 : The vertical connection line to the left of the cursor position will be deleted.
Delete : The horizontal connection line at the cursor position will be deleted.
Alt + : The connection line in the direction corresponding to the arrow key that you
press (up, down, left, or right) will be deleted.
By clicking icons
: The vertical connection line to the left of the cursor position will be deleted.
By using the mouse and arrow keys in connection line edit mode
"Connection line edit mode" (page 5-29)
Arranging Ladders
To make a ladder diagram easier to understand, follow the procedure below to arrange the positions
of the symbols in the ladder diagram.
5
Ladder diagram after arrangement
EDIT
Excluding the locations of conversion errors, the entire ladder project is arranged.
Editing Lists
Follow the procedure below to display the mnemonics list for the specified block and to enter
instructions by editing the mnemonics list.
5
3
EDIT
Mnemonic Operand
Blank
Changing Operands
1 Select the cell containing the instruction whose operand you want to change.
Alternative procedure • Select the cell containing the instruction for changing its operand, and then press
the key.
• Select the cell containing the instruction for changing its operand, and then
5
double-click it.
EDIT
Reference If you select a cell with instruction already entered, and then use the number keys to
enter a number, then direct change can be used only for the device number of the
same device type.
Item Description
Value Enter a device number.
Operand
Comment Enter a comment here.
Display the types of devices that can be used for
Type list
the selected operand.
Operand explanation Display explanation of the selected operand.
Reference If you click the "Overwrite" button without specifying an operand, the unspecified
operand appears as pending "???". If relay assignment etc. is undecided yet, you may
find it convenient to create just the ladder circuit in advance.
1 Select the cell containing the instruction whose device comment you want to change.
5 2 Click the "Edit (E)" menu "Edit device cmnts (F)" "Change device cmnts (F)."
The "Operand" dialog box is displayed.
EDIT
Alternative procedure Right-click, and then select "Change device comment (G)" from the menu that
appears.
Reference A list of devices can be displayed and comments can be edited in the device comment
edit window.
"Displaying the Device Comment Edit Window" (page 6-20)
Click the "Edit (E)" menu "Edit device cmnts (F)" "Delete all device comments (A)" to
delete all the device comments in the project that is being edited.
Entering Instructions
• From the "Instruction/Macro/Pack Pallet" window, select a symbol to enter the instruction.
"Input from Instruction/Macro/Pack Pallet" (page 5-36)
EDIT
• Entering the leading character of the instruction, and then directly entering the instruction as
a mnemonic from the dialog box that is displayed
"Directly entering instructions using mnemonics" (page 5-38)
• Directly entering the instruction from the toolbar (some instructions only)
"Entering instructions from the toolbar (edit symbol 1)" (page 5-39)
"Entering instructions from the toolbar (edit symbol 2)" (page 5-40)
"Entering instructions from the toolbar (edit symbol 3)" (page 5-41)
"Entering instructions from the toolbar (symbols for CPU positioning)" (page 5-42)
This section describes how to input from instruction, macro, or pack pallet.
Because it is possible to drag a symbol from the "Instruction/Macro/Pack Pallet" window and drop it to
the ladder edit window, you can input instruction like you are drawing a ladder diagram.
1 Align the pointer with a cell you want to input instruction on the ladder diagram, and then
double-click it.
Alternative procedure
• Select "View(V)" "Instruction/Macro/Pack Pallet(I)" in that order.
• Click the button.
5 • Select a cell with no instruction entered on the ladder edit window, and then
press the key.
• Ctrl + Shift + P
EDIT
Reference • With the instruction/macro/pack pallet constantly displayed, you can create ladder programs.
• Select a cell with instruction entered, and then press the key to display the "Operand edit"
dialog box.
"Changing operands" (page 5-37)
• If you are not familiar with creating ladder program and instruction, you can use the "Instruction/
macro/pack pallet" window to input accurately.
2 Specify an instruction.
You can start from groups and zero in to find an instruction, or enter an instruction to search for it.
3 Specify operands.
Enter valid operands for the specified instruction.
4 Use drag&drop to place the symbol selected in step 2 to the location where you want to input
the instruction.
The symbol is input.
EDIT
Alternative procedure Click the "Overwrite" or "Insert" button.
Changing operands
Select a cell with instruction input, and then press the key to display the "Operand edit" dialog
box.
Alternative procedure
Select the "Edit" menu "Change operand (O)".
Item Description
Value Enter a device number.
Operand
Comment Enter a comment here.
Display the types of devices that can be used for
Type list
the selected operand.
Operand explanation Display explanation of the selected operand.
Reference • For details on characters that cannot be used in comment, see "App 2 List of
Characters That Cannot Be Used" (page A-35).
• When you enter a number on the instruction symbol, only device number can be
changed.
Reference This method enables you to enter instructions faster than by using the "Instruction/
macro/pack palette" window.
1 Select the cell in the ladder edit window in which you want to enter the instruction, and then
enter the leading character of the instruction that you want to enter to display the direct entry
5 dialog box.
Alternative procedure
EDIT
Press Esc or F2 .
Reference • You can enter abbreviated forms of some instructions. For details, see the KV-
7000/5000/3000/1000 Series and KV Nano Series Instruction Reference Manual.
• You can also use function keys to enter instructions in the direct entry dialog box. For
details on the instructions assigned to the function keys, see "Shortcut keys that
are valid in editor mode" (page A-39).
• When you entering an instruction, you can display the help for the instruction by
pressing F1 .
3 After you finish entering the instruction and the operands, click "Overwrite" or "Insert."
When you click "Overwrite," the instruction overwrites the existing one at the cursor position. When you
click "Insert," the instruction is inserted at the cursor position.
Reference If you click the "Overwrite" or "Insert" button without specifying an operand, the
unspecified operand appears as "???".
Enter NO contact F5
Enter NC contact Shift + F5
OR enter of NO contacts F4
OR enter of NC contacts Shift + F4
Enter coil F7
Enter NC contact coil Shift + F7
5
Enter NO contacts, NC contacts, the logical OR of NO contacts, the logical OR of NC contacts, coils,
EDIT
and NC contact coils.
1 Select the cell in which you want to enter the instruction, and then select the type of contact to enter
from the toolbar (edit symbol 1).
The "Operand" dialog box is displayed.
Item Description
Value Enter a device number.
Operand
Comment Enter a comment here.
Display the types of devices that can be used for
Type list
the selected operand.
Operand explanation Display explanation of the selected operand.
Reference • For details on the characters that cannot be used in comments, see "App 2 List of
Characters That Cannot Be Used" (page A-35).
• If you click the "OK" button without specifying an operand, the unspecified operand
appears as "???".
???
When the first operand is not specified for an LD instruction
???
When the first operand is not specified for an OUT instruction
TMS Alt + F5 T
S 0
C Alt + 0 C 0
DIFU Alt + F8
5
DIFU
Enter instructions such as set, reset, timer, counter, differential output, and data transfer instructions.
Reference Some icons may not be displayed depending on the selected PLC model. The entry of
shortcut keys for the instructions that are not displayed is not valid.
1 Select the cell in which you want to enter the instruction, and then select the instruction to enter
from the toolbar (edit symbol 2).
The "Operand" dialog box is displayed.
Item Description
Value Enter a device number.
Operand
Comment Enter a comment here.
Display the types of devices that can be used for
Type list
the selected operand.
Operand explanation Display explanation of the selected operand.
Reference • For details on the characters that cannot be used in comments, see "App 2 List of
Characters That Cannot Be Used" (page A-35).
• If you click the "OK" button without specifying an operand, the unspecified operand
appears as "???".
???
SET When the first operand is not specified for a SET instruction
MOV
DM0 ??? When the second operand is not specified for a MOV instruction
EDIT
Enter instructions such as differential contact instructions.
Reference • When the KV-P16, KV-10 (16), or KV-24 (40) is selected for the PLC model, edit
symbol 3 cannot be displayed.
• Some icons may not be displayed depending on the selected PLC model. The entry
of shortcut keys for the instructions that are not displayed is not valid.
1 Select the cell in which you want to enter the instruction, and then select the instruction to enter
from the toolbar (edit symbol 3).
The "Operand" dialog box is displayed.
Item Description
Value Enter a device number.
Operand
Comment Enter a comment here.
Display the types of devices that can be used for
Type list
the selected operand.
Operand explanation Display explanation of the selected operand.
Reference • For details on the characters that cannot be used in comments, see "App 2 List of
Characters That Cannot Be Used" (page A-35).
• If you click the "OK" button without specifying an operand, the unspecified operand
appears as "???".
???
When the first operand is not specified for an LDP instruction
PLSX PLSX
PLSY PLSY
JOGX JOGX JOGY
CW CW
JOGY CCW CCW
HIGH HIGH
ORGX ORGX
ORGY
5
ORGY
TCHX
TCHX
TCHY
TCHY
EDIT
1 Select the cell in which you want to enter the instruction, and then select the instruction to enter
from the toolbar (symbols for CPU positioning).
The "Operand" dialog box is displayed.
Reference Since JOGX, JOGY, ORGX, ORGY, TCHX, and TCHY instructions do not have
operands, the symbols are displayed for these instructions without the "Operand" dialog
box being displayed.
Item Description
Value Enter a device number.
Operand
Comment Enter a comment here.
Display the types of devices that can be used for
Type list
the selected operand.
Operand explanation Display explanation of the selected operand.
Reference • For details on the characters that cannot be used in comments, see "App 2 List of
Characters That Cannot Be Used" (page A-35).
• If you click the "OK" button without specifying an operand, the unspecified operand
appears as "???".
???
PLSX When the first operand is not specified for a PLSX instruction
Entering instructions from a source such as the device comment edit window
Enter an instruction (a contact or coil) by dragging it from the device comment edit window or the
"Device use list" dialog box.
Reference You can only enter bit devices (including bit device specifications of word devices) from
the device comment edit window or the "Device use list" dialog box.
EDIT
Click a device, and
then drag it to the
ladder program.
Reference When a device is dragged from a ladder program to the device comment edit dialog
box, the cursor moves to the device.
1 Right-click the number of the device in the device comment edit window or "Device use list"
dialog box that you want to enter in the ladder program, and then drag the device to the desired
cell in the ladder edit window.
Right-click a
device, and then
drag it to the
ladder program.
5
Instructions that cannot be entered in the cell are disabled in the menu.
EDIT
Reference
Deleting Instructions
Select the cell in the ladder edit window containing the instruction that you want to delete, and then
press Delete .
You can omit the entry of suffixes by specifying the default suffix before you enter instructions. In the
initial settings, the default suffix is set to "U" (no suffix).
For details on suffixes, see the KV-7000/5000/3000/1000 Series and KV Nano Series Instruction
Reference Manual.
Select a suffix from the "Suffix" list to set the default suffix.
Reference Even if a default suffix has been set, you can use direct entry to specify a suffix and
ignore the default suffix that has been set.
VIEW
6-1 About View Functions . . . . . . . . . . . . . . . . . . . . . . . . . 6-2
6-2 CPU System Setting Dialog Box. . . . . . . . . . . . . . . . 6-41
"View(V)" "Toolbar(T)"
"Status bar(S)"
Click the "View (V)" menu "Toolbar (T)" or "Status bar (S)" to display or hide the toolbar or status
bar.
When a check mark is displayed: Displayed
When a check mark is not displayed: Hidden
6 Toolbar
VIEW
Status bar
Reference • Click "Toolbar (T)" to display a sub-menu with the types of available toolbars.
• Each time that you click these menu items, the corresponding item toggles between
being displayed and being hidden.
Workspace
Click the "View (V)" menu "Workspace (K)" to display or hide the workspace.
VIEW
Selecting "Project" tab Selecting "Library" tab
* The library tab is enabled only if the selected model is "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-
3000", or "KV-1000".
6
VIEW
*1 Simulator edit can be used only when the selected PLC model is "KV-7500" or "KV-7300".
*2 The "Monitor" tab can be selected only when "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000",
"KV-1000", or "KV Nano Series" is selected for the PLC model
"Project" tab
This section describes the items that are displayed when you select the "Project" tab in the workspace.
Unit configuration
The units set with and relays and DM entries assigned with the Unit Editor are displayed.
In addition, you can display the built-in function monitor and unit monitor.
Reference The unit configuration is displayed only when "KV-7500", "KV-7300", "KV-5500", "KV-5000",
"KV-3000", "KV-1000", "KV-700", "KV-700+M", or "KV Nano Series" is selected for the PLC model.
Item Explanation
Unit Editor
The Unit Editor starts.
"Chapter 3 UNIT EDITOR" (page 3-1)
6
Display device assignment The relay display method is changed to display device assignments.
VIEW
The "CPU positioning parameter setting" dialog box is displayed when the
CPU positioning parameter KV-5500/5000/3000/1000 or KV Nano Series is connected.
setting "2-12 Motor (positioning) control" in the KV-5500/5000/3000 Series User's Manual
"5-2 Motor (Positioning) Control" in the KV Nano Series User's Manual.
The high-speed counter setting wizard starts when the KV-5500/5000/3000/
CPU High-speed counter 1000 or KV Nano Series is connected.
setup wizard "2-8 High-speed counter" in the KV-5500/5000/3000 Series User's Manual
"5-4 High-Speed Counter" in the KV Nano Series User's Manual.
The "Logging settings list" dialog box is displayed when the KV-7500/7300/
5500/5000/3000/1000/NC32T is connected.
"5-4 Logging/tracing" in the KV-7000 Series User’s Manual
Logging/trace setting
"2-3 Logging/tracing" in the KV-5500/5000/3000 Series User's Manual
"5-7 Tracing" in the KV Nano Series Base Unit (terminal block type) User's Manual
"5-7 Logging/tracing" in the KV Nano Series Base Unit (connector type) User's Manual.
The Built-in Function Monitor is displayed when CPU unit is connected.
Built-in Function Monitor
See "9-5 Built-In Function Monitor" (page 9-57).
The monitor for each unit is displayed.
Unit Monitor
See "9-8 Unit Monitor" (page 9-94).
Unit trace It is displayed for KV-7000 series expansion unit (X-Unit).
Communication test
It is displayed for KV - XLE 02 and KV - X L 402 / X L 202.
Communication monitor
Trial run
This is displayed when the KV-XH16ML/XH04MLL/XH16EC is used.
Synchronization control
Servo monitor
Servo trace
Tuning
This is displayed when the KV-XH16ML/XH04ML is used.
Initialization and setting
adjustment
Restart slave device
MOTION BUILDER This is displayed when the KV-H20/H20S/H40S/H20G is used.
KV-LH20V setting
(Communication positioning This is displayed when the KV-LH20V is connected.
parameter setting)
PROTOCOL STUDIO This is displayed when the KV-L21V/L20V/L20R is connected.
Item Explanation
Mail setting This is displayed when the KV-7500, KV-5500, KV-5000, KV-XLE02,
KV-EP21V, KV-LE21V, KV-LE20V, or KV-NC1EP is connected.
Mail communication KV-XLE02 User's Manual
instruction Maker KV-LE21V User's Manual
KV Series Ethernet/IP Function User's Manual.
EtherNet/IP setting
Sensor application
KV DATALINK+ for EtherNet/IP This is displayed when the KV-7500, KV-5500, KV-XLE02, KV-EP21V,
Sensor I/O monitor or KV-NC1EP is connected.
Cyclic (I/O) messages KV Series Ethernet/IP Function User's Manual.
communication error monitor KV-XLE02 User's Manual
Start connection
Stop connection
6 Simple PLC link setting Displayed in KV-7500, KV-5500, KV-5000 Ver.1.1 or later, KV-XLE 02 (only for
FTP client setting), KV-EP 21 V, KV-LE 21 V (only when the expansion function is
set to "Used"), KV- NC1EP.
VIEW
Reference Use unit configuration switching for equipment such as that in which the project details,
such as the ladder program, are the same and only the unit configurations are different.
You can use this function to centrally manage according to projects the projects that
have traditionally been managed according to equipment.
Device comments
Double-click "Device Comment" to display the "Device Comment Edit" window.
"Displaying the Device Comment Edit Window" (page 6-20)
Labels
Double-click "Edit labels" to display the "Edit labels" window.
"Displaying the Label Edit Window" (page 6-26)
CPU system settings
Set various parameters related to the program and system.
Reference This setting is displayed only when "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000",
"KV-1000", or "KV Nano Series" is selected for the PLC model.
Program settings
Module execution sequence setting
Set the module execution sequence.
"Module execution sequence settings" (page 6-41)
VIEW
"Fixed-period execution and user interrupt settings (KV-5000/3000 Series)" (page 6-44)
Protection settings
Configure the settings related to CPU protection.
"Protection settings" (page 6-49)
Other settings
Configure other program related settings.
"Other Settings" (page 6-50)
System settings
Overall local device assignment settings
Set the assignments of global devices, local devices, and workspace devices for local labels and scripts.
"Overall local device assignment settings" (page 6-51)
Programs
This section describes how to manage modules, such as creating a new one or deleting an existing one.
Also, types of modules can be displayed.
For details on module, refer to the KV-7000 Series User’s Manual, the KV-5500/5000/3000
Item Explanation
Copy all program names to the clipboard.
Copy program list to
It appears only when you right-click a program.
clipboard.
Module names are copied in their execution order.
Copy Copy the selected program.
*1
Paste Paste the copied program.
Rename Change the name of the selected program.
Set password Display the "Setting password" dialog box.
Remove password Display the "Removing password" dialog box.
New*1 Create a new program.*4
Open Open the selected program.*4
*1
Delete Delete the selected program.*4
Disable the selected program. Selecting it again enables the program.
Disable/enable program*1
Disabled programs are not transferred to the CPU unit.*4
Device settings for each Set the maximum number of local devices to use for each program.
program*1 "Setting Local Devices for Each Program" (page 8-6)
Module Execution Sequence
Display "Module execution sequence" in the "CPU system setting" dialog box.*4
Settings*1
Display "Fixed-period execution and user interrupt setting" in the "CPU
Fixed-period execution and system setting" dialog box.*4
"Fixed-period execution and user interrupt settings (KV-7000 Series)" (page 6-42)
user interrupt setting*2,*3 "Fixed-period execution and user interrupt settings (KV-5000/3000
Series)" (page 6-44)
Import programs from another project.
Import programs*1
"Importing Programs" (page 4-7)
*2
Start module Start a module that has stopped (standby).*4
*2
Stop module Stop a running module.*4
Properties Display properties of a program.*4
*1 Available only if the selected model is "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000", "KV-1000" or "KV Nano Series".
*2 Available only if the selected model is "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000" or "KV Nano Series".
*3 If a KV Nano Series model is selected, "User interrupt setting" is not displayed.
*4 For details on menu, see "About Programs" (page 7-2).
Function block
You can display, by type, function blocks registered in the project being edited, and manage function
blocks such as creating or deleting them.
For detail on function block, refer to the "KV-7000 Series User's Manual".
Reference Function blocks are displayed only if the selected model is "KV-7500" or "KV-7300".
Item Description
Copy Copy the selected program.
Paste
Rename
Paste the copied program.
Change the name of the selected program.
6
VIEW
Set password Set a password to the selected program.
Remove password Remove the password of the selected program.
New Create a new program. *1
Open Open the selected program. *1
Delete Delete the selected program. *1
Disable the selected program. Selecting it again enables the program.
Disable/enable program
Disabled programs are not transferred to the CPU unit.*1
Device settings for each Set the maximum number of local devices to use for each program.
program "Setting Local Devices for Each Program" (page 8-6)
Arguments Set arguments to the selected program. *1
Import programs from another project.
Import programs
"Importing Programs" (page 4-7)
Program properties Display properties of a program. *1
Macros
Display the macros registered to the project being edited with the macros categorized by type, and
perform macro management such as the creation of new macros and the deletion of existing ones.
For details on each macro, see the KV-7000 Series User’s Manual, the KV-5500/5000/3000
Series User’s Manual and the KV Nano Series User’s Manual.
Reference Macros is displayed only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000,"
"KV-1000," or "KV Nano Series" is selected for the PLC model.
Item Description
Reference Device default values is displayed only when "KV-7500", "KV-7300", "KV-5500", "KV-5000",
"KV-3000", or "KV Nano Series" is selected for the PLC model.
Reference File register settings is displayed only when "KV-7500", "KV-7300", "KV-5500", "KV-5000",
or "KV-3000" is selected for the PLC model.
User documents
Transfer any file to the CPU memory user memory area or to a memory card.
Documents such as specifications and procedures can be managed together with projects in the 6
PLC.
VIEW
Reference User documents is displayed only when "KV-7500/7300" is selected for the PLC model.
1 Select and right click the transfer destination drive, and select "Open folder (O)".
The folder in which user documents are stored opens.
3 Select and right click the drive to read from, and select "Open folder (O)".
The folder in which user documents are stored opens, and the user documents that have been
read are stored in the folder.
6
VIEW
Reference Files in CPU memory or a memory card can also be transferred/read from "Tool (T)"
"Storage device transfer tool (3)".
"Storage Device Transfer Tool" (page 11-31)
"Library" tab
This section describes the display when the "Library" tab of a workspace area is selected.
Reference The "Library" tab is displayed only if "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-
3000", or "KV-1000" is selected and KV STUDIO’s editing mode is "Editor".
Application package
Displays the application package(s) that can be used with KV-7000 Series with CPU function version
2.1 or later.
Item Description 6
Register an application
Select a .fz1 file and then register the application package.
VIEW
package
Item Description
Register a system
Select a .fz1 file and then register the system function block.
function block.
System macro
The dedicated system function block is provided by some units and is available according to the
purpose of a unit.
Alternative procedure With the project tab and the library tab side by side dragged, you can specify the
position to be added by draging the function block in project tab and droping it to
where under the user function block in library tab.
Reference The function blocks/functions nested and used in the function block/function will also be
registered in the project tab.
"Monitor" tab
This section describes the display when the "Monitor" tab of a workspace area is selected.
Reference The "Monitor" tab is displayed if "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000",
"KV-1000" or "KV Nano Series" is selected and KV STUDIO’s editing mode is "Monitor",
"Online edit", "Simulator", or "Simulator edit".
Programs
You can execute or stop programs created during a monitor, online edit, simulator, or simulator edit process.
For details on macro, refer to the KV-7000 Series User’s Manual, the KV-5500/5000/3000
Series User’s Manual, and the KV Nano Series User’s Manual.
For details on function block, refer to the "KV-7000 Series User's Manual".
6
VIEW
Right-click menu of program
When you right-click a registered program, the following menu appears.
Item Description
Open Open the selected macro.
Display "Device settings for each program" in the "CPU system setting" dialog
Device settings for each
box
program
"Device setting for each program" (page 6-55)
Display "Module execution sequence setting" in the "CPU system setting"
Module execution sequence
dialog box.
setting
"Module execution sequence settings" (page 6-41)
*1
Start module Start the selected module.
Stop module*1 Stop the selected module.
Properties Display properties of the selected program.
*1 It is displayed only if the model is "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000" or "KV Nano
Series".
Output Window
Select the "View(V)" menu "Output window(O)", and then show or hide each output window.
6
VIEW
Window Explanation
Display conversion result of a ladder program.
Conversion
"Convert" (page 8-2)
In the search/replace dialog box, after a search is performed, if you click the "List view"
Search button, the search result shown can be used as cross reference.
"Cross References" (page 5-16)
Display the verification result of a project.
Verify
"Verifying Projects" (page 4-4)
Output Display a log of output to PLC.
Display the number of reserved local devices and local device assignment list for each
Local assignment
program during ladder program conversion.
Break history Display a history of break occurrence.
Reference If you right-click the output window, and select "Save as text(K)", the content displayed
in the output window can be saved to a text file (.txt).
Instruction/Macro/Pack Pallet
• Select a cell with no instruction input on the ladder diagram, and then press the key.
Alternative procedure
• Align the pointer with a cell you want to input instruction on the ladder diagram,
and then double-click it.
Instruction pallet
A list of symbols (instruction, macro, and pack) that can be used in instruction/macro/pack pallet is displayed.
Because it is possible to drag a symbol from the "Instruction/Macro/Pack Pallet" window and drop it to the ladder
edit window, you can input instruction like you are drawing a ladder diagram.
For details on how to input from instruction/macro/pack pallet, see "Entering Instructions" (page 5-35).
VIEW
Item Description
Display a list of symbols with simple explanation of their operation.
You can select, by group, the instructions displayed in the list of symbols. Select
"List, Basic instruction, Application instruction, Operation instruction or Expanded
instruction".
Enter an instruction in the right box, and then click "Search(B)" button to search for
Search for instruction
the instruction.
You can set this item when you select an instruction that permits it. When you select
Suffix/differential an instruction that does not permit you to set this item, the selection will be disabled.
The default suffix is "U".
Explanation of
Display an explanation of the operation of the selected symbol.
instruction
Operand Enter a value and comment.
Type list This displays a list of devices that can be set to the selected operand.
Operand explanation Display explanation of the selected operand.
Macro pallet
Reference Macro pallet is displayed only if "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000",
"KV-1000" or "KV Nano Series" is selected.
List of macros
6
VIEW
Item Explanation
Macro name/type Display the name and type of the selected macro.
Comment Display content entered in the comment field of macro’s properties.
Display the title/attribute of the argument of the selected macro.
Operand
Enter the value of an operand.
Operand
Explanation of the selected operand is displayed.
explanation
ID When this check box is selected, you can set the macro ID number to an arbitrary value,
(execution bit) so that the execution bit can be used in the ladder program.
Help Display help for the macro and macro instruction.
Overwrite Overwrite the instruction used to call the set macro in the editor.
Close Exit the instruction/macro/pack pallet.
Reference For macro details, see "4-9 Macros" in the KV-7000 Series User's Manual,
"3-9 Macro" in the KV-5500/5000/3000 Series User's Manual and "4-9 Macros" in
the KV Nano Series User's Manual.
Pack pallet
VIEW
Item Explanation
Select from the position determination unit (KV-H20S/H40S/H40G) that has been set in
Select unit
the unit editor.
Select a pack instruction.
Select pack
For details on pack instruction, refer to "9-3 Positioning unit pack instruction" in the
instruction
KV-700 User’s Manual.
Axis setup Select an operation axis.
Set parameters.
Parameter setting
The parameters change depending on the selected pack instruction.
Help Start the PDF help for pack instruction.
Overwrite Overwrite the set pack instruction in the editor.
Close Exit the pack instruction pallet.
6
VIEW
Item Explanation
Select device Select the device whose comment you want to edit.
Select unit Select the unit whose comment you want to edit.
Program selection*1 Select a program to edit its comment.
Register special device Click this to register predefined comments of special devices.
Register unit device*2 Select a unit, and then click this to register the unit-characteristic predefined comments.
Details Click this to switch to the detailed display.
Closes detail Click this to close the detailed display.
All devices Select this option to display all devices.
Display Used Select this option to display only the devices that are being used by the ladder program.
mode Select this option to display only the devices that are not being used by the
Unused
ladder program.
Click this to update information such as the local devices and the use statuses
Update
to the latest information.
When this checkbox is selected, only the devices to which comments or labels
Register comments/label
are registered are displayed.
When this checkbox is selected, only the devices to which labels are registered
Display label
will be displayed in the list.
If it is selected, the use status of the global or local device appears. If a
program is selected from the list, the device use status of the selected program
Use status
appears. If "----" is selected from the list, the use status of all devices in the
project appears.
Translation Display "Translation" dialog box.
Jump The cursor moves to the specified device number.
Enter a device comment or device number, and the cursor moves to the
Search
location of the search result.
(down arrow) Click this to move the cursor to the next search result in the down direction.
(up arrow) Click this to move the cursor to the next search result in the up direction.
(search option) Click this to display the "Search option setting" dialog box.
Display and enter comments for each device and comment set. Double click the comment set
Comment editing area
name to change the name, display order and whether the comment set is displayed.*3
6-20 - KV STUDIO Ver.9 User’s Manual -
6-1 About View Functions
*1 This item is enabled only when "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000", "KV-1000", or
"KV Nano Series" is selected for the PLC model.
*2 This item is enabled only when "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000", "KV-1000",
"KV-700+M", "KV-700", or "KV Nano Series" is selected for the PLC model.
*3 Comment sets can be edited only when the selected PLC model is "KV-7500" or "KV-7300".
Reference For details on the characters that cannot be used in comments, see "App 2 List of
Characters That Cannot Be Used" (page A-35).
Alternative procedure Right-click the comment editing area in the "Device comment edit" dialog box, and
then select "Search option" from the menu that appears.
VIEW
Item Explanation
Search Entire project The entire project will be searched.
range Selected device All of the device types currently displayed will be searched.
When this checkbox is selected, a case-sensitive search will be
Case sensitive
executed.
When this checkbox is selected, only items that exactly match the
Search 100% match
entered characters will be found as a result of searches.
When this checkbox is selected, half-width characters and full-width
Half/full width
characters will be differentiated during searches.
Reference You can also register additional words freely into the universal comment dictionary.
"Universal Comments Dictionary Edit" (page 11-19)
1 Drag the comment that you want to translate, and then click "Translation".
"Translation" dialog box is displayed.
6
VIEW
Item Explanation
Translation source Language Select the translation source language.
Language Select the translation target language.
Translation target
Output Select the comment set to store the strings after the translation.
Universal comment dictionary Specify the universal comment dictionary to translate.
When this check box is selected, the dialog box is displayed to
Check translation result
check the detailed results after executing the translation.
Reference • You can change the languages that can be selected to the source language and the
target language in the universal comment dictionary editing.
"Universal Comments Dictionary Edit" (page 11-19)
• When the comment set name is clicked, all of the comments displayed in the "Device
comment edit" dialog box can be selected.
2 Select the source language, target language and output, and click "Execute".
Translate character strings according to the universal comment dictionary.
When "Check the translation results" check box is not selected, the character strings after translation is
stored to the output destination comment set.
When "Check the translation results" check box is selected, the dialog box in which you can check the
detailed translation results is displayed.
VIEW
Item Explanation
Device No. Display the device of character strings that ran the translation.
Before translation Display the character strings before translation.
Display the character strings after translation. Select this to edit character
After translation
strings.
Remarks Displays notes for the translation results.
Universal comment
Start "Universal Comment Dictionary Editing" dialog*1
dictionary editing
Retranslate Execute translation again according to the universal comment dictionary.
Detailed settings Specify the universal comment dictionary file (*.tmx) to retranslate.
If the translated character string exceeds 32 characters, and two translated
character strings are registered for the same character string in the universal
Prioritize abbreviations
comment dictionary editing, the shorter character string is used for the
translation.*2
*1 "Universal Comments Dictionary Edit" (page 11-19)
*2 Abbreviations are registered in the order of "normal character string" "character strings of abbreviation"
to be used in the universal comment editing as shown below.
Normally, the character string with a lower ID number is used for the translation.
Setting example
6 Reference You can register device comments for word devices in units of words or in units of bits.
VIEW
VIEW
Replace Replace a character string in the comment edit window.
Cross reference Create a cross reference.
Register unit device Register a unit device comment.
Reference You can copy and paste data between KV STUDIO and Microsoft Excel.
( Ctrl + C and Ctrl + V )
Item Explanation
Enter the character string to search for. Click to display a pulldown menu
Search string
with a list of the last 10 selected items.
Enter the character string to replace found strings with. Click to display a
Replace string
pulldown menu with a list of the last 10 selected items.
Case sensitive When this checkbox is selected, a case-sensitive search will be executed.
When this checkbox is selected, only items that exactly match the entered
Search 100% match
characters will be found as a result of searches.
Entire project The replacement will be performed on the entire project.
Replace
Select device The replacement will be performed on all of the device types currently displayed.
range
Select range The replacement will be performed on the selected range.
2 To replace individual character strings, click "Execute." To replace all character strings in a
batch, click "Replace all."
- KV STUDIO Ver.9 User’s Manual - 6-25
6-1 About View Functions
Click the "View (V)" menu "Label edit window (L)." The dialog box that is displayed varies
depending on the PLC model (the CPU unit used).
When the PLC model is the KV-7500/7300/5500/5000/3000 or KV Nano Series
When the selected PLC model is the KV-7500/7300/5500/5000/3000 or KV Nano Series, you can
register global labels and local labels by switching between the "Global" tab and "Local" tab.
"Global" tab
Configure global label registration settings.
6
VIEW
Item Explanation
Label name Enter the label name.*4
Data format Specify the data format of the devices assigned to the global label.
Bit (BOOL) Data is processed as bit type data.
1-word unsigned integer
Data is processed as 16-bit unsigned data (the default suffix is U).
(UINT)
2-word unsigned integer
Data is processed as 32-bit unsigned data (the default suffix is D).
(UDINT)
1-word signed integer (INT) Data is processed as 16-bit signed data (the default suffix is S).
2-word signed integer
Data is processed as 32-bit signed data (the default suffix is L).
(DINT)
Data is processed as single precision floating point real numbers (the
Floating number (REAL)
default suffix is F).
Double floating number Data is processed as double precision floating point real numbers (the
(LREAL) default suffix is DF).
Text string (STRING) Data is processed as character string data.*1
Timer Data is processed as a timer. Devices other than timer devices are not assigned.
Data is processed as a counter. Devices other than counter devices are
Counter
not assigned.
Arrangement Data is processed as the global label array when script programs are used.*2
Device/constant Specify the devices and constants assigned to the global label.*3
Set global label comments. You can set comments that are different from
Label comment the comments of the assigned devices. (You can enter up to 32 half-width
characters or 16 full-width characters.)
Click this to move the selected line up by one position. You cannot use this
(up)
button when the sort function is enabled.
Click this to move the selected line down by one position. You cannot use
(down)
this button when the sort function is enabled.
(enable sort function) Click this to enable the sort function in the "Label Edit window."
*1 When you specify character strings for the data format, the "Char size
input" dialog box is displayed, so set the number of characters that
can be entered in units of bytes.
*2 When you are writing script programs, this is processed as the global
label array. You cannot use this array when you are creating ladder
programs.
KV-7000/5000/3000 Series and KV Nano Series Script
Programming Manual
*3 You can assign constants to global labels. Specify constants within the range of the specified data
format.
*4 When the selected PLC model is KV-7500/7300, 32 half-width or full-width characters can be entered.
When it is KV-700/700+M/24(40)/10(16)/P16, 60 half-width characters or 30 full-width characters can be
entered. When it is another device, 32 half-width characters or 16 full-width characters can be entered.
VIEW
"Local" tab
Configure local label registration settings.
Item Explanation
Program selection Select a program to register local labels.
6
Load Load and then register unregistered labels used by the program.
Label name*1 Enter the label name. *5
Data format Specify the data format of the devices assigned to the local labels.
VIEW
*1 The same label name can be used in different programs. However, if a local label has the same name as
a global label, then the local label takes priority and will be used first.
*2 When you specify character strings for the data format, the "Char size
input" dialog box is displayed, so set the number of characters that
can be entered in units of bytes.
*3 When you are writing script programs, this is processed as the local
label array. You cannot use this array when you are creating ladder
programs.
KV-7000/5000/3000 Series and KV Nano Series Script
Programming Manual
*4 You can assign constants to local labels. Specify constants within the range of the specified data format.
*5 When the selected PLC model is KV-7500/7300 you can enter up to 32 half-width or full-width characters,
and when it is another device you can enter up to 32 half-width characters or 16 full-width characters.
VIEW
Item Explanation
Enter the label name. (You can enter up to 16 half-width characters or 8 full-
Label name
width characters.)
Device Enter the device.
Device Comment This displays the device comments.
Reference For details on the characters that cannot be used in labels, see "App 2 List of
Characters That Cannot Be Used" (page A-35).
Item Explanation
Cut Cut the selected label.
Copy Copy the selected label.
Paste Paste the cut or copied label.
Batch-insert*1 Insert a batch of labels.
Insert Rung Insert an empty rung at the selected rung.
Delete rung Delete the selected rung.
Additionally register the device at a position offset by one (+1) from the
INC insert*1 registered device directly above the selected one. This is known as
"incremental registration."
Batch-change data format*1 Change all data formats as a batch.
*1 This item is displayed only when the selected PLC model is the KV-7500/7300/5500/5000/3000 or KV
Nano Series.
*2 Data formats are sorted in the following order.
Priority: high Bit
1-word unsigned integer
2-word unsigned integer
1-word signed integer
2-word signed integer
Single precision floating point real number
Character string
Timer
Counter
Array
Priority: low Double precision floating point real number
Reference You can copy and paste data between KV STUDIO and Microsoft Excel.
( Ctrl + C and Ctrl + V )
Item Explanation 6
Enter the character string to search for. Click to display a pulldown menu
Search string
with a list of the last 10 selected items.
VIEW
Case sensitive When this checkbox is selected, a case-sensitive search will be executed.
When this checkbox is selected, only items that exactly match the entered
Search 100% match
characters will be found as a result of searches.
Differentiate between half-
Differentiates between half-width and full-width characters when searching.
width/full-width characters
Search Label Labels will be searched.
target Device Devices will be searched.
The cursor will be moved up, and the next device that matches the search
Up
Search conditions will be displayed.
direction The cursor will be moved down, and the next device that matches the search
Down
conditions will be displayed.
Replacing character strings
Replace a character string in the label edit window.
1 Right-click in the "Label Edit window," and then select "Replace" from the menu that appears.
The "Label edit window (replace)" dialog box is displayed.
Alternative procedure Press Ctrl + H .
Item Explanation
Enter the character string to search for. Click to display a pulldown menu
Search string with a list of the last 10 selected items.
Enter the character string to replace found strings with. Click to display a
Replace string pulldown menu with a list of the last 10 selected items.
Case sensitive When this checkbox is selected, a case-sensitive search will be executed.
Replace Entire project The replacement will be performed on the entire project.
range Selection range The replacement will be performed on the selected range.
2 To replace individual character strings, click "Execute." To replace all character strings in a
batch, click "Replace all."
- KV STUDIO Ver.9 User’s Manual - 6-31
6-1 About View Functions
Click the "View (V)" menu "Device use list (Z)" to display a list of the use statuses of the devices.
6
VIEW
Item Explanation
Global (tab) This displays the use list of global devices.
Local (tab)*1 This displays the use list of local devices.
Select device Select the device whose use list you want to display.
Select when you want to display use lists separately for PLC expansion and special units.
When selected you can select the relays (R), data memory (DM), buffer
Select unit memory (UG), internal unit devices (UD) and other devices assigned to the
unit (the devices that can be selected vary according to the unit).
When "----" is displayed, the use list of all units will be displayed.
Register special device Click this to register special device comments.
Register unit device Click this to register unit device comments.
The specified devices will be displayed in the list regardless of whether the
All devices
Display devices are being used or not.
mode Used The list of devices that are being used in the program will be displayed.
Unused The list of devices that are not being used in the program will be displayed.
When this checkbox is selected, the list of devices that have comments
Reg comments/label
registered to them will be displayed.
When this checkbox is selected, only the devices to which labels are
Display labels
registered will be displayed in the list.
When this checkbox is cleared, only the device numbers and comments will
Using status
be displayed in the list.
Specify a program in order to display the use list.
Program selection*1
When "----" is displayed, the use list for all programs will be displayed.
Update Click this to update the device use list to the latest information.
Translation Display "Translation" dialog box.
Enter a device comment or device number, and the cursor moves to the
Search
location of the search result.
(down arrow) Click this to move the cursor to the next search result in the down direction.
(up arrow) Click this to move the cursor to the next search result in the up direction.
(search option) Click this to display the "Search option setting" dialog box.
Hide the detailed settings (special device registration, unit device registration,
Close details*2
display mode, comment registration, use status, program selection, and update).
*1 This item is displayed only when the selected PLC model is "KV-7500", "KV-7300", "KV-5500", "KV-5000",
"KV-3000", "KV-1000", or "KV Nano Series".
*2 After the details are closed, the "Detail" button is displayed instead of the "Close detail" button. Click
"Detail" to display the detailed settings.
6-32 - KV STUDIO Ver.9 User’s Manual -
6-1 About View Functions
Reference • You can edit ladder programs while the "Device use list" is displayed.
• The meanings of the items in the device use list are shown below.
Item Explanation
Device No. This displays the device number.
This indicates a contact instruction. When one or more contacts are
used, is displayed.
This indicates an output instruction. When one or more outputs are
used, is displayed.
This displays the number of times that the output instruction has
Cnt
been written in the ladder program.
Comment 1 and 2 These display device comments. You can also edit the comments.
VIEW
The "Translation" dialog box is displayed.
For details on the "Translation" dialog box, refer to "Translating character strings" (page 6-22).
Click the "View (V)" menu "Display use status (U)" to display a list of the devices that are being
used in the program.
Item Explanation
Select device Select the device whose use status you want to display.
Specify a program or unit to display its use status.
If a unit is selected the use status of the unit's buffer memory (UG) and unit internal
Program selection
data (UD) will be displayed.
If "Global" is selected, the use status of all programs will be displayed.
Search Up Searching will be executed up from the position of the currently selected device.
direction Down Searching will be executed down from the position of the currently selected device.
Used The devices that are being used in the program will be searched.
Search
Unused The devices that are not being used in the program will be searched.
device
Confliction The devices that have conflicts in the program will be searched.
- KV STUDIO Ver.9 User’s Manual - 6-33
6-1 About View Functions
Item Explanation
Click this to perform the search according to the conditions that you specified with
Execute search the search direction and the devices to search. Each time that you click this
button, the cursor will move to the next search result.
Update Click this to update the device use list to the latest information.
Option Click this to display the "Setup device usage option" dialog box.*
Jump Jump to display the specified device number.
* You can specify the "ignore ZRES instruction" setting in the "device service status option setting" dialog box.
Reference • You can edit ladder programs while the "application status display" dialog box is displayed.
• Device numbers are displayed as shown below.
For MR000 to MR015
6
• The values in the table indicate the number of times that the device is used (contact
VIEW
Click the "View (V)" menu "CPU system setting (P)" to display the "CPU system setting" dialog box.
For details on the CPU system settings, see "6-2 CPU System Setting Dialog Box" (page 6-41).
Mnemonics Lists
You can only use the menu to select the mnemonics list in Monitor or Simulator
Point
mode.
Click the "View (V)" menu "Mnemonic list (N)" to display the mnemonics list window.
VIEW
Reference When you click a rung number in the ladder edit window, the cursor in the mnemonics
list moves to the position corresponding to the rung number.
Reference The rung break function in Monitor mode is available only for the "KV-5500", "KV-5000",
"KV-3000", and "KV-1000". In Simulator mode, this function is available for all PLC
models.
Ladder diagrams can be displayed in five sizes. The default is "100%" when KV STUDIO is started for
the first time.
Click the "View (V)" menu "Zoom in (E)" or "Zoom out (R)" to enlarge or reduce the display.
Reference • Click the "Tool (T)" menu "Option (O)" to open the "option settings" dialog box.
You can also use the "Set display mode" tab to set the display size.
• You can also enlarge and reduce the display by holding down Ctrl and using the
mouse wheel.
6
VIEW
Auto Zoom
The ladder diagram is automatically enlarged or reduced to match the window size.
Click the "View (V)" menu "Auto zoom (A)."
When you select "Auto zoom," the "Zoom in (E)" and "Zoom out (R)" options are disabled.
Displaying Labels
Displaying Comments
Follow the procedure below to switch between displaying and hiding device comments.
Click the "View (V)" menu "Display cmnts (F)." Each time that you click this menu item,
comments toggle between being displayed and being hidden.
Unit number
Reference • Click the "Tool (T)" menu "Option (O)" to open the "option settings" dialog box. You
can also use the "Set display mode" tab to toggle between displaying and hiding 6
comments.
In addition, you can select the comment set to display.
VIEW
• For details on editing comments, see "Displaying the Device Comment Edit
Window" (page 6-20).
6 Unit number: This is the connection number assigned to the unit as 0, 1, 2, 3, 4, and so on where
0 indicates the CPU.
VIEW
Unit relay number: This is the relay number assigned to the occupied relay starting from 00000.
Unit number 0 1 2 3 4 5
KV-U7 KV-DR1 KV-5000 KV- KV- KV- KV- KV-
B16X* C32X* B16T* C32T* H20S
Click the "View (V)" menu "Display unit device (Y)" to display device names of symbols in the
editor in the device notation for units.
Reference Click the "Tool (T)" menu "Option (O)" to open the "option settings" dialog box. You
can also use the "Set display mode" tab to set the device notation for units.
This applies only in the Monitor or Simulator mode: When you click the "View (V)" menu "Display
local assignment destination(W)", local devices, local labels, function block argument and macro
argument devices (only for the KV-1000) appear in the global device list of the assignment
destination.
If the CPU unit is the KV-7500/7300/5500/5000/3000 or KV Nano Series, then the function block
argument and macro argument devices (P, V, UR, UM or UV) appear on the workspace memory (VM)
or workspace relay (VB) of the assignment destination.
Reference Click the "Tool (T)" menu "Option (O)" to open the "option settings" dialog box. You
can also use the "Set display mode" tab to set the device notation for units. 6
VIEW
Displaying Ladder Monitor Values in Hexadecimal
Click the "View (V)" menu "Display ladder monitor value in Hex (X)" to display, only during
Monitor mode, Online Edit mode, Simulator mode, or Simulator Edit mode, the current value in the
ladder diagram in hexadecimal.
Reference Click the "Tool (T)" menu "Option (O)" to open the "option settings" dialog box. You
can also use the "Set display mode" tab to set the device notation for units.
Cells that have been edited in Online Edit mode are displayed with a light blue background to indicate
that the program has been changed. This function clears this change indication.
Click the "View (V)" menu "Clear changed background color (H)" to clear the background colors
that indicate that the program has been changed.
Reference You can also use the following methods to set the automatic clearing of changed
background colors.
• Click the "Monitor/Simulator (N)" menu "Start online edit (J)."
"Online Edit Settings" (page 9-109)
• Click the "Tool (T)" menu "Option (O)" to display the "option settings" dialog box,
and then use the "Online edit setting" tab to configure the setting.
Flow
You can select "View(V)" menu Flow(B) to change the flow settings.
Flow is a program type of unit program function can be used for X-Unit (KV-XH16ML / XH04ML etc.).
Selecting "Properties window(P)" displays the properties window of the block.
Selecting "Grid display" displays a grid on the flow edit screen.
Selecting "Tag display" displays the tag parts of the flow.
6
For details on the flow, refer to the user's manual of each X-Unit.
VIEW
Point "View(V)" Flow(B) can be selected only if the flow edit screen is selected.
The "CPU system setting" dialog box is displayed only when the selected PLC
Point
model is "KV-7500", "KV-7300", "KV-5500", "KV-5000", "KV-3000", "KV-1000", or
"KV Nano Series".
Program Settings
Use this screen to configure general program settings, such as the module execution sequence and
the scan time.
VIEW
To configure the module execution sequence settings, select "Execution sequence of modules" on the
left side of the "CPU system setting" dialog box.
For details on how to display this item from the menu, see "Module Execution Sequence Settings"
(page 7-9).
You can set the execution sequence when there are multiple modules. Modules are executed in the order
of their set numbers.
Item Explanation
No. This displays the module execution sequence.
Module name This displays the names of the modules registered to the project.
Type This displays the module type.
Select these checkboxes to disable the corresponding modules.
Disable
Disabled modules will not be executed.
Up Click this to move the selected module up in the execution sequence by one spot.
Down Click this to move the selected module down in the execution sequence by one spot.
To configure the fixed-period execution and user interrupt settings, select "Fixed period execute and
user interrupt setting" on the left side of the "CPU system setting" dialog box.
Setting items in "Fixed period execute and user interrupt settings" differ
Point
according to whether the selected PLC model is the KV-7000 Series or KV-5000/
3000 Series.
For the KV-5000/3000 Series, see "Fixed-period execution and user interrupt
settings (KV-5000/3000 Series)" (page 6-44).
When the PLC model is "KV Nano Series," you can select the items shown under
"User interrupt settings (KV Nano Series)" (page 6-46).
6
VIEW
Item Explanation
The module names of the fixed-period modules and inter-unit
Module name
synchronization modules registered to the project.
Confirm/set the period for each module.
Period
The setting range for fixed-period modules are as follows.
0.05 to 6000.00 (ms)
0.01 to 60.00 (s)
Unit Use the Unit Editor to set the period for inter-unit synchronization
modules.
"Chapter 3 UNIT EDITOR" (page 3-1)
When this checkbox is selected, the modules start executing as
When operation begins, set to soon as the CPU unit starts operating.
execution When this checkbox is cleared, use the MDSTRT instruction to
execute modules.
Item Explanation
This displays items to which interrupt processing can be applied. When fixed-
period modules/inter-unit synchronization modules are registered, their module
Item
names are displayed. When the unit configuration includes a unit that supports
unit interrupts, select a unit from the blank space on the lowest line.
Set the interrupt factor for each interrupt item.
Interrupt factor This is blank for fixed-period modules. To perform a unit interrupt, select the
interrupt factor for fixed-period modules.
Set the priority of all the interrupt items.
Priority There are three priority levels. "High" means the highest priority and "low" means
the lowest priority.
Reference • In the default settings, the priority level for inter-unit synchronization modules is "High." 6
• In the initial settings the priority level of fixed-period modules is set to "medium. "
VIEW
• In the initial settings the priority level of unit interrupt is set to "low."
• The priority level can be set for up to 64 unit interrupts.
• Unselected unit interrupts operate as if the priority level is set to "low".
Priority when two or more interrupts have the same priority level
When several interrupt factors that have the same priority level occur, the interrupt item that occurred
first is prioritized, and the other interrupts are executed later.
When the interrupt factor occur simultaneously, the processing order of each interrupt is as follows.
Processing order: First Fixed-period modules Module execution sequence number: Small
To configure the fixed-period execution and user interrupt settings, select "Fixed period execute and
6 user interrupt setting" on the left side of the "CPU system setting" dialog box.
Setting items in "Fixed period execute and user interrupt settings" differ
VIEW
Point
according to whether the selected PLC model is the KV-7000 Series or KV-5000/
3000 Series.
For the KV-7000 Series, see "Fixed-period execution and user interrupt
settings (KV-7000 Series)" (page 6-42).
When the PLC model is "KV Nano Series," you can select the items shown under
"User interrupt settings (KV Nano Series)" (page 6-46).
Item Explanation
Cycle Set the cycle time of fixed-period modules.
When this checkbox is selected, the fixed-period modules start
When operation begins, set to executing when the CPU unit starts operating.
execution When this checkbox is cleared, use the MDSTRT instruction to
execute fixed-period modules.
Item Explanation
Item This displays the items to which interrupt processing can be applied.
Set the priority of all the interrupt items.*
Priority There are three priority levels. "High" means the highest priority and "low" means
the lowest priority.
* When priority levels are the same, the priority of interrupt items is shown below.
Fixed-period module
Input 0 INT R000
Priority: high
Input 1
Input 2
INT R001
INT R002
6
Input 3 INT R003
VIEW
Input 4 INT R004
Input 5 INT R005
Input 6 INT R006
Input 7 INT R007
Input 8 INT R008
Input 9 INT R009
High-speed counter comparator 0 INT CTC0
High-speed counter comparator 1 INT CTC1
High-speed counter comparator 2 INT CTC2
High-speed counter comparator 3 INT CTC3
Priority: low
Positioning X axis INT CR3013
Positioning Y axis INT CR3113
To configure the user interrupt settings, select "User interrupt setting" on the left side of the "CPU
system setting" dialog box.
"User interrupt setting" can only be selected when the selected PLC model is "KV
Point
Nano Series."
When the selected PLC model is the KV-7000/5000/3000 Series you can select the
items shown under "Fixed-period execution and user interrupt settings (KV-
7000 Series)" (page 6-42) and "Fixed-period execution and user interrupt
settings (KV-5000/3000 Series)" (page 6-44).
6
VIEW
Item Explanation
This displays the items to which interrupt processing can be applied. Set the priority of all
Item
the interrupt items.*
Priority There are three priority levels. "High" means the highest priority and "low" means the lowest priority.
* When the priority levels are the same, input interrupts are given the highest priority, followed by high-
speed counter comparator interrupts, and then followed by positioning interrupts. Within each interrupt
factor, interrupts are given priority based on the interrupt number, with lower numbers being given higher
priority. For the KV Nano Series, the priority of interrupt items is shown below.
Priority: high
Input 1
Input 2
INT R001
INT R002
6
VIEW
Input 3 INT R003
High-speed counter comparator 0 INT CTC0
High-speed counter comparator 1 INT CTC1
High-speed counter comparator 2 INT CTC2
High-speed counter comparator 3 INT CTC3
High-speed counter comparator 4 INT CTC4
High-speed counter comparator 5 INT CTC5
High-speed counter comparator 6 INT CTC6
High-speed counter comparator 7 INT CTC7
Positioning axis 1 INT CR8415
Positioning axis 2 INT CR8515
Priority: low
Positioning axis 3 INT CR8615
Positioning axis 4 INT CR8715
* This represents a situation in which the KV-N60** is used. The number of high-speed counter comparators
and the number of positioning axes vary depending on the model.
Item Explanation
Enable interrupt in instruction When this checkbox is selected, interrupts will occur even during the
execution execution of instructions of other modules.
When this checkbox is selected, index registers Z1 to Z10 will be
Save and restore Z1 to Z10 when automatically stored in workspace memory when an interrupt program
interrupt starts and ends starts. When the interrupt program is finished, the index register values
stored in workspace memory will be restored to Z1 to Z10.
Click this to return all the items in the "User interrupt setting" screen to
Initialize
their default values.
- KV STUDIO Ver.9 User’s Manual - 6-47
6-2 CPU System Setting Dialog Box
To configure the settings related to scan time, select "Scan time related settings" on the left side of the
"CPU system setting" dialog box.
For details on the scan time, see "4-6 Program configuration and operation" in the KV-7000 Series
User's Manual, "3-4 Program configuration and operation" in the KV-5500/5000/3000 Series
User's Manual and "4-6 Program Structure and Operation" in the KV Nano Series User's Manual.
6
VIEW
Item Explanation
This enables inter-unit synchronization.
Synchronize Units *1
Use the Unit Editor to set the units and periods that will be synchronized.
Synchronize Inter-unit sync This synchronizes the operation of each unit with the execution of the
Module ladder program for inter-unit synchronization modules.
Synchronize Every-scan
This synchronizes the operation of each unit with the execution
Module and Standby
of the ladder program for every scan modules and standby modules.
Module
Fixed scan time operation is performed. Set the scan time value.
When the "Synchronize Units," checkbox is selected and "Synchronize
Fixed scan time operation Every-scan Module and Standby Modules" is selected or the "Enable END
processing time setting" checkbox is selected, this setting will be grayed
out and cannot be selected.
Set the scan time to an arbitrary time.
Set this to a value that is greater than the actually measured scan time.
Scan time
If you set this to a value that is less than the actually measured scan time,
operations cannot be performed within the fixed scan time.
This will enable the END processing time setting. Set an END processing
time.
When the "Synchronize Units" checkbox is selected and "Synchronize
Enable END processing time
Every-scan Module and Standby Modules" is selected or the "Fixed scan
time operation" checkbox is selected, this setting will be grayed out and
cannot be selected.
Set the END processing time.
Set this value when there are large fluctuations in the scan time due to
END processing time
factors other than the ladder program, such as logging processing and
communication processing.
Enable performance monitor*2 When this checkbox is selected, the performance monitor can be used.
*1 You can select this only on the KV-7000 Series (Ver. 1.1 or later) .
*2 This option is not displayed when the selected PLC model is the KV-7000 Series or KV Nano Series. For
these models, the performance monitor is always enabled.
For details on the END processing time, see "4-6 Program configuration and operation" in the KV-
7000 Series User's Manual, "3-4 Program configuration and operation" in the KV-5500/5000/3000
Series User's Manual and "4-6 Program Structure and Operation" in the KV Nano Series User's
Manual.
For details on the performance monitor, see "Performance Monitor" (page 10-18).
Reference When the selected PLC model is the KV-1000, use the MEMSW instruction and CM
(control memory) entries to configure these settings. For details, see the KV-7000/
5000/3000/1000 Series and KV Nano Series Instruction Reference Manual.
Protection settings
6
To configure the settings related to protection, select "Protection setting" on the left side of the "CPU
VIEW
system setting" dialog box.
Item Explanation
When this checkbox is selected, a confirmation message is displayed
Write when an attempt is made to transfer a ladder program to the CPU unit
that is already stored there.
When this checkbox is selected, the ladder programs stored on the CPU
Read
unit are read protected (reading of the programs is disabled).
Project password Click "Setup" to display the password setting window.
Reference When the selected PLC model is the KV-1000, use the MEMSW instruction to configure
these settings.
For details, see the KV-7000/5000/3000/1000 Series and KV Nano Series
Instruction Reference Manual.
Other Settings
To configure other settings, select "Other settings" on the left side of the "CPU system setting" dialog
box.
"Other Settings" can be selected only when the selected PLC model is KV-7500/
Point
7300.
6
VIEW
Item Explanation
Project language setting Select the language to be used when editing projects.
System Settings
Use this screen to configure general CPU system settings, such as assigning local devices and
setting power off holding.
To set the assignments of all the local devices, select "Entire assignment of local device" on the left
side of the "CPU system setting" dialog box.
For details on how to display this item from the menu, see "Overall Local Device Assignment
Settings" (page 8-6).
For details on local devices, see "4-10 Local Devices" in the KV-7000 Series User's Manual,
"3-10 Local device" in the KV-5500/5000/3000 Series User's Manual and "4-10 Local Devices"
6
in the KV Nano Series User's Manual.
VIEW
For the KV-7500/7300/5500/5000/3000 or KV Nano Series
6 4 2 1 3 5
7 8
Reference For the KV Nano Series, the total number of devices is different. In addition, EM cannot
be used.
VIEW
Number Item Explanation
Number of work Set the number of work areas when character text functions are processed
1 area for script text with scripts.
string The specified number of local work areas for words will be consumed.
Separately set the number of work areas for each assignment priority when
Assignment for handling character string functions with scripts in assignment programs,
2
interrupt program*1 fixed-period modules, and inter-unit synchronization modules.
It consumes local works for word in the local work area.
Possible quantity
This displays the number of local work areas that can be used in the project.
used
Used nums Display the total number of local work areas of each program.
3
This displays the remaining number of local work areas that can be used.
Residual nums Remaining number of items = the number of items that can be used - the
number of used items.
Display the Display the assignment status of the local work areas of each program.
4 assignment status Clear the "Auto" checkbox to enable the setting of the number of local work
for each program. areas to be used.
*1 This setting is available only for KV - 7000 series (Function Ver. 2.2 or higher).
It is not displayed for KV-5500/5000/3000 series and KV Nano series.
When using the script string function in both the assignment program (or the
Point periodic module, the inter-unit synchronization module) and the normal module
other than the assignment, allocate the number of script character string work
areas for assignment and normal module respectively. Or use the DI commands/
EI commands to program so that no assignments are generated during character
string processing in normal modules.
In the case of assignment is not performed, If the character string function of
interrupt program is executed during the character string function processing
with a normal module, character string processing will not be performed normally
due to the same work area is used.
6
VIEW
7 8
To set devices for a specific program, select "Set devices for each program" in the left pane of the
"CPU system setting" dialog box.
For details on how to display this item from the menu, see "Setting Local Devices for Each
Program" (page 8-6).
VIEW
Reference For the KV Nano Series, EM and FM cannot be used.
Item Explanation
Program selection Select a program.
When this checkbox is selected, the selected device will be assigned
automatically. You cannot set the number of devices for devices whose
Auto
automatic assignment has been enabled. By clicking "Auto," you can select or
deselect all devices simultaneously.
Set the number of local devices that are used by each device.
Quantity This setting is disabled for the devices whose "Auto" checkboxes have been
selected.
Click "Initialize" to return the set numbers of local devices to their initial (default)
Initialize
values.
For details on local devices, see "4-10 Local Devices" in the KV-7000 Series User's Manual,
"3-10 Local device" in the KV-5500/5000/3000 Series User's Manual and "4-10 Local Devices"
in the KV Nano Series User's Manual.
To set the CPU unit buffer capacities, select "CPU unit buffer capacity" on the left side of the "CPU
system setting" dialog box.
For details on the CPU unit buffer, see "5-4 Logging/tracing" in the KV-7000 Series User's Manual,
"2-3 Logging/tracing" in the KV-5500/5000/3000 Series User's Manual, "5-7 Tracing" in the KV
Nano Series Base Unit (terminal block type) User's Manual, and "5-7 Logging/tracing" in the KV
Nano Series Base Unit (connector type) User's Manual.
6
VIEW
Item Explanation
This displays the total buffer capacity of the CPU unit.
Total (KV-7000 Series: 2048 kB, KV-5000/3000 Series: 1024 kB, KV Nano
Series: 320 kB)
Free This displays the free buffer capacity with the current settings.
ID This is the ID number of logging and tracing.
Cap (KB) Set the buffer capacity used for logging and tracing for each ID number.
Sampling Pts This displays the number of sampling points for logging and tracing.
This displays, in byte units, the unit buffer capacity that is consumed per
Consumption
sampling point of logging or tracing.
For details on logging and tracing, see "5-4 Logging/tracing" in the KV-7000 Series User's
Manual, "2-3 Logging/tracing" in the KV-5500/5000/3000 Series User's Manual, "5-7 Tracing"
in the KV Nano Series Base Unit (terminal block type) User's Manual, and "5-7 Logging/tracing" in
the KV Nano Series Base Unit (connector type) User's Manual.
Reference When the selected PLC model is the KV-1000, the CPU unit buffer capacity cannot be
set.
To configure the power off holding settings, select "Power off holding setting" on the left side of the "CPU
system setting" dialog box.
KV-7500/7300
For details on power off holding, see "4-4 Device and constant" in the KV-7000 Series User's
Manual.
VIEW
Item Explanation
Select device Select the device whose power off holding settings you want to configure.*1
Range This displays the range that can be set.
Select to hold or clear the range.
Hold: When the power turns off, the current values (statuses) of the devices within the
Setting range are held.
Clear: When the power turns off, the current values (statuses) of the devices within the
range are cleared.
*1 The devices for which power off holding can be set are shown below.
* If the project CPU function version setting is 2.2 or earlier, it will be up to R99915.
Do not configure the power off holding settings for relays assigned to I/O units
CAUTION
and special units. Doing so may cause the program to operate incorrectly.
KV-5500/5000/3000
For details on power off holding, see "3-6 Device and constant" in the KV-5500/5000/3000 Series
User's Manual.
6
VIEW
Item Explanation
Battery-less working When this checkbox is selected, operation without a battery will be performed.
Select device Select the device whose power off holding settings you want to configure.*1
Range This displays the range that can be set.
Select to hold or clear the range.
Hold: When the power turns off, the current values (statuses) of the devices within the
Setting range are held.
Clear: When the power turns off, the current values (statuses) of the devices within the
range are cleared.
*1 The devices for which power off holding can be set are shown below.
For details on operation without a battery, see "2-16 Battery-less working" in the KV-5500/5000/
3000 Series User's Manual.
Do not configure the power off holding settings for relays assigned to I/O units
CAUTION
and special units. Doing so may cause the program to operate incorrectly.
KV-1000
When the selected PLC model is the KV-1000, use the MEMSW instruction to configure these settings.
For details, see the KV-7000/5000/3000/1000 Series and KV Nano Series Instruction Reference
Manual.
KV Nano Series
For details on power off holding, see "4-4 Devices and Constants" in the KV Nano Series User's
Manual.
VIEW
Item Explanation
Set the leading device from which power off holding will be performed. Up
Leading device to 20 different device numbers can be set even of the same device types,
such as DM0 and DM1000.
Set the number of devices for which power off holding will be performed.
Number (When you select C devices, two words will be held for each of the
devices.)
The range changes automatically when you set the leading device and the
Range
number of devices. The range cannot be changed manually.
When this checkbox is selected, power off holding can be set to the
Retain CPU Positioning Setting
devices used for CPU positioning.
When these checkboxes are selected, the system parameters and point
parameters used for the selected CPU positioning axis will be held. For a
Setup axis (Axis 1 to Axis
system parameter, 40 words will be held for each axis. For a point
4)
parameter, words of the number specified at "Point parameter holding
setting" × 10 will be held.
You can set this to a value between 0 and 20. For each axis number
specified under "Setup axis," the specified number of point parameters
Point parameter holding
from point number 1 will be held. 10 words will be held for each point
parameter.
When this checkbox is selected, power off holding can be set to the
Retain KV-D30 Setting
devices used for the KV-D30. 500 words will be held.
This displays the area that is actually required according to the device
range that can be used for power off holding. White indicates free space.
Consumption status of
The other colors indicate the areas reserved for power off holding. By
memory area for holding
default, counters (C0 to C255), data memory (DM0 to DM1999), and control
device values while power is
memory for built-in positioning are reserved for power off holding. The
OFF
capacity available for power off holding with the KV Nano Series is 3072
words.
*1 The devices for which power off holding can be set are shown below.
Item Explanation
DM (data memory) DM0 to DM32767
W (link register) W0 to W3FFF
C (counter) C0 to C511
To set the actions taken when an error occurs, select "Action when error occurs" on the left side of the
"CPU system setting" dialog box.
KV-7500/7300/5500/5000/3000/1000
6
VIEW
Item Explanation
Error group This displays the errors registered on the CPU unit.
Select the CPU action when a CPU unit error occurs.
Stop (error): The error will be processed as a serious error and
CPU operation will be stopped.
CPU operation
Continue (warning): The error will be processed as a minor error and
CPU operation will continue without stopping.
* You cannot change the items that have gray backgrounds.
When this checkbox is selected, error occurrences will be written to the
Use log error log.
* You cannot change the items that have gray backgrounds.
Click "Default setting" to return the set items to their initial (default)
Default setting
values.
Reset CPU error when power is When this checkbox is cleared, CPU errors will not be cleared when the
on or when mode is changed CPU is turned on or the CPU operation mode is switched from PROG to
from PROG to RUN. RUN.
Reference When the selected PLC model is the KV-1000, use the MEMSW instruction and CM
(control memory) entries to configure these settings. For details, see the KV-7000/
5000/3000/1000 Series and KV Nano Series Instruction Reference Manual.
KV Nano Series
VIEW
Item Explanation
This displays the errors registered on the CPU unit.
Error group For the errors included in the error group, see "List of PLC Unit Errors"
in the KV Nano Series User's Manual.
Select the CPU action when a CPU unit error occurs.
Stop (error): The error will be processed as a serious error and
CPU operation will be stopped.
CPU operation
Continue (warning): The error will be processed as a minor error and CPU
operation will continue without stopping.
* You cannot change the items that have gray backgrounds.
When this checkbox is selected, error occurrences will be written to the
Use log error log.
* You cannot change the items that have gray backgrounds.
Default setting Click "Default setting" to return the set items to their initial (default) values.
To set the upper limits of the digital trimmers, select "Upper limit of digital trimmer" on the left side of
the "CPU system setting" dialog box.
For details on the digital trimmers, see "5-8 Access Window" in the KV-7000 Series User's Manual
and "2-1 Access Window" in the KV-5500/5000/3000 Series User's Manual.
6
VIEW
Item Explanation
Select this checkbox to enable the setting of the upper limits of the digital
Enable upper limit of digital
trimmers.
trimmer
Clear this checkbox to disable the upper limits of the digital trimmers.
Trimmer No. This is the number of the trimmer whose upper limit you want to set.
Set the upper limit of the digital trimmer of the selected trimmer number.
Upper limit setting
Setting range: 0 to 4294967295.
Reference When the selected PLC model is the KV-1000, use the MEMSW instruction and CM
(control memory) entries to configure these settings. For details, see the KV-7000/
5000/3000/1000 Series and KV Nano Series Instruction Reference Manual.
When the selected PLC model is the KV Nano Series, the digital trimmer upper limit
settings are not displayed.
To configure access window settings, select "Access window settings" on the left side of the "CPU
system setting" dialog box.
For details on the access window, see "2-1 Access Window" in the KV-7000 Series User's Manual.
"Access window settings" can be selected only when the selected PLC model is
Point
KV-7500/7300.
VIEW
Item Explanation
Set the language to display when the PLC is turned on from "According to PLC
setting", "Japanese", "English" or "simplified Chinese".
Set the language
When "According to PLC setting" is set, the language that was being set when
power was turned off at last is displayed.
You can set the comment set number (message set number) when displaying the
following.
• Comment display of device monitor
Set display comment
• Comment display of alarm monitor
number
• User message
When you set other than "According to PLC setting", the displayed comment set
number when power is turned on follows the settings of KV STUDIO.
Set the time after which the backlight turns off when the access window keys are
Backlight OFF time not operated.
If "Always on" is set, the backlight stays on even if no keys are operated.
Display message when
Display a user message of the specified ID when power is turned on.
applying power
Cancel message When the user message is displayed, press "ENTER" key to select whether the
display with Enter key user message will be cleared.
Message editor Display the edit dialog of the user message.
Message editor
6
VIEW
Item Explanation
The ID number of each message and the control relay (CR) allocated to the
ID trigger device is displayed. Each user message can be displayed in the access
window by turning each control relay (CR) ON. 63 IDs are available.
Message Enter the user message that is displayed in the access window.
1/2/3/4/5/6/7/8 Up to 8 sets of messages can be entered for each message.
Translation Display "Translation" dialog box.
* For the operation of "Translation" dialog box, see "Translating character strings" (page 6-22).
Programs
7-1 About Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2
Alternative procedure Right-click in the workspace, and then select "New program(M)" from the menu.
2 Enter a name for the new program, select its program type, and then click "OK".
A new program is created in the workspace with the specified type.
Item Description
7 Program name Enter a name for the new program.
Select one of the following program types.
Programs
Every-scan module
Initialization module
Standby module
Fixed-period module*1
Program type
Inter-unit sync module*2
Function block*2
Function*2
Subroutine type macro
Self-hold type macro
Auto-assign local If you select this check box, a new module will be
devices assigned to a local device.
Perform OFF
If you select this check box, when the program
process when
stops, all execution conditions are turned OFF and
stopping
then one scan is executed.
execution
*1 Cannot be selected if the device is the KV-1000 Series or the KV Nano Series.
*2 Can only be selected if the device is the KV-7000 Series.
• For details on characters that cannot be used in program name, see "App 2 List of
Reference
Characters That Cannot Be Used" (page A-35).
• The CPU function version of the KV-7500/7300 can be upgraded by using KV STUDIO.
"Checking the Function Version" (page 11-22)
Opening
Program(M) Open(E)
In the workspace, select a program you want to open, and then select the "Program(M)" menu
"Open(E)".
Alternative procedure • Right-click in the workspace, and then select "Open(O)" from the menu.
• In the workspace, double-click a program you want to open.
Closing
In the workspace, select a program you want to close, and then select the "Program(M)" menu 7
"Close(L)".
Programs
Deleting
Program(M) Delete(D)
In the workspace, select a program you want to delete, and then select the "Program(M)" menu
"Delete(D)".
Alternative procedure • Right-click in the workspace, and then select "Delete(D)" from the menu.
• In the workspace, select a program you want to delete, and then press the
Delete key.
Properties
Program(M) Properties(H)
In the workspace, select a program you want to open, and then select the "Program(M)" menu
"Properties(H)".
The "Program properties" dialog box appears.
Alternative procedure Right-click in the workspace, and then select "Properties(A)" from the menu.
7
Programs
Item Description
Program name Program name. You can change it.
Program type Program type. You can change it.
Date created Date the program was created
Date updated Date the program was updated
Date transferred Date the program was transferred
Date registered Date the program was registered
Comment Enter a comment here.
*1
Setup password Open the "Setup Password" dialog box to set up a password for the program.
If you select this check box, the selected program is disabled. Disabled
Disable program
programs are not transferred to the CPU unit.
Perform OFF process when If you select this check box, when the program stops, all execution
stopping execution*2 conditions are turned OFF and then one scan is executed.
Read-only*3 If you select this check box, program editing is not allowed.
*1 Can be selected only if the model and program type support it.
"Setting program password" (page 7-5)
If a password is set to a program, then "Remove password" appears instead of "Set password".
*2 Can only be selected if the device is the KV-7000 Series.
*3 Can be selected only if the program type is function block or function.
Yes
characters)
Yes
7
KV Nano Series (Up to 32 half-width (Up to 32 half-width
Programs
characters) characters)
Yes
KV-1000 Series No (Up to 6 half-width
characters)
KV-700 Series No
KV-P16 Series No
KV-10/16/24/40 Series No
Point
Store the newly set password in a safe place. If you lose the password, you will no
longer be able to open a program set with that password.
Setting password
From the properties of the program, click "Setup password".
The "Setup Password" dialog box appears.
Alternative procedure Right-click in the workspace, and then select "Setup password (B)" from the menu.
7
Programs
Item Description
(Program name) Name of a program you want to set with a password
Enter a password here.
For the KV-5500/5000/3000/1000 Series: Up to 6 half-width characters.
Password
For the KV-7500/7300 or the KV Nano Series: Up to 32 half-width characters.
All characters entered are displayed as "*".
Enter the same password again.
Confirmation
All characters entered are displayed as "*".
Set password to multiple If you select this check box, a list of existing programs appears, and you
programs can set the password to the selected programs.
Removing password
From the program properties, click "Reset password".
The "Reset password" dialog box appears.
Alternative procedure • Right-click in the workspace, and then select "Reset password(G)" from the menu.
• In the workspace, double-click a program.
Reference • The password remains removed until the project is closed. To restore the password,
open the project again.
• Depending on the model and program type, some programs cannot be set with a password.
"Setting program password" (page 7-5)
Setting Arguments
In the workspace, select a program you want to set up with arguments, and then select the
"Program(M)" menu "Argument settings(Z)".
The "Function block argument setting" or "Macro argument setting" dialog box appears.
Alternative procedure Right-click in the workspace, and then select "Argument setting(Z)" from the menu.
Programs
Item Description
Specify a function block to set up arguments. The pull-down menu shows
Function block name
function blocks registered to the project being edited.
Load argument information of the specified function block from the ladder
diagram again.
Move the selected argument down in the display order by one spot.
Item Description
Specify a macro to set up arguments. The pull-down menu shows macros
Macro block name
registered to the project being edited.
7 Load argument information of the specified macro from the ladder diagram
again.
Programs
Move the selected argument down in the display order by one spot.
From the "Program(M)" menu, select "Convert unit device(Q)" to convert unit devices used in the
function block or macro into arguments.
Alternative procedure From the ladder editing window of the function block or macro, right-click and then
select "Convert unit device(K)" from the menu.
For details on argument and unit device, refer to "Chapter 4 Ladder Programming" in the KV-7000
Series User’s Manual, "Chapter 3 Ladder Programming" in the KV-5500/5000/3000 Series User’s
Manual, and "Chapter 4 Ladder Programming" in the KV Nano Series User’s Manual.
Programs
From the "Program(M)" menu, select "Setup module execution sequence(V)" to set up an
execution sequence for modules in the project.
For details on module execution sequence, see "Module execution sequence settings" (page 6-41).
MEMO
7
Programs
CONVERT
8-1 About Conversion Functions . . . . . . . . . . . . . . . . . . . 8-2
Convert
Programs that you make with the editor cannot be transferred to a PLC as is.
To transfer a ladder program to a PLC, the ladder program must be converted to machine code.
Reference When you click the "Monitor/Simulator (N)" menu "Transfer to PLC Monitor
mode (C)," the ladder program is automatically converted into machine code and then
transferred to the PLC without the need for you to explicitly execute the conversion
operation.
8
CONVERT
KV-7500/7300
When conversion ends successfully, the percentage of the PLC memory that the converted ladder
program corresponds to is displayed.
• Program capacity : This is the amount of memory that will be used when the entire program
including rung comments is transferred to the unit.
• Object size : This is the amount of memory that will be used when the ladder program
excluding rung comments is converted to a format that can be executed on
the unit.
• User memory size*1: This is the amount of user memory such as file register, user document, and
log data.
*1 The user memory size is displayed only when the selected PLC model is "KV-7500" or "KV-7300".
Click "Details" to display the number of steps used by each module and the consumption of the
internal workspace (bits and words).
The total number of steps includes instructions and rung comments.
Reference When an error occurs during conversion, the message "Conversion failed." is displayed.
You can use the output window to check the error details.
"Output Window" (page 6-16)
Click the "Convert (A)" menu "Check device confliction (B)" to switch between checking for and
not checking for device conflicts during ladder program conversion.
When a check mark is displayed: Device conflicts are checked for.
When a check mark is not displayed: Device conflicts are not checked for.
Device conflicts
A device conflict is a situation in which the same device is specified by multiple instructions that
specify a range, such as the block transfer (BMOV) or batch transfer (FMOV) instruction.
Example
When the following ladder program is written, a conflict will occur between DM3102
and DM3103.
8
MR1000 FMOV
CONVERT
DM1000 DM3000 #1000 ...(1)
MR1001 MOV.D
#12345678 DM3102 ...(2)
Transfer destination
(1) Operation of the FMOV instruction
123 : DM3000
123 : DM3001
Transfer source
...
DM1000:
123 123 : DM3101
(#123 is stored.)
16 bits 123 : DM3102
(1 word)
123 : DM3103
123 : DM3104
...
123 : DM3998
123 : DM3999
16 bits
(1 word) Conflict
You cannot check for device conflicts for devices modified by index registers and
Point
for instructions in which the number of devices used cannot be specified.
Invalid operands are sometimes generated when unit settings are changed after the ladder program
is made.
Click the "Convert (A)" menu "Clear invalid operands (I)" to clear invalid operands.
8 Ladder programs that contain invalid operands will not be converted successfully. To
delete invalid operands, use the "invalid operand clear function" to delete invalid
operands or check and then re-enter each invalid operand individually.
CONVERT
• You can use the search function to search for invalid operands.
"Device Search" (page 5-6)
Click the "Convert (A)" menu "Duplicate coil check (D)" to check for duplicate coil positions in
the ladder program.
Reference • Duplicate coil positions are not regarded as errors during conversion.
• When multiple OUT, OUB, DIFU, and DIFD instructions are used on the same output
relay, the last instruction written is given priority and output. (In both of the following
examples, output R500 does not turn ON even if input R000 turns ON.)
A ladder that has been checked A ladder that has not been checked
for duplicate coils for duplicate coils
8
• When a duplicate coil is found, the operand and row number of the duplicate coil are
CONVERT
displayed in the output window.
• The duplicate coil check is conducted on four instructions: OUT, OUB, DIFU,
Point
and DIFD.
• Even if an error is not discovered by the duplicate coil check, some ladder
programs function as if they have a duplicate coil.
• If you use a global device for an output relay in a function block or macro, and
then call that function block or macro multiple times, a duplicate coil will occur.
Click the "Convert (A)" menu "Set local devices for each program(S)" to set the number of local
devices for each program.
For details on setting local devices for each program, see "Device setting for each program" (page 6-55).
For details on local devices, see "4-10 Local Device" in the KV-7000 Series User's Manual,
"3-10 Local device" in the KV-5500/5000/3000 Series User's Manual and "4-10 Local Devices"
in the KV Nano Series User's Manual.
8 Click the "Conversion (A)" menu "Set entire assignments of local devices (A)" to set the number
of local devices used in the entire project.
CONVERT
For details on the overall local device assignment settings, see "Overall local device assignment
settings" (page 6-51).
For details on local devices, see "4-10 Local Device" in the KV-7000 Series User's Manual,
"3-10 Local device" in the KV-5500/5000/3000 Series User's Manual and "4-10 Local Devices"
in the KV Nano Series User's Manual.
MONITOR/SIMULATOR
9-2 Monitor Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-42
9-3 Register Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-49
9-4 Batch Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-54
9-5 Built-In Function Monitor. . . . . . . . . . . . . . . . . . . . . . 9-57
9-6 Real-Time Chart Monitor. . . . . . . . . . . . . . . . . . . . . . 9-59
9-7 High-Speed Time Chart Monitor. . . . . . . . . . . . . . . . 9-86
9-8 Unit Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-94
9-9 Changing and Reading Device Values in Batches . . . 9-96
9-10 Online Edit Function . . . . . . . . . . . . . . . . . . . . . . . . 9-106
9-11 Simulator Function . . . . . . . . . . . . . . . . . . . . . . . . . 9-110
9-12 Simulator Edit Function. . . . . . . . . . . . . . . . . . . . . . 9-118
KV-7500/7300/5500/5000/3000/1000/700 or
KV Nano Series
OP-35331
(Cable length: 3 m) To USB connector
PC
To USB connector KV STUDIO
• Be sure to use the OP-35331 dedicated cable. If you use a different cable,
Point
operations may not be performed correctly.
9 • Be sure to install KV STUDIO on the PC before you connect the KV-7500/7300/
5500/5000/3000/1000/700 or KV Nano Series to the USB port of the PC.
MONITOR/SIMULATOR
Hub
OP-26401
OP-26486
To D-sub 9-pin
serial port
PC
To modular connector OP-26487 KV STUDIO
(Cable length: 2.5 m)
KV PC
RD 3 3 SD
SD 5 2 RD
4 DR
6 ER
7 RS
8 CS
1 2 3 4 5 6
SG 4 5 SG
KV unit pin numbers Dedicated connector D-sub 9-pin connector 9
MONITOR/SIMULATOR
Note that incorrectly connecting the PLC to the printer port of a PC may damage
NOTICE
the PC or PLC.
Be sure to use the OP-26487, OP-26486, or OP-26401 dedicated cable. If you use a
Point
different cable, operations may not be performed correctly.
CONNECT
• The KV-BT1 can be connected to the KV-5000 (version 1.1) and to CPU units
Point
with CPU function version 2.0 or later.
• For details on the USB adapter for Bluetooth connections, see the user's
manual included with the USB adapter for Bluetooth connections.
Reference • The current state (Editor, Monitor, Simulator, Online Edit, or Simulator Edit) is
displayed on the KV STUDIO mode bar.
• You can also use the mode bar to return to the editor directly.
9
MONITOR/SIMULATOR
Communication Settings
Configure the settings for communication between the CPU unit and PC.
Communication settings
Detailed communication
settings
MONITOR/SIMULATOR
Item Explanation
Select the communications port on the PC to be used for communication with the
PC comm port
PLC.
Select this option when you are connecting through the USB interface. This is
USB*1
selected by default.
Select this option when you are connecting through the RS-232C interface.
Serial*2 Select this when the connection destination is KV-7300/3000/1000/700, KV Nano
series, KV-X 202/XL402 or KV-L2*V etc.
Select this option when you are connecting through the Ethernet interface.
Ethernet*1 Select this to connect to the built-in Ethernet port of the KV-7500/5500/5000 or to
the KV-LE21V.
Select this option when you are connecting through the Bluetooth interface to a
Bluetooth KV-BT1 that is connected to the KV-5000 (version 1.1) and to a KV-5500/5000/
3000 with CPU function version 2.0 or later.
Select this option to communicate through a modem with a remote KV-7500/7300/
Modem
5500/5000/3000/1000/700.
(Detailed communication
The displayed content changes depending on the selected communications port.
settings)
Select this checkbox to, instead of connecting a PLC directly to a PC, connect
Routing setting through a VT5, VT3 or VT2 Series connected to the PLC or through FL-net or
EtherNet/IP.
This button is enabled when the "Routing setting" checkbox is selected.
Detailed setting
Click this to display the "Routing detailed setting" dialog box.
Destinations Click this to display a pulldown menu.
Add to destinations
Click this to add the connection destination to the connection destination list file.
list
Open destinations Click this to open the connection destination list file. If the connection destination
list list file does not exist, you can create a new one.
*1 You cannot use this method to connect to the KV-P16 or KV-10/16/24/40.
*2 Use the KV-L2*V to connect to the KV-7500/5500/5000.
- KV STUDIO Ver.9 User’s Manual - 9-5
9-1 About Monitor and Simulator Functions
USB connection
Connect the PLC and a PC through the USB interface.
Select the "USB" radio button under "PC comm port." You do not have to configure any detailed settings.
Serial connection
Connect the PLC and a PC through the RS-232C interface.
Select the "Serial" radio button under "PC comm port."
9
MONITOR/SIMULATOR
Item Explanation
Select the number of the COM port that the cable is connected to. The default value is
"COM1." A COM port is a serial port. The RS-232C interface is used to perform
COM port
communication. The available COM ports, the number of which vary depending on the
PC model, are displayed in the list.
Select the baud rate. The selection ranges and default values of the baud rates are
shown below.
Model Selection Range Default
Baud rate KV-7500/7300/5500/5000*, 9600, 19200, 38400, 57600, 115200 115200
KV-3000, KV-1000, KV Nano Series
KV-700, KV-24 (40), KV-10 (16),
9600, 19200, 38400, 57600 57600
KV-P16
Unit No. setting Click "Unit No. setting" to display the "Unit No. Setting" dialog box.
* Serial communication unit is required separately for serial connection with KV-7500/5500/5000.
If selectable COM ports are not displayed in the
Point
"Serial port (COM) setting" dialog box, or the
number of COM ports displayed is less than the
number of the actual COM ports, the COM ports
have not been correctly recognized by Windows.
Have Windows correctly recognize the COM ports.
See the user's manual of your PC or contact its manufacturer.
KV-7500/7300/5500/5000/3000/1000/700
CC
24V OUT
24VDC
9
1.8A
0V
N
INPUT
100-240VAC
50/60Hz
0.98A
MONITOR/SIMULATOR
Port 2: RS-422A RC-232C/RS-422A converter
Item Description
Set unit No. Set the unit number of the KV-L2*V to communicate with.
Reference The unit number is the number set to "Station No." in the KV-L2*V unit setup window in
the Unit Editor.
KV-L21V User's Manual
KV-L20V User's Manual
"Chapter 3 UNIT EDITOR"
You can specify a value between 0 and F for the unit number in the "Unit No.
Point
Setting" dialog box, but you can only specify a value between 0 and 9 in the KV-L2*V
Unit Editor.
KV Nano Series
Station number
3 2 1
RS-422A
Item Explanation
Set unit No. Set the unit number of the KV-N11L or KV-NC20L to communicate with.
Reference The unit number is the number set to "KV mode Station No." in the KV-N11L or KV-NC20L
unit setup window in the Unit Editor.
"KV Nano Series Serial Communication Function User's Manual"
9
MONITOR/SIMULATOR
Ethernet connection
Connect the PLC and a PC through the Ethernet interface.
Select the "Ethernet" radio button under "PC comm port."
Item Description
Enter the IP address of the KV-7500/7300/5500/5000/3000/1000/700 or KV Nano
IP address
Series to connect to.
Search destination
Click this to search for the KV-7500/7300/5500/5000/3000/1000/700 or KV Nano
Series connected through the Ethernet interface. 9
Enter the port number of the KV-7500/7300/5500/5000/3000/1000/700 or KV Nano
Port No.
MONITOR/SIMULATOR
Series to connect to.
Click this to test the connection by sending a Ping instruction to the port number of
Conn. test
the entered IP address.
Reference • You can use the connection destination list to select a registered connection destination
from the menu.
• To connect to the KV-7300/3000/1000/700 through the Ethernet interface, the KV-XLE02/
KV-EP21V, KVLE21V, or KV-LE20V is also required.
KV-XLE02 User's Manual
KV Series Ethernet/IP Function User's Manual,
KV-LE21V User's Manual, and
KV-LE20V User's Manual
• To connect to the KV Nano Series through the Ethernet interface, the KV-NC1EP is also
required.
KV Series Ethernet/IP Function User's Manual
9
Item Explanation
MONITOR/SIMULATOR
Select network card Search for settings related to the PC's Ethernet port.
This displays the Ethernet port. When multiple ports exist, select the Ethernet
Network card
port that you want to use from the pulldown menu.
IP address This displays the IP address setting of the PC.
Subnet mask This displays the subnet mask setting of the PC.
Specify the port number of the KV-7500/5500/5000 or of the connected
Port No.
Ethernet unit.
Execute Click this to search for the PLC that is connected through the Ethernet interface.
Stop Click this to abort the search.
This displays the search result: a list of the PLCs whose connections were
Result
confirmed.
MAC address This displays the MAC address.
This displays the PLC model name (KV-7500/7300/5500/5000/3000/1000/700
Connected unit type or KV Nano Series) or the Ethernet unit name (KV-LE21V, KV-EP21V or KV-
NC1EP).
This displays the IP address of the KV-7500/5500/5000 or of the connected
Ethernet unit.
IP address When the IP address setting method is "BOOTP" or "auto switching of BOOTP
fixed IP" and no IP address is assigned, "unset" will be displayed. Click "unset" to
display the "IP address setting" dialog box, in which you can set the IP address.
Project name This displays the name of the project stored on the PLC.
Select the PLC in the search results that you want to connect to, and then click
Select this to display the "Communication setting" dialog box with the IP address and
port number displayed.
Item Explanation
This displays the MAC address of the KV-7500/5500/5000, KV-EP21V, KV-LE21V
MAC address
or KV-NC1EP.
This displays the PLC model name (KV-7500/7300/5500/5000/3000/1000/700 or
Connected equipment
KV-Nano Series) or unit name (KV-EP21V, KV-LE21V or KV-NC1EP).
IP address (must) Set the IP address.
Host name (any) Set the host name.
Search free IP address Click this to display the "Search free IP address" dialog box.
MONITOR/SIMULATOR
Search for free IP addresses on the network.
Item Explanation
IP address start Set the start address of the IP address range to search.
IP address end Set the end address of the IP address range to search.
Search Click this to search for IP addresses within the specified range.
Interrupt Click this to abort the search.
IP address This displays the found IP address.
This displays the result of the IP address search. Unused IP addresses are
Status
displayed as "no response."
This displays the PLC model name (KV-7500/7300/5500/5000/3000/1000/700 or
Connected Unit type
KV Nano Series).
Select an IP address in the search result, and then click "OK" to enter the selected
OK
IP address in the "IP address setting" dialog box.
Testing connections
Use "Ping" and "Tracert" to test whether the connection destination, the KV-7500/7300/5500/5000/
3000/1000/700 or KV Nano Series whose IP address and port number you specified, is operating
correctly.
The "Ping" and "Tracert" commands executed from the "Communications Test" dialog box function the
same as the "Ping" and "Tracert" commands that are executed from the MS-DOS prompt.
Ping: You can use this command to check whether the connection destination is operating
normally by sending an IP packet to the specified IP address and receiving the sent
packet from the connection destination normally. In addition, the time required to receive a
response to the Ping command and the packet loss percentage are both displayed, so
you can infer the speed of transmissions to the connection destination from these results.
Tracert: This displays the route from one host to another. You can use this to check the status of
the routers on the route from the host to the connection destination and to search for
bottlenecks on the route from the response time of each router.
Click this to execute a Ping instruction for the connection destination.
9
MONITOR/SIMULATOR
This displays the execution results of Click this to execute a Tracert instruction
the Ping or Tracert instruction. for the connection destination.
Bluetooth connection
Connect through the Bluetooth interface a PC and a KV-BT1 that is connected to the KV-5000 (version
1.1) and to a KV-5000/3000 Series CPU unit with CPU function version 2.0 or later.
Connect the USB adapter for Bluetooth connections to the PC, and then configure the PC to enable
Bluetooth communication.
MONITOR/SIMULATOR
Item Explanation
Enter the identification name set on the KV-BT1 at the connection
destination. You can register this information by searching for the
connection destination. The identification name is "KV-5500/5000/
Identification Name
3000(half-width space)(identification name with the Unit Editor)."
You can use the access window of the KV-5000 (version 1.1) and of the CPU
unit with CPU function version 2.0 or later to check the identification name.
Enter the BD address of the KV-BT1 at the connection destination. You can
register this information by searching for the connection destination. You
BD address
can use the access window of the KV-5000 (version 1.1) and of the CPU
unit with CPU function version 2.0 or later to check the BD address.
Enter the passkey set on the KV-BT1 at the connection destination (the
Passkey
default value is 0000).
Click this to display the "Connect target search" dialog box. Execute the
Search destination
search to search for KV-BT1s that can be connected to.
This is the number of the COM port that the Bluetooth adapter is using. You
Port No.
can also enter the port number manually.
When this checkbox is selected, you can specify the number of the COM
Manual
port on which Bluetooth communication will be performed.
Reference Even if the KV-BT1 has not been set in the Unit Editor, you can set the passkey to the
default value (0000) and perform Bluetooth communication to transfer data and perform
monitoring from KV STUDIO. Communication can be performed with a Bluetooth
connection during the start of the design stage. Even if you add KV-BT1s at a later
stage, you can perform communication with a Bluetooth connection without changing
the conventional setting data.
Item Explanation
Search for the PLCs (KV-5000 version 1.1 or later or KV-5500 or KV-3000
Execute search
version 2 or later) that are connected to KV-BT1s.
Result This displays the search result: a list of the confirmed PLCs.
Identification name This displays the identification name that has been set on the KV-BT1.
BD address This displays the BD address of the KV-BT1.
Select a PLC in the search results, and then click "OK" to display the
OK
9 "Attribute setting" dialog box.
KV-BT1s that have been set to "cannot be found" in the Unit Editor will be ignored
MONITOR/SIMULATOR
Property settings
Item Explanation
This displays the identification name that has been set on the selected KV-
Identification name
BT1.
BD address This displays the BD address of the selected KV-BT1.
Passkey Enter the passkey set on the selected KV-BT1 (the default value is 0000).
Click this to enter the passkey set on the KV STUDIO in which editing is
Aquire from current item
being performed.
Click this to display the identification name, BD address, and passkey in
OK
the "Communication setting" dialog box.
Modem communication
Use the modem mode to monitor a remote KV-7500/7300/5500/5000/3000/1000/700.
KV-L21V User's Manual
You cannot use modem communication with the KV Nano Series, KV-10 (16), KV-
Point
24 (40), or KV-P16.
Telephone line
CC
24V OUT
24VDC
1.8A
0V
N
INPUT
100-240VAC
50/60Hz
Modem Modem
0.98A
KV-7500/7300/ KV-L2*V
9
5500/5000/
3000/1000/700
MONITOR/SIMULATOR
Modem initialization
Before you perform communication, configure settings such as the modem's initialization command
and the type of the telephone line.
Use the "PC modem setting" and "KV-L2*V/R modem setting" dialog boxes to configure the settings.
KV-L21V User's Manual
9 Item
Select the modem model.
Explanation
When the time until a response is received from the other party's modem is long,
Point
if the dial wait time is set to a short amount of time, the circuit may be
disconnected before a response is received. Be sure to set a dial wait time that is
longer than the modem's response time.
Register the initialization command for any models that are not already registered.
Follow the procedure shown below to register the initialization command.
Enter the "AT&F" command for returning the modem to its factory default values,
9
check the details that are different from the factory default values, and then enter the
MONITOR/SIMULATOR
initialization command. You can specify multiple commands consecutively.
In the following example, the factory default values are "perform echoback," "turn CD
ON at all times," and "detect dial tone."
AT&FE0&C1X3
• General AT commands
The AT commands may vary depending on the type of the modem. Be sure to check
the AT commands listed in the User's Manual of the modem you are using.
AT Command Description
E0 Do not perform echoback.
Q0 Return result code.
V1 Return result code in English.
&C1 Turn CD ON only when the carrier is detected.
&S0 Turn DR ON at all times.
&D2 Disconnect the line when ER changes from ON to OFF.
\Q3 Use RS-CS to perform flow control.
\N3 Set the modem to auto-reliable mode.
X3 Detect busy tone (do not detect dial tone).
\J0 Fix terminal speed.
S0=2 Auto answer after 2 rings.
%C3 Automatically select MNP Class 5 or V.42 bis.
Point Check that the monitor has stopped (communication is not in progress).
Item Explanation
Select the modem model.
9 • To register a new initialization command, enter the initialization
command, and then click "Register."
Model
• If the connected modem is already registered, select it from the list.
MONITOR/SIMULATOR
Check that the "Modem" radio button under "PC comm port" in the "Communication setting" dialog box
is selected.
Stopping communication
Click the "Monitor/Simulator (N)" menu "Stop monitor (E)" or "Return to Editor (X)" to disconnect
the telephone line and stop communication.
MONITOR/SIMULATOR
Reference To perform communication again, click the "Monitor/Simulator (N)" menu "Monitor
mode (B)" to open the "Tel. No. setting" dialog box, and then click "Connect."
1 In the "Telephone No. setting" dialog box, enter the other party's name in the "Call to" text box
and the other party's phone number in the "Telephone" text box.
Item Explanation
Enter the name of the other party to connect to. You can register one phone number
Call to
for each party.
Enter the phone number of the other party to connect to.
Telephone number When you are making a call on an outside line, do not enter the outside line number,
only enter the phone number of the other party.
2 Click "Register."
The entered other party is registered.
Routing settings
Configure these settings when you will not connect the PLC to a PC directly, and will instead connect
through a VT5/VT3/VT2 Series that is connected to the PLC or through FL-net.
Point You can only connect a PC to a KV-10 (16), KV-24 (40), or KV-P16 directly.
In the "Communication setting" dialog box, select the "Routing setting" checkbox, and then click
"Detail."
9
MONITOR/SIMULATOR
Item Explanation
Communication destination Select the PLC model to be connected through a route to the PC.
Select this checkbox when you want to connect through a VT or DT (2-port
via VT/DT (2 port)
function).
VT/DT model Select the model to route through.
Connection to KV Select the method for connecting the model to route through and the PLC.
via network Select this checkbox when you want to connect through the network.
Select routing unit Select the unit to route through.
Click this to read the list of units from the unit configuration of the
Update list
KV-7500/7300/5500/5000/3000 to route through.
Specify the IP address or node number of the equipment (KV-7500,
Communication destination
KV-5500, KV-5000, KV-XLE02, KV-FL20V, KV-EP21V or KV-NC1EP) that
node No.
you are connecting to.
Communication route This displays the connection state of the PLC connected to the PC.
Select the communications port of the routing equipment to connect
Port
directly to the PC.
You can test the status of the connection between the PC and the PLC
with the current settings.
Connection test
If the connection cannot be established, check the communication
settings and the cable connection status.
When the selected PLC model is the KV-7500/7300/5500/5000/3000 or KV Nano Series, you can set
the transfer range of global device comments during project transfers.
Click the "Monitor/Simulator (N)" menu "Setup communication (T)" "Setup transfer range of
global device cmnts (T)" to display the "Global device comments transfer range setting" dialog box.
9
Item Explanation
MONITOR/SIMULATOR
All range When this radio button is selected, all the global device comments will be transferred.
Selected range When this radio button is selected, you can specify the range.
Specify the device type in the combo box. You can specify all the types of global
Device
devices.
Start Specify the number of the leading device to transfer comments from.
Finish Specify the number of the last device to transfer comments from.
Read setting Click this to read the device range that was saved with "Save setting."
Save setting Click this to save the device range specified with "Selected range."
Clear setting Click this to clear all the specified devices and select the "All range" radio button.
Reference This option is not displayed when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000,"
"KV-1000," "KV-700/700+M," or "KV Nano Series" is selected for the PLC model.
• When you transfer comments together with the program to a KV-10 (16), KV-24
Point
(40), or KV-P16, be sure to set the comment transfer range.
• The number of comments that can be transferred is shown below. When you
set a number of comments that is greater than or equal to the number of
comments that can be transferred, comments will be transferred to the PLC up
to the number of comments that can be transferred in an order determined by
the set device list.
Click the "Monitor/Simulator (N)" menu "Setup communication (T)" "Setup cmnts transfer (T)" to
display the "Setup comment transfer" dialog box.
This displays the current number of comments that have been set.
Monitor Mode
Change to monitor mode without transferring the ladder program being edited to the PLC. Before the
operation, connect the PLC to the PC and enable communication on both devices.
Reference For details on the monitor, see "9-2 Monitor Function" (page 9-42).
Click the "Monitor/Simulator (N)" menu "Monitor mode (B)" to switch to monitor mode.
Alternative procedure Select "Monitor" from the pulldown menu on the mode bar.
When the project being edited is the same as the project on the PLC
KV STUDIO immediately switches to monitor mode.
9
When the project being edited is different from the project on the PLC
MONITOR/SIMULATOR
A dialog box asking you to confirm that you want to
transfer the project is displayed.
Click "Monitor mode" to switch to monitor mode with
one ladder program being edited and another
being executed on the PLC.
Click "PLC transfer monitor mode" to display the "Transfer program" dialog box appears. Select the
item to be transferred, and then click "Run."
"PLC Transfer Monitor Mode" (page 9-24)
Click "Cancel" to stop switching to monitor mode.
For positioning unit parameter settings, the confirmation dialog box will not be
Point
displayed even if the projects are different.
Reference The project being edited and the project being executed on the PLC are recognized as
being different also in the case where the project is edited and then restored to its
unedited state and in the case where only the date and time that the project was saved
is different between the projects.
The ladder program that you created in the editor is converted to machine code and is then
transferred to the PLC. The unit then switches to monitor mode. Before the operation, connect the PLC
to the PC and enable communication on both devices.
Reference For details on the monitor, see "Monitor Function" (page 9-42).
1 Click the "Monitor/Simulator (N)" menu "PLC transfer Monitor Mode (C)".
Reference If the ladder program is not converted successfully, an error message is displayed.
Check the error details displayed in the output window, remove the cause of the error,
and then transfer the program again.
"Output Window" (page 6-16)
Transfer item
information display
area
Item Explanation
The items whose checkboxes are selected will be transferred to the PLC.
Transfer item In addition, the detailed information of the selected item is displayed in the transfer
item information display area on the right side of the dialog box.
Transfer item This displays the detailed setting information of the selected transfer item.
information display area For items that do not require detailed settings, only the item name is displayed.
Select all Click this to select the checkboxes of all transfer items.
Cancel all Click this to clear the checkboxes of all transfer items.
When this check box is selected, programs that have been written to the PLC will
Clear program in PLC
be cleared before the project is transferred to the PLC.
Transfer in to When this radio button is selected, the PLC will be temporarily switched to
PROGRAM mode PROGRAM mode, and then the project will be transferred.
When this radio button is selected, the project will be transferred to the PLC as it
remains in RUN mode.
Transfer in RUN mode
When programs are transferred to a PLC in RUN mode, some contents of "Unit
setting info" and "CPU system setting" cannot be transferred.*
* The following items of the CPU system settings will not be transferred.
9-24 - KV STUDIO Ver.9 User’s Manual -
9-1 About Monitor and Simulator Functions
Writing in RUN mode may cause serious problems depending on the condition of
the control device connected to the PLC. Exercise caution during the operation of
this function.
CAUTION
"Writing data during RUN mode" in the KV-7000 Series User's Manual,
"Writing data during RUN mode" in the KV-5500/5000/3000 Series User's Manual and
"Writing data during RUN mode" in the KV Nano Series User's Manual
MONITOR/SIMULATOR
Item Explanation
When this radio button is selected, all global device comments will be transferred to
All range
the PLC.
When this radio button is selected, you can set the range of the global device
Selected range
comments to transfer to the PLC.
Double-click a cell to display a combo box.
Device
Enter the device type directly or select the device type from the pulldown menu.
Start Specify the leading number of the range.
Finish Specify the last number of the range.
Clear setting value Click this to clear all the items that you entered while specifying the range.
Item Explanation
Programs with check boxes selected will be transferred to the PLC.
Checkboxes When the "Clear programs in PLC" check box is selected, these check boxes cannot
be cleared.
Program name Display all programs registered to the project being edited.
Type Display the type of each program.
9 Select all
Cancel all
Click this to select the checkboxes of all transfer items.
Click this to clear the checkboxes of all transfer items.
MONITOR/SIMULATOR
Item Explanation
The logging or tracing settings whose ID number checkboxes are selected will be
Checkboxes
transferred to the PLC.
ID This displays the ID number of the registered logging or tracing setting.
Type This displays the type of the registered logging or tracing setting.
File comment This displays the file comment that was set in the "Logging/tracing setup" dialog box.
Select all Click this to select the checkboxes of all transfer items.
Cancel all Click this to clear the checkboxes of all transfer items.
Item Explanation
Ethernet/Serial function setting of the unit which with the check box on is transferred
Checkboxes
to PLC.
Unit No. This displays the number of the unit whose Ethernet/serial function is being set.
Unit name This displays the name of the unit whose Ethernet/serial function is being set.
Select all
Cancel all
Click this to select the checkboxes of all transfer items.
Click this to clear the checkboxes of all transfer items.
9
MONITOR/SIMULATOR
"File register setting" transfer item
Item Explanation
Memory card/ This switches the display between each transfer destination's file register setting
CPU memory information. (*KV-7000 Series only)
The file register settings whose number checkboxes are selected will be transferred
Checkboxes
to the PLC.
No. This displays the numbers of the registered file register settings.
File comment This displays the file comment that was set in the "File register setting" dialog box.
Select all Click this to select the checkboxes of all transfer items.
Cancel all Click this to clear the checkboxes of all transfer items.
Item Explanation
Checkboxes Positioning settings for the units with selected checkboxes are transferred to the PLC.
Unit number Displays the unit numbers of units that have positioning configured.
Unit name Displays the unit names of units that have positioning configured.
Select all Click this to select the checkboxes of all transfer items.
Cancel all Click this to clear the checkboxes of all transfer items.
9
Reference This item is not displayed for the KV Nano Series.
MONITOR/SIMULATOR
Writing in RUN mode may cause serious problems depending on the condition of
the control device connected to the PLC. Exercise caution during the operation of
CAUTION this function.
"About writing in RUN mode" in the KV-1000 Series User's Manual and
"Precautions on writing in RUN mode" in the KV-1000 Programming Manual
3 When the transfer finishes normally, the unit will automatically return to monitor mode.
When there is no difference between the program stored on the PLC and the program being
transferred, the program will not be written, and the unit will switch to monitor mode.
Disabled programs and function block/macro not called will not be transferred to
Point
the PLC.
9-28 - KV STUDIO Ver.9 User’s Manual -
9-1 About Monitor and Simulator Functions
Transfer the ladder program in the PLC to the PC, and then switch to monitor mode. Check that the
PLC is connected properly, and then perform the following operations from the editor.
The first time that you use the monitor, you have to set the PLC communication
Point
parameters correctly.
"Communication Settings" (page 9-5)
1 Click the "Monitor/Simulator (N)" menu "Read from PLC Monitor Mode (M)."
The "READ PLC" dialog box is displayed.
MONITOR/SIMULATOR
the PLC.
3 When the transfer finishes normally, the unit will automatically return to monitor mode.
PLC Transfer
The ladder program created with the editor is converted to machine code and transferred. When the
transfer finishes, the unit will return to editor mode. Before the operation, connect the PLC to the PC
and enable communication on both devices.
Reference If a conversion error occurs, the message "Conversion error" will be displayed.
Check the error details displayed in the output window, remove the cause of the error,
and then transfer the program again.
"Output Window" (page 6-16)
Writing in RUN mode may cause serious problems depending on the condition of
the control device connected to the PLC. Exercise caution during the operation of
this function.
CAUTION
"Writing data during RUN mode" in the KV-7000 Series User's Manual,
"Writing data during RUN mode" in the KV-5500/5000/3000 Series User's Manual and
"Writing data during RUN mode" in the KV Nano Series User's Manual
Disabled programs and function block/macro not called will not be transferred to
Point
the PLC.
3 When the transfer finishes normally, the unit will return to editor mode.
The ladder program that has been transferred to the PLC is read into the editor. Before the operation,
connect the PLC to the PC and enable communication on both devices.
Click the "Monitor/Simulator (N)" menu "Read from PLC (R)" to select the data to read.
Reference By turning on the "Device value" item and executing PLC-Read, all device values of the
PLC can be read as PlcDeviceValue.csv under the project folder. By opening the csv
file in [Batch Change/Read All Device Values] dialog box and writing all items to the
PLC, you can restore the device state of PLC read execution.
* KV-1000/700/10/16/24/40 does not support the PLC-Read for "Device value".
Verify/synchronize PLC
Verify the contents of the project currently stored in the PLC memory against the contents of the
project being edited in the editor.
Before the operation, connect the PLC to the PC and enable communication on both devices.
9
MONITOR/SIMULATOR
Click the "Monitor/Simulator (N)" menu "Verify with PLC/synchronize (V)" to verify the project
currently stored on the PLC against the project being edited. The verification results will be displayed
in the "PLC verification/synchronization" dialog box.
Item Explanation
Click this to verify the items whose "Items of current project" checkboxes are selected
Verify against the project stored on the PLC, and then display the verification results.
Detailed verification results will be displayed in the output window.
Write to PLC Click this to write the items whose "Items of current project" checkboxes are selected to the PLC.
Read from PLC Click this to read the items whose "Items of current project" checkboxes are selected from the PLC.
Click this to update all the displayed items to the latest information. For items whose
Obtain latest info last update date and time differs, the verification result in the "verification" column will
be cleared.
Item Explanation
This displays the items of the project that is being edited in KV STUDIO.
Current project's
The items whose checkboxes are selected will be operated on when you click
item
"Verify," "Write to PLC," or "Read from PLC."
This displays the last date and time that items of the project being edited in KV
STUDIO were updated.
Last update date
When there is a change in the content from the last time that a program was
transferred, the cells of the corresponding items will be displayed in red.
This displays the verification results. An item being displayed as "OK" indicates that the item in
Verify the project being edited in KV STUDIO and the item in the project on the PLC match.
Double-click the verification result cell to verify only the item of the corresponding row.
Items in PLC This displays the items of the project stored in the PLC.
This displays the last date and time that items of the project transferred to the PLC
were updated.
When there is a mismatch with the content that was previously transferred, the cells of the
Last update date corresponding items will be displayed in red. (When designing is performed by several
individuals, this indicates that there have been changes made from different PCs.)
In addition, when changes are made from the access window of the CPU unit,
"changed in PLC" is displayed.
Select all Clear this to select all the "Current project's item" checkboxes.
Cancel all Click this do clear all the "Current project's item" checkboxes.
When this checkbox is selected, the items that show "OK" in the "Verify" column are
Hide verify OK rung
not displayed.
Click this to display the capacity of the program memory area of the PLC.
9 Check program
memory capacity
Click "Verify space of program memory area" to display the "Check program memory
capacity" dialog box.
Editing using the right-click menu
MONITOR/SIMULATOR
Right-click the list in the "PLC Verification/synchronization" dialog box to edit the following items.
Item Explanation
Delete modules without execution Delete unassigned modules in the PLC. (Unassigned function block and
sequence assigned* macros cannot be deleted.)
Acquire and display the name of the last individual to update the data
on the selected PLC.
Display the last user changed data
Set the name of the last individual to update the data by selecting
of PLC
"Options," "System setting," "Set the sender of the transmission data
when sending to PLC."
* This option is only displayed when the item that you right-click is a module that has not been assigned a
place in the execution sequence.
"Unassigned programs" (page 9-33)
Item Explanation
Program memory capacity This displays the capacity of the program memory area of the connected PLC.
Click this to clear all the programs (global device comments, global labels,
Clear all program memory
CPU system settings, and ladder programs) stored on the connected PLC.*
Close Click this to close the "Check program memory capacity" dialog box.
* After all contents of the program memory are cleared, a "no ladder program" error occurs on the PLC.
9-32 - KV STUDIO Ver.9 User’s Manual -
9-1 About Monitor and Simulator Functions
Unassigned programs
If a project has been transferred to PLC and you want to transfer a different project, you need to select
the "Clear programs in PLC" check box on the "Program transfer" dialog box; otherwise, old programs
inside PLC will remain as "unassigned programs".
Transfer
After transfer:
Project 1
Module 1
Module 2 9
Module 3
Module A Unassigned modules
MONITOR/SIMULATOR
Module B that remain on the PLC
The contents of the program in the editor are verified against the program currently stored in the PLC
memory.
Before the operation, connect the PLC to the PC and enable communication on both devices.
Click the "Monitor/Simulator (N)" menu "Verify with PLC (V)," and then use the "Transfer program"
dialog box to select the items to verify.
9
MONITOR/SIMULATOR
Click the "Monitor/Simulator (N)" menu "Start monitor (S)" to start communication with the PLC.
The operating status of the PLC is displayed in each window.
Alternative procedure Select "Monitor" from the mode bar's pulldown menu.
While the monitor is operating, do not disconnect the cable connecting the PLC.
Point
Doing so may cause communication errors and unstable operation of the PC.
Click the "Monitor/Simulator (N)" menu "Stop monitor (E)" to stop communication with the PLC.
Online Editing
For details on online editing, see "9-10 Online Edit Function" (page 9-106).
Simulator
For details on the simulator, see "9-11 Simulator Function" (page 9-110).
Simulator Settings
You can only select "Setup Simulator" in simulator mode or simulat edit mode.
Configure settings such as the scan time and wait time during simulator operation.
9
MONITOR/SIMULATOR
Item Explanation
You can set the scan time during simulator execution to an arbitrary value.
One scan of the ladder program is simulated per set scan time. By setting the
scan time to that of the actual equipment, you can perform a simulation with timing
that is close to that of actual operation.
Execute scan Select the "Set to fixed scan" checkbox, and then specify the scan time in the
range of 0 to 5000.
If you do not select this checkbox, the scan time that you
Point set here will not be enabled, and the actual time required
will be used.
The scan time of simulator execution will vary depending on the length of the
ladder program and on the PC's performance.
Wait time
You can use the wait time to lengthen the scan time when it is difficult to perform
debugging due to the scan time being too short.
Watchdog timers are used to detect calculation processing congestion that is caused
by problems such as PLC or program errors and the execution of long programs.
WDT time
Watchdog timers allow you to discover infinite loops in ladder programs. The default
value is 3000 ms (3 seconds).
VT Simulator Start
Simulate ladder program operation while communicating with the VT STUDIO design tool simulator.
The ladder program and screen data can be checked while checking operation.
Item Description
Link with a currently running version of VT STUDIO, and switch to
VT STUDIO currently running
9 simulator mode.
Specify VT STUDIO screen data, and switch to simulator mode. This
VT STUDIO project
automatically starts VT STUDIO.
MONITOR/SIMULATOR
Refer to "9-11 Simulator Function" (page 9-110) for details on the KV STUDIO Simulator.
Refer to "18-1 VT Simulator" in the VT5 Series Reference Manual for details on the VT STUDIO
Simulator.
• VT simulator start can be used when the VT STUDIO model is set to the VT5
Point
Series.
• It is not possible to link with several VT STUDIO applications at once.
• It is not possible to link with VT STUDIO while linked to another KV STUDIO.
Simulator Edit
For details on simulator edit, refer to "9-12 Simulator Edit Function" (page 9-118).
You can start the real-time chart monitor when KV STUDIO is in Editor mode, Monitor mode, or Online
Edit mode.
You can also start the real-time chart monitor as a standalone application without starting KV STUDIO.
Alternative procedure Right-click in the registration monitor window or watch window, and then select
"Real-time Chart Monitor (H)" from the menu that appears to display the real-time
chart monitor with the devices registered to the registration monitor window or watch
window registered.
MONITOR/SIMULATOR
Reference • For details on the real-time chart monitor, see "9-6 Real-Time Chart Monitor"
(page 9-59).
• When you start the real-time chart monitor as a standalone application, the "PLC
model selection" dialog box is displayed.
The high-speed time chart monitor starts with the register monitor displayed. Therefore, the devices to
be monitored with the high-speed time chart monitor must be registered with the register monitor in
advance.
1 Display the registration monitor window, and then register the devices to be displayed in the
high-speed time chart monitor.
"9-3 Register Monitor" (page 9-49)
2 Click the "Monitor/Simulator (N)" menu "High-speed Time Chart Monitor (H)."
Among the devices registered with the register monitor, only bit devices are displayed automatically
from the top of the list in the order that the devices are registered. Up to 16 such devices are
displayed.
Reference For details on the high-speed time chart monitor, see "9-7 High-Speed Time Chart
You can register multiple devices in the register monitor. You can then display the current values and
time charts of the registered devices as well as change the current values.
Reference For details about the register monitor such as how to register devices, see "9-3
Register Monitor" (page 9-49).
You can only select the registration monitor window from the menu in Monitor,
Point
Simulator, Online Edit, or Simulator Edit mode.
Click the "Monitor/Simulator (N)" menu "Register monitor window (G)" to display the registration
monitor window.
Reference Each time that you perform the above operation, a new window will open.
Reference For details on batch monitor operations, see "9-4 Batch Monitor" (page 9-54).
You can only select the batch monitor window from the menu in Monitor,
Point
Simulator, Online Edit, or Simulator Edit mode.
Click the "Monitor/Simulator (N)" menu "Batch monitor window (K)" to display the batch monitor
window.
9
Reference Each time that you perform the above operation, a new window will open.
MONITOR/SIMULATOR
Changing or Reading Device Values in Batches
For the current values of the devices registered to the window, you can read all the values of the
devices in the specified range from the PLC and you can write a batch of changed values to the PLC
all at once. In addition, you can save the settings of the read devices and read the settings of saved
devices.
Reference For details on the operations for changing and reading device values in batches, see
"9-9 Changing and Reading Device Values in Batches" (page 9-96)
Click the "Monitor/Simulator (N)" menu "Device value batch modify/read window(D)" to display
the "device value batch modify/read window" window.
Display the current values of all the devices contained in the ladder blocks contained in the cells that
have been selected in the editor.
When you select other ladder blocks, the display of the devices in the watch window changes to
match.
You can only select the watch window from the menu in Monitor, Simulator,
Point
Online Edit, or Simulator Edit mode.
Reference The current values of all devices are also displayed when you select multiple ladder
blocks.
Click the "Monitor/Simulator (N)" menu "Display/hide watch window (N)" to switch between
displaying and hiding the watch window.
When a check mark is displayed: Displayed
Watch window
Unit Monitor
Unlike the register monitor and batch monitor, the unit monitor displays the values of relays and DM
entries in an optimum form according to the unit to be monitored.
"9-8 Unit Monitor" (page 9-94)
By using the built-in function monitor, you can start a monitor in which devices related to various built-
in functions of the CPU have been registered in advance.
"9-5 Built-In Function Monitor" (page 9-57)
Instruction Monitor
You can monitor the devices that are used with the PIDAT instructions that you have selected in the
editor. You can monitor the devices used with the PIDAT instructions, such as the measured values
and set values, with comments, so you can check the operating condition.
PIDAT instructions can be used with KV-7500/7300 CPU units, KV-5500/5000/3000 CPU units with
CPU function version 2.0 or later and with KV Nano Series base units.
Reference You can only select the command monitor from the menu in Monitor, Simulator, Online
Edit, or Simulator Edit mode.
Click the "Monitor/simulator (N)" menu "Command monitor (Y)" "PIDAT (P)" to start the PIDAT
monitor.
MONITOR/SIMULATOR
For details on PIDAT instructions, see the KV-7000/5000/3000/1000 Series and KV Nano Series
Instruction Reference Manual.
For details on how to use the icons, see "Register monitor" (page 9-43).
Reference You can only select the PIDAT instruction monitor when you have selected a PIDAT
instruction in the ladder program with the cursor. Once the monitor starts, it remains
displayed even when the cursor is moved from the PIDAT instruction.
The monitor function is used to compile (convert) a ladder program created with the editor, transfer
the compiled program to the PLC, and run the compiled program to actually confirm the operating
status. It can also be used to transfer the program in the currently connected PLC to the PC for
decompilation, and then to actually run the program to confirm the operating status.
You can use the monitor to:
• Check the operating status of a program in real time using a ladder diagram or high-speed time
chart.
• Switch the operation mode of the PLC.
• Forcibly set and reset I/O contacts on the monitor screen.
• Easily change the data of devices and the set values and current values of timers and counters.
• Save or read a batch of data entries such as the current values of devices by specifying a range.
The batch of data entries can be saved to or read from a storage medium such as a memory card.
• Restore some devices to their default values.
Monitor Limitations
• After you stop the monitor, do not disconnect the PLC and connect another PLC in Monitor mode.
9 Doing so will prevent you from performing normal operation because the contents of the ladder
monitor in the monitor will no longer match the contents of the ladder program on the PLC.
• If the number of devices being monitored is large, operations will be slow.
MONITOR/SIMULATOR
• The time chart in the register monitor does not operate in accordance with the PLC scan time.
• During the execution of the high-speed time chart monitor, other windows are not monitored.
To communicate with the PLC, you have to configure the COM port and baud rate (communication
speed) settings on the PC in advance.
Reference The settings are saved in KV STUDIO and are applied the next time that KV STUDIO
starts.
For details on communication with the PLC, see "Communication Settings" (page 9-5).
• Before starting the monitor, use a connecting cable to connect the PLC and the PC, and then check that
the serial port settings for the monitor are configured properly. If the settings are not configured properly,
an error will be displayed when the monitor starts, and you will not be able to perform monitoring.
"Communication Settings" (page 9-5)
• While the monitor is operating, do not disconnect the cable connecting the PLC. Doing so may cause
communication errors and unstable operation of the PC.
• Do not perform communication in a location that is subject to severe noise. Doing so may cause
communication errors.
• Exercise caution during the writing of programs to prevent the connecting wire from being pulled out
and to prevent communication from being stopped, as either of these may corrupt the program on
the PLC.
• When frequent communication errors occur, set the baud rate (communication speed) to a lower
value.
• Turn on the KV-7500/7300/5500/5000/3000/1000/700 or KV Nano Series PLC before you connect the
USB cable to it.
• To use the USB interface, connect the PLC directly to the USB port of the PC. Do not use a USB
HUB.
• If communication is unstable and interrupted due to noise or other causes, pull out the USB cable,
which is connected to the PLC, from the PC and then connect it again. In an environment where
communication is unstable or noise occurs frequently, pass the USB cable through a ferrite core. It
is even more effective to wind the cable around the ferrite core.
Register monitor
The register monitor is used to display the current values and time charts of the arbitrary devices that
you have registered. This function is useful when you want to check different types of devices at the
same time.
For details on the register monitor, see "9-3 Register Monitor" (page 9-49).
9
Batch monitor
MONITOR/SIMULATOR
The batch monitor is used to display the current values, ON/OFF status of contacts, and registered
comments of all the devices per device type.
For details on the batch monitor, see "9-4 Batch Monitor" (page 9-54).
The "device value batch modify/read" window is used to rewrite a batch of device values on the PLC or
to save a batch of device values to a file.
For details on the "device value batch modify/read" window, see "9-9 Changing and Reading
Device Values in Batches" (page 9-96).
Watch window
The watch window is used to display only the current values of the devices contained in the selected
ladder/flow block. You can change the ladder/flow block that is displayed simply by selecting a cell/
block in the editor, so this is useful when you only want to monitor the current values.
By using the built-in function monitor, you can start a monitor in which devices related to various built-
in functions of the CPU have been registered in advance.
For details on the built-in function monitor, see "9-5 Built-In Function Monitor" (page 9-57).
Instruction monitor
You can use the instruction monitor to monitor the current values of devices that are used with the
PIDAT instructions. This is useful when you want to monitor the measured values, set values, and other
parameters that are used for PID.
For details on the instruction monitor, see "Instruction Monitor" (page 9-41).
When the connected CPU unit is a KV-1000/700, the high-speed time chart monitor can be used to
monitor external I/O and the status of devices in units of scans.
For details on the high-speed time chart monitor, see "9-7 High-Speed Time Chart Monitor" (page
9-86).
When the connected CPU unit is a KV-7500/7300/5500/5000/3000 or KV Nano Series, the real-time
chart monitor can be used to display changes in word devices, which cannot be shown with the
high-speed time chart monitor, as a waveform, thus enabling more realistic monitoring.
For details on the real-time chart monitor, see "9-6 Real-Time Chart Monitor" (page 9-59).
9
Unit monitor
MONITOR/SIMULATOR
Unlike the register monitor and batch monitor, the unit monitor displays the values of relays and DM
entries in an optimum form according to the unit to be monitored.
For details on the unit monitor, see "9-8 Unit Monitor" (page 9-94).
This function can be used to change the PLC ladder program during monitoring.
For details on the online edit function, see "9-10 Online Edit Function" (page 9-106).
The following windows can be displayed in Monitor mode. Also, if the batch monitor or register monitor
was open the last time that you exited the monitor, the corresponding windows are automatically
displayed.
Ladder monitor
Registration monitor
window
Batch change/read
device values
9
Watch window
MONITOR/SIMULATOR
The functions of each window are described in the following sections.
"Ladder Monitor" (page 9-45)
"Register Monitor" (page 9-49)
"Batch Monitor" (page 9-54)
"About the "Device value batch modify/read" Window" (page 9-96)
"Unit Monitor" (page 9-94)
""Correct device value" window" (page 9-47)
"Watch window" (page 9-40)
"Instruction Monitor" (page 9-41)
Ladder Monitor
This section describes how to start and stop the monitor as well as information such as the screens
that are displayed when the monitor is being executed.
This section describes the screens that are specific to the ladder monitor.
• You cannot turn the contacts of timers and counters and external input relays
Point
ON or OFF.
• Disable the input refresh function before turning external input relays ON and
OFF.
Select the cell that contains the device whose current value or set value you want to change, and then
use one of the following methods to display the "Correct device value" window.
• Press F2 .
• Right-click the cell, and then select "Correct device value (D)" from the menu that appears.
Double-click the item that you want to change, and then enter the value. (For "Display format" only,
click the item, and then select a value from the displayed menu.)
Item Explanation
This displays the devices that are being monitored.
Device Double-click an item, and then use the keyboard to change it. You cannot register local
devices if no program is specified.
Reference If the registered device is indirectly specified or index-modified, the reference
9
destination destination device will be displayed.
MONITOR/SIMULATOR
This displays the current values.
Current value Double-click an item to use the keyboard to change it.
For bit devices, the ON/OFF status changes every time the item is double-clicked.
This displays the display format of the value that has been registered for monitoring.
Display format
Select an item, click , and then select a value from the menu that appears.
This displays the set values.
Set value
Double-click an item, and then use the keyboard to change the value.
Contact This displays the status of the timer and counter contacts.
This displays various information such as information related to the scan time of the CPU being
monitored and the number of interrupts. For details on the scan time monitor, see "Scan Time
Monitor" (page 10-16).
Setting breaks
A "break" is a function for stopping a ladder program when specified conditions are met during
program operation.
For details on setting breaks, see "Setting Device Breaks" (page 10-7).
MONITOR/SIMULATOR
Display of the Registration Monitor Window
For details on how to display the registration monitor window, see "Registration Monitor Window" (page
9-38).
Registering Devices
To perform monitoring with the register monitor, you have to use one of the following methods to
register devices.
• Dragging the device from the ladder monitor window
• Right-clicking the device in the ladder monitor window
• Right-clicking the device in the watch window
• Using the registration monitor window
• Right-clicking the flow block when it is selected.
1 In the ladder monitor window, select a range of cells including the cell that includes the device
to be registered.
2 Right-click the selected cells, and then select "Registration Monitor Window (R)" from the menu
that appears.
Reference After you register a device, you can continue registering devices by moving the cursor
to the next rung in the registration monitor window and pressing Ctrl + I . However,
you cannot perform this operation on macro argument devices.
9-50 - KV STUDIO Ver.9 User’s Manual -
9-3 Register Monitor
Select a device in the registration monitor window, and then change the device settings such as the
ON/OFF status and current value.
Double-click the item that you want to change, and then enter the value. Items whose settings cannot
be changed are displayed in gray.
(For "Program" and "Display format", click the item, and then select from the menu that appears.)
Item Explanation
Display whether the device being monitored is a global device, a local device of a
currently opened program, a unit buffer memory (UG) or unit internal data (UD).
Program/unit*1
Select an item, click , and then and select the value from the menu that appears
(change the value).
This displays the devices that are being monitored.
Double-click an item, and then use the keyboard to change it. You cannot register local
Device
devices if no program is specified.
You can enter part of the device comment to search for the relevant device.
Reference If the registered device is indirectly specified or index-modified, the reference
destination destination device will be displayed.
This displays the current values. (When a CTC device is selected, this displays the set
9
value.)
Current value
MONITOR/SIMULATOR
Double-click an item to use the keyboard to change it.
For bit devices, the ON/OFF status changes every time the item is double-clicked.
This displays the display format of the value that has been registered for monitoring.
Display format
Select an item, click , and then select a value from the menu that appears.
This displays the set values.
Set value
Double-click an item, and then use the keyboard to change the value.
Contact This displays the status of the timer and counter contacts.
Comments This displays comments.
Time chart display
This displays the time chart.
area
*1 This item is displayed only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or "KV
Nano Series" is selected for the PLC model.
Icons
Reference • If many devices have been registered, it is easier to view all the devices by opening
multiple windows.
• During the execution of the monitor, the current values and the time chart change with
a speed that matches the operating speed.
One scale mark on the time chart does not represent one scan. It refers to the
Point
communication timing with the monitor.
For a time chart that is accurate to each scan, use the real-time chart monitor or
the high-speed time chart monitor.
"9-6 Real-Time Chart Monitor" (page 9-59)
"9-7 High-Speed Time Chart Monitor" (page 9-86)
Displaying and hiding the set values of timers and counters as well as their
contacts (the contact status of timers and counters)
Right-click in the registration monitor window, and then select "Display/hide timer counter setting
value/contact" from the menu that appears.
When a check mark is displayed, these items are displayed. When a check mark is not displayed,
these items are hidden.
MONITOR/SIMULATOR
The selected item is enabled.
For details on how to display the batch monitor window, see "Batch Monitor Window" (page 9-39).
You can change the devices that are already displayed in the batch monitor window.
There are the following two ways to change the devices.
The selected device and all other devices of the same type are listed in the batch monitor window.
To start multiple batch monitor windows, right-click in the ladder monitor window, and then select
"Batch Monitoring" from the menu that appears.
Reference You can right click a device in one of the monitors listed below and select "Batch
Monitor Window" to display that device first in batch monitor.
• Ladder monitor
• Watch window
Select a device in the batch monitor window, and then change the device settings such as the ON/
OFF status and current value.
Double-click the item that you want to change, and then enter the value. Items whose settings cannot
be changed are displayed in gray.
Item Explanation
*1 Select this radio button to display the batch monitor of Global devices and
Device (D)
local devices.
Program*2
To perform batch monitoring of global devices, select "Global."
To perform batch monitoring of local devices, select a program to monitor. 9
This displays the devices that are being monitored. You can use the cell in the
Device
top-most line to change the devices.
MONITOR/SIMULATOR
Select this radio button to display the batch monitor of the buffer memory in
the expansion unit.
Unit buffer memory (G)*1
This item is disabled when a unit whose expansion unit buffer memory can be
monitored is not connected.
This displays the unit that is being monitored. You can use the cell in the top-
Unit *1
most line to change the unit that is being batch monitored.
This displays the offset from the leading address in the expansion unit's buffer memory.
Offset*1 You can use the cell in the top-most line to change the leading address of the
displayed expansion unit buffer memory.
Select this radio button to display the batch monitor of the internal device in
Expansion unit internal the expansion unit.
device (U) This item is disabled when a unit whose expansion unit internal device can be
monitored is not connected.
This displays the unit that is being monitored. You can use the cell in the top-
Unit
most line to change the unit that is being batch monitored.
This displays the devices that are being monitored. You can use the cell in the
Device
top-most line to change the devices.
This displays the current values. (When a CTC device is selected, this displays the
set value.)
Current value
Double-click a current value to use the keyboard to change it.
For bit devices, the ON/OFF status changes every time the item is double-clicked.
This displays the display format of the values that are being batch monitored.
Display format
You can use the cell in the top-most line to change the display format.
This displays the set values. You can change the set values for any cell in
Set value
which values are displayed.
Contact This displays the status of the timer and counter contacts.
Comments This displays comments.
*1 This item is displayed only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," or "KV Nano Series"
is selected for the PLC model.
*2 This item is displayed only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or
"KV Nano Series" is selected for the PLC model.
Reference When "Expansion unit buffer memory" is selected, you cannot create cross references.
Reference When "Expansion unit buffer memory" is selected, you can choose whether to display
comments.
By default, a monitor window for the special functions that are built-in to the CPU unit is available,
which enables you to easily monitor the CPU. You can display up to 10 built-in function monitors
simultaneously.
You can only select the built-in function monitor from Monitor, Simulator, Online
Point
Edit, or Simulator Edit.
MONITOR/SIMULATOR
Select the required window, and then click "Display."
Reference • By default, the following windows are registered to the built-in function monitor.
• Some windows may not be displayed or monitoring may not be available depending
on the PLC model or the presence or absence of extension cassettes.
KV-
KV-5500 N14*/
Window KV-7500
Function KV-5000 KV-1000 KV-700 N24*/ KV-NC32T
Name KV-7300
KV-3000 N40*/
N60*
I/O Monitor for CPU built-in I/O. - Yes Yes Yes Yes Yes
Interrupt Monitor for CPU interrupts. - Yes Yes Yes Yes Yes
Monitor for the CPU built-in
positioning function. As you can
select the monitor of the axes
Positioning - Yes Yes Yes Yes Yes
that can be used, the number of
displayed axes varies
depending on the model.
Monitor for the CPU high-speed
counter. As you can select the
monitor of the channels of the
High-speed
high-speed counter that can be - Yes Yes Yes Yes Yes
counter
used, the number of displayed
channels varies depending on
the model.
Monitor for the CPU specified
9 Specified
frequency counter. As you
can select the monitor of the
frequency channels of the pulse output - Yes Yes Yes Yes Yes
MONITOR/SIMULATOR
The real-time chart monitor can only be used when "KV-7500," "KV-7300," "KV-5500,"
Point
"KV-5000," "KV-3000," or "KV Nano Series" is selected for the PLC model.
MONITOR/SIMULATOR
Displaying the Real-Time Chart Monitor
For details on how to start the real-time chart monitor, see "Real-Time Chart Monitor" (page 9-37).
List of devices and trigger setting area Time chart display area
Item Explanation
9 Checkboxes The waveforms of the devices whose checkboxes are selected are displayed.
No. This displays the registration numbers of the devices that are being monitored.
MONITOR/SIMULATOR
Device This displays the numbers of the devices that are being monitored.
During tracing, "Current Value" is displayed in the column title and the current
values of all the traced devices are displayed.
These are displayed according to the display format set in the "Device Setting"
Selected value/
dialog box. When a bit device is turned ON, "*" is displayed. When a bit device is
current value
turned OFF, "O" is displayed.
When tracing is stopped, "Selected Value" is displayed in the column title and the
value at the cursor position is displayed.
This displays the differential value between Cursor A and Cursor B.
A/B
For bit devices, "---" is displayed.
Item Explanation
No. This displays the registration number of the device to be registered or edited.
This displays the number of the device to be registered or edited.
Device To make the device number editable, double-click the cell or select the cell and
press Enter.
Select the display format of the registered device.
The display formats are listed below.
• Binary 1BIT
• Decimal 16BIT, unsigned
• Decimal 16BIT, signed
• Hex 16BIT
• Decimal 32BIT, unsigned
• Decimal 32BIT, signed
Display format • Hex 32BIT
• FLOAT
When the registered device is bit device (R, B, MR, LR, CR, T, C, or CTC*1), you
can only select "Binary 1BIT."
When the registered device is a word device (DM, W, EM*2, FM*2, ZF*2, TC (timer
current value), CC (counter current value), Z, CM, CTH*1, TM, or TRM*2), you
cannot select "Binary 1BIT."
*1 CTH and CTC cannot be used with the KV-7000 Series.
*2 EM, FM, ZF and TRM cannot be used with the KV Nano Series.
This displays the color of the displayed waveform.
Color
To edit a color, click the color cell.
MONITOR/SIMULATOR
This option becomes active when the display format is a format other than "Binary
1BIT."
Real time scaling
When this checkbox is selected, the display range is automatically adjusted
during sampling to match the maximum and minimum values of the data.
Reference If you register global labels, local labels and local devices, the assigned devices will be
registered.
Point When you register or edit a device, all the displayed waveforms are cleared.
• Deleting devices
Select the cell to be deleted, and then press Delete .
Alternative procedure • Right-click the cell to delete, and then select "Delete (C)" from the menu that
appears.
Alternative procedure • Right-click the device that you want to perform incremental registration on, and
then select "Increment registration (I)" from the menu that appears.
• When the display format of the device that you want to perform incremental
registration on is "Binary 1BIT," "Decimal 16BIT," or "Hex 16BIT," the device
whose device number is at a +1 offset to the specified device number is
added.
• When the display format of the device that you want to perform incremental
registration on is "Decimal 32BIT" or "Hex 32BIT," the device whose device
number is at a +2 offset to the specified device number is added.
9 Alternative procedure • Click the "View (V)" menu "Display device comments (C)."
MONITOR/SIMULATOR
You can use this function when you start the real-time chart monitor from KV
Point
STUDIO.
When you start the real-time chart monitor as a standalone application, you
cannot select this function.
Item Explanation
Set the amount of data to collect after a trigger occurs.
Move the slider left and right to change the amount of data.
Trigger After trigger data
Move the slider to the left to increase the amount of data. Move the slider
Position size
to the right to decrease the amount of data.
In addition, you can directly enter the amount of data as a percentage.
1 to 50ms : Perform sampling using the selected period.
9
SCAN : Perform sampling for each PLC scan.
MONITOR/SIMULATOR
Sampling period*1 Instruction trigger (TRGD) : Perform sampling for each execution of the
TRGD instruction (which specifies ID10 in the
operand) on the ladder.
Trigger condition Set the trigger conditions.
Checkboxes Select these checkboxes to specify the bit devices.
Specify the bit device to trigger on.
Device number
You can only specify the bit devices that have been registered in the "Device list" tab.
Specify the bit device attribute.
Bit
Trigger attribute ON: When the bit device turns ON, the trigger occurs.
device
OFF: When the bit device turns OFF, the trigger occurs.
Specify the trigger condition of the bit device.
Trigger condition AND: When all bit device conditions are met, the trigger occurs.
OR: When one of the conditions is met, the trigger occurs.
Specify the trigger condition of the bit devices and the word device.
Trigger condition AND: When all the bit device and word device conditions are met, the trigger occurs.
OR: When one of the conditions is met, the trigger occurs.
Checkbox Select this checkbox to specify the word device.
Specify the word device to trigger on.
Device number
You can only specify the word devices that have been registered in the "Device list" tab.
Specify the trigger condition of the word device.
≧: When the device value is greater than or equal to the comparison
value, the trigger occurs.
Word >: When the device is greater than the comparison value, the trigger occurs.
device ≦: When the device value is less than or equal to the comparison value,
Trigger condition
the trigger occurs.
<: When the device value is less than the comparison value, the trigger occurs.
≠: When the device value is not equal to the comparison value, the
trigger occurs.
=: When the device value is equal to the comparison value, the trigger occurs.
Comparison value Enter the value to compare the word device with.
*1 The setting differs if unit trace or inter-unit synchronization trace is used.
"Switching operation mode (when the target PLC is the KV-7000 Series only)" (page 9-64)
- KV STUDIO Ver.9 User’s Manual - 9-63
9-6 Real-Time Chart Monitor
Switching operation mode (when the target PLC is the KV-7000 Series only)
You can change the operation mode of the real-time chart monitor.
9
MONITOR/SIMULATOR
"CPU"
It is used as a normal real time chart monitor.
The status of the bit device and word device of the CPU unit can be monitored.
"Unit"
Switch to unit trace.
It is possible to switch only when using X-Unit (KV-XH16ML / XH04ML etc) supports unit trace.
Data in X-Unit is possible to be monitored.
Example: For KV-XH16ML / XH04ML
Data in KV-XH16ML / XH04ML such as current coordinates and current rate, position deviation and
feedback torque, positioning start and positioning end is possible to be monitored.
Sampling cycle of unit trace is as follows.
• For X-Unit with control period: Specify sampling period in multiples of the control period.
• For X-Unit without control period: Specify sampling period in the range of 0.125 to 50ms
(0.125ms units).
CPU unit
Switch to Inter-unit synchronous trace when Inter-unit synchronization is used.
It is possible to be switched only when using X-Unit (KV-XH16ML / XH04ML etc) which supports unit
trace and Inter-unit synchronization.
It is possible to monitor data in X-Unit which can be monitored by unit trace and CPU device at the
same time.
Sampling interval of Inter- unit synchronization traces becomes to the Inter-unit synchronization
period.
Reference • For details of unit trace, refer to User's manual of each X-Unit.
• For detail on inter-unit synchronization, refer to the "KV-7000 Series User's manual".
Unit trace and inter-unit synchronization trace can be used after you start the
Point
real-time chart monitor from KV STUDIO.
If only a single one starts, then selection is not possible.
Changing the display mode (when the target PLC is the KV-7000 Series only)
You can change the display mode of the real-time chart monitor.
MONITOR/SIMULATOR
"Time axis display"
You can monitor changes over time with the horizontal axis showing time and the vertical axis showing
device values.
Bit devices cannot be registered when the display mode is "XY display (line/
Point
point)".
Cursor A Cursor B
Trigger point
Sampling
information
display
Trigger point
When you are performing sampling when triggers occur, the point at which the trigger occurred is
displayed.
You can check the absolute position of the trigger point and the date and time that the trigger
occurred in the sampling information display.
XY display area
This area shows a variety of information including the waveform of monitored devices.
Cursor A Cursor B
Cursors A and B
Use a cursor to check the value of the selected location, or use the two cursors to check timing,
response delay, etc.
Click the scrolling part at the bottom to move the cursor.
To fine tune the position of a cursor, use the cursor keys on the keyboard.
9
MONITOR/SIMULATOR
Sampling information display
Shows information about the displayed XY display area.
TrigPoint: This displays the position and the date and time that the trigger occurred.*1
A: This displays the position and the date and time of cursor A.*1
B: This displays the position and the date and time of cursor B.*1
A-B: This displays the distance and time between cursor A and cursor B.
Open file
Open a real-time chart file (*.rtc).
Click the "File (F)" menu "Open file (O)," and then select the real time chart file from the "Open file"
dialog box.
Save
Save (overwrite) the real-time chart monitor data.
Click the "File (F)" menu "Save (S)." When you save a file for the first time, specify the file name in
the "Save As" dialog box to save the file.
9 Save as
MONITOR/SIMULATOR
Save the real-time chart monitor sampling data to a file under a new file name.
Click the "File (F)" menu "Save As (A)," specify the file name in the "Save As" dialog box, and then
click "Save."
Item Explanation
Save in Select the drive and the folder in which you want to save the file.
File name Enter the file name.
Select the type of file to save: a real-time chart version 2 file (*.rcm) or a real-time
Save as type chart version 1 file (*.rtc).
Files saved in *.rtc format can be opened with the version 1 real-time chart monitor.
Reference The following data will be deleted when you save data as a .rtc file.
• FLOAT display type device and trigger settings
• XYM-display settings of devices
• Device comment display settings
• Real-time scaling settings
1 Select the "File (F)" menu > "Read CSV file (L)."
The "Read logging/tracing file wizard " dialog box
appears.
MONITOR/SIMULATOR
3 Change the device and display format as necessary, and then click "Finish ."
The logging/tracing data will be read into the real-time chart monitor.
Reference Trigger position information can also be read for data files saved using the tracing
function.
When data is read into the real-time chart monitor, check "Add a device comment
Point
line " in the "Option settings " in "Logging/tracing setting". If there is no comment
line, time stamp information cannot be read normally.
Print settings
Configure the print settings for the real-time chart monitor data.
Click the "File (F)" menu "Print setup (R)," and then configure the printer settings in the "Printer
setup" dialog box.
For details on the printer settings, see the printer manual.
Print
Print the real-time chart monitor data.
Click the "File (F)" menu "Print (P)," and then configure the print settings in the "Print" dialog box.
Alternative procedure • Ctrl + P
•
9
Item Explanation
Select the items to print.
MONITOR/SIMULATOR
Print object
The items whose checkboxes are selected will be printed.
Select the waveform range to print.
Waveform print range The waveforms within the range indicated by the selected radio button will be
printed.
Number of layers of Specify the number of waveforms to print on one page.
wavegraphs The setting range is 1 to 8 layers/page.
Printer setup Click this to configure printer settings.
Select the print color of waveforms.
Waveform print color
Waveforms will be printed in the color indicated by the selected radio button.
When this checkbox is selected, waveforms will be highlighted when printed.
Highlight
This is only displayed when "Color (colorless back)" is selected.
Select the thickness of the waveform lines to print.
Size of lines for waveform
Waveforms will be printed with the line thickness indicated by the selected
printing
radio button.
Print header Add a title to the items to print.
Print record Add a comment to the items to print.
Print Click this to print the data.
Cancel Click this to cancel printing and close the "Print" dialog box.
Print Preview Click this to display a print preview.
Print preview
Display a print preview of the real-time chart monitor data.
Click the "File (F)" menu "Print Preview (V)" to display the "Print Preview" screen.
Alternative procedure •
Search
Search the data of a single sampled waveform.
Activate the waveform graph that you want to search, and then click the "Edit (E)" menu "Find (F)"
to open the "Find" dialog box.
You can switch the data to be searched by changing the active waveform data.
MONITOR/SIMULATOR
Item Explanation
Select the search mode from the pulldown menu.
Search mode Rising edge: The point where the device changes from OFF to ON will be searched for.
Falling edge: The point where the device changes from ON to OFF will be searched for
Search Pre Click this to search for the previous data (left side) from the point of cursor A.
Search Next Click this to search for the next data (right side) from the point of cursor A.
Item Explanation
Select the search mode from the pulldown menu.
Maximum value: The maximum value of the device will be searched for.
Minimum value: The minimum value of the device will be searched for.
Search mode
Local maximum value: The local maximum value of the device will be searched for.
Local minimum value: The local minimum value of the device will be searched for.
Specified value: Select this when you want to search for a specified value.
You can only enter this value when you select "Specified value" as the search mode.
Specified value
Enter the value to search for.
Search Pre Click this to search for the previous data (left side) from the point of cursor A.
Search Next Click this to search for the next data (right side) from the point of cursor A.
Combination search
Search the data of multiple sampled waveforms by combining the search conditions.
Click the "Edit (E)" menu "Combine search (C)" to open the "Combination Find" dialog box.
Bit device
Bit device search combination condition
conditions
Item Explanation
Select the condition to use to combine the specified bit device search
conditions.
Bit device combination AND: The point in which all the bit device search conditions are met will
condition be searched for.
9 OR: The point in which at least one of the bit device search conditions is
met will be searched for.
Select The devices whose checkboxes are selected will be searched.
MONITOR/SIMULATOR
Bit device
search Device This displays the registered bit devices.
conditions
ON/OFF Specify the status of the bit devices to be searched.
Select the condition to use to combine the specified bit device and word
device search conditions.
Bit device and word device AND: The point in which all the bit device and word device search
combination condition conditions are met will be searched for.
OR: The point in which at least one of the bit device or word device
search conditions is met will be searched for.
Select The device whose checkbox is selected will be searched.
Device Select a registered word device from the pulldown menu.
Specify the word device search condition.
=: The point at which the device value is equal to the comparison
value will be searched for.
>: The point at which the device value is greater than the comparison
Word device Cond
value will be searched for.
search (condition)
<: The point at which the device value is less than the comparison
conditions
value will be searched for.
< >: The point at which the device value is not equal to the comparison
value will be searched for.
Value Specify the value to compare with the word device being searched.
Display This displays the display format of the device registered to the real-time
format chart monitor.
Search Pre Click this to search for the previous data (left side) from the point of cursor A.
Search Next Click this to search for the next data (right side) from the point of cursor A.
Close Click this to close the "Combination Find" dialog box.
Alternative procedure • F3
Jumping to cursor A
Click the "Edit (E)" menu "Jump (J)" "Cursor A (A)" to jump to the position of cursor A.
9
Alternative procedure • Ctrl + A
MONITOR/SIMULATOR
•
Jumping to cursor B
Click the "Edit (E)" menu "Jump (J)" "Cursor B (B)" to jump to the position of cursor B.
Click the "View (V)" menu "Device list (E)" to display the "Device list" tab in the device register and
trigger setting area. In addition, a check mark is displayed in the menu.
Click "Device list (E)" while the "Device list" tab is displayed to hide the "Device list" tab and remove the
check mark from the menu.
XYM display
Click the "View (V)" menu "XYM display(X)" to display the numbers of the devices registered in the
device list in XYM marking. In addition, a check mark is displayed in the menu.
Click "XYM display(X)" while the device numbers are displayed in XYM marking to display device
numbers and remove the check mark from the menu.
Reference • When you start the real-time chart monitor as a standalone application, you cannot
read comments.
• When you acquire comments and save the data, the acquired comments are also
saved. Even the next time that the real-time chart monitor is started as a standalone
application, the comments will be displayed.
Display settings
Click the "View (V)" menu "Display setting (S)" to display the "Display setting" dialog box.
Configure the settings related to the display of the real-time chart monitor.
Alternative procedure • RIght-click the time chart display area, and then select "Display setting (S)" from the
menu that appears. 9
• Right-click a device number displayed on the right side of the time chart display area.
MONITOR/SIMULATOR
The "Display setting" dialog box consists of three tabs: "Display range," "Scale," and "Common."
Group settings
Click the "View (V)" menu "Group settings (J)" to display a wave shape in the same range and
same position as the registered device. When they are grouped, the other devices are aligned with the
display settings of the youngest device and displayed superimposed.
Up to 8 groups can be used, and devices can be used without being grouped.
Not grouped
Grouped
Point Only devices with the same device size (1 word or 2 words) can be grouped.
Item Explanation
This displays the list of registered devices. The waveforms of the devices
Device List
whose checkboxes are selected are displayed.
All devices ON/ OFF Click this to select and clear all the device checkboxes.
Word (double word) device When this checkbox is selected, waveforms are displayed in logic format.
9 display set to logic mode This cannot be selected when you select a bit device.
When this checkbox is selected, the display range is automatically adjusted
Real time scaling
in real time according to changes to the current value (word devices only).
MONITOR/SIMULATOR
Display setting Set the display position of waveforms in the time chart display area.
Click this to set the waveform display area to the range of 0 to 300 Div.
About the colors displayed in the explanatory note:
White: The area of the selected device's waveform that is not displayed
Visible area Light blue: The part of the selected device's waveform that is not
displayed on the screen
Blue: The part of the selected device's waveform that is displayed on the screen
Gray: Among the parts displayed on the screen, the part of the
selected waveform that is not displayed on the screen
Click this to set the waveform display area to the range set with "Y(Up/
Down)Div" on the "Common" tab.
About the colors displayed in the explanatory note:
Display range
Screen display area White: The range in which the waveform is not drawn
Gray: The range in which the waveform is drawn
Display position
White: The range of the selected device's waveform that is not displayed
Light blue: The range of the selected device's waveform that is displayed
Red: Partition line
Display range Set the upper and lower limits of the range of the sampled data to display.
When you set the number of partitions, red partition lines are drawn in the
Split number explanatory note. Click the position that you want to display to set the
waveform display position automatically.
Enter the upper and lower limits to set the display range.
Display position You can enter values in the range of 0 to 300 Div, but the upper limit must be
greater than the lower limit.
Display range Click this to return the display position upper and lower limits to their default
initialization values.
Overlap on the screen Click this to overlap the display of all the waveforms.
Parallel layout in area Click this to tile the display of the waveforms.
Apply to all devices with Click this to apply the settings in the "Display range" tab to the waveforms of
same data length all the devices that have the same data size.
OK Click this to apply the settings and close the "Display setting" dialog box.
Cancel Click this to discard the settings and close the "Display setting" dialog box.
Update Click this to apply the settings. The "Display setting" dialog box does not close.
9-76 - KV STUDIO Ver.9 User’s Manual -
9-6 Real-Time Chart Monitor
"Scale" tab
Item Explanation
Scale
Set whether the scale on the left side of the waveform is displayed or
hidden.
9
Display The scale will always be displayed.
MONITOR/SIMULATOR
Selecting waveforms only The scale will be displayed only for the waveform of the selected device.
Hide The scale will not be displayed.
Y-axis scale interval Set the interval between the numbers displayed next to the scale.
Apply to all waveforms Click this to apply the "Scale" settings to all the waveforms.
Scale within chart Configure the settings for the scale inside the time chart.
Display The scale will always be displayed.
Selecting waveforms only The scale will be displayed only for the waveform of the selected device.
Hide The scale will not be displayed.
Apply to all waveforms Click this to apply the "Scale within chart" settings to all the waveforms.
Set the display method and the display interval to use when scales overlap.
Scale shared within chart These settings are shared between all the scales within the time chart
display area.
For all the waveforms, scales are displayed at the same relative position.
When waveforms overlap, the waveform of the selected device is displayed
Overlap display of scales
on top (the display interval is set according to the display interval in the X-
axis direction).
Parallel display scale One scale is displayed per grid section.
X-axis display interval Set the display interval of the scales in the chart.
OK Click this to apply the settings and close the "Display setting" dialog box.
Cancel Click this to discard the settings and close the "Display setting" dialog box.
Click this to apply the settings. The "Display setting" dialog box does not
Update
close.
"Common" tab
Item Explanation
Size of lines Set the line thickness of the waveforms to display.
All thin lines Thin lines will be used to display all the waveforms.
Select only thick lines A thick line will be used to display only the waveform of the selected device.
All thick lines Thick lines will be used to display all the waveforms.
Display shadows Displays shadows at the lower limit of the display range and between waveforms.
9 X (Left/Right) Div
Set the number of grid sections in the time-axis direction (horizontal) and the
number of samples in units of grid sections.
Set the number of grid sections to display in the time-axis direction
MONITOR/SIMULATOR
Item Description
No. of X () Div grids Specify the number of grids for the horizontal axis
No. of Y () Div grids Specify the number of grids for the vertical axis.
Size of point Set the size at which to display dots. 9
Number of display data The number of data that will be displayed on the XY display figure.
MONITOR/SIMULATOR
OK Update the settings and close the "Display settings" dialog box.
Cancel changes made to the settings and close the "Display settings" dialog
Cancel
box.
Apply Update the settings without closing the "Display settings" dialog box.
MONITOR/SIMULATOR
Alternative procedure • Alt +
You can only display the date for data that you read with "Read tracking data in
Point
PLC."
"Reading traced data on a PLC" (page 9-85)
Displaying cursors
Display the cursors in the waveform display part.
Set the cursors in the waveform display part to display in the sampling information display part
information such as the values and the dates and times at the cursor points and the distance between
cursors A and B.
Hiding cursors
Click the "View (V)" menu "Cursor (R)" "Hide cursor (N)" to hide the cursors.
Alternative procedure •
9 Displaying cursors
MONITOR/SIMULATOR
Click the "View (V)" menu "Cursor (R)" "Show cursor (V)" to display cursors A and B.
Alternative procedure •
Selecting cursor A
Click the "View (V)" menu "Cursor (R)" "Select Cursor A (A)" to select cursor A.
Alternative procedure •
Selecting cursor B
Click the "View (V)" menu "Cursor (R)" "Select Cursor B (B)" to select cursor B.
Alternative procedure •
Alternative procedure •
Display format
You can display the X and Y axis (excluding time axes) of the graph being displayed in 2D, or display
a scatter diagram for speed etc.
XY display (line)
Select "View (V)" "Display format (P)" "XY display (line) (L)" from the menu to monitor the path
over time with the horizontal and vertical axis showing device values.
XY display (point)
Select "View (V)" "Display format (P)" "XY display (point) (L)" from the menu to monitor using a
scatter diagram with the horizontal and vertical axis showing device values.
9
Alternative procedure • Change display bar
MONITOR/SIMULATOR
Communication settings
Configure the settings for communication between the real-time chart monitor and the PLC.
Click the "Comm setting (C)" menu "Comm setting (T)" to display the communication setting dialog
box.
For details on the communication setting dialog box, see "Communication Settings" (page 9-5).
Connect to simulator
On menu, select "Communication (C)" "Connect to simulator (W) "
It communicates with KV Studio in simulator mode or simulator edit mode, and start tracing.
Reference This option is only available when KV-7500 or KV-7300 is selected as an enabled
device.
When real time chart monitor is launched while KV STUDIO is in either simulator mode
or simulator edit mode, it will be automatically selected.
This option is only available if it is used as a normal real time chart monitor.
Point
This option cannot be selected if it is used as unit trace or inter-unit
synchronization trace.
9
Starting tracing
MONITOR/SIMULATOR
Alternative procedure • F5
•
Stopping tracing
Click the "Comm setting (C)" menu "Stop tracing (E)" to stop tracing.
Pausing tracing
Click the "Comm setting (C)" menu "Pause tracing (I)" to pause tracing. To restart tracing, click
"Pause tracing (I)" again.
Alternative procedure • F6
•
For details on the tracing function of the KV-7500/7300/5500/5000/3000 or KV Nano Series, see
"5-4 Logging/tracing" in the KV-7000 Series User's Manual, "2-3 Logging/tracing" in the KV-
5500/5000/3000 Series User's Manual, "5-7 Tracing" in the KV Nano Series Base Unit (terminal
block type) User's Manual, and "5-7 Logging/tracing" in the KV Nano Series Base Unit (connector
type) User's Manual.
• You cannot use the real-time chart monitor to trace the tracing data that you
Point
have read.
• This option is only available if it is used as a normal real time chart monitor.
This option cannot be selected if it is used as unit trace or inter-unit
synchronization trace.
MONITOR/SIMULATOR
Displaying the user's manual
Click the "Help (H)" menu "User Manual (H)" to display the real-time chart monitor's PDF manual.
Alternative procedure • F1
9 (14) Trigger mode selection switch (4) Cursor A (6) Trigger point
Reference You cannot register contacts to monitor in the high-speed time chart monitor window. Use
the registration monitor window to register contacts. To change the registered contacts, you
have to close the high-speed time chart monitor, use the register monitor to register the
contacts to monitor again, and then open the high-speed time chart monitor window again.
(4) Cursor A
This cursor is displayed in yellow.
By using this cursor with cursor B, you can check information such as the timing and response delay
between registered devices.
There are two ways to move this cursor: by dragging the cursor and by turning on the switch of the (8)
"Cursor setting switches," and then clicking the destination that you want to move the cursor to.
Turn the cursor setting switch on, Drag the cursor. The cursor position and the distance
and then click the destination that between cursors A and B can be checked
you want to move the cursor to. in (7) "Sampling information display."
MONITOR/SIMULATOR
(5) Cursor B
This cursor is displayed in blue.
By using this cursor with cursor A, you can check information such as the timing and response delay
between registered devices.
There are two ways to move this cursor: by dragging the cursor and by turning on the switch of the (8)
"Cursor setting switches," and then clicking the destination that you want to move the cursor to.
Turn the cursor setting switch on, and Drag the cursor. The cursor position and the distance
then click the destination that you want between cursors A and B can be checked
to move the cursor to. in (7) "Sampling information display."
* The position is displayed taking the point where the monitor start switch was pressed as position 0.
An error of several ms may occur in the time displayed by |A-B| depending on the
Point
lost sampling data and the display performance of the PC. Also, accurate times
are not displayed for roughly the first 30 scans worth of data.
position.
Switch AB is pressed: Click the chart display to move cursors A and B with
the distance between them maintained.
Reference The display will not jump to the position of a cursor that does not exist.
MONITOR/SIMULATOR
(15) Data after trigger cursor
Set the amount of data to collect after a trigger occurs when you are performing
sampling when triggers occur.
When the cursor is at the right edge, tracing is automatically stopped after roughly 16000
pieces of data are collected after the trigger point.
When the cursor is at the left edge, tracing is automatically stopped after roughly 250
pieces of data are collected after the trigger point.
The default cursor position is the left edge.
Reference The total amount of data that can be collected for a single trigger is 16384 pieces of
data. The more the cursor is moved to the right, the less data is collected before a
trigger occurs.
Reference If lost parts are ignored, only the data that could be sampled is displayed, so the
number of valid data items increases. However, the points for A and B shown in the
sampling information display are different from the actual elapsed time.
sampling time is shorter than the actual scan time, sampling is performed once per
scan time.
Example If "1ms" is set as the recording period when the scan time is 2 ms, sampling is
performed once per scan time (2 ms) because the set recording period is shorter
than the scan time.
Follow the procedure below to enable the fixed scan time operation setting.
To disable the fixed scan time function, clear the "Use fixed scan time func" checkbox,
9
Reference
and then click "Set to PLC."
MONITOR/SIMULATOR
(23) File save and read switches
Use these switches to save and read sampled time charts.
For details on how to operate these functions, see "Saving time charts" and "Reading time charts".
Time charts cannot be saved or read while they are being recorded. Be sure to
Point
stop the high-speed time chart before you save or read a time chart.
1 Click "Save."
The "Save As" dialog box is displayed.
2 Specify the folder (directory) and file name to the save the time chart to.
Item Explanation
Specify the folder (directory) to save the time chart in. Normally, the project folder
Save in
containing the ladder program being monitored opens.
File name Enter the name of the time chart to save.
9 Save as type Specify "KVS time chart file (*.tcf)."
MONITOR/SIMULATOR
Reference Even if you do not append ".tcf" to the file name, this extension will be automatically
appended to the file name when the file is saved.
1 Click "Read."
The "Open" dialog box is displayed.
Item Explanation
Specify the folder (directory) in which the time chart to read is saved. Normally,
Save in
the project folder containing the ladder program being monitored opens.
File name Enter the name of the time chart to read.
Files of type Specify "KVS time chart file (*.tcf)."
Reference • You can specify the time chart by entering the file name or by using the mouse to
select the time chart to read from the list of files.
• Time charts can be read even when the monitor is offline.
• To read a file, even during monitoring, you have to open the register monitor and then
open the time chart monitor.
The displayed range of the time chart is saved in bitmap format. The parts of the
Point
time chart that are not displayed are not saved.
1 Click "Save."
The "Save As" dialog box is displayed.
2 Specify the folder (directory) and file name to the save the time chart to. 9
Specify the folder
MONITOR/SIMULATOR
(directory) to save to.
Item Explanation
Specify the folder (directory) to save the bitmap file in. Normally, the project folder
Save in
containing the ladder program being monitored opens.
File name Enter the name of the bitmap file to save.
Save as type Specify "bitmap file (*.bmp)."
• In the "Unit settings" of the workspace, right-click the unit that you want to monitor, and then select "Unit
MONITOR/SIMULATOR
The unit monitor can only be selected from the menu in Monitor or Online Edit
Point
mode.
This section describes the unit monitor screen for the KV-SIR32XT. For details on the functions of other
units and on how to set these functions, see the user's manuals for the other units.
(10) Channel
selector tab
(1) Input/output
relay (9) Input time constant
Name Function
(1) Input/output relay This shows whether each relay is an input or output relay.
MONITOR/SIMULATOR
This displays the ON/OFF state of the relay.
(3) ON/OFF state display OFF: Gray.
ON: Blue for an input unit and green for an output unit.
This displays the device comment of the relay. The displayed comment is the first
(4) Comment display area
registered comment set.
This displays the information (unit connection number and PLC name) of the
(5) Unit information
selected unit.
This displays which relay number (nth relay number) the relay is starting from the
(6) Relay number
leading relay number at "(1) Leading relay number."
(7) Word display value This area is used to display the value of the relays of each channel as expressed in words.
(8) "Display format Click this to select one of three types of display formats for the word display
selector" button value: "DEC (unsigned)," "DEC (signed)," or "Hex."
When this checkbox is selected, the input time constant of each input relay set in
(9) Input time constant
the Unit Editor is displayed.
Use these tabs to switch between the channels to monitor. The "0-31" tab shows
(10) Channel selector
the lower two channels of a 64-point unit, and the "32-63" tab shows the upper
tab
two channels.
Reference For details on the unit monitor for special units, see the manual of each special unit.
• You cannot change the "(9) Input time constant" setting in the unit monitor.
Point • When the "(9) Input time constant" setting has been changed while monitoring
is being performed from the access window, the new setting will not be applied
to the unit monitor display. To apply the new setting to the unit monitor display,
close and open the unit monitor window again.
• When using the online edit function to change a program that directly outputs
built-in output relay (example: R500) within an interrupt program, write "DR
(example: DR500)."
Writing "R" may lead to improper operation.
For details on how to display the "device value batch modify/read" window, see "Changing or
Reading Device Values in Batches" (page 9-39).
Create a new CSV file or TXT file to be used in the "device value batch modify/read" window.
MONITOR/SIMULATOR
In the "device value batch modify/read" window, click the "File (F)" menu "New CSV/TXT file (N)" to
create a new CSV file.
Point Save any changes to the file that you are editing before you create a new file.
In the "device value batch modify/read" window, click the "File (F)" menu "Open CSV/TXT file (O)"
to display the "Open" dialog box.
Select a CSV file or TXT file, and then click "Open."
MONITOR/SIMULATOR
Saving CSV/TXT Files
In the "device value batch modify/read" window, click the "File (F)" menu "Save to CSV/TXT file (S)"
to save (overwrite) the file you are editing.
Point When you are editing a new file, you cannot select "Save to CSV/TXT file."
In the "device value batch modify/read" window, click the "File (F)" menu "Save CSV/TXT file as (A)"
to display the "Save as" dialog box.
Save the file that you are editing with a new file name.
In the "device value batch modify/read" window, click the "File (F)" menu "Read memory card (R)"
to display the "Memory card" dialog box.
Specify the drive and folder that the CSV file or TXT file was saved to with the "device value batch
modify/read" window.
9
MONITOR/SIMULATOR
Reference You cannot read CSV files or TXT files that were not saved with the "device value batch
modify/read" window.
In the "device value batch modify/read" window, click the "File (F)" menu "Write memory card (Z)"
to display the "Memory card" dialog box.
Specify the drive and folder on the memory card in which you want to save the data.
MONITOR/SIMULATOR
When an error is present in the data being edited in the "device value batch modify/read" window, the
following dialog box is displayed. Click "No" to return to the edit screen of the "device value batch
modify/read" window.
Closing Files
In the "device value batch modify/read" window, click the "File (F)" menu "Close file (C)" to close
the file being edited.
If you have changed the data being edited, the following dialog box is displayed. Click "No" to discard
the data being edited.
In the "device value batch modify/read" window, click the "File (F)" menu "Exit (X)" to exit from the
"device value batch modify/read" window.
If you have changed the data being edited, a confirmation dialog box is displayed.
Cross References
Select a device that you are editing in the "device value batch modify/read" window, and then click the
"Edit (E)" menu "Cross reference (F)" to create a cross reference in the output window of KV
STUDIO.
Undo
"Edit(E)" "Undo(U)"
Cancel the previous operation in the "device value batch modify/read" window and restore the
previous state.
The "Undo" and "Redo" options in the "device value batch modify/read" window
Point
are disabled by default.
To enable "Undo" and "Redo," in KV STUDIO, click the "Tool (T)" menu
"Option (O)," and then select the "Enable device value batch modify/read window
"Undo/Redo"" checkbox in the system setting tab.
MONITOR/SIMULATOR
Redo
"Edit(E)" "Redo(R)"
Cancel the operation that was undone with "Undo (U)" in the "device value batch modify/read" window.
Reference When an operation cannot be redone, this menu item is displayed in gray and cannot
be selected.
Select All
Select all the cells in the "device value batch modify/read" window.
Click the "Edit (E)" menu "Select all (A)."
Cut or copy the cell selected in the "device value batch modify/read" window, and then paste the cell.
Deleting Rungs
Delete the rung containing the cell selected in the "device value batch modify/read" window.
Click the "Edit (E)" menu "Delete Rung (D)."
Delete the cells in the range selected in the "device value batch modify/read" window.
Click the "Edit (E)" menu "Delete selected range (Y)".
Sort the data being edited in the "device value batch modify/read" window into device order.
Click the "Edit (E)" menu "Sort by devices (S)."
Read from the PLC the current values of all the data being edited in the "device value batch modify/
read" window.
Click the "PLC (P)" menu "Read all items from PLC (R)."
Configure KV STUDIO and the PLC so that they can communicate with each other
Point
before performing this operation.
Read from the PLC the current values of the devices in the rungs containing the cells selected in the
"device value batch modify/read" window.
Click the "PLC (P)" menu "Read selected range from PLC (P)."
Configure KV STUDIO and the PLC so that they can communicate with each other
9
Point
before performing this operation.
MONITOR/SIMULATOR
Writing All Items to the PLC
Write the current values of all the data being edited in the "device value batch modify/read" window to
the PLC.
Click the "PLC (P)" menu "Write PLC into all items (W)."
Configure KV STUDIO and the PLC so that they can communicate with each other
Point
before performing this operation.
Write the current values of the devices in the rungs containing the cells selected in the "device value
batch modify/read" window to the PLC.
Click the "PLC (P)" menu "Write the selected range into PLC (Q)."
Configure KV STUDIO and the PLC so that they can communicate with each other
Point
before performing this operation.
Batch Insert
Specify a range to insert the devices into the "device value batch modify/read" window in a single
batch.
Click the "Add device (D)" menu "Batch insert (B)" to display the "Batch insert" dialog box.
Item Explanation
Select device
Reference The types of devices that you can select vary depending on the
MONITOR/SIMULATOR
Inserting Rungs
Incremental Insertion
Insert the device whose device number equals the number of the previous device + 1 (or + 2).
Click the "Add device (D)" menu "Insert increment (I)."
Item Description
Program*2 The same program of the previous device is selected.
The device number equal to the number of the previous device + 1*1 is
Device
inserted.
Current value The same value of the previous device is copied.
Display format The same display format of the previous device is selected.
*1 When the display format of the previous device is "Decimal 32BIT," "±Decimal 32BIT," "Hex 32BIT," or "FLOAT,"
+2 is added to the device number, which is then inserted.
*2 This item is enabled only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or "KV
Nano Series" is selected for the PLC model.
MONITOR/SIMULATOR
Overview
The online edit function enables you to change the ladder program directly on the KV STUDIO monitor
screen. This function is useful when you are performing the minor on-site adjustments of final debugging
during program creation and when you are changing simple programs.
If you use the online edit function with the PLC in RUN mode, using the function
incorrectly may lead to serious damage to equipment or serious injury to
personnel. Thoroughly read the following precautions to ensure proper use of the
function.
• Before you use the online edit function, thoroughly check the vicinity around
the equipment to ensure that no injury or damage will arise even if an accident
WARNING
occurs.
• Do not add circuits that operate immediately after a program is transferred (such
as circuits whose execution conditions are NC contacts). Doing so may cause
the machinery to go out of control.
• Do not delete outputs that have been turned ON. Deleting outputs that have been
turned ON will leave the output in the ON state.
• If the monitor is forcibly stopped during online editing or during the transfer of
Important ladder programs due to an error on the PC, ladder programs that have not been
transferred to the PLC will be discarded.
• The ON/OFF status and values of devices that are being monitored during
online editing are displayed based on the ladder program (the program
currently running on the PLC) immediately before online editing was started.
Until you transfer a program, the PLC operations do not reflect the program
status during online editing.
To have the PLC operate a program that you have made additions and changes
to through online editing, you have to transfer the program to the PLC.
• If you add or delete macro instructions during online editing, you will not be
able to perform writing in RUN mode.
• You cannot assign local devices during online editing. Return to the editor, and
then perform the assignments again.
• When using the online edit function to change a program that directly outputs a
built-in output relay (example: R500) within an interrupt program, write "DR."
Writing "R" may lead to improper operation.
Alternative procedure Select "Online edit" from the mode bar's pulldown menu.
When the project being edited is different from the project stored on the PLC, you
Point
cannot change directly from Editor mode to Online Edit mode. Transfer the
project that you are editing or switch to Monitor mode, and then switch to Online
Edit mode.
9
Reference You can also continue monitoring each device's ON/OFF status and value in real time
MONITOR/SIMULATOR
during online editing.
The backgrounds of cells that have been added or changed are displayed in light blue, which
indicates that the program has been changed.
You can check the Changing List from [Edit] [Online Edit Changing Search].
Also, in the online edit setting, if you have not set the Clear Timing for Change Background Color to
Auto, clear the Change Background Color manually. (KV-1000/700 / P16 / 10/16/24/40 only)
"Clearing the Background Color of Changed Cells" (page 6-39)
Transfer the ladder program that you edited during online editing to the PLC.
Click the "Monitor/Simulator (N)" menu "Online Editor transfer (F)" to transfer the ladder program to
the PLC.
Alternative procedure Right-click in the ladder edit window, and then select "Online edit transfer (E)" from
the menu that appears.
Reference If the edited ladder program cannot be converted successfully, an error message is
displayed, and the error details are displayed in the output window. Remove the cause
of the error, and then transfer the ladder program again.
Writing in RUN mode may cause serious problems depending on the condition of
the control device connected to the PLC. Exercise caution during the operation of
this function.
CAUTION
"Writing data during RUN mode" in the KV-7000 Series User's Manual,
9 "Writing data during RUN mode" in the KV-5500/5000/3000 Series User's Manual or
"Writing data during RUN mode" in the KV Nano Series User's Manual
MONITOR/SIMULATOR
The backgrounds of cells that have been added or changed during online editing are displayed in
light blue, which indicates that the program has been changed. Set the timing with which this program
change indication is automatically cleared.
You can only select the online edit settings when KV STUDIO in Monitor mode or
Point
Online Edit mode.
2 Select the timing with which the background color that indicates program changes is
automatically cleared.
The background color is cleared with the timing indicated by the selected checkboxes.
MONITOR/SIMULATOR
Item Explanation
When this checkbox is selected, the mode will be automatically
Change to monitor mode after
changed to Monitor mode after a ladder program edited with the online
online edit transfer
editor is transferred.
When this checkbox is selected, the background colors indicating
Auto (Monitor Online Edit)* changes will be cleared when the mode is switched from Monitor mode
to Online Edit mode.
When this checkbox is selected, the background colors indicating
Auto (Monitor Editor)* changes will be cleared when the mode is switched from Monitor mode
to Editor mode.
When this checkbox is selected, the background colors indicating
Auto (Online Edit Monitor)* changes will be cleared when the mode is switched from Online Edit
mode to Monitor mode.
When this checkbox is selected, a confirmation dialog box will be
Display confirmation dialog box
displayed when a ladder program edited with the online editor is
during online edit transfer
transferred.
* This option cannot be selected when the selected PLC model is "KV-7500," "KV-7300," "KV-5500,"
"KV-5000," "KV-3000," or "KV Nano Series."
The simulator is used to simulate, without connecting to a PLC, the operation of ladder programs that
you create with the editor. You can use the simulator to:
• Operating conditions of the program can be monitored real time on a ladder monitor, a
registration monitor, a batch processing monitor, and a real time chart monitor.
• Perform simulations with various execution methods such as continuous scan, continuous
step, single step, and single scan.
• Perform efficient debugging by using the provided functions such as reversed step and
reversed continuous step.
• Easily change the set values and current values of timers, counters, and other devices.
* A real time chart monitor on simulator is available only when KV-7500 or KV-7300 is selected as an
enabled device
Simulator Limitations
Common limitations
9 • You cannot simulate the operation of expansion units.
• High-speed counters are not supported by the simulator function.
MONITOR/SIMULATOR
Item Explanation
High-speed counter comparator matching relay
(Example: INT CTC0)
High-speed counter comparator matching 2 relay The interrupt program does not run.
(Example: INT CR3013; INT CR8415 on the KV Nano Series)
Fixed-period modules (KV-5000/3000 Series only)
Interrupts caused by input relays
When interrupts are enabled, the
(Example: INT R000)
interrupt program is executed during
Interrupts caused by comparator upper limit/lower limit relays
the END processing of the scan in
Fixed-period modules (KV-7000 Series only)
which the interrupt occurred.
Unit interrupt (KV-7000 Series only)
• Because simulations are performed in Windows, the scan time is longer than the actual scan time.
Note this point when you set the time of timers.
• Because the same operations of the PLC are simulated internally in the PC that you are using, the
display of the scan time will vary slightly between different types of PCs, even when you are
simulating the operation of the same ladder program.
• Storage device instructions (KV-7000 Series only) use 0_CARD/1_CPUMEM in the project folder as
the root folder.
• The error codes occurring when the file operation error occurs may be different from the PLC unit
because it is simulated on Windows.
Rising Edge
OFF ON
Falling Edge
ON
Both Edges
9
CR2604
INT2 interrupt polarity*1 CR2604 OFF ON OFF ON
MONITOR/SIMULATOR
CR2605
CR2605 OFF OFF ON ON
*2 For details on the MEMSW instruction, see the KV-7000/5000/3000/1000 Series and KV Nano Series
Instruction Reference Manual.
Status
Device KV-5500/5000/ KV-1000/700/700+M/
KV-7500/7300 KV Nano Series
3000 P16/10/16/24/70
R (relay) OFF
B OFF
MR OFF
LR Holds the status
Contact: OFF
CR Registered: Sets the current value to the same value as the set value
Unregistered: Sets the current value to 0
DM 0
EM and FM 0 - 0
ZF Reset -
W Holds the status -
TM 0
When the timer number was set
9
with a UDT instruction
(#0 to #9)
MONITOR/SIMULATOR
Contact: OFF
Current value: Holds the status
(#10 to #511)
Contact: OFF Contact: OFF
Contact: OFF
Current value: Set to the set value Current value: Set to the set value Current value: Set to the
T set value
Unregistered: Sets the current
When the timer number was set Unregistered: Sets the
value to ???
with a method other than current value to ???
a UDT instruction
Contact: OFF
Current value: Set to the set value
Unregistered: Sets the current
value to ???
Contact: OFF
C
Current value: 0
CTH - Holds the status
CTC - Holds the status
Z 0
CM Reset Holds the status
*1 Power off holding settings are configured in CPU system settings. "CPU System Setting Dialog Box"
(page 6-41)
Alternative procedure
Select "Simulator" from the mode bar's pulldown menu.
The simulator does not start when a conversion error occurs. Correct the
Point
erroneous part so that there is no conversion error, and then start the simulator
again.
9 Because device values are cleared before you return to the editor, the next time that you start the
simulator, all devices will have their default values.
1
MONITOR/SIMULATOR
For details on the simulator's continuous scan execution and on stopping the simulator,
see "RUN/Continuous Scan Execution", and "PROG/Stop" (page 10-2).
When you start the simulator, the simulator screen is displayed with the ladder program that you were
editing in the editor.
Also, the batch monitor window and registration monitor window are also displayed if these monitor
windows were previously displayed.
Registration monitor
window
MONITOR/SIMULATOR
The functions of each window are described in the following sections.
"Mnemonics Lists" (page 6-35)
"Batch Monitor" (page 9-54)
"Register Monitor" (page 9-49)
""Correct device value" window" (page 9-47)
Simulator Execution
Scan execution
End processing
Setting breaks
A "break" is a function for stopping a ladder program when specified conditions are met during program
operation. Breaks are used to check the operating status in parts and to find locations where bugs are
present. For details on breaks, see "Setting Device Breaks" (page 10-7).
Step execution
MONITOR/SIMULATOR
changes in the ladder monitor window to match the speed of operations. In addition, the current
position is scrolled to match the speed of operations. What's more, the mnemonic list window opens,
and the mnemonic rung that is currently being executed is highlighted.
Cursor position
The selected rung is highlighted in
blue.
Simulator edit allows you to directly change ladder programs in the KV STUDIO simulator screen. This
function is useful for debugging and making simple changes to the program during simulation.
For details on the simulator function, refer to "9-11 Simulator Function" (page 9-110)
• As on the simulator screen, you can check the ON/OFF status of devices and changes in device
values while using simulator edit.
This makes it possible to debug while checking ladder program operation.
• The backgrounds of edited cells change to light blue, which enables you to identify at a glance
which cells have been modified.
This makes it easy to edit the program again if devices start to operate incorrectly as a result of
changes.
• All screens can be edited during simulator edit.
This makes it possible to perform editing as if you were in editor mode without switching between
9 circuits being edited, even when you are setting interlocks on multiple circuits.
MONITOR/SIMULATOR
• The ON/OFF status and values of devices that are being simulated during
Point
simulator edit are displayed based on the ladder program (the program
currently being simulated) immediately before simulator edit was started. Until
you transfer a program, the PLC operations do not reflect the program status
during simulator edit. To have the PLC operate a program that you have made
additions and changes to through simulator edit, you have to transfer the
program to the PLC.
• You cannot assign local devices during simulator edit. Return to the editor, and
then perform the assignments again.
In addition to the above, the limitations that apply to the simulator function also apply to simulator edit.
"Simulator Limitations" (page 9-110)
Alternative procedure Select "Simulator edit" from the mode bar's pulldown menu.
Reference You can also continue simulating each device's ON/OFF status and value in real time
while in simulator edit.
MONITOR/SIMULATOR
The backgrounds of cells that have been added or changed are displayed in light blue, which
indicates that the program has been changed.
"Clearing the Background Color of Changed Cells" (page 6-39)
Transfer the ladder program that you edited in simulator edit to the emulator.
Click the "Monitor/Simulator (N)" menu "Transfer simulator edit (Z)" to transfer the ladder program
to the emulator.
Alternative procedure Right-click in the ladder edit window, and then select "Transfer simulator edit (Z)"
from the menu that appears.
Reference If the edited ladder program cannot be converted successfully, an error message is
displayed, and the error details are displayed in the output window. Remove the cause
of the error, and then transfer the ladder program again.
9
MONITOR/SIMULATOR
DEBUG
Reference Items displayed on [Debug (D)] menu differ when selecting a flow function which can
be used with X-Unit (KV-XH16ML / XH04ML etc.). For details, refer to User's manual of
each X-Unit.
Depending on the status of the control equipment that is connected to the PLC,
CAUTION debugging during monitoring may be extremely dangerous. Exercise caution
during the operation of this function.
Reference After you execute a single scan in continuous scan execution mode in the simulator,
program operation is paused.
You cannot switch to RUN mode in the monitor when the RUN/PROG selector
Point
switch on the CPU unit has been set to PROG.
KV-7000 Series User's Manual
KV-5500/5000/3000 Series User's Manual
KV Nano Series User's Manual
PROG/Stop
Reference After you execute a single scan in PROG/stop mode in the simulator, program operation
is paused.
In this mode, the program is executed for one scan only. After you execute a single scan in continuous
scan execution mode, program operation is paused.
This mode is useful for checking program operation one scan at a time.
DEBUG
Simulator "Debug(D)" "Execute continuous step(S)" Shift + F8
In this mode, the program is executed continuously. When operation is stopped, the mnemonic
symbol list window is displayed, and the rung being executed is highlighted.
"About the mnemonic symbol list window" (page 9-117)
Reference When you split the screen, only the lower screen is scrolled to match the speed of
operations.
To check only the behavior of a specific section of the ladder program, use the upper
screen.
10
Single Step Execution
DEBUG
In this mode, the ladder program is executed one step at a time. After you execute a single step in
scan execution mode, program operation is stopped.
Click the "Debug (D)" menu "Execute 1 step (W)" to display the mnemonic symbol list window
with the rung being executed highlighted.
"About the mnemonic symbol list window" (page 9-117)
Click the "Debug (D)" menu "Execute reverse cont. step (Y)."
After single step execution or continuous step execution is performed, continuous step execution is
performed on the executed steps in the reverse direction.
DEBUG
Click the "Debug (D)" menu "Execute Reverse 1 Block (K)."
Reference When you perform single step execution, device values that have been changed as a
result of the program execution are returned to their statuses from before the program
was executed.
10 This mode allows you to perform debugging efficiently because, for each instruction,
you can check the operation (changes in operations caused by contacts turning ON
DEBUG
and OFF and by the values of word devices) of the ladder program you have created
and restore the result of the operation.
Pause
You can pause operations in the monitor when all of the following conditions are
Point
met.
• The mode is RUN mode.
• A break has been set.
• A break is not being performed.
• When "KV-7500/7300," "KV-700/700+M," "KV Nano Series," "KV-P16," "KV-10
(16)," or "KV-24 (40)" is selected for the PLC model, you cannot pause
operation during monitoring.
Reset
A "break" is a function for stopping a ladder program when specified conditions are met during
program operation. The following two types of breaks are available.
• Device break . . . . .Program operation is stopped according to the conditions that you specify for
devices in the "Device break settings" dialog box.
• Rung break . . . . . . .Program operation is stopped at the rungs that you specify in the "Mnemonic
symbol list" window.
10
When "KV-7500/7300," "KV-700/700+M," "KV Nano Series," "KV-P16," "KV-10
DEBUG
Point
(16)," or "KV-24 (40)" is selected for the PLC model, you cannot pause operation
during monitoring.
Device breaks
A "device break" is a function for stopping a ladder program when the conditions that you specify for a
device are met during program operation. Breaks are used to check the operating status in parts and
to find locations where bugs are present. Also, if you use breaks together with the step execution
function, you can check operations in a shorter length of time, and you can stop program operation
according to the logical OR or AND of multiple conditions during simulation.
Item Explanation
Program* Specify a program.
10 Device
Cond (condition)
Set the device type and the device number.
Set the condition.
Device/value Set the device or constant.
DEBUG
* This item is displayed only when "KV-7500," "KV-7300," "KV-5500," "KV-5000," "KV-3000," "KV-1000," or "KV
Nano Series" is selected for the PLC model.
2 Specify the devices and conditions. When the device is a word device or a double-word device,
use a comparison operation to specify the condition.
When the device is a bit device
Item Explanation
Device Specify the device name.
ON The contact turning ON is set as the condition.
Cond (condition)
OFF The contact turning OFF is set as the condition.
DEBUG
condition of a word device, select "Word." When you are setting the condition of a double-word
device, select "Double-word."
4 Click "Add conds."
The specified conditions are added, and the details are displayed in the list of settings.
Reference You can register new device break conditions by clicking "Add conds."
Rung breaks
Monitor Simulator
A "rung break" is a function for stopping a ladder program at a rung that you specify in the "Mnemonic
symbol list" window. When rung breaks are used, program execution is automatically stopped at the
specified rungs during continuous scan execution*, single scan execution*, continuous step
execution, and reversed continuous step execution.
* In the simulator, program execution cannot be stopped during continuous scan execution and single scan
execution.
For example, if you set a rung break at a particular step to investigate the ladder operation at that step
in detail, the program execution will stop at the preset step, which makes it easy to check the program
operation.
In the "Mnemonic symbol list" window, double-click the step that you want to specify.
is displayed to the left of the specified rung.
Derivation monitor
Monitor the number of times that rising edges or falling edges occur for the specified bit device. You
can monitor up to four devices can be monitored.
The derivation monitor function can be used with KV-7000 Series CPU units, KV-5000/3000 Series
CPU units with CPU function version 2.0 or later, or with KV Nano Series base units.
You can only register word devices when they are being handled as bit devices.
Point
Rising edges and falling edges are not detected when there is no net change to a
value within a scan (for example, when the value changes from ON to OFF and
then back to ON).
10
DEBUG
Item Explanation
Device Specify the device to monitor.*1
Edge Select whether to detect rising edges or falling edges.
When this checkbox is selected, a buzzer sounds when a rising edge or
Ringing
falling edge is detected.
This displays the number of times that rising edges or falling edges have
Count
been detected.
Reset Click this to clear the count to zero.
Start Click this to start the derivation monitor.
*1 You cannot register timers and counters that do not exist in the ladder program.
Reference You can add devices by dragging the devices that have been written in the ladder
editor.
You cannot use the derivation monitor with the following devices.
Point
• Indirect references
• Index modified devices
• Index register Z
• Current values and set values of timers and counters
• High-speed counters
• Trimmers (TRM)
• V and UV macro arguments (words)
Forcibly set or reset the specified device ignoring the device's refresh status and the ladder program.
Click the "Debug (D)" menu "Forced set / reset register (X)."
• You can only register the R, B, and MR* devices for forced sets and resets (you
Point cannot register CR and LR devices).
* You cannot register MR devices with the KV Nano Series.
• When the selected PLC model is the KV-5500/5000/3000, R000 to R915 cannot
be registered.
Item Explanation
10 Input text box Enter the device that you want to register for forced sets or resets.
Click this to register the device that you entered in the input text box for forced sets
Add device
or resets.*
DEBUG
* You can even add devices by dragging the devices that have been written in the ladder editor.
10-12 - KV STUDIO Ver.9 User’s Manual -
10-1 About Debug Functions
Reference • You can create a cross reference to a registered device by right-clicking it and using
the menu that appears.
• When you register a device for forced sets or resets,
the corresponding cells in the "Forced set/reset
register" dialog box are displayed in red, and the
message "Forced set/reset registration in progress
"blinks in the KV STUDIO toolbar.
Error Monitor
Monitor the current status and error log of the KV-7500/7300/5500/5000/3000 or KV Nano Series.
Click the "Debug (D)" menu "Error monitor (E)."
10
DEBUG
Item Explanation
PLC status This displays the current PLC status.
Mode This displays the operation mode of the PLC.
Switch status This displays the status of the PLC unit switches.
This displays the time that the operation mode and switch status information was
acquired. Move the mouse pointer over this cell to display a button. Click this
Calendar timer button to display the "PLC calendar timer setting" dialog box. With the KV Nano
Series, the background is displayed in red when a clock data lost error has
occurred.
This displays the error that is currently occurring on the PLC. Click the error details
Current error
to display in the ladder editor the location that caused the error.
This displays the error type as an icon.
Type : Minor error (warning).
: Serious error.
No. This displays the error number.
Display error details, the program that caused the error, and the position where the
Description
error occurred (step number).
Date/time This displays the time that the error occurred.
Clear Click this to clear the items displayed under "Current error."
Item Explanation
This displays the log of error occurrences. Click the error details to display in the
ladder editor the location that caused the error.
The number of errors that can be recorded* varies depending on the error type.
Error (serious error): This records the occurrence of an error that caused the PLC
operation to stop.
Error log
Warning (minor error): This records the occurrence of an error that did not cause
the PLC operation to stop (the PLC remained in RUN mode).
Power ON/OFF: This records the power turning on or off.
Alarm relay: This records the change of an alarm relay (CR3300 to
CR3415) from OFF to ON.
This displays the error type as an icon.
: Minor error (warning).
Type
: Serious error.
: Power on or off.
No. This displays the error number.
Display error details, the program that caused the error, and the position where the
Description
error occurred (step number).
The times at which errors occurred are displayed in ascending order. Click the title
Date/time
cell to change the sort method to descending order.
Update Click this to acquire the latest error information from the PLC.
Clear log Click this to clear the error log.
Save to file Click this to save the error log to a CSV format file or a TXT format file.
Close Click this to close the error monitor window.
* The maximum number of entries in the log is shown below.
* For KV-7000 series, it is a total of 32 mild errors due to unit error and 32 other mild errors.
With the monitor started, click the "Debug (D)" menu "Inhibit input refresh (F)."
When the function is enabled, a checkmark is displayed next to the menu item.
Click the menu item again to disable the function and clear the checkmark.
Reference • The input refresh disabling setting is enabled on all external input relays.
• The enabled input refresh disabling setting is disabled when the PLC operation mode
is changed from PROG to RUN, or when the PLC is turned off and then back on
again.
Output Disabling
DEBUG
When you disable output, output is not generated from the external output terminals even when the
program is executed.
With the monitor started, click the "Debug (D)" menu "Inhibit output (O)."
When the function is enabled, a checkmark is displayed next to the menu item.
Click the menu item again to disable the function and clear the checkmark.
Monitor the items related to the KV-7500/7300/5500/5000/3000 or KV Nano Series scan time and the
number of times that interrupts occur.
Click the "Debug (D)" menu "Scan time monitor (H)."
10 Scan time
Item Explanation
This displays the monitor information related to the scan time.
Current value This displays the current value of the scan time.
DEBUG
This displays the maximum value of the scan time during the period from the start of
Max
operation (when the mode was switched from PROG mode to RUN mode) to now.
This displays the minimum value of the scan time during the period from the start of
Min
operation (when the mode was switched from PROG mode to RUN mode) to now.
Clear Max/Min Click this to clear the maximum and minimum values to zero.
Fixed Scan time operation This displays the monitor information related to the fixed scan time operation.
State This displays whether fixed scan time operation is enabled or disabled.*1
Setting This displays the set value of fixed scan time operation.
END processing time specified This displays the monitor information related to the END processing time.
State This displays whether END processing time is enabled or disabled.*2
Setting This displays the set value of END processing time.
This displays monitor information related to the interrupt processing time and
Interrupt
interrupt count.
Item This displays the cause of interrupt processing.
Processing time This displays the processing time of the last executed interrupt processing.
Max This displays the maximum processing time of interrupt processing.
This displays the number of times that interrupts have occurred during the
Count period from the start of operation (when the mode was switched from PROG
mode to RUN mode) to now.
Clear Interrupt counts/ Click this to clear to zero the number of times that interrupts have occurred and
Max the maximum values for all interrupt processing.
Performance monitor Click this to display the performance monitor window.
*1 If the "Execute fixed scanning time operation" checkbox under "Scanning time related setting" of "CPU
system setting" is selected, "Valid" is displayed. If the checkbox is cleared, "Invalid" is displayed.
"CPU System Setting Dialog Box" (page 6-41)
*2 If the "Enable END processing time setting" checkbox under "Scanning time related setting" of "CPU
system setting" is selected, "Valid" is displayed. If the checkbox is cleared, "Invalid" is displayed.
"CPU System Setting Dialog Box" (page 6-41)
10-16 - KV STUDIO Ver.9 User’s Manual -
10-1 About Debug Functions
Item Explanation
Scan time This displays the monitor information related to the scan time.
Current value This displays the current value of the scan time.
This displays the maximum value of the scan time during the period from the start of
Max
operation (when the mode was switched from PROG mode to RUN mode) to now.
This displays the minimum value of the scan time during the period from the start of
Min
operation (when the mode was switched from PROG mode to RUN mode) to now.
Clear Max/Min Click this to clear the maximum and minimum values to zero.
Fixed Scan time operation This displays the monitor information related to the fixed scan time operation.
State This displays whether fixed scan time operation is enabled or disabled.*2
Setting This displays the set value of fixed scan time operation.
END processing time specified This displays the monitor information related to the END processing time.
10
State This displays whether END processing time is enabled or disabled.*3
DEBUG
Setting This displays the set value of END processing time.
Fixed period module This displays the monitor information related to the fixed period module
processing time*4 processing time.
Current*4 This displays the current value of the fixed period module processing time.
This displays the maximum value of the processing time during the period from
Max*4
the start of fixed period module execution to now.
Clear Max*4 Click this to clear the maximum value of the fixed period module processing time to zero.
Interrupt This displays monitor information related to the interrupt processing time and interrupt count.
Item This displays the cause of interrupt processing.
Processing time*1 This displays the processing time of the last executed interrupt processing.
Max*1 This displays the maximum processing time of interrupt processing.
This displays the number of times that interrupts have occurred during the period from the
Count
start of operation (when the mode was switched from PROG mode to RUN mode) to now.
Clear Interrupt counts/ Click this to clear to zero the number of times that interrupts have occurred and
Max*1 the maximum values for all interrupt processing.
Performance monitor*1 Click this to display the performance monitor window.
*1 This item is only displayed when the KV-5500/5000/3000 with CPU function version 2 or later or the KV
Nano Series is used. This item is not displayed if the "Enable performance monitor" checkbox in "CPU
system setting" is selected but the setting has not been transferred to the PLC. (For the KV Nano Series,
this checkbox does not exist.)
*2 If the "Execute fixed scanning time operation" checkbox under "Scanning time related setting" of "CPU
system setting" is selected, "Valid" is displayed. If the checkbox is cleared, "Invalid" is displayed.
"CPU System Setting Dialog Box" (page 6-41)
*3 If the "Enable END processing time setting" checkbox under "Scanning time related setting" of "CPU
system setting" is selected, "Valid" is displayed. If the checkbox is cleared, "Invalid" is displayed.
"CPU System Setting Dialog Box" (page 6-41)
*4 This option is not displayed for the KV Nano Series.
Performance Monitor
Monitor the execution time for each program on the KV-7500/7300/5500/5000/3000 or the KV Nano
Series.
Click the "Debug (D)" menu "Performance monitor (H)."
The performance monitor can be used with KV-7000 Series CPU units, KV-5500/5000/3000 CPU units
with CPU function version 2.0 or later and with KV Nano Series base units.
Item Explanation
10 No
Program name
This displays the execution sequence of modules.*1
Display the name of the program being monitored.
Processing time Display the execution time of the program.
DEBUG
This displays the percentage of the total processing time that is occupied by
Percentage
this module.*2
Max This displays the maximum value of the processing time.*3
Scan time monitor Displays the scan time monitor window.
Clear Max Click this to clear all the maximum values of the program to zero.
*1 Because the execution sequence of modules is displayed, "No" is not displayed for function blocks and
macros.
*2 Because the percentage of processing time of modules is displayed, no ratio is displayed for function
blocks and macros.
*3 This is initialized to 0 when the mode is switched from PROG mode to RUN mode.
For KV-5500/5000/3000, when you execute the performance monitor, the scan
Point
time of the CPU unit will become longer.
KV-5500/5000/3000 Series User's Manual
• In KV STUDIO, you can set the calendar timer to a value in the range of
Point 00:00:00, January 1, 2000 to 23:59:59, December 31, 2037.
• The calendar timer setting is not available with the KV-N14**.
10
DEBUG
Using the KEYENCE VT5/VT3 Series to enter the date and time
When you are using the VT5/VT3 Series, you can enter the touch panel's time into the PLC by enabling
the PLC time synchronization setting. Because you can set PLC devices as triggers, you can enter
(synchronize) the time based on touch panel operations. Moreover, time can be entered
(synchronized) automatically when the system detects that the time data has been cleared.
10 For detailed instructions, see "PLC time synchronization" in the VT5 Series Reference Manual and
"PLC time synchronization" in the VT3 Series Reference Manual.
DEBUG
When you clear all the devices, the data memory entries (DM, EM, FM, or ZF), the relays that have
been set to be held with the "Power off holding setting" screen in the "CPU system setting" dialog box
or with the MEMSW instruction, the latch relays (LR), or the counters (C) are all initialized.
When you clear all devices during monitoring, the PLC-side devices are cleared to zero.
DEBUG
Reference • You can only clear all devices when the PLC is in PROG mode.
• "Clear all LRs (L)" is only displayed when the KV-7500/7300/5500/5000/3000/1000 or
KV Nano Series is selected for the PLC model.
• "Clear all EMs (E)" and "Clear all FMs (F)" are only displayed when the KV-7500/7300/
5500/5000/3000/1000 is selected for the PLC model.
• "Clear all W (W)" and "Clear all Bs (B)" are only displayed when the KV-7500/7300/
5500/5000/3000 or KV Nano Series is selected for the PLC model.
• "Clear all ZF (Z)" is only displayed when the KV-7500/7300/5500/5000/3000 is
selected for the PLC model.
Clearing KV-D30 CM
Click the "Debug (D)" menu "Clear CMs for KV-D30 (D)" to start clearing the CM and display the
progress of the clear operation on a graph.
The control memory (CM) area used in the operation panel KV-D30 will be initialized.
MEMO
10
DEBUG
TOOL
Unit Editor
11
When you are using only the base unit and expansion I/O units of the KV Nano Series,
TOOL
Reference
you can operate the system even if you do not set the unit configuration.
Click the "Tool (T)" menu "Unit config switch (N)" to display the "Switch unit configuration" dialog
box.
Item Explanation
This displays a multiple unit configurations as a library.
Unit configuration library
The unit configuration library differs depending on the project. 11
Click this to create a new unit configuration file.
TOOL
Create a new file When you specify the name to register to the library, the Unit Editor starts, so set
the unit configuration to register.
Edit Click this to start the Unit Editor, and then change the registered unit configuration file.
Click this to delete the unit configuration file. You will not be able to restore deleted
Delete
files.
Rename Click this to change the name of a registered unit configuration file.
Save with other Click this to copy the selected unit configuration file, and then save it with a
name different name.
Click this to overwrite the current unit configuration with the settings of the selected
Set to current unit
unit configuration file. A confirmation message asking if you want to register the
configuration
current unit configuration to the library is displayed.
Save current unit Click this to assign a name to the current unit configuration and register it to the
configuration library.
When you use the "Switch unit configuration" dialog box to switch the unit
Point
configuration, the devices used by the ladder program will not be converted
automatically.
Logging and tracing refer to the recording of the status of devices with specified timing. Use KV
STUDIO to set information such as the devices that you want to record and the triggers, and then save
the recorded data to a memory card or CPU memory. The logging data is saved in CSV format, so you
can import the data into spreadsheet software such as Excel for analysis.
11 Point
• Only the tracing function is available on the KV-N14**/N24**/N40**/N60**.
• CPU memory can only be selected as the save destination for the KV-7500/7300.
TOOL
Set the device default values that are read when the CPU unit starts operation.
Click the "Tool (T)" menu "Setup device defaults (V)."
List of default
values
Item Explanation
Default enable device Set the enabled range of devices to which default values have been entered.
Device This displays the devices and ranges to enable the setting of default values for.* 11
Points This displays the number of devices to enable the setting of default values for.*
TOOL
Click this to display the "Setup device" dialog box.
Setup
Set the devices and ranges to enable the setting of default values for.
Delete Click this to delete a set device to which default values have been enabled.
Device Select the type of device that you will set default values for.
Display format Select the display format of the values displayed in the list of default values.
When this checkbox is selected, only the devices to which default values have been
Display defaults only
enabled are displayed.
This displays the default values to be set. The leading device numbers are listed
vertically, and the offset amounts from the leading device numbers are listed
List of default values
horizontally.
The devices to which default values have been enabled are displayed in green.
Select the cell whose value you want to enter, and then enter the value directly.
Value-entry
When the display format is "ASCII16BIT," double-click the cell to display the
method
"Character string setting" dialog box, and then enter the character string.
Click this to import a device default values file that has been saved in CSV format or
CSV/TXT import
TXT format.
CSV/TXT export Click this to save the set device default values to a file in CSV format or TXT format.
Read value from PLC Click this to read the current values from the PLC as the default values data.
Reference After you finish setting the default values, click "OK" to save the data as a device default
values setting file (file name: DevInit.dvi). You can import a device default values setting
file from another project by clicking the "File (F)" menu "Import (I)" "Import
device default value (D)."
- KV STUDIO Ver.9 User’s Manual - 11-5
11-1 About Tool Functions
Item Explanation
Select device Select the type of the devices that you will enable the setting of device default values for.
Specify the leading number of the devices that you will enable the setting of device
Leading No.
default values for.
Specify the number of devices (the range) from the leading number of the devices that
Number
you will enable the setting of device default values for.
Click this to calculate the number of devices from the leading number to the last device
Max. numbers
number and display this calculated value in the "Number" box.
11
TOOL
Reference • To change the file register settings, select the target setting from the workspace, and
then double-click that setting.
• For the KV-5500/5000/3000, "Save destination" will not be displayed, and the file
register will be saved to the memory card.
• The file register setting No. can be set between 0 and 999 for each save destination.
List of file
register settings
11
TOOL
Item Explanation
Setup No. If multiple sets of file register settings (Setup No.) exist, you can switch between the settings.
Comments Add a comment to the Setup No. whose file register settings you are editing.
Display format Select the display format of the values displayed in the list of file register settings.
List of file register This displays the values to set. The leading device numbers are listed vertically,
settings and the offset amounts from the leading device numbers are listed horizontally.
Select the cell whose value you want to enter, and then enter the value directly.
Value-entry
When the display format is "ASCII16BIT," double-click the cell to display the
method
"Character string setting" dialog box, and then enter the character string.
Click this to import a file register settings file that has been saved in CSV format or
CSV/TXT import
TXT format.
CSV/TXT export Click this to save the set file registers to a file in CSV format or TXT format.
Read value from PLC Click this to read the current FM values from the PLC as the file register settings data.
Reference After you finish setting the file registers, click "OK" to save the data as a file register
settings file (file name: FR (Setup No.).fru/.frb). You can import a file register settings file
from another project by clicking the "File (F)" menu "Import (I)" "Import File
Register setting (F)."
Set the allocation ratio of the project area and user memory area in the CPU memory.
Click the "Tool (T)" menu "CPU memory capacity setting (4)."
For details on the CPU memory, see "5-3 CPU Memory" in the KV-7000 Series User's Manual.
Slider/
Bar graph
Item Explanation
Drag the slider to set the allocation ratio of the project area and user memory
Slider
area.
This displays a bar graph showing the consumption status of each area of the
project being edited in KV STUDIO.
11 Bar graph
Left side (green): Project area
Right side (blue): User memory area
This displays the size allocated to each area.
TOOL
If the consumption status of each area is above the set value, the program cannot
Point be transferred to the PLC. Adjust the slider so that the consumption status is
below the set value, or reduce the amount of data.
E-Mail Settings
For details on how to configure e-mail settings see KV-XLE02 User's Manual, the KV-LE21V
User's Manual and the KV Series Ethernet/IP Function User's manual.
For details on how to use the e-mail communication command maker, see KV-XLE02 User's
Manual, the KV-LE21V User's Manual and the KV Series Ethernet/IP Function User's manual.
For details on how to set the simple PLC link function, see the KV-LE21V User's Manual and
the KV Series Ethernet/IP Function User's Manual. 11
The simple PLC link function can be used with the KV-EP21V, KV-LE21V, KV-7500, KV-5500, version
TOOL
1.1 or later of the KV-5000 and KV-NC1EP.
For details on how to set the FTP client function, see KV-XLE02 User's Manual, the KV-LE21V
User's Manual and the KV Series Ethernet/IP Function User's Manual.
The FTP client function can be used with the KV-EP21V, KV-LE21V, KV-7500, KV-5500, version 1.1 or
later of the KV-5000 and KV-NC1EP.
"Tool(T)" "Expansion unit setting(S)" "KV-LM21V setting(Z)" "Serial PLC link setting(Z)"
or "Tool(T)" "Serial PLC link setting(Z)"
For details on how to set the serial PLC link function, see the KV-LM21V User's Manual and
the KV Nano Series Built-In Serial Communication Function User's Manual. The serial PLC link
function can be used with the KV-LM21V (KV-7000/5000/3000 Series), KV-N11L and KV-NC20L (KV-
Nano Series).
and speed control. This function enables you to control equipment such as stepping motors and
pulse-type AC servo motors. By editing the CPU positioning parameters, you can set parameters for
trapezoidal control such as the starting speed, the operating speed, the acceleration time, and the
deceleration time. There are two types of parameters: point parameters and system parameters.
Point parameters . . . . . . These parameters, such as the travel target point (position), operating and
starting speed, and acceleration and deceleration time, are the basic
parameters for trapezoidal control.
System parameters . . . . These parameters are used to set the sensor input, pulse output,
comparator, origin returning operation, and JOG operation.
Main functions
KV-5500/5000/3000/1000/700
• You can use KV STUDIO to set up to 32 point parameters in advance. If more than 32 point
parameters are required, use the ladder program to modify the contents of control memory (CM).
• You can choose from two control modes: position control and speed control. You can set the target
value or the travel amount as a relative value or absolute value.
• You can output pulses for two axes and you can set the frequency of the pulse for each axis to a
value within the range of 50 Hz to 100000 Hz.
• For the pulse output mode, both the 1-pulse mode and the 2-pulse mode are supported, so you can
switch between modes to select the one that matches the mode of the connected motor driver.
KV Nano Series
• You can use KV STUDIO to set up to 20 point parameters for each axis in advance. If more than 20
point parameters are required, use the ladder program to modify the contents of control memory
(CM). (With the KV Nano Series, you have to set the range of point parameters for power off holding
in the CPU system settings—by default, points 1 to 10 will be held.)
• You can choose from two control modes: position control and speed control. You can set the target
value or the travel amount as a relative value or absolute value.
• Depending on the model, you can output pulses for between two and four axes and you can set the
frequency of the pulse for each axis to a value within the range of 1 Hz to 100000 Hz.
• For the pulse output mode, both the 1-pulse mode and the 2-pulse mode are supported, so you can
switch between modes to select the one that matches the mode of the connected motor driver.
Follow the procedure below to start the "CPU positioning parameter edit" tool. (The following
procedure is for the KV-5500/5000/3000/1000/700.)
1 Click the "Tool (T)" menu "CPU positioning parameter setting (I)."
The "CPU positioning parameter setting" tool starts.
TOOL
Parameter to Set Description
Point parameter Set the operation details for each point.
Configure input settings such as sensors and Z-phase and set
I/O setting
the pulse output mode.
Comparator
System parameter Set the operations of comparators 0 to 2.
setting
Origin returning Set the origin returning operation.
JOG Set the jog operation.
For details on how to set each parameter, see "2-12 Motor (positioning) control" in KV-5500/5000/
3000 Series User's Manual.
3 When you have finished editing parameters, close the "CPU positioning parameter edit" screen.
The point parameters and system parameters that you have set are saved to file.
Use positioning instructions when you write the ladder program.
Start the setting wizard for the high-speed counter of the CPU built-in functions.
For detailed instructions on how to operate the CPU high-speed counter setting wizard, see "2-8
High-speed counter" in the KV-5500/5000/3000 Series User's Manual or "5-4 High-Speed
Counter" in the KV Nano Series User's Manual.
- KV STUDIO Ver.9 User’s Manual - 11-11
11-1 About Tool Functions
EtherNet/IP Settings
KV-XH settings
To display the various setting screens of the KV-SH04PL, you need to use the unit
Point
editor to place the position determination unit KV-SH04PL in advance.
"Chapter 3 UNIT EDITOR" (page 3-1)
KV MOTION+
Before you use the KV-ML/MC setting tool (KV MOTION+), you have to configure a
Point
positioning/motion unit KV-ML16V/MC40V/MC20V in the Unit Editor.
"Chapter 3 UNIT EDITOR" (page 3-1)
MOTION BUILDER
TOOL
Start the positioning unit parameter setting software MOTION BUILDER.
For detailed instructions on how to operate MOTION BUILDER, see the MOTION BUILDER User's
Manual.
Before you use MOTION BUILDER, you have to configure a positioning unit KV-
Point
H20/H20S/H40S/H20G in the Unit Editor.
"Chapter 3 UNIT EDITOR" (page 3-1)
"Tool(T)" "Expansion unit setting(S)" "KV-H20S/40S/20G setting(S)" "Positioning unit simple setting(S)"
The simple setting function of the positioning unit is a function for setting the parameters of the KV-
H20S/H40S/H20G positioning unit. This function collects only the often-used parameters from those
that are required for the positioning unit, which enables you to easily set these parameters from the
screen in which you are creating the ladder program.
The settings that you can edit with the simple setting function are shown below.
• Point parameters . . . . .For each point, set the operation mode, target value or travel amount,
operating speed, stop sensor usage, and number of stop sensor standard
pulses.
• System parameters. . . .Set the items related to I/O settings, the origin returning and JOG
operations, and the operating speed.
These are parameters that are common to all operation.
• Speed parameters . . . .Set speed number 1 to 16.
For detailed instructions on how to operate the simple setting function of the positioning unit,
see the KV-700 Series Positioning Unit Simple Setting Software User's Manual.
• You can use this function when the KV-H20S/H40S/H20G positioning unit is selected.
Point
• The simple setting function does not support the KV-H20 positioning high-
speed counter unit.
MV LINK STUDIO
TOOL
Point Before you use MV LINK STUDIO, you have to configure an MV-L40 in the Unit Editor.
KV-XLE setting
KV-XL setting
PROTOCOL STUDIO
• Before you use PROTOCOL STUDIO, you have to configure a KV-L2*V/R in the
Point
Unit Editor and set the operation mode to PROTOCOL STUDIO mode.
• After PROTOCOL STUDIO has started, you can edit ladder programs, but if you
change the unit setting information while PROTOCOL STUDIO is starting, the
communication protocols that you have set in PROTOCOL STUDIO will not
operate normally. Be sure to exit PROTOCOL STUDIO before you change the
11
unit setting information.
TOOL
PROTOCOL BUILDER
Start the KV-L20 protocol macro function setting software PROTOCOL BUILDER.
For detailed instructions on how to operate PROTOCOL BUILDER, see the PROTOCOL BUILDER
User's Manual.
KV-CL20 Settings
KV-DN20 Settings
Panel Editor
For detailed instructions on how to operate the panel editor, see the Display Internal Panel
Installation PLC KV-P Series User's Manual.
KL Address Settings
You can use the KV STUDIO RECORDER to record the video of up to one hour of the KV STUDIO
operation data and monitor data to a PC. When you stop recording video, the recorded data is saved.
You can use KV STUDIO PLAYER to play back the data.
• KV STUDIO RECORDER is a tool that has been optimized for recording the
Point
video content displayed in KV STUDIO. During video recording, the content that
is displayed on the top layer of the PC will be recorded. However, regarding the
display of contents from applications other than KV STUDIO, the image quality
may decrease and the file size may increase.
• You cannot start multiple instances of KV STUDIO RECORDER.
• During video recording, the following functions will be disabled.
The starting of the screen saver, desktop wallpaper, the full drag setting,
and the Aero function (when using Windows 10/8/7 or Vista)
• When you are using Windows 10/8/7 or Vista, you have to log in as a user with
"Administrator" rights or higher.
• The image quality of the recorded video of the file may decrease depending on
factors such as the performance of the PC that you are using.
• When negative values are used in coordinates on a display other than the
primary display, you cannot use KV STUDIO RECORDER.
2 Use the mouse to adjust the position and size of the "Video recording frame" to match the area
whose video will be recorded.
3 Use the "KV STUDIO RECORDER" dialog box to start and stop video recording.
When you stop video recording, the recorded content is saved to a file.
TOOL
Pause Video recording settings
Start (restart) Stop
Recording settings
Item Explanation
Set the maximum video recording time to a value within the range of 1 to 60 (minutes).
Max. recording
During video recording, if the maximum video recording time elapses, video
time(min)
recording will be stopped automatically.
Update Set the update period of video recording to high, medium, or low. (The default
Picture
frequency value is high.)
quality
adjustment Colors Set the number of colors to use during video recording to full color or 256 colors.
(The default value is true color.)
Initialize Click this to restore the video recording settings to their default values.
- KV STUDIO Ver.9 User’s Manual - 11-17
11-1 About Tool Functions
KV STUDIO PLAYER
• 400 MB or more free space must be available on the hard disk when KV STUDIO
Point
PLAYER is used.
• You cannot start multiple instances of KV STUDIO PLAYER.
Alternative procedure You can start KV STUDIO PLAYER as a standalone application by clicking "All
Programs" on the Windows "Start" menu "KEYENCE KV STUDIO Ver.9G"
"tool" "KV STUDIO PLAYER."
2 Open a file whose video you recorded using KV STUDIO RECORDER, and then play back the
file.
11
TOOL
Movement using the back and next icons and the slide bar is only valid for the
Point
read video recording data (the green bar).
Edit the universal comment dictionary in the below screens when using the translation function.
• Device comment edit window (page 6-16)
• "Device Use List" (page 6-32)
• "Message editor" (page 6-64)
Click "Tool (T)" "Universal Comments Dictionary Edit (6)" in the menu.
Item Explanation
A translation can be entered for each ID. By default, IDs 1 to 10 are displayed. If a
ID
character string is entered into the lowest line, a new ID is automatically added.
A character string can be entered for each language. In the initial state, you can enter
Character string with English, Japanese, Simplified Chinese, Traditional Chinese, Korean and Spanish.
editing area You can add various languages from the universal comments dictionary edit menu "Edit 11
(E)" "Translation Language Settings (S)".
TOOL
Opening a Translation Memory
Click "File (F)" from the universal comment dictionary editing menu "Open (N)" to specify the
existing universal comment dictionary file (.tmx).
Click "File (F)" from the universal comment dictionary editing menu "Save (S)" to save (overwrite)
the universal comment dictionary currently being edited.
Click "File (F)" from the universal comment dictionary editing menu "Save as (A)" to save the
universal comment dictionary currently being edited under a new name.
- KV STUDIO Ver.9 User’s Manual - 11-19
11-1 About Tool Functions
Close
"File(F)" "Close(C)"
Click "File (F)" from the universal comment dictionary editing menu "Close (C)" to close the
universal comment dictionary currently open.
Import
"File(F)" "Import(I)"
Click "File (F)" from the universal comment dictionary editing menu "Import (I)" to import the
existing universal comment dictionary contents specified to the user translation memory currently
being edited.
11
Configuring Translation Language Settings
TOOL
Languages can be added, deleted, or sorted by clicking "Edit (E)" "Translation language settings
(S)" in the universal comment dictionary editing menu.
"Language(L)" "English(E)"
"Language(L)" "Simplified Chinese(C)"
"Language(L)" "Traditional Chinese(T)"
"Language(L)" "Japanese(J)"
"Language(L)" "Korean(K)"
Switch the menu display of "Universal Comment Dictionary Editing" from the languages below.
The change is applied when "Universal Comment Dictionary Editing" is opened again.
English
Simplified Chinese
Traditional Chinese
Japanese
Korean
Describes details of the translation operation, such as when a different translation is registered in the
dictionary with the same word.
Translates according to the following rules for the translation.
• Do not translate in the case of source language's words are registered in the dictionary, but the
words for target language are not registered (blank).
• Uppercase and lowercase letters, halfwidth and double-byte characters (including space
characters) are not distinguished.
• In the case of a target language is a language divided by spaces such as English, translation will be
performed with a one-byte space between words.
• In the case of words in the dictionary multiple hit in the language of translation source language,
translate according to the following priority order.
TOOL
(3) Length of character string of target language
If character string lengths matching translation source language are the same "abbreviation is
priority", the abbreviation (the string with short string length of target language) takes
precedence.
Example:
Product number Product Number
Product number ProductNum
Product number ProductNo
In the case of above is registered, it will normally be translated into the topmost sentence, but
if 'Prioritize abbreviation' is selected, it will be translated to "ProductNo".
KV-7000 Series
Use the dialog box shown below to display type, function version and serial number of the unit
configuration.
• Do not turn the unit off when updating the system program. The unit may not be
NOTICE
able to run correctly.
• When updated, all clear is carried out on the unit and ladder programs are also
deleted. Before updating the system program, create program backups as
necessary.
• Stop all PLC communication before carrying out system program updates.
Reference You can select a version older than the current one to downgrade to that older version.
• To update the current version to the latest one, you need to update KV STUDIO
Point
to the latest version in advance. You can download the KV STUDIO updater
from our web site.
• The "Update" check box can be only checked when updates for the current
version are available for units.
11
TOOL
KV-5000/KV3000 Series
The dialog box shown below appears to display type and function version of the CPU unit.
KV Nano Series
The dialog box shown below appears to display type and function version of the CPU unit.
Display the function version compatible with functions used in the project and related precautions in
the output window.
11
TOOL
From KV STUDIO, update the system program on the connected base unit.
• Do not turn the unit off when updating the system program. The unit may not be
NOTICE
able to run correctly.
• When updated, all clear is carried out on the unit and ladder programs are also
deleted. Before updating the system program, create program backups as
necessary.
• Stop all PLC communication before carrying out system program updates.
1 Select "Tool (T)" "Functional version validation (X)" "Update system program (U)". The
below dialog box is displayed. Confirm that the KV Nano Series and USB cable are connected,
and click "OK".
Alternative procedure Click the [Update system program] button in the [Check the CPU
Function Version] dialog box.
11
TOOL
2 Check if the connected KV Nano Series is the latest version. If it is not the latest version, click
the "Execute" button to start a system version update.
TOOL
If there is other communication between the PLC unit and computer when the
Point
system program update is executed, the following dialog is displayed and the
system update does not start.
Set the KV STUDIO language. You can create projects in many different languages regardless of the
OS language by changing the language settings.
Click the "Tool (T)" menu "KV STUDIO language setting (2)."
Item Explanation
Select a display language for KV STUDIO from Japanese, English, Chinese
Display language*
(Simplified), Chinese (Traditional), and Korean.
Clear PLC
Execute RAM clear, clearing the user memory or a clear all operation from KV STUDIO against the
connecting basic unit.
Reference You can execute a PLC clear operation even when KV STUDIO has been started but no
projects have been started.
• This operation is available only with the KV-7000 Series or KV Nano Series.
Point
• The user memory clear is displayed only in the KV-7000 Series.
• This operation is disabled in Monitor mode and in Online Edit mode. Execute
this operation in Editor mode.
• For models other than the KV-7000 Series or KV Nano Series, perform clear
SRAM or clear all operations from the access window.
2 Select "Clear All," "Clear RAM," or "Clear User Memory," and then click "Execute (E)."
11
TOOL
3 A confirmation dialog is displayed regardless of whether you selected "Clear All," "Clear RAM,"
or "Clear User Memory."
• "Clear All," "Clear RAM," and "Clear User Memory" cannot be performed in
Point
RUN mode. Switch to PROG mode before executing these operations.
• Do not turn off the base unit while "Clear All," "Clear RAM," or "Clear User
Memory" is being performed.
4 When a completion dialog box is displayed, click "OK" to finish the operation.
After the "Clear All," "Clear RAM," or "Clear User Memory" operation is finished,
Point
11 the results of confirming whether the "Clear All," "Clear RAM," or "Clear User
Memory" operation completed successfully are displayed through
communication.
TOOL
Backup or restore the user memory area in CPU memory or the files in the memory card to PC.
Alternative procedure In the Windows start menu, click "Programs" "KEYENCE KV STUDIO Ver.9"
"Tool" "Storage transfer tool" to open the tool as a standalone application.
Item Explanation
Selecting the storage
type on the PLC side
Select the storage in the PLC from the memory card or CPU memory (user memory
area).
11
TOOL
Select the folders to backup or restore on the PC side.
Selecting the folder on
The save destination for the project is selected by default. You can also enter any
PC side
folder.
Backup the data in the PLC to PC.
Restore the PC data into the PLC.
Communication Configure the settings for communication between the PLC and PC.
settings "Communication Settings" (page 9-5)
Customize
"Tool(T)" "Customize(K)"
Shortcut keys
11
TOOL
Item Explanation
Changes shortcuts to initial format, GPPQ format, GPPA format, CX format,
Batch change
and Logix format all at once.
Enter an arbitrary character string in the text box on upper right to jump to the
(Search for)
corresponding command.
Command Shows all commands which can assign shortcut keys.
Example 1: For Ctrl + H, enter H key at the same time as Ctrl key.
Example 2: For Ctrl +., Ctrl + K, enter "." key at the same time as Ctrl key
Key
followed by entering Ctrl key and K key at the same time. (2 stroke
key)
[Close all] Collapse and display everything for each category.
[Open all] Expand and display everything for each category.
[Read] Read the setting file (* .key) of the saved shortcut key.
[Save] Save the customized shortcut key settings.
Toolbar
You can customize the toolbar. Select the checkboxes of the items that you want to display on the
toolbar.
To display all toolbar items, click "All ON." To hide all toolbar items, click "All OFF."
11
TOOL
Options
"Tool(T)" "Option(O)"
1 Click the "Tool (T)" menu "Option (O)," and then click the "Ladder diagram color setting"
tab.
2 To change the color of an item, click the color button next to it.
Reference • The colors that you set here are saved to KV STUDIO, and they are also enabled the
next time that you start KV STUDIO.
• To return the saved colors to their defaults, select your desired settings from "Select
11 template".
Reference If you cannot find the color you want, click "Define Custom Colors>>" to make the color.
Specify the hue and brightness of the color, and then click "Add to Custom Colors" to
add the color to the list. The button is added to "Custom colors."
Reference You can change the unit display colors from the editor or from the Unit Editor.
Changed unit colors are reflected in both the editor and the Unit Editor.
For details on how to set colors in the Unit Editor, see "Setup unit color" (page 3-46).
1 Click the "Tool(T)" menu "Option(O)," and then click the "Set unit color" tab.
2 To change the color of an item, click the color button next to it.
Reference • The colors that you set here are saved to KV STUDIO, and they are also enabled the 11
next time that you start KV STUDIO.
TOOL
• To return the saved colors to their defaults, click "Initialize."
Reference If you cannot find the color you want, click "Define Custom Colors>>" to make the color.
Specify the hue and brightness of the color, and then click "Add to Custom Colors" to
add the color to the list. The button is added to "Custom colors."
System settings
Click the "Tool (T)" menu "Option (O)," and then click the "System setting" tab.
Item Explanation
KV STUDIO has a "device auto-convert function." This function automatically
replaces device numbers in the ladder program to match any changes that
are made to devices assigned to units that have already been assigned a
device in the Unit Editor. When this checkbox is selected, the device auto-
Device auto-convert mode by convert function is enabled.
changes to unit config When you are not using the device auto-convert
Point function, manually change device numbers in the
ladder program after you change the assigned
devices that were set in the Unit Editor.
11 IME automatic ON When this checkbox is selected, IME automatically turns ON.
Change ladder set value at During monitoring, when you change the set value of a device such as a
TOOL
monitor set value change timer or counter, the ladder program setting is also changed.
Allow the operation of relay
Clear this checkbox when you do not want to allow relays to be turned ON
on the ladder diagram being
and OFF by double-clicking them in the ladder diagram during monitoring.
monitored
When you operate a relay during monitoring, a confirmation dialog box will
Confirm to chng relay status be displayed.
on a ladder diagram When this checkbox is cleared, relay operations will be executed
immediately.
Show confirm dialog for When this checkbox is selected, a confirmation dialog box will be displayed
PROGRAM mode switching when you switch from monitoring to PROG mode.
During ladder program entry, if you enter an instruction such that the
Check double coil operand of a coil instruction is duplicated (excluding copy and paste
operations), a warning dialog box will be displayed.
Use the "Loopback Ladder" command on the "Edit" menu, to insert an
instruction that uses the loopback symbol ( ). When this checkbox is
cleared, an operation equivalent to a conventional loopback will be
performed.
When you are using version 2 or earlier of KV
Enable folding symbol of Point STUDIO to read a ladder program created with
ladder*1
version 3 or later (by opening a file, opening memory
card data, reading data from a PLC, or monitoring a
PLC unit), you may not be able to read the ladder
program because the loopback symbol is not
supported by version 2 or earlier.
Enable device value batch Select this checkbox to enable the "Undo" and "Redo" commands in the
modify/read window "Undo/ "Edit" menu of the "device value batch modify/read" dialog box.
Redo" When this checkbox is cleared, you cannot click "Undo" and "Redo."
Item Explanation
When this checkbox is selected, conflicting devices will be checked for
Check device conflict when
during ladder program conversion, and the results will be output to the
converting
output window.
Click this to display the "Device application status option setting" dialog
Setup
box.*2
Set sender's name in the When transferring a project to the PLC, set the name of the sender in the
transferring data data being transferred.
Setup Click this to display the "Final addresser settings" dialog box.*3
Compare project name when When this checkbox is selected, the project name will also be compared
verifying during PLC verification.
Disable hyperlink jump When this checkbox is selected, hyperlinks are disabled.
Disable hyperlink jump when When this checkbox is selected, transferred projects are read from the PLC
reading from PLC with the "Disable hyperlink jump" checkbox automatically selected.
When the unit configuration contains a KV-LE21V (KV-LE20V and KV-
Display info dialog box when
NC1EP), select this checkbox to display the "Jump to EtherNet relevant
logging/trace setting is ended
function" dialog box when you finish configuring the logging settings.
Click "Set(M)" to display the "Adapter comments format setting" dialog box.
Set the format of adapter
You can set the device comment items that are automatically assigned to
comments
the adapter.
When this checkbox is selected, the [Argument / Label] dialog box will
Display Argument/Label.
appear.
Display instruction/macro/ When this checkbox is selected, the [Command / Macro / Pack Palette]
pack pallet while it is possible dialog box will be displayed during Editor Mode, Online Edit Mode,
to edit the program. Simulation Edit Mode.
*1 This option can only be set when the KV-1000 is selected for the PLC model.
*2 You can configure the "Ignore ZRES command" setting in the "Device application status option setting"
dialog box.
*3 You can set the name of the final sender in the "Final addresser setting" dialog box.
Script settings 11
Click the "Tool (T)" menu "Option (O)," and then click the "Script setting" tab.
TOOL
Configure the script-related settings.
Item Explanation
Auto The display size is changed automatically to match the size of the ladder
edit window.
Information is displayed at the largest size, which is 2 times the standard
200% size. Select this option in situations such as when characters are difficult to
read because they are too small.
Display 150% Information is displayed at 1.5 times the standard size.
size
120% Information is displayed at 1.2 times the standard size.
100%(Std.) Information is displayed at the standard size.
Information is displayed at the smallest size. The most cells are displayed
80% on a single screen when this option is selected, so select this option in
situations such as when you want to check the overall operation.
11 Display by XYM
Display labels
Select this checkbox to display device names with XYM marking.
Select this checkbox to display the label name for each device.
Display label and device Select this checkbox to display both the label name and device number for
TOOL
each device.
Select this checkbox to display the ladder program device names with the
Display unit device device notation for units.
Select this checkbox to display local devices of ladder diagrams and
Display local assign devs
during mon assignment destinations of local labels with global device notation during
monitoring and simulating.
Display ladder Monitor values Select this checkbox to display the current values on the ladder diagram in
in HEX hexadecimal during monitoring and simulating.
Select this checkbox to suppress the display of zeros for displayed device
Zero-suppress display ladder numbers.
device No. Example) When zero suppress is not used: R00500.
When zero suppress is used: R500.
Display devices when expand Select this checkbox to display PACK instruction symbols with CM bit OUT
instructions when expanding PACK instructions contained in ladder
pack-inst
programs for the KV-700.
Display comment Select this checkbox to display comments on ladder diagrams.
Specify the number of lines of comments to display as a number between 2
Number of comment lines
and 4.
Change rung at the space of Select this checkbox to use line breaks at white-space characters (both full-
cmnts width and half-width spaces) contained within device comments.
Change rung at the period of Select this checkbox to use line breaks at periods contained within device
cmnts comments.
Device No. Select the size of the fonts to use in displaying device numbers.
Device comment Select the size of the fonts to use in displaying device comments.
Font size
Rung comment/
Select the size of the fonts to use in displaying rung comments and scripts.
script
Font name Select the font in which to display character strings in ladder diagrams.*
Enable anti-aliasing Applies anti-aliasing to character strings displayed in ladder diagrams.
Select comments Select the number of the comment set to be displayed in ladder diagrams.
* Only monospaced fonts installed on your PC can be selected.
Item Explanation
Select this checkbox to display the operand edit dialog box with
Zoom out operand edit dialog box
the type list and explanation of operands omitted.
Select this checkbox to display the direct entry dialog box with
Zoom out direct entry dialog box
the comment field omitted.
Select this checkbox to enable the starting of the direct entry
Start up direct entry by Enter key
dialog box by pressing .
Select this checkbox to enable the starting of the direct entry
Start up direct entry by ESC key
dialog box by pressing Esc .
Start up search dialog box during Select this checkbox to enable the starting of the search dialog
monitoring by Enter key box by pressing during monitoring.
TOOL
Select this checkbox to search other relays that are in the same
Search relay in the same CH for cross
channel as the specified relay number when creating a cross
reference
reference.
Select this checkbox to display, in addition to the devices used in
the operand, all the devices occupied by the instruction when
Including application range of
creating a cross reference.
instruction for cross reference
However, index device specifications and indirectly referenced
devices will not be displayed.
Display candidate operand Operand candidates will be displayed in each input box.
*1 Operand input will be enabled for device comments, labels, and
RT Edit
unit information.
When RT editing is enabled, operand is displayed as it suggests
Hiragana, Katakana, or Kanji when words are typed with Roman
Enable Roman alphabet search*2 alphabet.
By inputting words delimited with "_" (underscore), operands that
contain several words can be searched.
*1 If the amount of data, such as device comments and labels, is large, edit operations may become slow.
In this situation, do not select the "RT Edit" option.
*2 Roman alphabet search becomes available only when a display language KV STUDIO is set to
Japanese. When Roman alphabet search is enabled, it may take longer time until the search result is
displayed. In such cases, please turn OFF the Roman alphabet search.
Reference You can read and save the option settings. The files that can be read are shown below.
•KV STUDIO version 5, KV STUDIO version 6 and KV STUDIO version 7 option
settings files (KVS.ini)*
* Only reading is supported.
•Option settings file (.kop)
How to read settings
1 Click the "Tool (T)" menu "Option (O)," and then click "Read."
2 Read an option settings file (*.kop).
How to save settings
1 Click the "Tool (T)" menu "Option (O)," and then click "Save."
2 Save the option settings file (*.kop).
11
TOOL
SCRIPT
When you use an area script, the entire rung is written as script.
1 Click the cell (rung) in which you want to create the area script.
Alternative procedure Right-click in the ladder edit window, and then select "Edit script (X)" "Insert
area script (A)" from the menu that appears.
Alternative procedure • Click the ladder edit window outside of the area where you are writing the script.
• Press Ctrl + .
12
Inserting Box Scripts
SCRIPT
Box scripts have ladder execution conditions, which enables you to specify with the ladder program
when and with what timing the program written in the script is executed.
1 Use the ladder editor to write the execution condition, and then click the cell in which you want
to create the box script.
Alternative procedure Right-click in the ladder edit window, and then select "Edit script (X)" "Insert
box script (B)" from the menu that appears.
Alternative procedure • Click the ladder edit window outside of the area where you are writing the script.
• Press Ctrl + .
Select the method for editing scripts. Select whether to write scripts directly in the script editor or to
open a separate window for writing scripts.
1 Click the "Script (S)" menu "Change edit method (N)" "Direct input (D)" or "Window
(W)."
SCRIPT
Select the script to be converted, and then click the "Script (S)" menu "Convert selected script (S)."
The selected script is converted, and the button is displayed on the rungs of the converted script.
When there is a mistake in the script, an error message is displayed, and the error location is
displayed in the output window.
Set the warning level of the errors that are displayed during script conversion.
12 This function can be used to efficiently convert scripts by hiding warnings that
Point
are normally displayed. The warnings are hidden according to the set script
SCRIPT
warning level. Exercise sufficient caution when writing and converting scripts.
1 Click the "Script (S)" menu "Set script warning level (W)."
The "Script warning level setting" dialog box is displayed.
When you select the "Not output warning when different suffix specified for global label data type"
checkbox, warnings will not be generated if you specify a suffix that is different from the data type that
was defined during global label registration.
Example) When you specify "1 word unsigned integer: UINT" in the global label definition and then
specify the .L suffix in a script.
2 Click the "Script (S)" menu "Display/hide converted ladder (V)." When the ladder is
displayed, click "Display/hide converted ladder (V)" again to close the converted ladder program
and display only the script.
The converted ladder program is displayed.
The converted
ladder program is
displayed.
12
SCRIPT
Alternative procedure Click on the rung to be displayed.
Among the converted ladder programs that have been displayed with "Display/hide converted
ladder," display all the converted ladder programs that have been collapsed.
2 Click the "Script (S)" menu "Display entire content of converted ladder (X)."
The entire content of the converted ladder program that has been displayed with "Display/hide
converted ladder" is displayed.
12 Right-click the
converted
ladder program
SCRIPT
to display the
right-click menu
for scripts.
Reference You can display and hide individual rungs by clicking of a rung of a ladder or script
in the converted ladder program.
Alternative procedure Right-click a converted ladder program, and then select "Script edit (X)"
"Display all converted ladder (X)" from the menu that appears.
Among the converted ladder programs that have been displayed with "Display/hide converted
ladder," collapse all the ladder parts and display only the rung comments that have been written in
scripts.
2 Click the "Script (S)" menu "Fold entire content of converted ladder (O)."
Among the converted ladder programs that have been displayed with "Display/hide converted
ladder," only the rung comments that have been written in scripts are displayed.
Right-click the
converted
ladder program 12
to display the
right-click
SCRIPT
menu for
scripts.
Reference You can display and hide individual rungs by clicking of a rung of a ladder or script
in the converted ladder program.
Alternative procedure Right-click the converted ladder program, and then select "Script edit (X)" "Fold
entire content of converted ladder (O)" from the menu that appears.
Display a list of function candidates when you do not know the function name or when you enter part
of the function name.
1 Enter part of the function name, and then click the "Script (S)" menu "Script function list (F)."
The script function candidates are displayed.
2 Select the function that you want to use and press or double-click the function that you
want to use.
The selected function is inserted at the cursor location in the script editor.
12 When you are entering a function, display information such as whether arguments and return values
are present. Information is displayed as simple-format script function hints.
SCRIPT
1 Place the "|" mouse cursor to the right of the "(," and then select the "Script (S)" menu
"Script function tip (H)."
A script function hint is displayed in a simple format.
Alternative procedure If you enter the function name and "(," the script function hint will be displayed
automatically.
APPENDICES
The following error messages (the error numbers are shown in parentheses) are displayed during
conversion.
Eliminate the cause of the error before performing conversion.
Error messages
Error Message Cause Remedy
"Invalid parallel connection to be executed There is an invalid parallel connection Do not use parallel connections after
after box script" (601) which will be executed after a box box scripts.
script.
"Empty script cannot be converted." (296) An area or box script is empty. Write a function in or delete the empty
script.
"Vertical line cannot be connected to a rung A vertical line is connected to a rung Delete the vertical line that is connected
comment or script." (283) comment or script. to the rung comment or script.
"Output instruction is connected in parallel." For a vertical box type instruction For vertical box type instructions
(403) (SFT, KEEP, ITVL, UDC, UDT, JOGX, (SFT, KEEP, ITVL, UDC, UDT, JOGX,
JOGY, JOG, or PID), an additional JOGY, JOG, and PID), do not connect
output instruction is connected in additional output instructions in parallel.
parallel.
"Connecting rung disconnected" (400) A connection line is disconnected in a Be sure to connect all connection lines.
ladder block.
"Non-contact instruction is connected in Parallel connections cannot include Do not connect instructions other than
parallel." (402) output instructions. contact instructions in parallel.
"Invalid short circuit" (401) There is a short circuit in the power rail Rewrite the ladder program so that no
or output line. short circuit occurs.
"No short circuit to power rail" (403) An input condition has been set on an Delete the independent output type
independent output type instruction instruction's input condition.
(END, ENDH, STP, STE, MCR, RET, FOR,
NEXT, GOTO, LABEL, INT, or RETI).
"Text string label exceeding 32 bits cannot A character string label whose size Ensure that character string labels set to
be specified as an operand with a value of exceeds 32 bits (including NULL: 8 bits V of macro arguments are 32 bits
macro instruction attribute." (245) for termination) cannot be set to V of a (including NULL: 8 bits for termination)
macro argument. in size or less.
"Unit type not set for argument device. Set it The unit type has not been set in the Set the unit type for the argument
in "Setup macro argument"." (270) macro argument definition. device.
"The macro with a specified name is not An unregistered macro was called. Define a macro with the specified name.
defined." (235)
"MEND instruction exists in a program which A MEND instruction exists in a program Only use the MEND instruction in self- APPENDICES
is not self-hold type macro." (280) which is not a self-hold type macro. hold type macros.
"MEND instruction does not exist in self-hold There is no MEND instruction in a self- Write the MEND instruction in self-hold
type macro." (258) hold type macro. type macros.
"Program specified by executing bit is The program specified with the Enable the specified program.
invalidated" (273) execution bit is not called in the module.
"Program size exceeds the upper limit." The size of a program has exceeded the Reduce the program size of the module /
(701) upper limit for program size per module / macro.
macro.
"No module" (200) No module exists. Modify the settings so that at least one
every-scan execution module can be
executed.
"Macro device cannot be used in a module" A macro device (UR, UM, P, or V) exists Delete the macro device (UR, UM, P, or
(298) in a module. V) in the module.
"The module with a specified name is not An unregistered module was called. Define a module with the specified
defined." (250) name.
"Too much macro instruction operands" There are too many operands for a Check the number of operands for the
(237) macro instruction. macro instruction.
"No DM in the specified unit, fail to use UM." The unit specified in UM has no DM. Specify a unit number of a unit
(289) containing DM in UM.
"No relay in the specified unit, fail to use The unit specified in UR has no relay. Specify a unit number of a unit
UR." (288) containing a relay in UR.
- KV STUDIO Ver.9 User’s Manual - A-3
1 Lists of Error Messages
does not exist." (215) execution bit does not exist. execution bit, or review the execution
bit.
"The program specified with the execution The program specified with the Call the program specified with the
bit is not called in the module." (272) execution bit is not called in the module. execution bit from within the module, or
review the execution bit.
"Macro instruction is used in initialization A macro instruction has been used in Do not use macro instructions in the
module. The macro is not executed in the initialization module. initialization module.
second and later scans." (931)
"More than one fixed-period module cannot Multiple fixed period modules exist. Use only one fixed period module.
be used." (88)
"Executing fixed-period module requires A fixed period module has been used, To execute fixed period modules,
interrupt to be enabled. Use EI instruction." but no EI instruction exists. execute the EI instruction.
(936)
"There is no every-scan execution module at No every-scan execution module exists. Create at least one every-scan
all. "(85) execution module.
"The transmittable limit number of modules The limit of the number of modules that Reduce the number of modules
(excluding macros) is exceeded." (282) can be transmitted (excluding macros) (excluding macros).
has been exceeded.
internal work area, see the instruction FLIK, has exceeded the number of such
reference manual." (84) instructions that can be used in one
project.
"Incomplete label definition exists. A global A label with an incomplete definition Assign devices to global labels.
label needs to be assigned with a device." exists.
(709)
"Incomplete label definition exists. The input A label with an incomplete definition Check the label definition.
is insufficient or the required work area is exists.
too large." (709)
"The data type of the global label is set The data type of a global label has been If the data type of the global label is ".U,"
smaller than the operand used by the set smaller than the operand used by change it to ".D." If the data type of the
instruction." (711) the instruction. global label is ".S," change it to ".L."
"The data type of the local label is set The data type of a local label has been If the data type of the local label is ".U,"
smaller than the operand used by the set smaller than the operand used by change it to ".D." If the data type of the
instruction." (711) the instruction. local label is ".S," change it to ".L."
(81) cannot use instructions that use edge flags in the initialization module.
flags (bit workspace) such as those
shown below.
Differential instruction
When an edge flag is positive
Timer instruction
Counter instruction
W_ON, W_OFF, HKEY, ITVL, JMP, ENDS,
and PID
"Unpaired LABEL or CJ/GOTO instructions The number of unpaired LABEL Reduce the number of unpaired LABEL
exceeded 200." (600) instructions or CJ and GOTO instructions or CJ and GOTO
instructions has exceeded 200. instructions.
"Corresponding counter instruction (C, A corresponding counter instruction has Write the corresponding counter
UDC, OUTC) is not programmed." (76) not been written in the program. instruction (C, UDC, or OUTC).
"Corresponding timer instruction (TMR, Timer Tn has been referenced in an Write the corresponding timer instruction
TMH, TMS, UDT, TMU) is not programmed." operand, but no TMR, TMH, TMS, UDT, (TMR, TMH, TMS, UDT, or TMU).
(76) or TMU instruction with a corresponding
timer number exists.
"Logging or tracing function (file save The logging settings include a setting In the logging settings, do not use a
destination: memory card) is used in the that requires a memory card. logging or tracing function that will save
logging setting." (425) files to a memory card.
"A device which cannot be operated with CTH or CTC has been set in the logging Do not set CTH or CTC to the devices in
the current model is used in the logging settings. the logging settings.
setting." (427)
"TRGD instruction is used 9 times or more The TRGD instruction has been used 9 Limit the number of TRGD instructions
with the same logging ID." (86) times or more with the same logging ID used with the same logging ID to 8 or
in the project. less.
"EtherNet/IP setting size exceeded the The size of the EtherNet/IP settings has Configure the EtherNet/IP settings so
upper limit." (410) exceeded the upper limit. that their size does not exceed the
upper limit.
"Device assignment setting for EIP The total size of all devices in "EIP Reduce the device assignment setting
automatic refresh exceeded the upper limit." refresh setting" (excluding reserved for EIP automatic refresh.
(411) units) has exceeded the upper limit.
"The adapter for specified node address is The adapter for the node address Cancel the reservation of the specified
reserved." (89) specified with the SPWR, SPRD, or node address.
SSVC instruction has been reserved.
(720) long.
"The global label name is too long." (720) The global label name is too long. Shorten the global label name.
"The local label name is too long." (720) The local label name is too long. Shorten the local label name.
"The global label comment is too long." The global label comment is too long. Shorten the global label comment.
(720)
"The local label comment is too long." (720) The local label comment is too long. Shorten the local label comment.
"The global device comment is too long." The global device comment is too long. Shorten the global device comment.
(720)
"The local device comment is too long." The local device comment is too long. Shorten the local device comment.
(720)
"The logging and trace file comment is too The logging and trace file comment is Shorten the logging and trace file
long." (720) too long. comment.
"A function block other than FB command is A function block other than FB Specify a function block name for the
specified."(733) command is specified. operand of FB command.
"A function block other than FUN command A function block other than FUN Specify a function block name for the
is specified."(734) command is specified. operand of FUN command.
"The function block with a specified name is An unregistered function block was Define the function block or delete the
not defined."(735) called. function block command.
Specify an operand as the argument
"There are arguments which can not be Operands that can not be omitted for
that can not be omitted for function
omitted in function block."(736) function block command are omitted.
block command.
"Function block command has too many Match the number of arguments for
Function block command has too many
operands. (Specified number> Correct function block command to the number
number of operand specifications
number)"(737) of function block definitions.
"A function block call from function block Function block recursive call is not Do not use recursive call of function
recursed."(738) possible. block.
The unit setting with an unit number
"The unit with a number specified by Specify an unit number exists in unit
specified by function block command
function block command is not set."(739) setting.
does not exist.
Function block A device that can be A device that can not be specified for Specify the device that can be specified
specified for a unit device argument is not unit device argument of function block is by unit device argument of function
set."(740) specified. block.
Warning messages
Warning Message Cause Remedy
"An even number is recommended for An odd device number has been Specify an even device number for the
device No. because the 2nd operand for specified for the second operand for second operand for ADRSET.
ADRSET consumes two words." (900) ADRSET.
"The 1st operand of ADRSET instruction is used A local device set to automatic Specify devices other than local devices
to set automatic assignment of local device. Shall assignment has been used as the first set to automatic assignment as the first
confirm assignment range of local device." (932) operand of an ADRSET instruction. operand of ADRSET instructions.
"Specify the CH beginning address when you The bit device excluding the CH beginning Specify the CH beginning (R000, R100,
specify the bit device to the argument device of (R002, R106, R1012, etc.) is specified in the R1000, etc.) bit device to the argument
the unit-specific instruction." (380) argument device of the unit-specific instruction. device of the unit-specific instruction.
"Relay No. which does not provide sufficient An HSP instruction has been written so When using the KV-N60**, do not use
response speed for HSP instruction is set." that its first operand is an input relay that the HSP instruction with R108 to R203.
(418) is not a high-speed input relay (a relay
from R108 to R203 has been specified).
(This only occurs on the KV-N60**.)
"A relay in the range for which direct input/ The following causes are likely. Do not use RFSX or RFSY for relays that
output is impossible is specified in the first • The relay for the first operand has not do not support direct refresh
operand for the RFSX/RFSY instruction." been assigned to the unit. instructions.
(404) • The relay for the first operand has
been assigned to the unit of a KV bus
version 1 slave.
• The relay specified for the first operand
does not support direct I/O even when
a KV bus version 2 slave is used.
"Relay No. which cannot be used for HSP An HSP instruction has been written so Specify a relay number that can be used
instruction for the current model." (421) that the first operand is a relay number with the HSP instruction.
that does not work with the current model.
"Cannot be used for the current model." One of the following instructions that Disable or delete the instruction that
(422) cannot be used with the current model cannot be used.
has been written in the program.
• MWRIT, MREAD, MFREE, MMKDIR,
MRMDIR, MDEL, MPRINT, MREADL,
MCOPY, MMOV, MREN, MFREEK, or MSTAT.
• AWNUM or AWMSG.
"Cannot be used for the current model." One of the following instructions that cannot Disable or delete the instruction that
(422) be used with the current model (KV-N14**) cannot be used.
has been written in the program.
• WTIME or AJST
• LDWK, ANDWK, or ORWK
• LDWKB, ANDWKB, or ORWKB
• LDCAL, ANDCAL, or ORCAL
• LDCALB, ANDCALB, or ORCALB
"The expansion unit specified with the unit The first argument of a UREAD, UWRIT, Specify the numbers of existing units as
No. does not exist." (405) or UFILL instruction is a direct value and the first argument of UREAD, UWRIT,
the unit corresponding to the set number and UFILL instructions.
APPENDICES
The following error messages are displayed at the start of monitoring or during communication.
APPENDICES
The following error messages are displayed when an error occurs on the CPU unit or base unit.
KV-7500/7300
This section describes the errors that occur on the KV-7500/7300.
You can use the following items to check for errors.
• Access Window
• KV STUDIO's error monitor
• CR/CM
Whether an error is a serious error or a minor error is determined by the error's group.
Serious errors...... Scan time over errors, system errors, and setting errors
Minor errors......... Time errors, calculation errors, unit errors, memory card operation errors,
memory card access errors and other errors.
宏嵌套超限
ラダースタックエラー Turn the power on again.
29 System error Ladder Stack Error A system error has occurred. Contact your KEYENCE
representative.
梯形图堆栈错误
Modify the ladder program,
checking to see if the scan time has
スキャンタイム been exceeded because there are:
オーバー • Repeatedly executed
instructions such as FOR to
NEXT instructions.
• Instructions that cause
Scan Time Over The scan time has met or processing to jump such as CJ
30 Scan time over exceeded the set time. or NCJ to LABEL.
• Instructions that call programs
such as CALL and MCALL.
• Instructions with long processing
times such as FMOV, WSR, and
扫描超时 MAX.
• Interrupt programs that are
executed frequently.
ラダースタック
オーバーフロー Turn the power on again.
If this error occurs frequently,
31 System error Ladder Stack A system error has occurred.
contact your KEYENCE
Overflow representative.
梯形图堆栈溢出
A-22 - KV STUDIO Ver.9 User’s Manual -
1 Lists of Error Messages
エンドユニット未接続
No End Unit Turn the power off and then connect
57 Setting error No end unit is connected.
an end unit.
结束单元未连接
ユニットバージョン The function that cannot be used Turn the power off, and then
エラー in the connected extension unit
connect all the expansion units that
59 Setting error Unit Version version has been set. Or the
extension unit that cannot connect have been configured in the Unit
to CPU unit is connected. Editor.
单元版本错误
電源再投入が必要
Power Restoring Or update the system version in
63 Setting error the case of the unit corresponding Turn the power on again.
Needed to system upgrade.
需要重新接通电源
FLASH ROM異常
Flash ROM Failure Contact your KEYENCE
80 System error The flash ROM is abnormal.
representative.
闪存异常
電池電圧の低下
Battery Voltage The voltage of KV-B1 has
83 Time error dropped. Replace the KV-B1.
Degradation
电池电压降低
エラーバッファ
オーバーフロー The number of system errors that
125 Other error have occurred exceeds the limit. Clear the errors.
ErrorBuffer Overflow
错误缓存溢出
KV-5500/5000/3000/1000/700
KV Nano Series
This section describes the causes of and remedies for the errors numbers and messages that are
displayed when an error occurs on the KV Nano Series PLC.
You can also use KV STUDIO's error monitor to check these errors.
You can use the following items to check for errors.
• ERROR LED (serious error or minor error)*
• POWER LED (lights in orange when an excessive current consumption error occurs)*
• Extension access window cassette
• KV STUDIO's error monitor
* You cannot check the numbers.
* Whether an error is a serious error or a minor error is determined by the error's group.
Serious errorsScan time over errors, system erros, and setting errors
Minor errorsTime errors, calculation errors, unit errors, and other errors
Number Group Message Cause Remedy
CALLネスト Errors that occur during ladder
execution will not occur during KV
The subroutine nesting limit has STUDIO conversion. Modify the
10 Setting error
CALL Nest been exceeded. ladder program, paying close
attention to the proper usage of
subroutines.
FORネスト Errors that occur during ladder
execution will not occur during KV
The nesting limit of FOR to NEXT STUDIO conversion. Modify the
11 Setting error
FOR Nest instructions has been exceeded. ladder program, paying close
attention to the proper usage of the
FOR and NEXT instructions.
コンバート If you use KV STUDIO to convert a
project read from the PLC, you can
check the cause of the conversion
15 Setting error The conversion operation failed.
Convert failure. After you eliminate the
cause of the failure, transfer the
ladder program to the PLC.
マクロネスト The number of macros nested in Reduce the number of macro
22 Setting error multiple interrupts has exceeded instructions in the interrupt
MACRO Nest the limit. program.
スキャンタイム Modify the ladder program,
オーバー checking to see if the scan time has
been exceeded because there are:
• Repeatedly executed
instructions such as FOR to
NEXT instructions.
• Instructions that cause
The scan time has met or processing to jump such as CJ
30 Scan time over
exceeded the set time. or NCJ to LABEL.
Scan Time Over • Instructions that call programs APPENDICES
such as CALL and MCALL.
• Instructions with long processing
times such as FMOV, WSR, and
MAX.
• Interrupt programs that are
executed frequently.
ラダーナシ Transfer ladder programs to the
40 Setting error There is no program.
No Ladder Program PLC before starting operation.
ユニットチェックサ
The expansion unit settings are Transfer the unit setting information
50 Setting error ム
corrupt. to the PLC.
Unit Checksum
ユニットセッテイ
ジョウホウ The unit setting information has Transfer the unit setting information
51 Setting error
Unit Setting not been configured. to the PLC.
Information
ユニットミセツゾク Expansion units that should be
Turn the power off, and then
present according to the unit
52 Setting error connect all the expansion units that
No Unit Connected setting information are not actually
have been set in the Unit Editor.
connected.
The following error messages are displayed when errors occur during the operation of the Unit Editor.
Excluding serious errors, explanations are omitted for errors that do not require an explanation.
Detailed explanations are displayed in the message area. Follow the instructions of these descriptions
to remedy the error.
Operation messages
The following messages are displayed when an error occurs while you are setting units.
Printing-related errors
The following errors occur when an attempt is made to execute printing.
If these messages are displayed, install the latest printer driver, and then execute printing again. If this
APPENDICES
Error Message
"As this printer does not support clipping, it might not print out correctly."
"As this printer cannot plot rectangles, it can not print correctly."
"As this printer cannot plot lines, it can not print correctly."
When KV-700/700+M, KV-P16, KV-10 (16), or KV-24 (40) is selected for the PLC model
Characters that cannot be used
When KV-700/700+M, KV-P16, KV-10 (16), or KV-24 (40) is selected for the PLC model
Characters that cannot be used APPENDICES
* Some of these characters and this character string can be used when "KV-1000," "KV-700/700+M," "KV-10
(16)," "KV-24 (40)," or "KV-P16" is selected for the PLC model
File
Import Ctrl + I
Close Alt + F4
Edit
Cut Ctrl + X
Copy Ctrl + C
Paste Ctrl + V
Delete Delete
Unit comments Ctrl + Shift + U
Block comment Ctrl + Shift + B
System comments Ctrl + Shift + S
Unit preset Ctrl + R
Batch input relay No. Ctrl + A
Convert
Jump to error rung F4
Auto-assign relay/DM F5
Device check F6
Setup slave
Setup slave Ctrl + N
Import slave information Ctrl + K
Copy KL unit information Ctrl + Alt + C
Paste KL unit
Ctrl + Alt + V
information
KL address setting Ctrl + E APPENDICES
View
Display unit setting
Unit Monitor Ctrl + Alt + U
Built-in Function Monitor Ctrl + Alt + M
Buffer memory monitor Ctrl + Alt + R
Window
Unit configuration area Alt + U
Select unit Alt + 1
Setup unit Alt + 2
Refresh setting Alt + 3
Message area Alt + 4
Help
How to use Unit Editor F1
Shortcut keys that are valid on the Unit Editor slave setup screen
File
Import slave information Ctrl + K
Close Alt + F4
Edit
Cut Ctrl + X
Copy Ctrl + C
Paste Ctrl + V
Delete Delete
Input unit/slave
Ctrl + Shift + U
comment
Reserve unit slave Ctrl + R
File Monitor/Simulator
New project Ctrl + N PLC monitor Ctrl + F1
Open project Ctrl + O Read from PLC Ctrl + F5
APPENDICES
View
Workspace Alt + 1
Output window Alt + 2
File Edit
New project Ctrl + N Undo Ctrl + Z
Open project Ctrl + O Redo Ctrl + Y
Save project Ctrl + S Cut Ctrl + X
Print Ctrl + P Copy Ctrl + C
Paste Ctrl + V
Multi paste Ctrl + Shift + V
Search Ctrl + F
Replace operand Ctrl + H
Delete horiz.
Shift F9 ( )
connection line
Monitor/Simulator
Return to Editor Ctrl + F1
Start Monitor F4
Display/hide watch
Alt + 3
Next changed block window
Ctrl + Alt +
Contact/Coil F12 Debugging
New cross reference (Space) Execute 1 scan F9
Cross reference, Previous Shift + F3 Execute continuous steps Shift + F8
Cross reference, Next F3 Execute 1 step F8
Cross reference, Execute reverse
Ctrl + L Shift +
Create rung cmnts list continuous steps
F7
Switching contact Execute reverse 1 step F7
/
between ON and OFF
Pause F6
View
Help
Workspace Alt + 1
Instruction help F1
Output window Alt + 2
Instruction Reference
Zoom in on ladder display Ctrl + PageUp Ctrl + 1
Manual
Zoom out from ladder display Ctrl + PageDown
View Monitor/Simulator
Workspace Alt + 1 Return to Editor Ctrl + F1
Output window Alt + 2 Ctrl + Shift +
Monitor mode
F3
Instruction/Macro/Pack Shift + Ctrl + P
Pallet ( )* Online edit transfer F11
Comment editing window Ctrl + F7 Simulator Ctrl + F2
Device use list Ctrl + E Display/hide watch
Alt + 3
window
Zoom in Ctrl + PageUp
Zoom out Ctrl + PageDown
Help
Alt + wheel button
Zoom in and zoom out
Ctrl + wheel button Instruction help F1
Display label Ctrl + Backspace Instruction Reference
Manual Ctrl + 1
Display cmnts Ctrl + (Space)
Display unit device Shift + (Space)
* This is only valid when there is no instruction in
the selected cell.
Setup
connection line (right)
Disabling
Draw and erase Ctrl + Shift + W
connection line (left) Alt + Rungs Cancel
Switch to
Draw and erase
connection line (down) Alt + display/hide all
workspace Alt + 0
Draw and erase windows
connection line (up) Alt +
Switch to
Horizontal display/hide all Alt + 1
connection rung to Ctrl + Alt + output windows
end of line (-)
Switch to display/
hide Search1 Alt + 2
result windows
Device use list Ctrl + Shift + E
Insert area script Ctrl + Shift + R
Insert box script Ctrl + B
Convert selected
script Ctrl + Shift + T
Display/hide
converted Ctrl + Shift + G
ladder
Execute
Shift + F8
continuous steps
Execute 1 step F8
Execute reverse
continuous Shift + F7
steps
Execute reverse
F7
1 step
Pause Shift + F6
APPENDICES
Ctrl + / (slash)
Ctrl + / (slash)
Ctrl + / (slash)
APPENDICES
/ (slash)
• Suffix
/ (slash)
/ (slash) / (slash)
/ (slash)
/ (slash)
/ (slash)
If you press this key when a cell with no instruction is selected, an NC contact
will be entered.
/ (slash)
APPENDICES
*1 You can enter timer and counter instructions even if you do not include the space between the instruction
and the device number.
*2 Enter "-" directly in the "Ladder edit" window to enter a horizontal connection line.
Enter "-" in the "Direct input" dialog box ( Esc ) to enter the SUB instruction.
*3 Enter "/" directly in the "Ladder edit" window to enter the LDB instruction.
Enter "/" in the "Direct input" dialog box ( Esc ) to enter the DIV instruction.
*4 Enter "-" directly in the "Ladder edit" window to enter a horizontal connection line. APPENDICES
Enter "-" in the "Direct input" dialog box ( Esc ) to enter the CAL- instruction.
*5 Enter "/" directly in the "Ladder edit" window to enter the LDB instruction.
Enter "/" in the "Direct input" dialog box ( Esc ) to enter the CAL/ instruction.
The settings vary according to the PC you are using. For details on how to
Point
configure settings, see the manual of the PC you are using, or contact the
manufacturer of your PC directly.
laptop.
KV STUDIO is software that is used to transfer settings and programs to the KV Series. KV STUDIO is
also used to monitor the KV Series.
Follow the procedure below to control the KV Series.
The following sections describe the procedures to follow to use a KV-3000 to transfer programs and
monitor operations.
A-54 - KV STUDIO Ver.9 User’s Manual -
5 Operation Procedures (KV-7000/5000/3000 Series)
This section describes the procedure to follow to start KV STUDIO Ver.9 and create a new project (the
settings used by the PLC and the ladder program).
The KV-3000 is used in the procedure.
1 Start KV STUDIO.
Click the Start menu "All Programs" "KEYENCE KV STUDIO Ver.9□" "KV STUDIO."
3 Enter the project name, and then select the PLC model.
Select "KV-3000" for the PLC model, and then click "OK."
APPENDICES
Set the CPU and the parameters of the expansion unit to be used.
Reference • If you are using the KV Nano Series, the "Unit Editor startup confirmation" dialog box
is not displayed when a new project is created. Moreover, the unit configuration is
recognized automatically, so you do not have to set units if you are only using I/O
units.
• If you are using the KV-10/16/24/40, the "Confirm unit setting information" dialog box
and the Unit Editor are not displayed.
Reference • If you are using the KV-7500/5500/5000, you have to set the leading devices
occupied by the KV-7500/5500/5000 CPU unit in addition to the leading devices
assigned to the expansion unit.
• With the KV-5000/3000, the CPU unit (base unit) occupies R000 to R915. The range
between R000 and R915, including the area that is not assigned to actual I/O, is
reserved by the system, so do not use this range as internal auxiliary relays.
Area occupied for I/O on the CPU unit (base unit)
KV-5500/5000/3000/1000:R000 to R015 for input, R500 to R507 for output
KV-700:R000 to R009 for input, R500 to R503 for output
KV-10/16/24/40:R000 to R107 for input, R500 to R515 for output*
* This varies depending on the unit. For details, see the user's manual of each unit.
• When the "Assign devices automatically during unit configuration." checkbox is
selected in the option settings of the Unit Editor, you can assign the leading DM
number and leading relay number without assigning devices automatically.
• Click the "View (V)" menu "Display unit with box (D)" to display the assigned relays
grouped by functions (input, output, and other special units).
APPENDICES
Input area
Output area
Occupied area (mixture of the input and output areas)
Reference If you configure the Unit Editor settings and create a ladder program, and then open the
Unit Editor at a later time and change the assignments, the devices used in the ladder
program will be converted automatically.
APPENDICES
Devices are
converted
automatically.
This section describes the procedure follow to create the following program.
• When the program execution starts, a set value (10000) is stored in DM0.
• When the sensor signal (R0) turns ON, the A/D conversion data of channel 0 is transferred to DM1.
• When the value in DM1 is larger than the value in DM0, R500 generates output (ON) for one second.
• The value of DM1 is rounded to the nearest tens digit, and the result is stored in DM2.
APPENDICES
Reference • Although you can use the program without registering device comments, registered
comments are useful during ladder diagram entry because they show a sample
comment describing the role of the assigned device.
• You can check the registered device comments by selecting a unit from "Select unit".
3-1 When the program execution starts, a set value (10000) is stored in DM0.
i) In the editor, type "A". Instruction candidates are displayed. Select the load instruction.
ii) Enter a space to display the candidate devices that can be entered.
Select "One scan ON when operation starts" (CR2008).
APPENDICES
3-2 When the sensor signal (R0) turns ON, the A/D conversion data of channel 0 is transferred
to DM1.
i) Type "P0".
Rising edge contact R0 is added.
Reference You can also type "transfer" to display MOV as an instruction candidate.
APPENDICES
Reference When you type "MOV DM10000 DM0". the word device is used as 16-bit
unsigned data.
If you want to use the word device as signed data, 32-bit data, or floating
point data, change the suffix. You can change the suffix by placing the cursor
on the instruction and pressing / .
3-3 When the value in DM1 is larger than the value in DM0, R500 generates output (ON) for
one second.
i) Type "P0".
Reference When you place the cursor on an instruction and press F1 , the instruction
help is displayed. This allows you to easily and quickly learn how to use the
instruction.
3-4 The value of DM1 is rounded to the nearest tens digit, and the result is stored in DM2.
i) Type "P0".
Reference When you place the cursor on a function and press F1 , the script function
help is displayed. This allows you to easily and quickly learn how to use the
function.
5 Enter
Reference You can also change the device number by selecting the instruction and
pressing Ctrl + Shift + or Ctrl + Shift + .
/ (slash)
/ (slash)
/ (slash)
iv) When an incorrect edge (rising or falling) was entered for a differential instruction
Select the instruction that you want to change, and then press Ctrl + / to change
between rising and falling edges.
Ctrl + /
Use a USB cable to transfer the program that you have created.
Reference When you are using Windows XP, you have to install the USB driver the first time that
you use a USB cable to communicate with the PLC. "Safety Precautions" (page 1-
10)
Reference To select a communication route other than USB, click the "Monitor/Simulator (N)" menu
"Setup communication (T)" "Setup communication (C)" to display the "Comm
settings" dialog box. Select the communication route in this dialog box.
APPENDICES
Reference • The program can be transferred in RUN mode under some conditions, such as when
the unit configuration has not been changed.
• You can also transfer the project by using the mode bar to switch the mode.
APPENDICES
CAUTION When the mode is switched to RUN mode, the PLC starts operating.
APPENDICES
6. Monitor Function
Reference You can use the batch monitor, register monitor, and watch window to easily monitor the
status of devices.
The register monitor displays only the devices that you have
registered for monitoring.
Reference You can also use the tooltip monitor to monitor device values.
Double-
click
APPENDICES
i) Click the "Monitor/Simulator (N)" menu "Display/hide watch window (N)" to display the watch
window.
ii) When you select a ladder rung, the devices used in the selected rung are displayed in the watch
window.
iii) When you enter a value in the watch window, the value is applied to the ladder.
In the following situations, you may not be able to change the current value of the
Point
device.
• When the device has been assigned to an input relay of the unit.
• When the device is one that is controlled by the CPU unit, such as a CR or CM
device.
• When a value has been written into the device by an instruction in the ladder.
The real-time chart monitor can only be used with the KV-7000/5000/3000 Series
Point
and KV Nano Series.
Reference You can start the real-time chart monitor as a standalone application even when you
have not started KV STUDIO.
APPENDICES
You can change the display format to display values as signed data.
- KV STUDIO Ver.9 User’s Manual - A-69
5 Operation Procedures (KV-7000/5000/3000 Series)
7. Debug Function
This section describes the procedure to follow to perform debugging when the result of monitoring
was not the operation that you had intended.
i) From the error monitor window, jump to the rung where the error occurred.
A divide by
zero operation
was executed. APPENDICES
ii) Place the cursor on the problematic operand, and then press Spacebar.
The rung where the device in question is being used is displayed in the output window.
Reference You can use the search function to find all the devices you want to locate at one time by
specifying the search width.
Alternative procedure • Use the mode bar to change to online edit mode.
• Press F10.
3 Transfer the data that you have edited in online edit mode.
Click the "Monitor/Simulator (N)" menu "Transfer Online Edit (F)" to transfer the data that you have
edited in online edit mode.
APPENDICES
When the transfer is complete, the block is displayed in its original color.
8. Project Management
This section describes how to manage projects that you have created.
Applying read protection and write protection to the project on the PLC
Use the protection settings in the CPU system settings to apply read protection and write protection.
Write: When an attempt is made to transfer a project, this function displays a confirmation
message to prevent accidental writing.
Read: This function prohibits the reading of a project.
Project password: When read protection has not been set to ON, this function requires password
authentication to read a project.
Reference When you are using the KV-7000 Series or KV Nano Series, you can set password
protection not only on each project, but on each program as well.
Click the "File (F)" menu "Memory card (M)" "Write (W)" to save the project as memory card data.
KV STUDIO is software that is used to transfer settings and programs to the KV Series. KV STUDIO is
also used to monitor the KV Series.
Follow the procedure below to control the KV Series.
APPENDICES
5. Monitor the project.
Using monitor mode and the real-time
chart monitor
The following sections describe the procedures to follow to use a KV-N24DT to transfer programs and
monitor operations.
- KV STUDIO Ver.9 User’s Manual - A-75
6 Operation Procedures (KV Nano Series)
This section describes the procedure to follow to start KV STUDIO Ver.9 and create a new project (the
settings used by the PLC and the ladder program).
The KV-N24** is used in the procedure.
1 Start KV STUDIO.
Click the Start menu "All Programs" "KEYENCE KV STUDIO Ver.9□" "KV STUDIO."
3 Enter the project name, and then select the PLC model.
Select "KV-N24" for the PLC model, and then click "OK."
APPENDICES
When only the base unit and expansion I/O unit of the KV Nano Series are used, relay numbers are
assigned automatically.
Assuming that the base unit is unit number 0, the leading occupied relay is determined by calculating
the unit number counted from the base unit × 1000. The input relays are assigned starting from the
leading relay number + 000 and the output relays are assigned starting from the leading relay number
+ 500.
Therefore, in the example below, the relays are assigned starting from R1000 for the input unit (1),
from R2500 for the output unit (2), and from R3000 for the input relays and R3500 for the output relays
of the I/O unit (3).
Model
Input relays
Output relays
Special relays
Reference To use units other than I/O units, such as expansion units or terminal block unit function
APPENDICES
extension cassettes, you have to use the Unit Editor to assign the I/O area.
This section describes the procedure follow to create the following program.
• When the program execution starts, a set value (100) is stored in DM0.
• When the program execution starts, 0 is stored in the count value (DM1).
• When the sensor signal (R0) turns ON, DM1 is incremented.
• When the value in DM1 becomes equal to the value in DM0, 0 is stored in DM1 and R500 generates
output (ON) for one second.
1-1 When the program execution starts, the set value (100) is stored in DM0 and 0 is stored in
the count value (DM1).
i) In the editor, type "A". Instruction candidates are displayed. Select the load instruction.
ii) Enter a space to display the candidate devices that can be entered.
Select "1 scan ON at start" (CR2008).
Register "Set value" in the device comment for DM0, and "Count value" in the device
comment for DM1.
Although you can use the program without registering device comments,
Reference
registered comments are useful during ladder diagram entry.
1-2 When the sensor signal (R0) turns ON, DM1 is incremented.
i) Type "P0".
Rising edge contact R0 is added.
Reference You can also type "increment" to display INC as an instruction candidate.
iii) Type "Count value" to indicate that this is a device to increment (to add one to).
Select DM1 (Count value) from the displayed candidate devices.
1-3 When the value in DM1 becomes equal to the value in DM0, 0 is stored in DM1 and R500
generates output (ON) for one second.
i) Type "P0".
APPENDICES
Reference • When you place the cursor on an instruction and press F1 , the instruction
help is displayed. This allows you to easily and quickly learn how to use the
instruction.
• You can use the script function to easily write programs to calculate the set
value or count value.
"Chapter 12 SCRIPT"
5 Enter
APPENDICES
Reference You can also change the device number by selecting the instruction and
pressing Ctrl + Shift + or Ctrl + Shift + .
/ (slash)
/ (slash) / (slash)
/ (slash)
/ (slash)
/ (slash)
iv) When an incorrect edge (rising or falling) was entered for a differential instruction
Select the instruction that you want to change, and then press Ctrl + / to change
between rising and falling edges.
Ctrl + /
APPENDICES
Use a USB cable to transfer the program that you have created.
Reference When you are using Windows XP, you have to install the USB driver the first time that
you use a USB cable to communicate with the PLC. "Safety Precautions" (page 1-
10)
Reference To select a communication route other than USB, click the "Monitor/Simulator (N)" menu
"Setup communication (T)" "Setup communication (C)" to display the "Comm
settings" dialog box. Select the communication route in this dialog box.
Reference • The program can be transferred in RUN mode under some conditions, such as when
the unit configuration has not been changed.
• You can also transfer the project by using the mode bar to switch the mode.
CAUTION When the mode is switched to RUN mode, the PLC starts operating.
APPENDICES
6. Monitor Function
Reference You can use the batch monitor, register monitor, and watch window to easily monitor the
status of devices.
The register monitor displays only the devices that you have
registered for monitoring.
Reference You can also use the tooltip monitor to monitor device values.
Double-
click
APPENDICES
i) Click the "Monitor/Simulator (N)" menu "Display/hide watch window (N)" to display the watch
window.
ii) When you select a ladder rung, the devices used in the selected rung are displayed in the watch
window.
iii) When you enter a value in the watch window, the value is applied to the ladder.
In the following situations, you may not be able to change the current value of the
Point
device.
• When the device has been assigned to an input relay of the unit.
• When the device is one that is controlled by the CPU unit, such as a CR or CM
device.
• When a value has been written into the device by an instruction in the ladder.
The real-time chart monitor can only be used with the KV-7000/5000/3000 Series
Point
and KV Nano Series.
Reference You can start the real-time chart monitor as a standalone application even when you
have not started KV STUDIO.
APPENDICES
You can change the display format to display values as signed data.
APPENDICES
7. Debug Function
This section describes the procedure to follow to perform debugging when the result of monitoring
was not the operation that you had intended.
i) From the error monitor window, jump to the rung where the error occurred.
A divide by
zero operation
was executed.
APPENDICES
ii) Place the cursor on the problematic operand, and then press Spacebar.
The rung where the device in question is being used is displayed in the output window.
Reference You can use the search function to find all the devices you want to locate at one time by
specifying the search width.
Alternative procedure • Use the mode bar to change to online edit mode.
• Press F10.
3 Transfer the data that you have edited in online edit mode.
Click the "Monitor/Simulator (N)" menu "Transfer Online Edit (F)" to transfer the data that you have
edited in online edit mode.
APPENDICES
Alternative procedure Press F11.
When the transfer is complete, the block is displayed in its original color.
8. Project Management
This section describes how to manage projects that you have created.
Applying read protection and write protection to the project on the PLC
Use the protection settings in the CPU system settings to apply read protection and write protection.
Write (protection): When an attempt is made to transfer a project, this function displays a confirmation
message to prevent accidental writing.
Read (protection): This function prohibits the reading of a project.
Project password: When read protection has not been set to ON, this function requires password
authentication to read a project.
Reference When you are using the KV-7000 Series or KV Nano Series, you can set password
protection not only on each project, but on each program as well.
MEMO
APPENDICES
Clearing the Background Color of Changed Creating New Projects ........................................... 4-2
Cells ..............................................................6-39 Cross References ................................................ 5-16
Closing Projects ......................................................4-3 Making a cross reference ................................ 5-16
Combination search ..............................................9-72 Making a list of rung comments ...................... 5-16
Communication positioning parameter setting ....11-13 Selecting the next cross reference .................. 5-16
Communication Settings .........................................9-5 Selecting the previous cross reference ........... 5-16
Ethernet connection ...........................................9-9 Customize .......................................................... 11-32
Modem communication ....................................9-15 Changing keys in batches ............................. 11-33
Modem initialization .........................................9-16 Shortcut keys ................................................ 11-32
Performing communication in modem mode ...9-19 Toolbar .......................................................... 11-33
Property settings ..............................................9-14 Cut, Copy, and Paste ............................................. 5-2
Routing settings ...............................................9-20 Copy .................................................................. 5-4
Searching for connection destinations ... 9-10, 9-14 Cut ..................................................................... 5-4
Searching for free IP addresses ......................9-11 Paste ................................................................. 5-4
Serial connection ...............................................9-6 Selecting the range ........................................... 5-3
Setting the IP address ......................................9-11
Setting the unit number ......................................9-7
Testing connections .........................................9-12 D
USB connection .................................................9-6
Compressing and Saving Projects ..........................4-4
Configuring comment transfer settings .................9-22 Deleting Instructions ............................................. 5-44
Configuring Rung Settings ....................................5-23 Deleting Rungs ..................................................... 5-22
Auto-adjust .......................................................5-23 Derivation monitor .............................................. 10-11
Height ..............................................................5-23 Device conflicts ...................................................... 8-3
Width ................................................................5-23 Checking for Device Conflicts ........................... 8-3
Connecting to a D-sub 9-pin serial port ..................9-3 Device Replacement .............................................. 5-7
Connecting to a USB port .......................................9-2 Device Search ........................................................ 5-6
Connecting to an Ethernet port ...............................9-2 Device setting for each program .......................... 6-55
Connecting to the Bluetooth unit KV-BT1 ...............9-3 Device Use List .................................................... 6-32
Connection line edit mode ....................................5-29 Disabling Rungs and Canceling
Continuous Step Execution ...................................10-3 the Disabling of Rungs ................................. 5-22
Convert ...................................................................8-2 Display by XYM .................................................. 11-38
Convert NO/NC Contacts ......................................5-10 Displaying and Hiding the Watch Window ........... 9-40
Converting Scripts .................................................12-4 Displaying Comments .......................................... 6-37
Converting All Scripts .......................................12-4 Displaying CPU System Settings ......................... 6-34
Converting Only the Selected Script ................12-4 Displaying Devices for Units ................................ 6-38
Setting the Warning Level of Script Displaying Labels ................................................. 6-36
Conversion Errors .........................................12-4 Displaying Labels and Devices ............................ 6-36
Converting Unit Device ...........................................7-9 Displaying Ladder Monitor Values in
Correct device value window ................................9-47 Hexadecimal ................................................. 6-39
CPU High-Speed Counter Setting Wizard ..........11-11 Displaying Local Assignment Destinations
CPU Positioning Parameter Settings ..................11-10 During Monitoring ......................................... 6-39
CPU System Setting Dialog Box ...........................6-41 Displaying Script Function Candidates ................ 12-8 Index
CPU System Settings Displaying the Device Comment Edit Window ..... 6-20
CPU unit buffer capacity setting .......................6-56 Registering device comments ......................... 6-24
Device settings per module or macro ..............6-55 Replacing character strings ............................. 6-25
Fixed period execution and user interrupt Right-click menu for the comment editing
settings (KV-5000/3000 Series) ....................6-44 area .............................................................. 6-25
Fixed period execution and user interrupt Search option settings ..................................... 6-21
settings (KV-7000 Series) .............................6-42 Translating character strings ........................... 6-22
Module execution sequence settings ...............6-41 Displaying the Label Edit Window ........................ 6-26
Overall local device assignment settings .........6-51 Replacing character strings ............................. 6-31
Power off holding settings ................................6-57 Right-click menu for the label edit window ...... 6-30
Program Settings .............................................6-41 Searching for character strings ....................... 6-31
Protection settings ...........................................6-49 When the PLC model is the KV-1000/700/
Scan time related settings ................................6-48 700+M/P16/10/16/24/40 ............................... 6-29
Setting actions when errors occur ....................6-60 When the PLC model is the KV-7500/7300/
Setting the upper limits of the digital 5500/5000/3000 or KV Nano Series ............. 6-26
trimmers ........................................................6-62 Displaying the Use Statuses ................................ 6-33
System Settings ...............................................6-51 Docking navigator ................................................ 1-23
User interrupt settings (KV Nano Series) .........6-46
CPU unit buffer capacity setting ............................6-56
N O
Names and Functions of Parts of the Monitor Online edit Editing Search .................................... 5-15
Screen ...........................................................9-45 Online Edit Function ........................................... 9-106
Names and Functions of Parts of the Real-Time Precautions When Using the Online Edit
Chart Monitor .................................................9-59 Function ...................................................... 9-106
Changing the display mode (when the target Online Edit Settings ............................................ 9-109
PLC is the KV-7000 Series only) ...................9-65 Online Editing ....................................................... 9-35
Deleting devices ...............................................9-61 Opening Projects .................................................... 4-3
"Device list" tab ................................................9-60 Operating Environment and System
Displaying device comments ...........................9-62 Configuration .................................................. 1-3
How to register and edit devices ......................9-60 Operation Procedures
Incremental registration of devices ..................9-62 KV Nano Series ............................................... A-73
List of devices and trigger setting area ............9-60 KV-7000/5000/3000 Series ............................. A-54
Setting the trigger type .....................................9-64 Options ............................................................... 11-34
Switching operation mode (when the target Display mode settings ................................... 11-38
PLC is the KV-7000 Series only) ...................9-64 Edit and key settings ..................................... 11-39
Time chart display area ....................................9-66 Online edit settings ........................................ 11-35
"Trigger setting" tab .........................................9-63 Script settings ................................................ 11-37
Trigger type "NORMAL" ...................................9-64 Setting the ladder diagram colors ................. 11-34
Trigger type "SINGLE" .....................................9-64 Setting the unit colors .................................... 11-35
XY display area ................................................9-67 System settings ............................................. 11-36
Names and Functions of Parts of the Simulator Output Disabling ................................................. 10-15
Screen .........................................................9-115 Output Window ..................................................... 6-16
Names and Functions of Parts of the Slave Outputting CSV/TXT Files (Cross Reference
Setup Screen .................................................3-34 Information) .................................................. 4-18
Automatically Assigning Addresses of Outputting CSV/TXT Files (Unit Specifications) ... 4-18
Configured Slaves .........................................3-38 Outputting VT Ladder Monitor Files ..................... 4-13
Checking the System’s Address Overall Local Device Assignment Settings ............ 8-6
Assignments ..................................................3-39 Overall local device assignment settings ............. 6-51
Configuring Slaves ...........................................3-37 For the KV-1000 .............................................. 6-54
Copying and Moving Configured Slaves ..........3-38 For the KV-7500/7300/5500/5000/3000 or
Deleting a Configured Slave ............................3-37 KV Nano Series ............................................ 6-51
Displaying Help ................................................3-41
Displaying the Slave Setup Screen ..................3-36
Entering Comments .........................................3-40 P
Exiting the Slave Setup Screen .......................3-36
Importing Slave Information .............................3-39
Jumping to the Error Rung ...............................3-40 Panel Editor ........................................................ 11-16
Manually Assigning Addresses of Pause ................................................................... 10-6
Configured Slaves .........................................3-38 Performance Monitor .......................................... 10-18
Index
Moving a slave together with its address PLC Transfer ........................................................ 9-30
setting ............................................................3-38 PLC Transfer Monitor Mode ............................. 9-24
Reserving Units and Slaves and Canceling "Ethernet/serial function setting information"
Unit and Slave Reservations .........................3-40 transfer item .................................................. 9-27
Select unit tab ..................................................3-35 "File register setting" transfer item .................. 9-27
Setup address tab ............................................3-36 "Global device comments" transfer item ......... 9-25
Setup unit tab ...................................................3-35 "Logging/trace setting info" transfer item ........ 9-26
Slave configuration area ..................................3-34 "Positioning unit parameter" transfer item ....... 9-28
Switching the Cursor Position ..........................3-37 "Program" transfer item ................................... 9-26
Names and Functions of Parts of the Unit When the CPU unit is the KV-1000/700/
Editor .............................................................3-10 700+M/P16/10/16/24/40 ............................... 9-28
Message area ..................................................3-14 When the CPU unit is the KV-7500/7300/
Refresh setting tab ...........................................3-13 5500/5000/3000 or KV Nano Series ............. 9-24
Refreshing tab for inter-unit synchronization ...3-14 Positioning unit simple setting ............................ 11-14
Select unit tab ..................................................3-12 Power off holding settings .................................... 6-57
Setup unit tab ...................................................3-12 Precautions When Using the Simulator Edit
Unit configuration area .....................................3-11 Function ...................................................... 9-118
Preparation before Monitoring ................................ 9-2
Print Preview ........................................................ 4-25
Printer Settings ..................................................... 4-25
Transferring and monitoring programs .............9-44 Starting the Unit Editor .................................... 3-17
Starting and Stopping the Simulator ...................9-114 System comments ........................................... 3-30
Starting Simulator Edit ........................................9-119 Unit comments ................................................ 3-29
Starting the Monitor ...............................................9-34 Unit Editor Overview .............................................. 3-2
Starting the Online Edit Function ........................9-107 Unit Editor Settings ................................................ 3-3
Stopping the Monitor .............................................9-34 Building and setting KL systems from
Switching the Unit Configuration ...........................11-3 the Unit Editor ................................................. 3-4
Create the unit configuration information of
the KV-7500/7300/5500/5000/3000/1000/
T 700/KV Nano Series system ........................... 3-3
Unit function settings ......................................... 3-3
Unit relay and DM assignments ........................ 3-3
Text Search and Replace .....................................5-12 Unit Monitor ................................................. 9-40, 9-94
Toolbar and Status Bar ...........................................6-2 About the Unit Monitor Window ....................... 9-94
Transferring Ladder Programs in Online Edit Mode .9- Displaying the Unit Monitor ............................. 9-94
108 Universal ............................................................ 11-19
Universal Comments Dictionary Edit .................. 11-19
USB connection ..................................................... 9-6
U User interrupt settings (KV Nano Series) ............. 6-46
General interrupt priority settings .................... 6-47
Input capture settings ...................................... 6-47
Undo .......................................................................5-2
Setting the interrupt priority ............................. 6-47
Unit Editor .............................................................11-2
Unit Editor Operations ...........................................3-17
Assigning Inter-unit Synchronization Refresh
DM of Installed Units in Batch .......................3-23
V
Assigning Relay Numbers of Configured
Units in Batches ............................................3-23 Various Functions That Can Be Executed from
Automatically Assigning Relays and DM the Monitor .................................................... 9-43
Entries of Configured Units ...........................3-21 Batch monitor .................................................. 9-43
Block comments ...............................................3-29 Built-in function monitor ................................... 9-43
Changing How Unit Illustrations Are Device vaule batch modify/read ...................... 9-43
Displayed .......................................................3-33 High-speed time chart monitor ........................ 9-44
Checking the System’s Relay and DM Instruction Monitor ........................................... 9-44
Assignments ..................................................3-24 Online edit function ......................................... 9-44
Configuring Units .............................................3-19 Real-time chart monitor ................................... 9-44
Copying and Moving Configured Units ............3-20 Register monitor .............................................. 9-43
Copying KL Unit Information ............................3-32 Unit monitor ..................................................... 9-44
Deleting a Configured Unit ...............................3-20 Watch window ................................................. 9-43
Displaying Help ................................................3-33 Verify/synchronize PLC ........................................ 9-31
Displaying the Buffer Memory Monitor .............3-27 Checking the program memory capacity ......... 9-32
Displaying the Built-In Function Monitor ..........3-26 Deleting unassigned programs ....................... 9-33
Displaying the Detailed Unit Settings ...............3-25 Read unassigned programs ............................ 9-33 Index
Displaying the Slave Setup Screen ..................3-31 Reading modules that have not been
Displaying the Unit Monitor ..............................3-26 assigned in the execution sequence ............ 9-33
Displaying Windows .........................................3-18 Unassigned programs ..................................... 9-33
Entering Comments .........................................3-29 Verifying Data against the PLC ............................ 9-34
Exiting the Unit Editor ......................................3-17 Verifying Projects ................................................... 4-4
Importing Slave Information .............................3-32 VT Simulator Start ................................................ 9-36
Importing Unit Setting Information and Unit
Comments .....................................................3-28
Jumping to the Error Rung ...............................3-31
Manually Assigning Relays and DM Entries
of Configured Units ........................................3-22
Moving a unit together with its assigned relay
and DM entries ..............................................3-21
Pasting KL Unit Information .............................3-33
Reading Unit Configurations from PLCs ..........3-29
Reserving Units and Canceling Unit
Reservations .................................................3-30
Setting Configured Units ..................................3-25
Starting the KL-N20V Setup
(KL Address Setup) Software ........................3-33
Workspace ..............................................................6-3
"Library" tab .....................................................6-13
Application package ....................................6-13
Application package right-click menu .........6-13
How to use application packages ...............6-13
How to use system function block ..............6-13
How to use system macro ..........................6-14
Registering to user function block ...............6-14
Right-click menu of system function
block ......................................................6-13
System function block .................................6-13
System macro .............................................6-14
User function block .....................................6-14
Using user function blocks ..........................6-14
"Monitor" tab ....................................................6-15
Programs ....................................................6-15
Right-click menu of program .......................6-15
"Project" tab .......................................................6-5
CPU system settings ....................................6-7
Device comments .........................................6-6
Device default values ..................................6-10
File register settings ....................................6-11
Function block ...............................................6-9
Labels ...........................................................6-7
Macros ........................................................6-10
Program settings ...........................................6-7
Programs ......................................................6-8
Right-click menu for macros .......................6-10
Right-click menu for unit configuration ..........6-5
Right-click menu of function block ................6-9
Right-click menu of program .........................6-8
Switching the unit configuration ....................6-6
System settings ............................................6-7
Unit configuration ..........................................6-5
Using tabs to switch the display .........................6-3
Index
MEMO
Index
E 1101-3
Copyright (c) 2018 KEYENCE CORPORATION. All rights reserved. 084523GB 1128-1 788GB Printed in Japan