Beruflich Dokumente
Kultur Dokumente
KV STUDIO Ver.5
User's Manual
Please read this Manual before use.
Keep this Manual in a safe place for later reference.
Preface
"KV STUDIO" is an easy-to-use powerful ladder software.
This manual describes how to use KV STUDIO and its functions.
Be sure to carefully read and fully understand This manual before installation. In addition, please keep
This manual in a easy-to-reach place so that you can use it from time to time.
Manual Name
Description
KV-5000/3000 series
User's Manual
KV-5000/3000/1000 Series
Instruction Reference Manual
KV-5000/3000/1000 Series
Script programming manual
KV-5000/3000/1000 Series
System Macro Manual
KV-1000 series
User's Manual
KV-1000 series
Programming Manual
KV-7000 series
User's Manual
KV-7000 series
Instruction Reference Manual
KV series
User's Manual
KV-P series
User's Manual
Safety Precautions
This Manual details how to use KV STUDIO and warnings that you should pay attention to. For proper
use of KV STUDIO, please read this manual carefully and fully understand this manual before you use the
product.
Please keep this manual in a easy-to-reach place so that you can use it from time to time.
Please provide this manual to the end users of KV-1000 Series.
Symbols
To prevent personal hazard and equipment damage, the following types of warning symbol are given in
this manual:
Danger
Indicates that death or severe personal injury will result if proper precautions
are not taken.
Warning
Indicates that death or severe personal injury can result if proper precautions
are not taken.
Caution
Indicates that damage to property can result if proper precautions are not
taken.
Important
Indicates that an undesirable result or status can occur if the relevant notice is
ignored.
Note
Describes cautions for easily mistaken operations.
TIP
Indicates a reference item or page to be referred to in this manual and other manuals.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_001J.fm
General precaution
Verify that the KV Series function correctly when using the KV STUDIO.
Verify that this device functions correctly before the start of work and when operating the device.
Provide a safety circuit that bypasses PLC to enable failsafe operation of the 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.
Proceed with care when modifying the KV-1000/700 Series, or when using it in a manner that falls
outside of the ranges indicated in its specifications, since KEYENCE is unable to guarantee device
functionality or performance in such situations.
Use this product in combination with other devices only after careful consideration, since the product
may fail to satisfy its functionality and performance capabilities as a result of the conditions and
environment in which it is used.
Do not use the product with the purpose of protecting human beings.
Notes
When using this device under the following conditions or operating environments, please consult with
your KEYENCE agents in addition to implementing safety measures such as product operation that
allows redundancy with respect to ratings and functions and use of failsafe provisions.
Use of the product under conditions and environments not described in this manual;
Use of the product in nuclear power control, railroad facilities, aviation facilities, vehicles, combustion
devices, medical equipment, entertainment machinery, safety equipment, etc.;
Use of the product in applications that may have a significant impact on human life or property, or that
place a high priority on safety.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_001J.fm
Terms
1. Rights of Use
KEYENCE CORPORATION shall permit the user the non-exclusive rights to use this software in
accordance with the terms of this agreement.
2. Copyright
Copyright relating to this software and manual shall belong to KEYENCE CORPORATION, and the
user shall not have rights other than the rights of use.
3. Forbidden Items
The user shall not be able to copy this software, nor be able to sell or distribute it to a third party.The
user, however, shall be able to copy this software for the purpose of making backups for the user's
own use.
4. Exemption of Liabilities
KEYENCE CORPORATION shall not be subject to liability with respect to damage on the part of the
user or a third party as a result of having operated this software.
5. Cancellation of Agreement
Should the user have violated any terms of this agreement, KEYENCE CORPORATION shall
immediately be able to cancel this agreement, and the user shall destroy or return this software and
copies to KEYENCE CORPORATION.
Microsoft, Windows, Windows XP are registered trademarks or trademarks of Microsoft Corporation
in the United States or other respective countries.
IBM is the registered trade mark of USA IBM Corporation.
UNLHA32.DLL is the free software provided by Mr. Micco.
Other company names, product names, and model names used in this manual are trademarks or
registered trademarks of their respective companies.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_001J.fm
MEMO
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_001J.fm
2
Chapter3
Chapter4
Chapter5
Chapter6
Chapter7
Chapter8
Chapter9
Chapter10
Chapter11
Chapter12
Chapter
1
2
3
4
5
6
7
8
9
10
11
12
A
BEFORE USING
PROJECT
MANAGEMENT
Describe "Unit editor" configured for the connection unit,
UNIT EDITOR
EDIT
DISPLAY
MODULE/MACRO
CONVERT
MONITOR/
SIMULATOR
DEBUG
TOOL
SCRIPT
APPENDICES
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_001J.fm
Contents
Safety Precautions 1
Software License Agreement 3
How This Manual Is Organized 5
Contents 6
Conventions Used In This Manual16
Terminology 16
About Symbols 16
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSETOC.fm
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSETOC.fm
Auto-save 4-15
Auto-load 4-16
Exit 4-16
Chapter 5 EDIT
5-1 About Edit Functions 5-2
Undo5-2
Redo5-2
Cut/Copy/Paste 5-2
Select a range 5-3
Cut 5-4
"Copy (C)" 5-4
Paste 5-4
Multiple Paste5-4
Search 5-6
Replace 5-7
Instruction Search / Replacement 5-8
Convert NO/NC Contacts 5-10
Search Rung Comments 5-11
Text Search/Replace 5-12
Batch Replace 5-13
Verification 5-14
Jump 5-15
Rung/step No. 5-15
Top/bottom 5-16
Previous/next block 5-16
Previous/next symbol 5-16
Home/end 5-17
Change previous/Next block 5-17
Open modules/macro 5-17
Insert 5-18
Empty rung 5-18
Rung comment 5-18
Folded ladder 5-19
Bookmark 5-22
Empty rung 5-22
Setting 5-23
Remove 5-23
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSETOC.fm
Chapter 6 DISPLAY
6-1 About View Functions 6-2
Toolbar/Status Bar6-2
Workspace 6-3
"Project" tab. 6-5
"Macro" tab 6-10
"Monitor" tab 6-11
10
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSETOC.fm
Chapter 7 MODULE/MACRO
7-1 About Module/Macro 7-2
Create a new module 7-2
Create a new macro7-2
Open Modules/macro 7-3
Close module/macro 7-3
Delete module/macro 7-3
Module/macro properties 7-4
Macro Argument Settings 7-5
Convert Unit Devices7-6
Module execution sequence setting7-6
Chapter 8 CONVERT
8-1 About Conversion Functions 8-2
Conversion 8-2
Converting Individual Modules and Macros 8-3
Test Race Contention of Device 8-3
Clear Invalid Operands 8-4
Duplicate Coil Check 8-5
Local Devices Settings by Module/macro 8-6
Entire Assignments Settings of Local Devices 8-6
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSETOC.fm
11
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSETOC.fm
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSETOC.fm
13
Chapter 10 DEBUG
10-1 About Debugging Functions 10-2
Execute RUN/continuous Scan 10-2
PROGRAM/stop 10-2
Execute 1 Scan 10-3
Execute Continuous Step 10-3
Execute 1 Block 10-4
Execute 1 Step 10-4
Execute Continuous Reverse Step 10-5
Execute Reverse 1 Block 10-5
Execute reverse 1 step 10-6
Pause 10-6
Reset 10-7
Set Device Break 10-7
Device Breaks 10-8
Rung breaks10-10
Chapter 11 TOOL
11-1 About Tool Functions 11-2
Unit Editor 11-2
Switch Unit Configuration 11-2
Logging/tracing Setting 11-3
Set Device Default Value 11-4
Add / change File Register Setting 11-5
Mail Setting 11-6
Mail Communication Instruction Maker 11-6
Edit CPU Positioning Parameter 11-7
CPU High-speed Counter Setting Wizard 11-8
Setup KV-DN20 11-8
Setup KV-CL20 11-8
Protocol Builder 11-8
Motion Builder 11-9
Positioning Unit/simple Settings 11-9
Protocol Studio 11-10
MV Link Studio 11-10
Panel Editor 11-10
KL Connection Setting 11-11
Customize 11-11
Shortcut keys 11-11
Toolbar 11-12
Option 11-13
14
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSETOC.fm
Chapter 12 SCRIPT
12-1 Insert Script 12-2
Insert Field Script 12-2
Insert Box Script 12-2
Switch Edit Method 12-3
APPENDICES
1 Error Message Lists A-2
Errors That Occur on Editor
Errors/Warnings That Occur in Conversion
Errors at Start of Monitoring and Communications Errors
Errors During Ethernet Communications
PLC Unit Errors
Errors That Occur on Unit Editor
A-2
A-3
A-5
A-6
A-7
A-9
A-14
A-14
A-16
A-17
A-18
A-19
A-20
A-21
A-22
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSETOC.fm
15
9-3
Registration Monitor
Registration Monitor is for registering any device, and displaying the current values and time
charts of registered devices. This monitor comes in handy for batch-checking different types of
devices. This section describes how to view and operate Registration Monitor.
Mid-heading
Registering Devices
Sub-heading
Vision(V)
Multiple devices can be registered in register monitor window, and current value and
time curve of the registered device can be displayed or its current value can be changed.
Other steps
Click button.
Chapter title.
Other procedure
Describe the methods to
achieve the same results
using other procedures.
TIP
Note
Display Information
Describe the methods to
achieve the same results
using other procedures.
1
2
Procedures
Note
Describes cautions for easily
mistaken operations.
Be sure to read carefully.
Select the cell containing the device to register in the Ladder Monitor window.
Operation screen
9-42
* This page was made for the purpose of explaining page components, and differs from an actual page.
Terminology
This manual uses the following terminology excluding some instances.
Terminology
"KV-5000"
"KV-3000"
"KV-1000"
"KV-700/700+M"
"KV-10(16)/24(40)"
"KV-P16"
PLC
PC
"KV STUDIO"
Ladder program
Explanation
KV-5000 series PLC products produced by Keyence Corporation.
KV-3000 series PLC products produced by Keyence Corporation.
KV-1000 series PLC products produced by Keyence Corporation.
KV-700 series PLC products produced by Keyence Corporation.
KV-10/16/24/40 series PLC products produced by Keyence Corporation.
KV-P16 series PLC products produced by Keyence Corporation.
This refers to the overall system of a programmable logic controller.Represent overall system.
Stands for personal computer.
KV STUDIO Ladder Support Software.
The program compiled with KV STUDIO Ladder support software.
About Symbols
Menus and buttons in this Manual are described using the following symbols.
Terminology
Explanation
[ ]
""
""
Ctrl
16
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_002J.fm
BEFORE USING
1
BEFORE USING
The chapter describes packaging content confirmation, product function,
computer connection and installation methods and general operating
methods.
1-1
1-2
1-3
1-4
1-5
1-6
1-7
1-8
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_011-2J.fm
1-1
The package contains the following items. Before using, make sure that the package contains
BEFORE USING
Note
1-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_011-2J.fm
Printer
interface.
CD-ROM drive
CPU
Windows XP/2000:
KV series
Memory capacity
Windows XP/2000:
Windows Vista:
Applicable OS
WindowsXP
Windows2000(SP3 or more)
(PLC)
KV STUDIO Ver.5 support the followingPLC.
KV-5000
KV-3000
KV-1000
KV-700/700+M
KV-P16
KV-10/16/24/40
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_011-2J.fm
1
BEFORE USING
1-3
KV STUDIO Function
BEFORE USING
KV STUDIO Features
Unit Editor
This is provided for the KV-5000/3000/1000/700 series.
Used to set up all the units and assign relays/DMs in the KV5000/ 3000/1000/700 series.
Unit structure diagram and settings list can be printed.
Editor
Ladder programs can be compiled by using various ladder
language instructions.
Structured programming can be performed by using module
macros and local devices.
Device comments and label registration can be enable and
tranferred to PLC
The generated ladder programs can be onverted to codes
that can be read by every KV series.
The lists of ladder programs, mnemonics, comment labels, and device use can be displayed and printed.
Simulation
Off-line operation simulating is performed on every KV series.
Ladder debugging is also possible.
Troubleshooting is easy by conducting continuous scanning,
single step scanning, and single step execution.
Reversed one-step operation is also possible.
Monitoring
Contact ON/OFF status can be real time monitored by using
compiled ladders
Time curve can be displayed.
Online edit is possible.
1-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_011-2J.fm
ANY_DERIVED,
ANY_ELEMENTARY,
ANY_MAGNITUDE,
ANY_NUM,
ANY_REAL,
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1-5
BEFORE USING
Due to automatic switching function, ability to read Ladder file generated, programming environment
ARRAY, OF,
BEFORE USING
AT,
CASE, END_CASE,
CONFIGURATION, END_CONFIGURATION,
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 (IEC61131-3 standard)
2 above continuous "_" are not allowed in label forename. "a_b_c" can be used, but, "a_bc" is
forbidden.
It not case-sensitive. "aBc" and "abC" are treated as same label name.
When reading Ladder containing label name inhibit character string, do not read character string
inhibit label, but display after replaced to device name.
*1 It can be used only when the models "KV-700/700+M, KV-10(16), KV-24(40), KV-P16" are selected
Note
1-6
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
Important
Change Model
KV STUDIO Ver.5 can be used to switch over to a model that the ladder supports.
Only the models that are supported by the host model can be switched over.
For detail, see
After replace
Note
R004- R007 used in the operand of other instructions (HSP instruction, etc.) cannot
be automatically replaced.
The control relay set via external input break polarity, will be replaced automatically as follows.
INT0 to INT3
(CR2700 to CR2707)
(CR2600 to CR2607)
Send
Send
: CM1100 to CM1199
: CM04000 to CM04099
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1-7
BEFORE USING
KZ Ladder Program
BEFORE USING
KV STUDIO Ver.5 can read KZ-300 / 350, KZ- A500 ladders. In reading KZ-300/350 (*.ldc) and KZA500 files (*.ldx), the format is converted into KV STUDIO file format (*.kpr).
1-8
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
This section briefly describes how to install KV STUDIO on the PC's hard disk.
BEFORE USING
Note
Precautions in WindowsXP/2000
Access Right
When installing KV STUDIO to standard folder (C:\Program files\ keyence\ KVS5\ ), please set following
access rights.
Assign "Power User" rights or higher to users using KV STUDIO.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1-9
BEFORE USING
Access Right
When installing KV STUDIO to standard folder (C:\Program files\ keyence\ KVS5\ ), please set following
access rights.
Assign "Standard User" rights or higher to users using KV STUDIO.
Installation
We will take following drive configuration as an example to describe how to install software on a PC.
: Hard drive
: CD-ROM drive
Start Windows, insert CD- ROM driver to "KV STUDIO Major Disk".
The autorun function on the PC will start up the installer program.
If failed to start up the installer program, please select "Specified file name" from Start menu, and type
"e:\setup" in "Specified file name" dialog box, then click "OK".
Please install according to the indication of installation sequence.
Note
When installing KV STUDIO on Windows Vista/XP/2000, only the user with "Administrator"
rights or higher can log in.
Uninstall
KV STUDIO can be unistalled when KV STUDIO is not used.
Please click "add or delete program" in Windows control panel, uninstall KV STUDIO .
Note
Only the user with administrator rights can uninstall KV STUDIO under Windows
Vista/XP/2000.
1-10
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1
2
Only the user with system setting change power such as Administrator, etc. can start Windows XP.
Connect PC USB port and KV-5000/3000/1000/700 USB port using USB cable.
"Found New Hardware Wizard" is displayed, and then the added hardware information is displayed.
After select "Install from a list or specific location(Advanced)" radio button, click the "Next" button.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1
BEFORE USING
1-11
Select "Search for the best driver in these locations" button and "Include this location in the
BEFORE USING
"C: \Program files\Keyence \ KVS4E" in above step, is the position where KV STUDIO
software is installed. Please read again according to the environment used.
TIP
1-12
When installing in Windows 2000 system, please install USB driver according to the guide.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
This section describes the notes when using KV STUDIO.Be sure to read carefully.
Before using, please confirm that the system has been set to the status of using USB and RS-232C.
If these ports are not set, a communications error will occur during Monitor operation, and the Monitor
cannot be operated correctly.
For details on how to set the USB port, refer to the manual for the PC you are using.
Display resolution
Please set display solution to a setting higher than 1024 x 768 pixels, High Color (16 bits), small
fonts.Also, it will be comfortable to operate if setting a higher display solution. (1280 * 1024 above image
recommended)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1-13
BEFORE USING
Confirmation of PC settings
The programming flow and various modes, software start and closing method are described as follows,
before actual programming with KV STUDIO, shall master some basic operation contents.
BEFORE USING
1 System Configuration
Set up the system configuration according to the design drawing. Set the
following contents with Unit Editor.
Editor
Prepare unit configuration information of
KV-5000/3000/1000/700 system
Set unit relay/DM assignment
Ladder Programming
Editor
Create modulesTo create corresponding ladder program for each module.
Create macro To create corresponding macros as required.
Set execution sequence of modules
Commission
Simulator
Monitor
Ladder programs can be fixed and changed on Editor in addition to debugging on Monitor or Simulator.
Finally, when all debugging has ended, and it has been confirmed that a normal operating program has been
made, transfer and write the completed program to KV-1000.
1-14
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
About Screen
BEFORE USING
Mode screens
KV STUDIO modes, relations as follows
Editor
Monitor
Simulator
Online Editor
Describes the name and function of every image on the next page.
"About Editor", Page 1-19
"9-2 Monitoring", Page 9-34
"9-10 Online Edit", Page 9-92
"9-11 Simulation" Page 9-96
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1-15
About Help
BEFORE USING
Online help and PDF manual shall be also supplied in addition to document manual in KV STUDIO. For any
problem in operation, from tool bar, click
manual.
On the menu, click "Help (H)" drop down menu, select the following help and PDF manual.
The contents displayed in the dropdown menu will vary with PLC model being edited.
Content
Electronic manual in PDF format converted from "KV5000 / 3000 / 1000 series System Macro Mannual".
Instruction help
Help
Help
Help
Related
Manuals
1-16
Format
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
Content
KV STUDIO
User's Manual
Programming Manual
Instruction
Reference Manual
CPU Unit
User's Manual
Instruction Manual
System macro
Manual
Instruction help
Help
Help
Help
Format
Content
KV STUDIO
User's Manual
Instruction help
Help
Help
Format
Content
KV STUDIO
User's Manual
Instruction help
Help
Help
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1-17
BEFORE USING
Name
BEFORE USING
Name
Format
Content
KV STUDIO
User's Manual
Instruction help
Help
Help
1-18
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
Editor is a tool applied to compile Ladder. In addition to instruction entry and comment registration,
various edition operations can be also conducted.
Use editor, can perform the following editions.
Ladder can be compiled using various instructions of Ladder language.
It can be transplanted to other projects via Ladder structurization.
Can conduct copy and move operation, etc.
Can register the comment to the device, and then transfer to PLC
The compiled Ladder is converted and then transferred into PLC
Can print the compiled Ladder, mnemonic symbol table, label comment and device status list, etc.
Multiple modules and macros cannot be used for KV-700/700+M, KV-10(16), KV-24(40), KV-P16.
Note
For example, 950 module macros of 40000 lines can not be transmited to CPU.
Finally confirm according to data size limit after conversion. So, shall confirm the
transmissible data size after "convert".
"Conversion", Page 8-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1-19
BEFORE USING
BEFORE USING
When starting KV STUDIO, main window is only displayed before Ladder edit window displayed.
Ladder edit window is only opened when creating new module and macro and opening the compiled
module and macro.
TIP
Set auto-read function, when the set file has been started, will be auto-read and displayed.
"Auto-load", Page 4-16
Menu bar
Header field
Toolbar
Arrange and display
buttons for executing
different functions.
Mode bar
Display current mode
of KV STUDIO.
Workspace
Arrange and display
buttons for executing
different functions.
Module library
Display registered module.
1-20
Output window
Status bar
Instruction/macro/pack pallet
Display description of
the selected function
and key status, etc.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
Docking Navigator
box, Docking Navigator of the specified configuration target will be displayed.
Place to Docking Navigator, the window will be combined to the specified position.
Besides, Docking position is displayed in grid form on image.
Docking Navigator type
Description
Display the up and down, left and right position of image edited.
Release mouse button on the above mark, will dock to the up/down, left/
right position of the edit image.
Release mouse button on the up/down, left/right mark, will dock to up/
down, left/right position of the Docking target window.
Auto-hide function
It is a function to display workspace, output window, observation window, etc. if necessary.
Click the PIN icon displayed on the top right corner of up/down and left/right workspace, output window,
observation window, etc.
Icon
Description
Display status of workspace, output window, observation window, etc.
Workspace, output window, observation window, etc., , will be displayed
as tab on up and down, left/right side of the edit image. Displayed when
moving mouse pointer to the tab or clicking the tab.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
1-21
BEFORE USING
When customizing edit image, drag workspace, output window, observation window, etc. and dialog
BEFORE USING
Header field
Column No.
Cursor
Select device and
other edit objects.
Connecting wire
Rung number
Display instruction in
symbol format.
Instruction symbol
Step No.
Display instruction in
symbol format.
1-22
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_013-J.fm
PROJECT MANAGEMENT
2
PROJECT MANAGEMENT
About project management.
2-1
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_020J.fm
2-1
PROJECT MANAGEMENT
KV STUDIO processes various data files. Batch management of data file in every project folder.
The following tool support data exists in a project folder.
KV STUDIO data
KV-DN20Set up data
Logging/tracing data
Project Folder
KV STUDIO
data
Unit Editor
data
CPU positioning
parameter
edit data
KV
MOTION+
data
MOTION
BUILDER
data
Ladder,
comment ect.
Connection unit
setting, relay
assignment, KL
slave setting ect.
KV-5000/3000/
1000/700 CPU unit
Simple positioning
function parameter
KV-ML16V/MC40V/
MC20V Positioning/
motion unit
parameter
KV-H20S/
H40S/H20G
Positioning
unit parameter
PROTOCOL
STUDIO
data
KV-L20V/R
PROTOCOL
STUDIO
parameter
MV LINK
STUDIO
data
MV-L40
MV LINK
STUDIO
parameter
...
After compiling project in KV STUDIO, project folder and KV STUDIO data file will be automatically generated.
During tools start, unit editor, CPU positioning parameter edit, MOTION BUILDER, PROTOCOL STUDIO, MV
LINK STUDIO, KV MOTION+, and data for every support tool of MV LINK STUDIO setting tools will be generated.
C:\Users\<User name>\Documents\KEYENCE\KVS5\KVS\PROJECT
Windows XP/2000:
Example
When "USER" project folder is created in subfolder "PROJECT", the KV STUDIO
installation target.
Windows Vista:
C:\Users\<User name>\Documents\KEYENCE\KVS5\KVS\PROJECT
Windows XP/2000:
User data files such as KV STUDIO data files, etc. are stored in "USER" folder.
2-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_020J.fm
Project folder stores KV STUDIO data file, user data file, etc.
PROJECT MANAGEMENT
Item
File name
Extension
Content
name
.kpr
Module name
.mod
Project file
Module name
Macro name
.mcr
Macro file
Project name
.cm1, .cm2
Comments file
Project name
.lbl
Label file
Project name
.klg
Project name
.mil
DevInit
.dvi
FR folder
CpuMb
.inf
MonEnv
.kem
Monitor File
Project name
.cde
Project name
.dcm
UnitSet
.ue2
UnitSet
.ue1
UnitSet2
.ue1
UnitSet3
.ue1
Module/macro name
.mnm
( user input)
.csv
( user input)
.csv
( user input)
.csv
operand-history
.txt
Project name
.pnl
componentFolder
.mb2
.psm
.mls
.d20
.c20
.mvl
(user input)
.mvc
(user input)
.mul
(user input)
.mup
"Project compression save", can collect user data file in project folder and save in a "Project compressed file (*.kp Z)".
"Compress/save Project", Page 4-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_020J.fm
2-3
File Manipulation
Create a project
PROJECT MANAGEMENT
Click
button.
Select the folder whose project name to be changed, from right-click menu, select "name
change", enter filename.
Change item name.
Note
In "changing Project names", only the project folder can be changed. After changing
project folder, data in folder will be not changed. To change data file name in folder, must
operate "Save project as" on edit image.
"Save project as", Page 4-3
Delete project
To delete a project, select the folder where the project name is to be deleted, press the
Delete
key or
Note
Once project folder is deleted, all data in project folder will be deleted.
Copy project
Select file project name, press Ctrl + C keys to copy and press Ctrl + V to paste, or right-click, then
from the menu, select according to " Copy", " Paste" sequence, and can copy the project.
Set up password
"Password setting" is a feature to inhibit reading unit setting message, program, comment and record
setting saved in KV-5000/3000/1000/700.
Once a password is set, data cannot be read unless the correct password is entered.
Password can be set when reading program from KV-5000/3000/1000/700 is not allowed.
For details, please refer to
Note
2-4
Password cannot be setup for KV-P16, KV-10 (16), and KV-24 (40).
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_020J.fm
3
UNIT EDITOR
UNIT EDITOR
This chapter describes the features of Unit Editor, and how to use these
features.
3-1
Overview 3-2
3-2
3-3
3-4
3-5
3-6
3-7
3-8
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-1
3-1 Overview
This section gives a high-level description of features of Unit Editor, and the cautions to follow when
using Unit Editor.
TIP
Unit Editor cannot be used by KV-10 (16), KV-24 (40), and KV- P 16.
3
UNIT EDITOR
Functional Overview
To execute a ladder program, the units connected with KV-5000/3000/1000/700 PLC series should be
registered in CPU.
Unit Editor is used to select and configure the units and transfer the configuration to KV-1000 PLC. In
addition, unit and KL slave station settings need to be done.
On conventional PLC models, hardware settings have to be made on each unit by setting the DIP
switches. With the KV-5000/3000/1000/700, however, hardware settings are basically no longer
required, and units can be set up simply in Unit Editor. After you have built your system, you can
change set-tings without having to remove units.
Settings on Unit Editor
KV-5000/3000/
Unit Editor
1000/700
KV STUDIO
series
Ladder program
Note
Unit Editor cannot be started up separately. You have to open the ladder file and start
it from KV STUDIO.
Integration
Integra
Ladder file
3-2
Unit Editor
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-1 Overview
DM No.
KV-5000
R1000 to R99915
DM0 to DM65534
KV-3000
R1000 to R99915
DM0 to DM65534
R1000 to R59915
DM0 to DM65534
KV-700+M
R1000 to R59915
DM0 to DM39999
KV-700
R1000 to R59915
DM0 to DM19999
UNIT EDITOR
KV-1000
Unit setting
You can set up the functions of each unit.
Mistakes are possible as you set up units while reading the manual.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-3
File
3
UNIT EDITOR
Icon
Description
Import
Read unit configuration from PLC
Close
Page
3-25
3-26
3-15
Edit
The editing options are as follows.
Item
Icon
Description
Page
Cut
3-17
Copy
3-17
Paste
3-17
3-17
Delete
Unit comments
Edit
comments
Block comments
block comments.
Display the "System comments" dialog box and
System comments
Reserve nunit
3-26
3-26
3-27
3-27
3-20
Convert
The relay/DM assignment-related options are as follows.
Item
Jump to error line
Auto-assign relay/DM
Verify device
3-4
Icon
Description
Jump to the unit position that corresponds to the error
displayed in message window.
Automatically Assign relay/DM.
Check to enture duplicated relay/DM settings are
avoided.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
Page
3-27
3-18
3-21
Setup Slave
The options for KL slave setting are as follows.
Note
The menu is displayed only when KL- N20V unit is selected in the unit configuration area.
Icon
Description
Open slave setup window.
Read unit setting message and comment of slave
Copy KL information
Paste KL information
KL-N20V setup
UNIT EDITOR
Item
Setup slave
Page
3-28
3-28
3-29
3-29
3-30
View
The items that are related to window display are as follows.
Item
Icon
Description
Toolbar
Status bar
Message area
Page
3-12
3-22
3-30
3-23
configuration area.
Custom Monitor
3-23
3-24
Options
This menu groups together options relating to environmental settings on Unit Editor.
Item
Setup options
Icon
Description
Environment setting of option setting Unit Editor.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
Page
3-39
3-5
Window
The window navigation options are as follows.
Item
Icon
Description
Page
UNIT EDITOR
3-10
Select unit
3-10
Setup unit
3-11
Update setting
3-11
Message area
3-12
Help
Display help information.
Item
How to use Unit Editor
3-6
Icon
Description
Page
3-30
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
File
3
Item
Icon
Description
UNIT EDITOR
The commands for file operation and printing are summarized as follows.
Page
3-36
3-33
Edit
The options for unit editing are as follows.
Item
Icon
Description
Page
Cut
3-35
Copy
3-35
Paste
3-35
3-34
Delete
Reserve unit/slave
3-37
3-37
Convert
The slave address assignment-related options are as follows.
Item
Icon
Description
Jump to the unit position that corresponds to the error
Check device
assignment is avoided.
Page
3-37
3-35
3-21
View
The items that are related to window display are as follows.
Item
Icon
Model
See
Page
Toolbar
Status bar
Message area
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-7
Window
The items that are related to window display are as follows.
Item
Icon
Model
See
Page
UNIT EDITOR
3-31
Select unit
3-32
Setup unit
3-32
Setup address
3-33
Message area
3-12
Help
Display help information.
Item
How to use Unit Editor
3-8
Model
See
Page
3-38
Icon
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3
UNIT EDITOR
set,
change
the
Message area
Display error and action message in
operation of Unit Editor.
When KV-5000 / 3000 is selected, this is displayed when KV-FL20V (KV-FL20V mode) or KV-5000
(FL-net mode) is selected via unit configuration area.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-9
UNIT EDITOR
Unit information
Displays the model No. of placed units
and assigned relay Nos.
3-10
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3
Indicates setting item.
UNIT EDITOR
Indicates
the
setting
content
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-11
Message area
Display error and conversion result in operation of Unit Editor.
3
UNIT EDITOR
3-12
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
K
V
K
V
K
V
K
V
K
V
K
V
U
7
3
0
0
0
C
3
2
X
C
B
1
6
T
C
B
1
6
T
C
L
2
0
V
H
2
0
S
A
D
4
0
Select "File(F)"
End unit
K
V
K
V
UNIT EDITOR
Enter new project name, select corresponding type, click "OK" button. To change the save
directory, click the "reference" button, select the save directory and click the "OK" button.
The Unit Editor startup confirmation dialog box is displayed.
Click the "Yes" button. This starts up Unit Editor.
Item
"Yes"
"No"
(Read Unit setting)
Explanation
Start Unit Editor. Please set up unit configuration.
Display KV STUDIO editor image.
When setting unit composition, separately start the Unit Editor.
Read the unit setting information from CPU unit.
Please pre-set computer and CPU unit to communication enabled status.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-13
From unit selection window, select the connected unit, drag it to unit configuration area.
Displayed in edit image.
Here, still take above unit configuration as an example, drag according to KV-U7->KV-c32xc->KVAD40
3
UNIT EDITOR
TIP
CPU unit and terminal unit have been configured during initial start of Unit Editor.
assignment).
Auto-assign relay No. and its result are displayed in message window.
TIP
Auto-assign relay / DM step is described here. When manually assigning relay no., please
see
From unit configuration area, double click on the unit where detailed setting will be made, set
with "Setup unit" tab.
TIP
For setting method and content of every unit, please refer to related manual of every unit.
After setting up all the units, then click the "OK" button.
Saving the generated system, the KV STUDIO
screen is displayed.
3-14
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
UNIT EDITOR
Select "Tool(T)" -> "Unit Editor(U)" from the KV STUDIO editor menu.
Start Unit Editor.
TIP
Close(S)
Note
Explanation
Save unit configuration setting,
exit the Unit Editor.
Abandon unit composition setting,
exit the Unit Editor.
Return Unit Editor.
To enable operation of KV-5000 / 3000 / 1000 / 700 unit, the unit setting message must
be set up. To transfer the project to CPU unit during non-saved exit, please recompile unit setting message.
TIP
Click the "OK" button and the confirmation dialog box will not displayed. Then save unit
configuration and exit Unit Editor.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-15
Display Window
Window (W)
Select unit(1)
Alt + 1
Alt + 2
UNIT EDITOR
TIP
When Unit Editor is started, the Unit Selection window will be displayed.
And the last-exited windows is displayed when Unit Editor is started next time.
Unit Configuration
Select the unit to be connected from the unit selection window, and drag-and-drop the unit to the edit
window.
The unit is placed at the drag-and-drop position.
Note
CPU unit and terminal unit have been configured during initial start of Unit Editor.
The Power Supply Unit can be placed at only the leftmost position.
Only one CPU unit is allowed per system, and can be placed at the leftmost
position of the upper row or next to the Power Supply Unit.
Extension Unit KV-EB1 is automatically placed when each unit is placed positions
on the lower row even if KV-EB1 is not placed.
The maximum number of units that can be connected to a single system is 16
(excluding Power Supply Unit, CPU Unit and Extension Unit) per horizontal layer.
Three rows are provided.
3-16
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
"Delete(D)" Delete
UNIT EDITOR
select "delete".
TIP
Note
If you delete the unit of a system already assigned relays/DMs, the relay/DM Nos. of
the units that were deleted from the ladder program are displayed in red as invalid
operands, and the program can no longer be transferred to the PLC.
Please clear invalid operand via Ladder edit image or compile Ladder again. Besides,
in "Tool (T)" -> "option (O)" of Ladder edit image, when "Device auto-convert mode
by changes to unit config" checkbox of "system settings" label is not selected, it
cannot be invalid operand.
"Clear Invalid Operands", Page 8-4
"Cut(T)" Ctrl + X
"Copy(C)" Ctrl + C
"Paste(P)" Ctrl + V
To copy, select "Edit(E)" -> "Copy(C)" from the menu. To move, select "Edit(E)"-> "Cut(T)" from
the menu.
Other procedure
Copy
Select the unit, right-click and select "Copy".
Move
Select the unit, right-click and select "Cut".
TIP
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-17
Note
If you "cut" the unit of a system already assigned relays/DMs, the relay/DM Nos. of
the unit that was cut from the ladder program are displayed in red as invalid
operands, and the program can no longer be transferred to the PLC.
The relay/DM Nos. of the pasted unit will not be inherited even if "Paste" is executed.
Please clear invalid operand via Ladder edit image or compile Ladder again.
UNIT EDITOR
Move the unit cursor to the unit paste position, right-click the mouse button, and select "Paste".
Other procedure
Select "Edit(E)"
"Paste(P)"
assignment).
Auto assign relays/DMs.
TIP
From the menu, select the unit to be set, click "View (V)"
3-18
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3
It has the " Auto- replace function " that relay / DM No. can be also automatically changed
when relay/ DM No. of relay / DM system is changed.
It has been set to automatic switching status in initial setting. When automatic switching
function is not required, in "Tool (T)"
the "device auto-convert mode by changes to unit config" checkbox of "system settings"
label and change corresponding settings.
"Device assignment setting", Page 3-41
Note
Use channel unit to enter leading relay No. Channel no. refers to the part of every
relay No. except the final 2 bit.channels for relay R 10000.
Assignable relay in every unit, DM is within global device range.
When specifying other than above range, error may occur in conversion. Please
confirm within global device range during setting.
"Entire Assignments Settings of Local Devices", Page 8-6
An even number should be entered for the leading DM No.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-19
UNIT EDITOR
TIP
UNIT EDITOR
Select "Edit(E)"
Click "Relay No." column, enter relay No. assigned via ch unit, click "OK" button.
TIP
It has the "Auto-replace function" that relay / DM No. can be also automatically changed
when relay/DM No. of relay/DM system is changed.
It has been set to automatic switching status in initial setting. When automatic switching
function is not required, in "Tool (T)"
the "device auto-convert mode by changes to unit config" checkbox of "system settings"
label and change corresponding settings.
"Device assignment setting", Page 3-41
Note
Use channel unit to enter leading relay No. Channel No. refers to the part of every
relay No. except the final 2 bit. channels for relay R10000.
3-20
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
"Check device(C)" F6
Check whether unit configuration in Unit Editor and every unit relay / DM assignment are correct.
When exiting Unit Editor, the device is automatically checked, in case of any error, its content
message will be displayed.
Select "Convert(P)"
content,
or
related
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-21
UNIT EDITOR
TIP
UNIT EDITOR
According to the following step, display the unit selected in unit configuration area in unit setup icon.
Conduct detailed setting of configuration unit in unit configuration area. For details about the setting
project and setting method of every unit, please see corresponding manual for every unit.
Click the item whose setting is to be changed, and enter the new set value.
3-22
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
View(V)
When KV STUDIO is in monitor status, unit monitor cannot be displayed from Unit Editor.
"Unit monitor (U)" or from
When KV STUDIO is in monitor status, customized monitor cannot be displayed from Unit Editor.
To select CPU unit, on the menu, select "View (V)"
51)..
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-23
UNIT EDITOR
Select the monitor unit to be displayed, on the menu, select "View (V)"
3
When KV STUDIO is in monitor status, buffer memory monitor cannot be displayed from Unit Editor.
UNIT EDITOR
Select the buffer memory monitor unit to be displayed, on the menu, select "View (V)"
memory monitor (B)" or from right-click menu, select "buffer memory monitor".
For detailed settings, please see
3-24
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
"Buffer
Import(I)
According to the following step, read the unit setting message and unit comment compiled via other
UNIT EDITOR
projects.
"Import(I)".
Specify the position where unit setting message file and unit comment are imported.
Item
Explanation
Display the storage position imported to unit setting message file and unit comment.
info file
Click "browse" button, use (open file) dialogue, can select unit setting message file.
Unit list
Unit No.
The list displays message related to unit composition to which the file to be imported.
Display Unit No. of unit setting message.
After selecting checkbox, change to import target.
Unit name
Position
Display the number of sections of unit and unit connection position (No.).
Comments
(select All)
(Unselect)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-25
UNIT EDITOR
Note
Enter Comments
"Edit (E)"
Ctrl + Shift + U
Block cmnts(B)
Ctrl + Shift + B
System cmnts(S)
Ctrl + Shift + S
Unit cmnts
Use unit configuration area, add comment on the selected unit.
On the menu, select "Edit (E)"
"Unit cmnt
(U)".
"Unit comments" dialog box appears and input unit comments.
TIP
Block cmnts
Use unit configuration area, add comment on the block containing
the selected unit.
On the menu, select "Edit (E)"
"Block
cmnt (U)".
"Block cmnts" dialog box appears and input block comments.
TIP
3-26
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
System comments
Add comment on to the system composition set.
On the menu, select "Edit (E)"
"System
cmnts".
UNIT EDITOR
TIP
Reserve /Unreserve
"Edit(E)"
"unit unreserve
Display the slave device concerned in error messages that are displayed when an address is assigned,
slave devices are added or deleted, etc.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-27
Select "Convert(P)"
Other procedure
The cursor moves to the slave device on the slave placement area where the error occurred.
UNIT EDITOR
Select setting slave station KL- N20V, press menu, select "Setup slave (K)" (slave station setting)
"Setup slave(N)" (slave station setting).
The "Slave setup window" screen is displayed.
Other procedure
TIP
Select setting slave station KL- N20V and right-click, select "Stave setup".
For setting method of KL slave station units, please refer to related manual of every unit
Read slave device setup information created in other projects. For the system with same slave station
configuration, using "Import slave info" method, can directly read system message and simply set.
Read slave settings information by the following steps.
Select KL - N20V reading slave station message, on the menu, select "Slave station setting (K)"
"Import slave info (I)" or from right-click menu, select "Import slave info".
3-28
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
Specify the position where slave station setting message file is imported.
3
UNIT EDITOR
Item
Explanation
Display the position where slave station setting message file is imported. Click
Name of slave setting info file
"preview" button, use (open) dialog box to select unit setting message file.
List
Select All
Unselect
Deselect
Select the unit (Master Station) to which slave information will be imported, click "OK" button.
Slave setting information is imported.
Copies KL unit information created on the KL address setup software to the Clipboard. For details of
operation, refer to the "KL-N20V User's Manual".
Imports KL unit information pasted to the Clipboard by "Copy KL info" to the Unit Editor. For details of
operation, refer to the "KL-N20V User's Manual".
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-29
3
Start up the KL address setup software, and set the addresses of the KL-N20V. For details of operation,
UNIT EDITOR
TIP
When using the KL address setup software for setting addresses, "Communications with
other KL master units" in the KL-N20V unit setup window is automatically set to "TRUE".
Display bitmap(B)
In unit configuration area and slave station configuration area, change the bitmap display method of
configuration unit. Actual unit connection status is displayed in bitmap. The assignment relay No. can
be displayed in the box.
TIP
The system saves setting content. It will directly enter setting status during the next start.
Display Help
"Help(H)"
Display the Unit Editor help information.
3-30
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
screen.
Select " Setup slave" in the Unit Editor, and the slave station setting window will be displayed.
Slave station setting menu can be selected only when KL- N20V is selected.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-31
UNIT EDITOR
When using KL series, the slave station to be connected must be set up in the slave station setting
3
UNIT EDITOR
3-32
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
UNIT EDITOR
manually.
TIP
When "Auto-assign Address" or "Address Check" is executed, the slave setup information at
that time is automatically saved. The above confirmation box will not be displayed when you
exit without saving changes to the slave setup information after you have executed "Autoassign Address" or "Address Check".
Note
The relay/DM assignments of KL Master Unit KL-N20V are assigned according to the slave
information set in the Slave setup screen. When the Slave setup screen has been exited
without saving the slave setup information, either create the slave setup information again or
manually set the addresses of KL-N20V when transferring the ladder program to the CPU Unit.
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-33
UNIT EDITOR
Alt + 1
Alt + 2
Alt + 3
Message area(4)
Alt + 4
Slave Configuration
From the unit selection window, select the connected slave station, and drag it to edit image.
"Delete(D)" Delete
"delete (D)" or select
TIP
3-34
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
Ctrl + X
"Copy(C)"
Ctrl + C
"Paste(P)"
Ctrl + V
3
UNIT EDITOR
"Cut(T)"
TIP
Note
Even if the address of relay / DM slave station assigned is changed, relay / DM No. in
Ladder is not changed.
TIP
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-35
Select the address of the slave device to be changed, and enter the address No. to be set.
3
UNIT EDITOR
Note
"Convert(P)"
Verify the unit configuration set in Slave Setup screen and whether or not errors exist in the address
assignment of each unit.
TIP
When exiting slave station setting image, address is automatically checked, in case of error,
its content message is displayed in message area of Unit Editor.
Select "Convert(P)"
Read the slave information saved in other project files.For the system with same slave station
configuration, using "Import slave info" method, can directly read system message and simply set.
"Import Slave Information", Page 3-28
3-36
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
Input Comments
"Edit(E)"
3
Select the unit or slave station to be entered, on the menu, select "Edit (E)"
cmnts (U)" or select "unit/slave station comment edit" from right-click menu.
"slave comment (slave station comment)" dialog box pops up for slave station, "Unit comment" dialog
box pops up for unit.
TIP
Select unit / slave station to be reserved, on the menu, select "Edit (E)"
"unreserve
unit / slave (R)" or from right-click menu, select "unreserve unit / slave".
During address assignment, adding and deletion of slave station, etc., the corresponding slave station
with error message appears.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-37
UNIT EDITOR
Select "Convert(P)"
Other procedure
The cursor will move to slave station with error on slave station configuration field.
UNIT EDITOR
Display Help
"Help(H)"->"How to use Unit Editor(H)"
3-38
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
"Setup option(S)"
UNIT EDITOR
Display "Option Setup" dialog box, complete option setting of Unit Editor.
On the menu, select "Option (O)"
Content
The unit displayed in unit configuration area and slave station configuration area
displays multiplying power, font size and cursor movement unit
Font color and background color in Unit Editor
Device assignment
setup
Every unit color displayed in unit configuration area and slave station configuration area
Other Settings
Whether KL Master Station unit, KL-N20V manual address setting are conducted, etc.
The changed setting is saved to KV STUDIO, and immediately valid after setting.
View Setting
Item
Scale of unit(slave) area
Font size
Block-move cursor *1
Description
Change unit display multiplying power displayed in unit
configuration area and slave station configuration area.
Change font size of window other than unit configuration area
and slave station configuration area.
Set the cursor action method after pressing the cursor key in
unit configuration area and slave station configuration area.
Default
100%
12
None.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-39
3
UNIT EDITOR
Color setup
To change color, click "Color" button and select color.
TIP
The colors that you set here are saved to KV STUDIO and are enabled when KV STUDIO
is next started up.
To return saved colors to their defaults, click the "Initialize" button.
3-40
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
Item
Description
Relay setting
Batch
setup
Relay
setting(KV)*1
unit(in ch)
Setup
Leading DM No.
DM setting (KV)
*1
Batch
setting
300
300
400
500
Default
10000
Yes
Batch settings refer to an method assigning according to horizontal sequence of CPU unit.
Separate settings refer to a method assigning according to horizontal sequence of CPU unit with
unit category (entry, output, specific).
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-41
TIP
The colors that you set here are saved to KV STUDIO and are enabled when KV STUDIO
is next started up.
To return saved colors to their defaults, click the "Initialize" button.
3-42
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
Other Settings
3
UNIT EDITOR
Item
Display slave
Window
setting window
foreground in Unit
Editor
Pop up
confirmation
message when
auto assign adress
Description
Default
Slave station setting image is displayed before the Unit Editor. Initial
value is that slave station setting image is displayed before the Unit
Yes
Editor window. *
Confirmation message displayed during setting of auto-assign relay
/ DM No. and address. Initial value is set to pop up the confirmation
Yes
message.
KL-N20V address of KL Master Station unit can be manually set. In
Allow manual setup general, KL- N20V uses address in slave station setting image or
of KL-N20V adress "KL address setting software", to manually assign address, select
Other
Yes
this project, and can manually enter setting in the unit setting image.
Automatic design function is effective.After auto design function is
Enable automatic
enabled, the unit unusable in real system arranged in Unit Editor can
layout function
Initial value is
Yes
in unit configuration comment, block comment, system comment, etc. After checkbox is
screen.
Yes
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
3-43
MEMO
3
UNIT EDITOR
3-44
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_030-J.fm
4
FILE & PRINT
4-1
4-2
Print 4-17
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_040xJ.fm
4-1
New Project
File (F)
4
FILE & PRINT
"New project (N)" from the menu, and create new project.
Item
Project name
Explanation
Inputs project name. (Within 32 half-width characters/16 full-width characters)
PLC model
Position
Comment
Access Window
Inputs the project name to display on the Access Window. (Up to 12 half-width
display comments*1
Register special
device cmnts
*1
Input ASCII codes 20 to 7E (HEX) and A1 to DF (HEX) due to restrictions in the characters that
can be displayed on the Access Window.
TIP
4-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
Open Project
"File (F)"
Select "File (F)"
"Open project (O)" from the menu, specify the available project.
TIP
* To open the files other than .kpr, use "KD " to specify extension name.
Close Project
File (F)
Select "File (F)"
"Close project (C)" from the menu, and close the currently opened project.
Save Project
File (F)
Select "File (F)"
"Save project (S)" from the menu, and save the project being edited.
Save Project As
File (F)
Select "File (F)"
"Save project as (A)" from the menu, and save the opened file in other name.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-3
File (F)
Select "File (F)"
"Save compact project (J)" from the menu, and specify the saving position and
filename.
TIP
Verify Project
File (F)
"Verify project (B)" from the menu, and specify the project file to be verified.
4-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
Project Property
File(F)
Select "File (F)"
Project property(F)
4
FILE & PRINT
Item
Explanation
Project name
Date created
Date updated
Date updated
Displays the date that the project was last transferred to the PLC.
This is the ID for the project. The project ID is automatically assigned by KV STUDIO
Project ID
Set password*1
You can set a password to prevent unauthorized reading of the program from PLC
Save to
Comment
Author
characters)
Inputs the project name to display on the Access Window. (Up to 12 half-width
Access Window
display comments
*1
*2
*2
Cannot be set when KV-10 (16), KV-24 (40) and KV-P16 are used.
Cannot be set when KV-700/700+M, KV-10 (16), KV-24 (40) and KV-P16 are used.
Due to limit of displayable character in Access Window, the input range must be between ASCII
code 20 to 7E (HEX) and A1 to DF (HEX).
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-5
Set password
The password setting disables reading of unit setup information, programs, comments/labels, logging
setup, mail setup (KV-5000/3000 only) and device default setup (KV-5000/3000 only) stored in KV5000/3000/1000/700.
Once a password is set, data cannot be read unless the correct password is inputted. Password setting
can prevent programs from being read from the KV-5000/3000/1000/700 by unauthorized personnel.
4
FILE & PRINT
"Project property (F)" from the menu, and click "Set password(P)" button in
Input the password, and click the "OK" button. To delete an already registered password, delete
the currently displayed password, and click the "OK" button.
Passwords up to six half-width alphanumerics long can be set.
Caution
When you forget the registered password, the password can be cleared by
clearing all in the KV-5000/3000/1000/700 Access Window or overwritting the
project. All settings and user programs will be cleared thereafter.
For the project with set password, project backup in advance is recommended
to avoid data loss in case you forget the password.
The protection ranges are as follows when a password has been set to a project that has been
transferred to KV-5000/3000/1000/700.
Operation
PC->
KV-5000/3000/1000/700
KV-5000/3000/1000/700->.
PC
Memory Card ->
KV-5000/3000/1000/700
KV-5000/3000/1000/700->
Memory Card
4-6
Protection Range
Overwrite is possible.
Password protection
Overwrite is possible.
Read is possible
PC->Memory card
Overwrite is possible.
Memory card->PC
Password protection
KV-5000/3000/1000/700
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
Import Module/macros
File (F)
From the menu, select "file (F)"
"import (I)"
Import (I)
Item
Explanation
Either sets the desired module type after an import, or selects from
"Every-scan/Initialization/Standby/fixed cycle module*".
When this checkbox is marked, logging information is imported from other
projects.
TIP
: .mod
: .mcr
Note
*.ldc files can be imported from projects for KV-700 made on KV BUILDER. (Select
KVB ladder diagram files (*.ldc) at "Files of type").
For details on importing projects for KV-700 made on KV BUILDER, see
KV-1000
Import Comments/labels
File (F)
Select "File (F)"
"Import (I)"
Import (I)
"Import cmnt/label (C)" from the menu, and specify the file to be
imported.
The comment or label that you specified is imported.
*.cm1
: Comment 1 file
*.cm2
: Comment 2 file
*.lbl
: Label file
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-7
File( F)
Select "File (F)"
"Import (I)"
Import (I)
"Import log info (L)" from the menu, and specify the file to be
imported.
The logging information of the project file that you specified is imported.
File (F)
Select "File (F)"
"Import (I)"
Import (I)
"Import device default (D)" from the menu, and specify the file
TIP
Device default file is generated when default is set in "device default setting" dialog box.
File (F)
Select "File (F)"
"Import (I)"
Import (I)
"Import File Register setting (F)" from the menu, and specify the
Other procedure Select "import" from the "file register setting" right-click menu of the "project" tab in workspace
FR***.frb
TIP
4-8
: File register setting file( *** indicates the No. of file register.
File register setting file is generated in setting of "file register setting" dialog box.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
"Import (I)"
Import (I)
CpuMbPrm.inf
CpuMb.inf
File (F)
Write (W)
Read (R)
When saving a new file on memory card using KV STUDIO, be sure to create a new folder on the
"Memory card" dialog box, and save the file.
New a folder
"New" button is not displayed
when reading the memory card.
?
Caution
When the original folder is selected for saving, the data will be overwritten,
and the previous data will lose.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-9
TIP When creating a new folder for saving, click the "New",
and input the folder name. The project folder will be
created.
Data management on the memory card must be executed
by project folder.
When the auto-loading function is used on the KV-5000/3000/1000/700 CPU Unit, name the
project folder "autoload" when saving the data.
For the autoloading function, please see User's Manual of every CPU.
File (F)
Save ladder program comment currently opened as text format file (*.txt) or CSV formatted file (*.csv).
Select "File (F)"
"Save device cmnts in text format (K)" from the menu, and specify comment
storage destination.
Item
Save position
Explanation
Specifies the position where text format file or CSV formatted file are saved.
File name
Files of type
File (F)
Read comments saved in text format file (*.txt) or CSV format file (*.csv) to the currently opened ladder
program
Select "File (F)"
4-10
"Read text format cmnts (Q)" from the menu, and specify the comment to be read.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4
FILE & PRINT
Item
Explanation
Position
File name
Files of type
File (F)
Save (S)
Save ladder programs to a mnemonics list. Mnemonics lists are regular text format files with the "mnm"
extension.
Note
Mnemonics list(R)
"Select different comment types" dialog box is opened, select the comment added to the list.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-11
Click "OK" button, "Folder select" dialog box appears, and specify storage destination of
mnemonics list.
4
FILE & PRINT
TIP
File (F)
Read (R)
Read ladder program from mnemonics list. Mnemonics lists are regular text format files with the "mnm"
extension.
Note
4-12
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
Save the pin assignments of connected units and the list of comments as a CSV format file.
Select "File (F)"
File (F)
"Cross ref info (C)" from the menu, and specify the
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-13
Change Model
File(F)
From the menu, select "file (F)"
Change model(L)
"change model (L)", model switch dialog box appears, and the
Model editing
KV-P16
KV-P16
Convertible model
KV-700
KV-700+M
KV-10/(16)
KV-24/(40)
KV-1000
KV-3000
KV-5000
KV-10/(16)
KV-24/(40)
KV-700
KV-700+M
KV-1000
KV-3000
KV-5000
TIP
Click "Open file", select file format, and KZ300/350 and KZ-A500 ladder program can be
read. The KZ300/350 and KZ-A500 ladder program are read as
respectively.
"1-3 About Data Compatibility", (Page 1-5)
4-14
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
Auto-save
File (F)
Auto-save (Z)
After auto-save setting, when reaching the preset time, system will automatically generate backup.
Note
When KV STUDIO is started after the program quits due to an error, the file that was
STUDIO without executing "Auto-save" to automatically make a backup file, the back
file will be lost.
TIP
By setting time
Ladder file
Backup
Backup
Ladder file
Auto delete
Ladder file
Backup
te
o
Aut
dele
2
3
Deselect the "Auto-save" check box, and click the "OK" button.
The auto-save setting is disabled.
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-15
Auto-read
File (F)
Auto-read (T)
4
FILE & PRINT
Note
To set the file of new project in auto-read, the project must be saved in advance.
1
2
Exit
File (F)
Save the project being currently edited and exit KV STUDIO.
4-16
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
Exit (X)
4-2 Print
This section describes the print function contained in the "File (F)" menu.
File (F)
The corresponding environment for PC printing must be available. Please refer to Operation
Front cover
Logging/tracing setting*1
Set logging *2
CPU positioning parameter*3
Select unit*3
Setting unit*3
Unit relay/DM*3
Mail setting*1
CPU System setting*1
Module configuration
Local device assignment*2
Default setting*1
Ladder
Mnemonics list
Comment
Label
Device application status
Line comments
Panel setting*4
*1
*2
*3
Display only when "KV-5000" "KV-3000" "KV-1000" "KV-700" "KV-700+m" (CPU) are used.
*4
TIP
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-17
4-2 Print
be changed.
TIP
The font and font size to be used for printing can be specified. Click the setting item, and
specify the setting from the dropdown list that is displayed.
Click "Setup page" button, the "Setup page" dialog box is opened.
Item
Header
Selects the check box, and the"print page/total pages" is printed at bottom of each
Footer
page.
Blank
Preview
Initialize
Explanation
Selects the check box, and the project date is printed at left top corner of each page.
TIP
Note
After the setting is changed, click "Cancel" button, and the changed content will be
invalid.
4-18
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-2 Print
Print Preview
File (F)
Set contents to be printed. Select the checkbox of print project, click "Print preview" button to
display preview.
TIP
The font and font size to be used for printing can be specified. Click the setting item, and
specify the setting from the dropdown list that is displayed.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
4-19
4-2 Print
Printer Setup
File (F)
Sets the size of the paper, printing direction (portrait/landscape), and other settings.
Note
TIP
4-20
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_04xJ.fm
5
EDIT
EDIT
The chapter describes various edit functions.
5-1
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_050xJ.fm
5-1
Undo
"Edit (E)"
Note
EDIT
7,3
Entry of instructions
Deletion of instructions
Editing of operandsCut
Paste
Multiple paste
Replacement of operands
Text replace
Insertion of rung comments
Disabling of rungs
Conversion of scripts
When an operation cannot be undone, the button is displayed in gray and cannot be
selected.
Device comment change, only return to the part edited via device comment edit window.
Redo
"Edit (E)"
7,3
When an operation cannot be redone, the button is displayed in gray and cannot be selected.
Cut/Copy/Paste
"Edit (E)"
"Edit (E)"
"Edit (E)"
Select the range, and cut, copy or paste the selected range.
Those that can be cut, copied, pasted are,
Cell unit
Ladder labels of rung unit.
5-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Select a range
Select a range for cutting/copying/pasting.
There are two ways to select a range.
EDIT
Other procedure
7,3
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-3
1
2
Move to the first cell to select by moving the cursor with the arrow keys.
Move the cursor to the last cell to select by pressing with the Shift key held
down.
The color of selected area is changed.
5
EDIT
7,3
Cut
Cut selected cells.
Copy
Copy the selected unit.
Paste
Paste cut/copied cell to the specified position.
Multiple Paste
"Edit (E)"
When Multiple paste is used, multiple ladder programs copied in rung units can be copied with device
No. shifted by an offset amount.
It is handy to make a program having multiple rungs in which only device No. differ.
5-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Other procedure
Click
Press
button.
Ctrl + C keys.
Move the mouse to paste position, from the menu, select "Edit (E)"
Item
Set common offset for
same device type
Explanation
When selecting checkbox, offset can be specified to each device
type.
When deselecting, offset to the device can be specified separately.
Paste number
(Clear offset)
Row offset
Column
EDIT
Other procedure
Device
Offset
Note
Mutiple pastes can be conducted when copying with rung unit.
When script rung, rung comment, PACK instruction (KV-700 ) are containd, mutiple
paste cannot be made.
Example
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-5
Search Device
Edit (E)
Select "Edit (E)"
"Search (s)" from the menu. The "Search/Replace" dialog box appears.
5
EDIT
Item
Explanation
Device
Label
Constant
Target Module/macro
Device Comment
Label Comments
Reserve/Disable
(Search) width *2
From inputted device No., set the value quantity device as search object.
Specify the instruction to be searched at the same time with the project
specified by the object.
Range
Direction
Entire project
Module / macro *4
Up
Down
Case sensitive *3
Option
Search
direct device only *2 *5
(List display)
(Search)
(Close)
*1
*2
*3
Displayed only when the object is selected as any one of "label", "module / macro", "device
comment", "label comment".
5-6
*4
Valid only when the models "KV-5000", "KV-3000" and "KV-1000" are used.
*5
Valid only when the models "KV-5000" and "KV-3000" are used.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Replace Device
Edit (E)
Select "Edit (E)"
"Replace (I)" from the menu, and the "Search/Replace" dialog box appears.
5
EDIT
Item
Explanation
Input the operand before the replace is executed. When
Before replace
button
Operand
button
(Replacement) Width
Replace
range
Direction
Entire project
Module / macro *2
Selected range
Up
Down
position.
(Replace all)
(Search)
(Replace)
(Close)
*1
When replacement cannot be made, click "search", the cursor is moved to the next instruction.
*2
Valid only when the models "KV-5000", "KV-3000" and "KV-1000" are used.
*3
Valid only when the models "KV-5000" and "KV-3000" are selected.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-7
Edit (E)
After searching the specified instruction, all instructions will be displayed or replaced
to other
instructions.
From the menu, select "Edit (E)"
5
EDIT
Search
Search Ladder instruction.
Item
Explanation
Input search instruction, *1 click
Example) "LDLDB"
Postfix can be added when LDB is specified.
Example"ADD.F"
Replace with (the following instructions)
Range
Direction
Entire project
Module / macro *2
Up
Down
(List display)
(Search)
(Close)
*1
Wildcard character cannot be used in the instruction inputted. Besides, partial search cannot be
operated (only partial instruction inputted for search). Please utilize help to input correct
instruction.
*2
5-8
Valid only when the models "KV-5000", "KV-3000" and "KV-1000" are used.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Replace
Replace Ladder instruction..
After selecting "Replace to the next instruction", necessary projects appears when the replacement is
operated.
5
EDIT
Item
Explanation
Input search instruction. *1Click
instructions)
replaced.
Range
Direction
Option
Entire project
Module / macro *3
Selected range
Up
Down
Replac Suffix/differential
Replace all
(Search)
(Replace)
(Close)
*1
Wildcard character cannot be used in the instruction inputted. Besides, partial search cannot be
operated (only partial instruction inputted for search). Please utilize help to input correct
instruction.
*2
When replacement cannot be made, click "search", and move the cursor to the next instruction.
*3
Valid only when the models "KV-5000", "KV-3000" and "KV-1000" are used.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-9
NO/NC Contacts
"Edit (E)"
Select "Edit (E)"
"Convert NO/NC contacts (A) " from the menu, and "Search/Replace" dialog box
appears.
5
EDIT
Item
Explanation
Input the operand to be converted. When
Target operand
button is clicked, a
pulldown menu appears, and a list of the last ten selected operands
are displayed.
Conversi
on range
Direction
Replace all
(Search)
Module / macro *1
Selected range
Up
Down
(Replace)
(Close)
*1
5-10
Entire project
Valid only when the models "KV-5000" and "KV-3000" and "KV-1000" are used.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
"Edit(E)"
Select "Edit (E)"
"Search rung cmnts (M)" from the menu, and the "Search/Replace" dialog box
appears.
5
EDIT
Item
Explanation
Only initial 1 rung of rung comment of every Ladder rung is
Search range
Entire project
Module / macro *1
(List display)
(Close)
*1
Valid only when the models "KV-5000", "KV-3000", "KV-1000" are selected.
*2
When double-clicking a rung comment currently displayed in the list, the cursor moves to that
rung comment.
7,3
When specifying "module/macro unit" with " Search range", object module/ macro must be
set to current window in advance.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-11
Search/Replace Text
Edit (E)
Select "Edit (E)"
Search/Replace text(K)
"Search/Replace Text(K)" from the menu, and the "Search/Replace" dialog box
appears.
5
EDIT
Item
Explanation
Input the character string to be searched. When
Search string
button is clicked,
a pulldown menu appears, and a list of the last ten selected operands
is displayed.
Module / macro *3
Selected range*1
Up
Direction
Objects*3
Down
Script
Module/macro name
Case-sensitive
Option
Search 100% match
(Replace all)*1
(List display)*2
5-12
Rung comment
String value
"Search"
(Replace)*1
(Close)
*1
*2
Displayed only when "replaced to the following character string" is not selected.
*3
Valid only when the models "KV-5000", "KV-3000" and "KV-1000" are used.
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Batch Replace
Edit (E)
"Batch replace (G)" from the menu. Input the required project.
5
EDIT
Item
Explanation
No.
Replace source
(Replace destination)
Number of points
Point form
HEX.
Replace content
Entire project
Module / macro *3
Select
Range
module
Selected range
"Execute"
(Close)
*1
When error device No. is specified, "-" will be displayed in "replacement content", indicating the
irreplaceable device.
*2
When the number of devices exceeding device range is specified, "-" will be displayed in "
replacement content", indicating range error.
*3
Valid only when the models "KV-5000", "KV-3000" and "KV-1000" are used.
7,3
When irreplaceable device and range are specified, click "operation" button, and
"irreplaceable" message pops up, then the cursor will be moved to error entry box.
Copy and paste can be made to Microsoft Excel.
(Press
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-13
Cross Reference
Edit (E)
Cross reference(X)
(Space)
Ctrl + L
Previous (A)
Next (B)
Where the operand to be used is specified, and a list is displayed in the output window.
EDIT
Making a cross-reference
Select creating cross reference operand, double click on the displayed project, the cursor will be
moved to operand of corresponding editor.
Select "Edit (E)"
When making a cross-reference, where the specified operand to be used will be specified, and a list is
displayed in the output window.
Note
"Creat rung cmnts list (L)" from the menu, and the rung
"Next (B)" from the menu, the next cross reference will
be selected.
5-14
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Jump
Jump to any specified position such as a rung No. or step in a program, or jump to the start or the end
of a rung.
Rung/step No.
Select "Edit (E)"
"Jump (J)"
"Jump (J)"
Other procedure
Input the rung No. or step No. of the jump destination. To jump a specified step No., select the
"Jump to step No." checkbox.
The specified rung or step is displayed. The cursor is also moved to the specified rung.
7,3
Note
When performing a jump by a step No., the program must be converted in advance.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-15
EDIT
Jump to any specified position such as a rung No. or step No. in a program by the following procedures.
Top/bottom
"Edit (E)"
"Jump (J)"
"Jump (J)"
EDIT
Jump to bottom
Select "Edit (E)"
"Jump (J)"
Previous/next block
"Edit (E)"
"Jump (J)"
"Jump (J)"
"Jump (J)"
Previous/next symbol
"Edit (E)"
"Jump (J)"
"Jump (J)"
5-16
"Jump (J)"
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Home/end
"Edit (E)"
"Jump (J)"
"Jump (J)"
EDIT
"Jump (J)"
"Jump (J)"
"Jump (J)"
"Jump (J)"
Jump (J)
Open the module / macro using the instructions/ functions of MDSTRT, MDSTOP, MCALL. MSTRT and
ECALL as object.
Select instructions/ functions of MDSTRT, MDSTOP, MCALL. MSTRT and ECALL, and select "Edit
(E)"
"Jump (J)"
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-17
Insert
Cell
"Edit (E)"
5
EDIT
1
2
"Insert (W)"
"Insert (W)"
Empty rung
"Edit (E)"
"Insert (W)"
Move the cursor to the rung where the empty rung to be inserted.
7,3
To insert multiple empty rungs as a group, select the group of rungs where the empty rungs
to be inserted.
"Select a range", (Page 5-3)
"Insert (W)"
Rung comment
"Edit (E)"
"Insert (W)"
1
2
Move the cursor to the rung where the rung comment is to be inserted.
Select "Edit (E)"
"Insert (W)"
5-18
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
keys to confirm.
7,3
To edit an already inputted rung comment, either double-click on the rung comment or press
the
key. F2 key.
Loopback ladder
Insert (W)
"Insert (W)"
7,3
When support model is "KV-5000/3000/1000", return Ladder with return symbol can be
inserted in option setting.
"System setting", (Page 11-15)
Note
When insert folded ladder, select the cells from the third rails afterward from the menu.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-19
EDIT
Edit (E)
Deleting Rungs
"Edit (E)"
7,3
5
EDIT
"Edit (E)"
"Edi (E)"
Setup (Q)
Ctrl + Q
After processing ladder rung comment, part ladders of comment processing will not be operated during
conversion. In debug mode, temporarily set if the operation is not required.
Other procedure
Note
5-20
Ladders to which disabling of rungs is set are not transferred to the PLC.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Rung Setting
Width
"Edit (E)"
Width (W)
Other procedure
EDIT
Height
"Edit (E)"
Height (H)
Other procedure
Auto-adjust
"Edit (E)"
Auto-adjust (D)
The width and height are automatically adjusted to the optimum values.
Other procedure
Select the range, and double-click the boundary rung between cells.
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-21
Bookmark
When setting bookmark in rung comment, rung comment will be displayed in workspace.
When double-clicking the bookmark displayed in workspace, rung comment with set bookmark is
displayed.
Note
5
EDIT
Insert
Edit (E)
Bookmark(H)
Insert (I)
Move the cursor to the rung where the rung comment is to be inserted.
"Insert (I)".
keys to confirm.
5-22
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Setting
Edit (E)
Bookmark (H)
Set (S)
Ctrl + Shift +
"Bookmark ( H ) "
Other procedure
EDIT
Remove
Edit (E)
Bookmark (H)
Remove (D)
"Remove (D)".
Bookmark is removed.
Other procedure
Select [Remove the selected bookmark (D)] from right-click menu in work area
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-23
Edit Mode
Switch between expansion Ladder mode and connecting rung edit mode.
In regular programming of ladders, only one OUT, TMR or other output instruction can be written to a
EDIT
single rung of the ladder program. However, the number of rungs in the program can be reduced and
the processing sequence made clearer by using the expander ladder mode.
For example, ON delay timers become as follows:
R000
#30
T0
T0
R500
R000
Regular ladder
#30
T0
T0
R500
Expanded ladder
When the expanded ladder mode is selected and the output instructions is inputted, the cursor is not
automatically moved to the right edge, and instructions can be continuously inputted. In the regular
ladder programming mode, the cursor is automatically moved to the right edge when an output
instruction is inputted.
For example, the ladder program is as follows when the OUT instruction is inputted.
When the expanded ladder mode is not selected
When the OUT instruction is inputted, the cursor is moved the right edge of the ladder.
7,3
The expanded ladder mode setting is automatically saved on KV STUDIO, and is enabled
when KV STUDIO is next started up.
Box-type instructions (
MOV
5-24
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
In this mode, connection rungs can be drawn or deleted using the mouse and arrow keys.
Perform the same to return to the normal edit mode from the connection rung edit mode.
menu.
TIP
When the connection rung edit mode is enabled, "Connection rung edit mode (B)" in the Edit
menu is preceded by a tick mark.
When inducing connecting rung, move the mouse cursor to the start location where connecting
rung will be induced.
Click the mouse, the cursor becomes a " pencil holding hand ", and drag the mouse from the
initial position of connecting rung to the final position of connecting rung.
To delete a connection rung using the arrow Shift keys, move the cursor with the arrow key for the
direction that you want to delete the connection rung with the Shift key pressed.
Other procedure
To draw a connection rung using the arrow keys, move the cursor with the arrow key for
the direction that you want to draw the connection rung with the Alt key pressed.
To draw a connection rung using the arrow keys, move the cursor with the arrow key for the
direction that you want to draw the connection rung with the Alt key pressed.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-25
EDIT
Other procedure
F9
Alt +
Shift + F8
Shift + F9
, Ctrl + Tab
EDIT
Press keys
F8
F9
Alt + <Alt +
->
, Ctrl + Tab
:Draw a connection line to the top/bottom/left/right according to the arrow key you press.
:Draw a connection line from the cursor position to the end of the rung.
Click icons
:Draws a vertical connection line downwards from the cursor position.
:Draws a horizontal connection line rightwards from the cursor position.
Use the mouse and arrow keys in the connection line edit mode
"Connection line Edit Mode", (Page 5-25)
Press keys
Shift + F8
Delete
Alt + <-
:Delete a connection rung to the top/bottom/left/right according to the arrow key you press.
Click icons
:Delete the connection line to the left of the cursor position.
:Delete the horizontal connection line at the cursor position.
Use the mouse and arrow keys in the connection line edit mode
"Connection line Edit Mode", (Page 5-25)
5-26
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Ladder Arrangement
"Edit (E)"
In order to make the ladder more understandable, please arrange the symbol position of the adder
following the procedures below.
EDIT
Except conversion error position, whole project Ladder is arranged in good order.
Edit List
"Edit (E)"
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-27
5
EDIT
Mnemonics
Operand
Blank
Edit this part
Note
5-28
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
Change Operands
Edit (E)
1
2
When selecting a cell to which an instruction is not inputted, and press the
key, the
Specify operand.
Item
Operand
Explanation
Value
Type list
Explanation of operand
7,3
When clicking the "OK" button without specifying an operand, unspecified operands are
indicated by "???." It is handy if you want to make only a ladder network beforehand when
relay assignments, etc. are not fixed.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
5-29
EDIT
7,3
5
EDIT
1
2
Select the cell containing the instruction whose device comment is to be changed.
Select "Edit (E)"
5-30
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_05xJ.fm
6
DISPLAY
method.
6-1
6-2
6-3
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_060xJ.fm
6-1
DISPLAY
This section describes each of the functions contained in the "View(V)" menu. .
Toolbar/Status Bar
View(V)
Toolbar(T)
"Status bar(S)"
Select View(V)
Toolbar(T) or Status bar(S) From the menu, toggle display/hide of Toolbar/Status bar.
When the tool bar is marked by a tick : The tool bar is displayed.
When the tool bar is not marked by a tick: The tool bar is hidden.
6
DISPLAY
Toolbar
Status bar
TIP
Clicking "Tool bar(T)" displays a sub-menu that displays the types of available tool bars.
Each time clicking of this option toggles between display/hide.
6-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Workspace
View(V)
Select View(V)
Workspace K Alt + 1
6
DISPLAY
Workspace
"macro" tab
*Macro tab can be selected only when the models "KV-5000" "KV-3000" "KV-1000" are selected.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-3
6
DISPLAY
*Monitor tab can be selected only when the models "KV-5000" "KV-3000" "KV-1000" are selected.
6-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
"Project" tab.
The display status of " Item" tab selected in workspace is introduced below.
Unit configuration
Units set on Unit Editor and assigned relays/DMs are displayed.
The Custom Monitor and Unit Monitor also can be displayed.
TIP
Unit configuration , is displayed only when the model is "KV-5000", "KV-3000", "KV-1000", "KV700", "KV-700+M".
6
DISPLAY
Explanation
Start unit editor.
"Part 3 Unit Editor" (Page 3-1)
Pop up "Edit CPU positioning Parameters" dialog box.
"KV-5000/3000 Series User's Manual", "2-12 Motor(positioning)Control"
ForKV-5000 / 3000 /1000,start high-speed counter setting wizard.
KV-5000/3000 Series PLC User's Manual, "2-8 High-speed count"
It pops up "Logging settings list" dialog box.
"KV-5000 / 3000 series PLC User's Manual" logging/tracing
It displays "Setup display option of workspace" dialog box.
Display custom monitor.
Please see
MOTION BUILDER
PROTOCOL STUDIO
Setup mail
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-5
*1
*2
*3
6
DISPLAY
TIP Unit configuration switching is applied only for equipments with different unit configuration.
Using the function, can conduct centralized managementon the project managed via device unit.
Device comment
Double click on "Device Comment", display "Device Comment Edit" window.
"Displaying the Device Comment Edit Window", (Page6-17)
Label
Double-clicking on "Edit labels", the "Edit labels" window pops up.
"Displaying the Label Edit Window", (Page6-20)
TIP
CPU system setting. It is valid only when the models "KV-5000", "KV-3000", "KV-1000" are
selected.
Program settings
Set up execute sequence of module
Execute sequence of modules
"Execution sequence of modules setting", (Page 6-42)
Fixed period execute and user interrupt
Fixed cycle module cycle setting and break priority setting.
"Fixed period execute and user interrupt setting", (Page6-43)
Scantime related
Set fixed scanning time operation and END processing time.
"Scan time related setting", (Page6-45)
Protection setting
Set related settings of CPU protection.
"Protection setting", (Page6-46)
6-6
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
System setting
Entire assigment setting of local device
For the assignment setup of global/local devices and local labels/script devices.
"Entire assignment of local device", (Page6-47)
Set module /macro type device
According to different modules / macros, set the number of Local Devices used.
"Setup module/macro device", (Page6-51)
CPU unit buffer
DISPLAY
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-7
Ladder program
Manage module creation and deletion, etc.
And classify programmed modules.
For more information, please refer to the
Item
Copy
Description
Copy the selected unit.
DISPLAY
Paste*1
Rename
New module*1
New a module.*3
Open modules/macro
Delete
module/macro:*1
*3
*3
Set/cancel module/macro
Disable selected module. Valid after operation again. The disabled module
disable *1
Set up the maximum number of devices that can be used by each module.
device *1
Setup module execute
seguence*1
Fixed peried execute and user
interrupt setting*1
Import modules/macro*1
Change display*1
*3
*3
Module/macro property
Project property
6-8
*3
*3
*1
It is displayed only when the models "KV-5000", "KV-3000", "KV-1000" are selected.
*2
*3
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Macro
Display the macro registered to the project being edited according to different categories, and conduct
macro related managements such as create and delete, etc.
For macro details, please see
Explanation
Copy
Paste
Rename
New macro
New a macro.*1
Open module/macro
Delete module/macro
Set/cancel module/macro
disable
device
DISPLAY
*1
*1
Sets the upper limit to the number of local devices that are used for each
module/macro.
"Local Devices by Module/macro Setting", (Page8-6)
*1
Import module/macro
Import user macro created using tools other than current CPU unit.
Display macro attribute.
*1
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-9
"Macro" tab
Introduce the display status after the "macro" tab is selected in workspace.
TIP "macro" tab is only displayed when "the edit mode of KV-5000", "KV-3000", "KV-1000" is
"editor".
Project
Display the macro registered to the project being edited according to different categories, and conduct
DISPLAY
For macro details, please see "KV-5000 / 3000 series User's Manual".
"Right-click menu in macro.", (Page6-9)
Program library
Display the macro registered to the computer and being used.
TIP It is displayed only when the models "KV-5000", "KV-3000", "KV-1000" are selected.
Right-click the menu in system
Right-click on t"system" or every system macro, the following menu will appear.
Item
Explanation
Copy
Open macro
Users
Right-click on "Users" or user registration macro, the following menu will appear.
Item
6-10
Explanation
Copy
Paste
Open macro
Delete Macro
Rename
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
"Monitor" tab
Introduce display status of the "monitor" tab selected in workspace.
TIP The "Monitor" tab is displayed when the mode of "KV-5000", "KV-3000", and "KV-1000" is
"Monitor". "Online Editor", or "Simulator".
Ladder program
Manage the operation/ stop of every module and macro created during monitor/ online editor/ simulator.
DISPLAY
For macro details, please see "KV-5000 / 3000 series User's Manual".
Description
Open module/macro
Display "different module / macro device settings" of " CPU system setting".
device
Setup module execute
sequence
Start module*1
Stop module*1
Module/macro property
Project property
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-11
Output Window
"View (V)"
From the menu, select "Display (V)"
Switch the displayed image via the tab on the lower part of output window.
6
DISPLAY
Project (tab)
Explanation
Display converted result of ladder program.
Convert
Search
Verify
Communicate
Local assignment
BREAK log
7,3
6-12
In output window, right-click, selecting "Save in text format (K)", the content displayed in
output window can be saved in text format.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Module Library
View(V)
From the menu, select "View (V)"
Module library(M)
library.
6
DISPLAY
Description
Copy the selected range.
Paste
New folder
Open module/macro
Rename
Delete
Import library
Export library
Module/macro
property
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-13
Workspace
Call
DISPLAY
Register
Module library
TIP
Enter Instruction
View(V)
From the menu, select "view (V)"
Select the cell to which the instruction is not entered in Ladder, press
Move cursor to the cell to which not entered in Ladder and double click.
Instruction pallet
For instruction pallet details, please see
6-14
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
key.
Macro pallet
TIP
Macro pallet is displayed only when the models "KV-5000", "KV-3000", "KV-1000" are
selected.
Macro list
6
DISPLAY
Item
Description
Macro name/type Display the name and type of the macro selected.
Comment
Operand
Explanation of
operand
ID No.
("in excution")
(Help)
(Overwrite)
(Close)
7,3
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-15
Pack pallet
pack pallet is displayed only when the models "KV-700", "KV-700+M" are selected.
TIP
6
DISPLAY
Item
Select unit
Select pack
instruction
Setup axis
Setup parameter
(Help)
6-16
Description
Select from positioning module (KV-H20S / H40S / H40G) set using module editor.
Select PACK instruction.
For details of PACK instruction, please see
(Overwrite)
(Close)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
View(V)
From the menu, select "view (V)"
Ctrl + F7
"Device cmnt edit window(C)", and the device comment edit window
pop up.
The display screen can be switched by clicking the "Global" tab or the "Local" tab on the comment edit
window. ("local" tab is displayed only when the model selected is "KV-5000" "KV-3000" " KV-1000 ").
When the "Details" button is clicked, the display screen changes, and devices are displayed in detail.
Other procedure
Select "Device cmnt edit window(K)" from the menu that appears by right-clicking the workspace.
For comment display, please see
DISPLAY
TIP
Item
Description
Select device
Select unit
Select module/macro*1
"Register special devices"
"Register unit devices"*2
"Detail"
"Closes detail"
All devices
Display
Used
mode
Unused
(Update)
Comments/label register
Label display
Using status
Jump
Device No.
comment1, comment2
Local device comment 1
Local device comment 2
*1
It is valid only when the models "KV-5000", "KV-3000", "KV-1000" are selected.
*2
It is valid only when the models "KV-5000", "KV-3000", "KV-1000" "KV-700+M", "KV-700" are selected.
TIP
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-17
Description
Undo
Redo
Cut
Copy
Paste
DISPLAY
Delete
Seach
Replace
Cross reference
TIP
Comments can be copied and pasted between KV STUDIO and Microsoft Excel.
(Press Ctrl + C Keys\ Ctrl + V Keys)
key +
key), the "device comment edit window search" dialog box pops up.
Item
Explanation
Enter the text string to search. When the
button is clicked, a
Search strings
pulldown menu is displayed, and a list of the last ten selected text strings
Case sensitive
is displayed.
Search
Entire project
range
Selected device
Search
direction
6-18
When this checkbox is marked, only items that completely match the
Up
Down
Moves the cursor upwards, and displays the next instruction or operand
that matches the search conditions.
Moves the cursor downwards, and displays the next instruction or
operand that matches the search conditions.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Right-click on "comment 1", "comment 2" , "local comment 1" or "local comment 2", select
"replace" (or press
key +
key).
6
DISPLAY
Item
Explanation
Enter the text string before the replace is executed. When the
Search strg
button
is clicked, a pulldown menu is displayed, and a list of the last ten selected
text strings is displayed.
Enter the text string before the replace is executed. When the
button
Replace string
is clicked, a pulldown menu is displayed, and a list of the last ten selected
Case sensitive
Entire project
When this checkbox is marked, only items that completely match the
entered text string are searched.
The entire project is set as the replace range.
Selected device
Selected range
To replace individual text strings, click the "Execute" button. To batch-replace text strings, click
the "Replace all" button.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-19
View(V)
Select "View(V)"
"Label edit window(L)" from the menu. Different dialog boxes will be displayed for
DISPLAY
"Global" tab
Set global label registration.
Item
Label name
Data format
Bit (BOOL)
1-word unsigned
integerUINT
2-word unsigned
integerUDINT
1-word signed
integer(INT)
2-word signed
integer(DINT)
Float real number
REAL
Explanation
Enter the label name here (within 32 1-byte characters/16 2-byte characters)
Specify device data format assigned to global label.
The postfix is processed as bit type data.
Process as 16 bits unsigned data (default postfix is U).
Process as 32 bits unsigned data (default postfix is D).
Process as 16 bits signed data (default postfix is S).
Process as 32 bits signed data (default postfix is L).
Process as floating real number (default postfix is F).
*1
Text stringSTRING The postfix is processed as text string data.
Timer
Use timer.The devices other than timer device are not assigned.
Counter
Use counter.The devices other than counter device are not assigned.
Array
Device/constant
Label comment
(Up)
(Down)
(sequencing function valid) Set the sequencing function under "label edit window" to valid.
(Import device comment)
6-20
Current device or unit comments are imported into the label comments.
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
*1
*2
*3
The constant can be assigned to global label.Please specify constant in the specified range of data format.
TIP
The
devi Range assigned to label is displayed on the
status bar of "label edit" window.
"Local" tab
DISPLAY
Item
Select module/macro
Explanation
Select module/ macro registered to local label.
Capture
Label name*1
Enter the label name here (within 32 1-byte characters/16 2-byte characters)
Data format
Bit(BOOL)
1-word unsigned
integerUINT
2-word unsigned
integerUDINT
1-word signed integer
(INT)
2-word signed integer
(DINT)
Float real number
REAL
*2
Text stringSTRING The postfix is processed as text string data.
Timer
Use timer.The devices other than timer device are not assigned.
Counter
Use counter.The devices other than counter device are not assigned.
Array
Constant
Label comment
(Up)
Move up the selected line. This button cannot be used when Assort is enabled.
(Down)
Move down the selected line. This button cannot be used when Assort is enabled.
(sequencing function valid) Set the sequencing function under "label edit window" to valid.
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-21
*1
The same label name can be used in different modules/macros. When the name is the same as
the global label, the priority will be given to the local label.
*2
*3
Process as "Local label arrangement " during programming script program.Arrangement can not
be used in creating ladder program.
KV-5000/3000 Series Script Programming Manual
*4
The constant can be assigned to local label. Please specify constant in the specified range of data format.
DISPLAY
Item
Description
Label name
Device
Input device
Device Comment
TIP
Description
Cut the selected label.
Copy
Paste
Batch-insert*1
Batch-insert label.
Row insert
Delete row
INC insert
No assort*1
6-22
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Item
Description
Arrange device as per ascending sequence. Rearrange as per ascending
Sort by comment
Search
Replace
Corss reference
*1
*2
DISPLAY
PRI: high
Counter
TIP
Press
key+
key
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-23
Item
Explanation
Enter the text string to search. When the
Search string
Case sensitive
Label
target
Device
Search
direction
is displayed, and a list of the last ten selected text strings is displayed.
Up
Down
DISPLAY
Press
key+
key
Item
Explanation
Enter the text string before the replace is executed. When the
Search string
button is
clicked, a pulldown menu is displayed, and a list of the last ten selected text
strings is displayed.
Enter the text string before the replace is executed. When the
button is
Replace string
clicked, a pulldown menu is displayed, and a list of the last ten selected text
Case sensitive
strings is displayed.
range
Select range
To replace individual text strings, click the "Execute" button. To batch-replace text strings, click
the "Replace all" button.
6-24
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
View(V)
From the menu, select "display (Z)"
device.
6
DISPLAY
Item
Global (tab)
Explanation
Display use list of global device.
Local (tab) *1
Select device
Select a device.
Select this option when the device use list is displayed for a PLC exented/
Select unit
special module.
When "----" is displayed, use list of all modules will be displayed.
All devices
Display mode Used
Unused
Reg comments
Using status
Select module/macro*1
When "----" is displayed, application list of all modules/ macros will be displayed
in list form.
"Update"
Jump
"Close details" *2
*1
*2
It is displayed only when the models "KV-5000", "KV-3000", "KV-1000" are selected.
After closing detail, hide " close detail " button, and " detail " button is displayed.
Click "detail"
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-25
7,3
Explanation
Device No. is displayed.
Indicates contact instruction. When 1 above contacts are used,
is
displayed.
Indicates output instruction. When 1 above outputs are used,
is
displayed.
Cnt
Error
target side. It is not displayed for input relay, CR, unit input relay, specific
unit relay
DISPLAY
View(V)
Select "VIew(V)"
"Display use status(U)" from the menu. The "Use status display" window is displayed.
Item
Description
Select device
Select module/macro
Up
direction
Down
Used
(Excute search)
6-26
Search
Search device
"Update"
(Option)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Item
Jump
Description
Jump to display the specified device No..
* Can set " ignore ZRES instruction " in the "device service status option setting" dialog box.
TIP
Ladder can be edited while the " application status display " dialog box is displayed.
The devices programmed in script are not counted (the ladder devices in a unfolded script
are countered)
Device No. are as follows.
When MR000 to MR015
6
DISPLAY
The values in the table represents countings of ladder use (including contact/output).
"*" is showed when the use countings are over 100.
The format for compiling file is as follows.
Bluedevices used by Ladder (race contention unused)
Whitedevices unused by the ladder
Redrace contention devices used in the ladder
View (V)
From the menu, select "View (V)"
" CPU system setting (P)", display the " CPU system setting" dialog
box.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-27
Mnemonics List
View(V)
Mnemonic list(N)
The "Mnemonic symbol list" window can be selected from the menu only in Monitor or Simulator.
Other procedure
DISPLAY
TIP
Click line number of Ladder edit window, move the cursor in mnemonic list to corresponding
line numbered position.
View(V)
Zoom in (E)
Ctrl + PageUp
View(V)
Ctrl + PageDown
Ladder diagrams can be displayed in five sizes. The default is "100%" when KV STUDIO is started up.
From the menu, select "View (V)"
7,3
6-28
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Auto Zoom
"View" (V)
When "Auto zoom" is selected, "Zoom in (E) " and "Zoom out (R) " become grey.
Displaying Labels
View(V)
"Display label (G)", and the device name is hidden and the label is displayed.
"Display label and device(D)" from the menu to tile the device name and the
label.
For label edit, please see
Displaying Comments
View(V)
Press
TIP
" Option (O)", open "Setup option" dialog box. The "Setup
option" dialog box is displayed. Display/hide can be set also on the "Set display mode" tab.
Comments to display can also be selected from "comment1/comment2".
For comment edit, please see
6-17).
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-29
DISPLAY
View(V)
Display device names of symbols in the ladder program in device annotation for the unit.
With device annotation for units, relays/DMs assigned on Unit Editor can be expressed in the
annotation "nth relay/DM from the start of the unit connected to nth".
For example, the relay No. of the 5th input on the Input Unit next to the CPU becomes "R01_005". Also,
the 31st relay No. of 3rd Output Unit from the CPU becomes "R03_00115".
Unit No.
DISPLAY
Unit No.
: Connection No. of the unit assigned as 0, 1, 2, 3, 4 and so forth starting from the
CPU.
Unit relay No.
: Relay No. assigned the number of relay points to be occupied from 00000
Unit No.
KV-U7
KV-DR1
KV-5000
KVB16X
KVC32X
KVB16T
KVC32T
KVH20S
00000
00000
00000
00000
00000
00000
01915
00015
00115
00015
00115
01215
Note
R05_603
CPU device other than KV-5000 cannot be indicated using unit device mark.
TIP
" Option (O)", open "Setup option" dialog box. Unit device
display can be also set in "Setup display mode" (display mode setting) label.
6-30
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
View (V)
From the menu, select "display (V)"
and macro argument device are displayed with global device mark of destination assignment only in
monitor mode or simulator mode (only limited to KV-1000).
When KV-5000/3000 is used, the macro argument device (P/V/UM/UM/UV) is displayed as assignment
destination memory (VM)/relay (VR).
TIP
View (V)
From the menu, select "View (V)"
DISPLAY
device display can be also set in "Display mode" (display mode setting) label.
Ladder is displayed as HEX only in monitor mode, online editor mode or simulator mode.
TIP
display can be also set in "Setup display mode" (display mode setting) label.
View(V)
Cells that have been edited by online edit are displayed with a light blue background. This indicates that
the program has been changed. Clear this display indication.
Select "View(V)"
"Clear changed background color(H)" from the menu. The background color
TIP
"Option(O)" From the menu, and set on the "Online edit setting" tab
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-31
This section describes how to enter and delete instructions in ladder diagrams.
Entering Instructions
6
DISPLAY
Enter the leading character of the instruction, and directly enter the instruction using a
mnemonic from the dialog box that is displayed.
"Directly Entering Instructions Using Mnemonics", (Page6-35)
6-32
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Move the mouse cursor to the cell on the ladder diagram to enter the instruction to and doubleclick.
Other procedure
Select "View(V)"
Click
button.
Select a cell on the ladder edit window not containing an instruction, and press the
DISPLAY
key.
TIP
Ctrl + Shift + P
This way, ladder programs can be made with the instruction/macro/pack/palette displayed at all
times.
When you select a cell containing an instruction and press the
key, the [Operand edit]
dialog box is displayed.
"Changing operands", (Page6-34)
If you are still not familiar with making ladder programs or entering instructions, you can
enter instructions reliably and without any mistakes by entering from the "Instruction/
macro palette" window.
Item
Explanation
Displays the symbols to enter as a list together with a brief description of its
operation.
Displays the symbols to input in the form of a tree.
Displays the symbols to input in the form of a list.
Search instruction
Suffix/differential
Instructions to be displayed in the form of a symbol display list can be selected by individual
groups. Select from "All insts/Basic insts/Application insts/Operation insts/ Expanded insts".
Enter the instruction in the right column and click the "Search (B)" button to search.
This item can be set when an instruction that can be set is selected. When an
instruction that cannot be set is currently selected, this item is displayed in gray and
cannot be selected. The default suffix is "U".
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-33
Item
Explanation of
instructions
Operand
Type list
Explanation of
operands
Explanation
Displays an explanation of operation of the currently selected symbol.
Enter values and comments here.
Displays a list of devices that can be set to the currently selected operand.
Displays an explanation of the currently selected operand.
Drag-and-drop the symbol selected in step 2 to place it the location to enter the instruction.
The symbol is entered.
DISPLAY
Other procedure
Changing operands
When you select a cell containing an instruction and press the
displayed.
Other procedure
"operand ( O )"
Item
Operand
Explanation
Value
Type list
Explanation of operands
When you change the value or comment, and click the "OK" button, the value or comment is changed.
TIP
Characters"
When entering value on command symbol, Device No. can be only changed.
6-34
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
TIP
Instructions can be entered more quickly than when you use the "Instruction/macro/pack/
palette" window.
Select the cell to which the command will be entered in Ladder edit window, enter the starting
character of the command to be entered and the direct entry dialog box pops up.
key
DISPLAY
Other procedure
Enter instructions in mnemonic format with a 1-byte space between the instruction
and the device name (operand).
TIP
Blank Blank
Blank
Blank
Some instructions can be abbreviated in the entry format. For details, see
KV-5000/
Complete command and operand entry, click "save" button or "insert" button.
Click "overwrite" button, overwrite at the cursor position, click the "insert" button, insert at the cursor
position.
TIP
If you click the "Overwrite" or "Insert" button without specifying an operand, unspecified
operands are indicated by "???"
The instruction can also be entered by function keys in direct input dialog box. For
instructions assigned to various function keys, see
Page A-13.
Move the cursor to the instruction to change and press the Esc or Key or
key, display
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-35
F5
Shift + F5
OR Enter of NO contact F4
OR Enter of NC contact Shift + F4
Enter coils
F7
Shift + F7
Enter NO contacts, NC contacts, NO contact ORs, NC contact ORs, and coils/NC contact coils.
DISPLAY
Select the cell to enter the instruction to, Select the type of contact to enter from the tool bar (edit
symbol 1).
It pops up "Operand" dialog box.
Explanation
Value
Type list
Explanation of operands
TIP
Characters".
If you click the "OK" button without specifying an operand, unspecified operands are
indicated by "???."
???
6-36
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Alt + F1
SET
RES
Alt + F2
RES
TMR
Alt + F3
TMS
Alt + F5
T
S
Alt + 0
C 0
DIFU
Alt + F8
DIFD
Alt + F9
MOV
Alt + F10
LDA
Alt + F11
LDA
STA
Alt + F12
STA
DIFU
DIFD
MOV
DISPLAY
Entering set, reset, timers, counters, differential contacts, differential output, and data transfer
instructions
TIP
Different PLC categories are selected for some models, some icons are hidden. The entry of
shortcut keys supporting command not displayed is invalid.
Select the cell to which the command will be entered, select the command to be entered from
tool bar (edit symbol 2).
It pops up "Operand" dialog box.
Explanation
Value
Type list
Explanation of operands
TIP
Characters"
If you click the "OK" button without specifying an operand, unspecified operands are
indicated by "???."
???
SET
MOV
DM0
???
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-37
Alt + Shift + F5
MEF
Alt + Ctrl + F5
LDP
Alt + F7
LDF
Alt + Shift + F7
ORP
Alt + Shift + F8
ORF
Alt + Shift + F9
INV
6
DISPLAY
TIP
When selecting KV-P16, KV-10 (16), KV-24 (40), edit symbol 3 cannot be displayed.
Different PLC categories are selected for some models, some icons are hidden.
The
Select the cell to which the command will be entered, select the command to be entered from
tool bar (edit symbol 3).
It pops up "Operand" dialog box.
Explanation
Value
Type list
Explanation of operands
TIP
Characters"
If you click the "OK" button without specifying an operand, unspecified operands are
indicated by "???."
???
6-38
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
PLSX
PLSY
PLSY
JOGX
JOGX
JOGY
CW
CCW
HIGH
ORGX
ORGX
ORGY
ORGY
TCHX
TCHX
TCHY
TCHY
JOGY
CW
CCW
HIGH
Note
Select the cell to which the command will be entered, select the command to be entered from
tool bar (CPU positioning symbol ).
It pops up "Operand" dialog box.
TIP
The "Operand" dialog box is not displayed for each of the JOGX, JOGY, ORGX, ORGY,
TCHX, and TCHY instructions as they do not have operands. These instructions are
displayed as symbols.
Item
Operand
Explanation
Value
Type list
Explanation of operands
7,3
Characters"
If you click the "OK" button without specifying an operand, unspecified operands are
indicated by "???."
???
PLSX
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-39
DISPLAY
7,3
The devices that can be entered from device comment edit window or "device use list" dialog
box are only limited to R, MR, LR, B, CR.
6
DISPLAY
Left-click drag
Right-click on Device No. entered using device comment edit window and " device use list "
dialog box, dragdrop to any cell of Ladder edit window.
Right-click drag
6-40
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6
The cell magnified, the command that cannot be entered, the menu changes to grey, cannot
be used.
Deleting Instructions
Select the cell on the ladder edit window containing the instruction to delete, and press the Delete
key.
When entering instructions, entry of the suffix can be omitted by specifying the default suffix
beforehand. The default suffix is set to "U (no suffix)".
For postfix details, please see
Specify the suffix to set as the default from the "Suffix" pulldown list. This sets the
default suffix.
TIP
Even if a default suffix has been set, it can be ignored and the desired suffix can be entered
by specifying the suffix during direct entry.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-41
DISPLAY
7,3
CPU system setting. It is valid only when the models "KV-5000", "KV-3000", "KV1000" are selected.
Program Settings
Here, the global program setting operations such as module execution sequence and scanning time
DISPLAY
will be introduced.
Operation serial No. can be set in case of multiple modules. The module operates in turn according to the
No. sequence preset.
Item
No.
Explanation
Module execution sequence.
Module name
The name of every module registered to the project. (hide fixed cycle module)
Type
Disable
Up
Down
Note
Initialize module cannot be moved to below every scanning module and standby module.
Fixed cycle module is displayed on the uppermost part.
6-42
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
"Fixed period execute and user interrupt settings" can be selected, only when the
models are "KV-5000", "KV-3000".
6
DISPLAY
please see "KV-5000 / 3000 series user manual" 3-8 module "".
Item
Period
Explanation
Set cycle time of fixed period module.
After selecting checkbox, during operation of CPU unit, fixed cycle
executing state
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-43
Item
Item
Explanation
Items that can be interrupt processed.
Set priority in all interrupted projects.
Priority
Priority can be divided into three levels, " high " means the highest priority and
"low" means the lowerest priority.
Priority: high
DISPLAY
Priority: low
INT R000
Input 1
INT R001
Input 2
INT R002
Input 3
INT R003
Input 4
INT R004
Input 5
INT R005
Input 6
INT R006
Input 7
INT R007
Input 8
INT R008
Input 9
INT R009
INT CTC0
INT CTC1
INT CTC2
INT CTC3
Positioning Xaxis
INT CR3013
Positioning Yaxis
INT CR3113
instruction excution
When the check box is selected, the index register Z1~Z10 is automatically
stored in the memory upon interrupt initiation. After break program ends, the
and ends
Initialize
6-44
Explanation
Enable interrupt in
Click "initialize" button, restore all projects in "fixed period operation and user
interrupt setting" image to initial (default) status.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6
DISPLAY
Item
Explanation
After selecting checkbox, operate fixed scanning time. Please set the
Setting value shall be set to a value greater than actual scanning time.
If less than actual scanning time, it cannot be operated within fixed
scanning time.
After selecting checkbox, END processing time setting changes to enabled.
Please set the setting value of END processing time using 100s.
After checking "enable END processing time setting", changes to grey
display, cannot be set.
TIP
When the model is KV-1000, conduct combination setting of MEMSW command and CM
(control memory). For details, please see
reference manual".
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-45
Protection setting
For protection setting, select "protection setting" in the window on left side of "CPU system setting" dialog box.
6
DISPLAY
Item
Explanation
programs in CPU
programs in CPU
TIP
6-46
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
System Setting
Here, the global program setting operations such as local device assignment and power-off hold will be
introduced.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-47
DISPLAY
8-6)
Item
Explanation
Indicates the number of Local Devices preset of every device.
It can also be
Local device
set.
reserved quantity
The number of Local Device reserved refers to the number of all Local
Devices.
Indicates the range that global device can be used, which is adjusted
according to the reserved number of local devices.
Assignment status of every device is displayed via diagram. The number of
Display configration
ratio
DISPLAY
Total
Total number= the number of global devices + the number of Local Device
preset + the number of preset system devices
Initialize
"Setup workarea"
Click "initialize" button, restore the number of Local Devices retained to initial
value (default).
Display "Workspace setting" dialog box.
"Workspace setting", (Page 6-49)
Item
Explanation
Indicates the number of Local Device assignable in project.
Assignable quantity
Quantity used
Residual quantity
6-48
Display module/
macro type device
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Workspace setting
6
DISPLAY
No.
Item
Number of work
Quantity used
Residual quantity
Explanation
Set number of workspace for script processing character string function.
Display local work used for words of local workspace.
Display available number of local workspace in the project.
Display total used number of local work for each module/macro.
Display residual available number in local work.
" the number of residual"=" the number of usable-" the number of used "
Display module/
After remove automatic check box, set the number of local work to be used.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-49
6
DISPLAY
7
4
5
6
Item
Explanation
Local reserved
quantity
The number of local preset refers to the number of Local Devices of whole project.
Indicates the range that global device can be used, which is adjusted according to the
reserved number of local devices.
Assignment status of every device is displayed via diagram. The number of
devices specified with Local device
reserved quantity is displayed as "used local devices" + "unused local devices".
Indicates total number of devices.
Total
Total numbers= the number of global devices + the number of Local Device preset + the number of preset system devices
Script reserved
quantity
Initialize
Click "initialize" button, restore the number of Local Devices retained to initial value (default).
Item
Explanation
Indicates the number of Local Device assignable in project.
Assignable quantity
Quantity used
Residual quantity
6-50
Display module/
macro typt device
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6
DISPLAY
Item
Select module/macro
Explanation
Select module/macro
After selecting checkbox, the selected device will be automatically assigned.
Automatic
Quantity
Initialize
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-51
tracing "".
6
DISPLAY
Item
Explanation
Total
Free
ID
CapacitykB
Number of sampling
tracing "".
TIP
6-52
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6
DISPLAY
Item
Explanation
setting power off holding * 1 .
Select device
Select device
Range
Setting
Holdduring power OFF, hold current value of the device within the range (status).
Clear: during power OFF, clear current value of the device within the range (status).
*1The devices for which power off holding can be set are as follows.
Device name
Range
R(Relay)
R1000 to R99915
BLink relay
DM (data memory)
DM0 to DM65534
B00 to B3FFF
EM0 to EM65534
EMExtended data memory
ZF (File Register: consecutive number ZF0 to ZF32766
method)
WLink register
C (counter)/
W0 to W3FFF
C0 to C3999/
Warning
Please set power off holding against the relay assigned to IO module and
specific module. So, the program cannot normally work sometimes.
TIP
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-53
6
DISPLAY
Item
Error
Explanation
Display CPU unit registration error.
Select CPU action during CPU unit occur.
Stop (alarm): process as alarm, stop CPU operation.
CPU operation
After selecting checkbox, error status will be written into error record.
* the project whose background becomes grey, cannot be changed.
Click "initial setting" button, restore the project set to initial value (default).
Eliminate CPU error when power After selecting checkbox, when power is turned on or CPU operation
ON or PROG->RUN
TIP
When the model is KV-1000, conduct combination setting of MEMSW command and CM
(control memory). For details, please see
reference manual".
6-54
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
Window.
6
DISPLAY
Item
Explanation
After selecting checkbox, upper limit value setting of digital trimmer is
enabled.
timer
Cancel checkbox, upper limit value setting of digital trimmer becomes grey,
Trimmer No.
cannot be set.
TIP
When the model is KV-1000, conduct combination setting of MEMSW command and CM
(control memory). For details, please see
reference manual".
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
6-55
MEMO
6
DISPLAY
6-56
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_06xJ.fm
7
MODULE/MACRO
The chapter describes function and operation of module / macro.
MODULE/MACRO
7-1
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_070xJ.fm
7-1
KV-5000/3000Series
Programming Manual.
Modules/macros(M)
Select "Modules/macros(M)"
New module(G)
Other procedure
MODULE/MACRO
Select New module (M) from the menu that appears by right-clicking the workspace.
Enter the name of the new module you are about to make, select the type of module and click the
"OK" button.
A new module of the type that you set is displayed on the currently open workspace.
Item
Module name
Module type
Explanation
Enter the name of the new module that you are about to
make using up to 24 1-byte or 12 2-byte characters.
Select the module type from "Every-scan module/
Initialization module/Standby module/fixed cycle module*".
Auto-assign local
devices
TIP
Modules/macros(M)
Select "Modules/macros(M)"
New macro(M)
the workspace.
Select"New macro(R)" from the menu that appears by right-clicking the workspace.
7-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_07xJ.fm
Enter the name of the new macro you are about to make, select the type of macro and click the
"OK" button.
This makes the new macro.
Item
Explanation
Enter the name of the new macro that you are
Macro name
Macro type
TIP
Auto-assign local
devices
automatically assigned.
Modules/macros(M)
Open module/macro(E)
"Open
Close Module/macro
Module/macro(M)
In workspace, select the module / macro to be closed, From the menu, select "module / macro (M)"
"close module / macro (L)".
Delete Module/macro
Modules/macros(M)
Delete module/macro(D)
"Delete
Select Delete module/macro (D) from the menu that appears by right-clicking the workspace.
Select the module/macro to delete on the workspace and press the Delete key.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_07xJ.fm
7-3
MODULE/MACRO
Open Module/macro
Module/macro Property
Modules/macros(M)
Module/macro property(H)
Select the module/macro whose property are to be displayed on the workspace. Select "Modules/
macros(M)"
Module
7
MODULE/MACRO
Item
Module/macro name
Module/macro type
Explanation
Display module/macro name.The name of the module or macro can be
changed in this field.
Display module/macro type.The type of the module or macro can be changed
in this field.
Date created
Date updated
Date transfered
Displays the date that the module/macro was last transferred to the CPU.
Date registered
Displays that date that the module/macro was registered to the project.
Comment
Set password
Disable module/macro
TIP
TIP
Note
It is valid only when the models "KV-5000", "KV-3000", "KV-1000" are selected.
Once you have set a password, make a note of it and keep it in a safe place. If you
lose a password, you can no longer open the macro to which the password is set.
7-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_07xJ.fm
Modules/macros(M)
7
MODULE/MACRO
Item
Explanation
Specify argument setting macro. The macro registered to the currently editd
Macro name
No.
Argument
Macro template
display
Title
Operand
description
TIP
In the case of UR/UM, enter the type of unit, and in the case of P/V, enter the
view mode on Editor.
Use "used / unused" form to display application status of every variable in
Ladder.
Ladder can be edited when "macro argument setting" dialog box is displayed.
Content feedback to "Instruction/macro pack pallet" setting. For macro pallet details,
please see
Note
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_07xJ.fm
7-5
Modules/macros(M)
Select "Modules/macros(M)"
MODULE/MACRO
7-6
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_07xJ.fm
8
CONVERT
The chapter describes various conversion functions and application methods.
CONVERT
8-1
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_080xJ.fm
8-1
Conversion
Convert(A)
Convert(C). Ctrl + F9
Programs made using Editor cannot be transferred as they are to the PLC.
To transfer a ladder program to PLC, the program must be converted to machine code.
TIP
"Convert Transfer
program is converted to machine code and transferred to PLC without having to instruct
conversion.
Select "Convert(A)"
CONVERT
KV-5000/3000
When conversion ends successfully, the amount of memory that the converted ladder program will take
up on PLC memory is displayed.
Program size Amount of memory used when the entire program including rung
comments is transferred to the unit
Object size. Amount of memory used when the ladder program excluding
rung comments is converted to a format that can be executed on
the unit.
TIP
When an error occurs during conversion, the message "Conversion failed." is displayed. The
details of the error can be confirmed on the output window.
"Output Window", (Page6-12)
8-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_08xJ.fm
TIP
When an error occurs during conversion, the message "Specified module/macros convertion
fails" is displayed. The details of the error can be confirmed on the output window.
"Output Window", (Page6-12)
CONVERT
Covert (A)
On the menu, select "convert (A)"
Device confliction
The race contention condition refers to the possibility for an instrution to use a device when same
devcie is used (rewritten) by multiple instructions.
Example
When next ladder program is written, DM3102/DM3103 will use race contention.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_08xJ.fm
8-3
MR1000
FMOV
DM1000
MR1001
DM3000
#1000
(1)
MOV.D
#12345678
DM3102
(2)
Transfer target
: DM3000
123
: DM3001
123
: DM3101
123
: DM3102
123
: DM3103
123
: DM3104
123
: DM3998
123
: DM3999
123
Transfer source
DM1000:
Store #123
123
16-bit
(1 word)
16-bit
(1 word)
Conflict
8
CONVERT
2MOV.D Operation
Transfer source
High bit
Transfer target
Low bit
12345678
DM3103
DM3102
12345678
123
32-bit
(2 word)
Note
Checking device confliction cannot be made for the device modified by index
registers and the command of the number of device cannot be specialized.
Convert(A)
Invalid operands are sometimes generated when a unit setup is changed after the ladder program is made.
Select "Convert(A)"
TIP
"Clear invalid operands(I)" from the menu. The confirmation message is displayed.
Invalid operands
When the Expansion Unit is in used, relays/DM are assigned from Unit Editor. The unit setup is
linked with the ladder program, and relays/DM Nos. on the ladder program are changed in an
interlocked manner with changes to the unit setup information. However, when a unit that is
assigned relays/DMs is deleted, the relays/DMs that were assigned to that unit will exist on the
ladder program even though that unit no longer exists.Relays/DMs whose association with a
unit has been discontinued in this way are called "invalid operands."
Ladder programs are not converted successfully when they contain invalid operands. To
delete invalid operands, either delete the invalid operands by the "invalid operand clear
function," or check and re-input each individual invalid operand.
Can search invalid operand using search function.
"Search Device", (Page5-6)
8-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_08xJ.fm
Convert(A)
Select "Convert(A)"
"Duplicate coil check(D)" from the menu. test the Duplicate coil position in
Ladder.
TIP
The position where two-way coil exists, error prompt will not occur during conversion.
When multiple OUT, OUB, DIFU, and DIFD instructions are used on the same output
relay, the last programmed instruction is given priority and output. (In both of the following
examples, output R00500 does not turn ON even if input relay R00000 turns ON.)
Ladder checked by the duplicate coil check
R500
R000
R500
SET
R001
R500
R001
R500
8
CONVERT
R000
Duplicate coil locations are checked, and the results of the check are displayed on the
output window.
Note
The duplicate coil check is judged by four instructions: OUT, OUB, DIFU, and DIFD.
Even if an error is not discovered by the duplicate coil check, some ladder
programs function as if a duplicate coil has been programmed.
After global device is used by output relay in macro, when macro is called for many
times, two-way coil error will appear.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_08xJ.fm
8-5
(Page6-51).
For details of Local Device, please see
8
Convert(A)
CONVERT
device", (Page6-47).
For details of Local Device, please see
8-6
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_08xJ.fm
9
MONITOR & SIMULATOR
The chapter describes function and application method of monitor/ simulator.
9-2
9-3
9-4
9-5
9-6
9-7
9-8
9-9
9-1
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24HM_090xJ.fm
9-1
USB port
USB cable specification: OP-35331
KV-5000/3000/1000/700
OP-35331
(Cable length 3m)
To USB connector
PC
KV STUDIO Ver.5
To USB connector
9
MONITOR & SIMULATOR
Note
The special cables (OP-35331) must be used.Otherwise, it will not function correctly.
KV STUDIO must be installed before KV-5000/3000/1000/700 connected to PC USB port.
"1-4 Software Installation", Page 1-9
When the KV-5000/3000/1000/700 PLC is connected to the PC for the first time, the
USB driver of KV-5000/3000/1000/700must be installed on the PC.
"1-5 USB Driver Installation", Page 1-11
KV-5000/3000/1000/700
HUB
Note
When connecting Ethernet using 10BASE-T, please use CAT3 above STP/UTP cables.
When connecting Ethernet using 100BASE-TX, please use CAT5 above STP/UTP cables.
Ethernet connection of PLC can be set using the access window.
Please use STP/UTP cross cable when connecting the PLC to a PC directly.
9-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
OP-26486
To D-SUB 9-pin
serial port
RD
SD
3
5
SG
PC Side
3 SD
2 RD
4 DR
6 ER
7 RS
8 CS
5 SG
Dedicated connector
Note
Please use the specified cables (OP-26487, OP-26486).Otherwise, it will not function
correctly.
Returning to Editor
"Monitor/Simulator(N)"
Select "Monitor/Simulator(N)"
The current state (Editor, Monitor, Simulator, online editor) is displayed on the
KV STUDIO title bar.
You can also return to Editor directly from mode bar.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-3
Caution
PC
KV STUDIO Ver.4
OP-26487
(cable length: 2.5m)
KV side
To modular connector
Communication Setting
Communication setting
"Monitor/Simulator(N)"
"Setup communication(T)"
"Setup communication(C)"
"Setup communication(T)"
"Setup communication(C)"
Communication
detailed setting
9
MONITOR & SIMULATOR
Item
PC communication port
USB*1
Serial
*2
Description
To select the communication port on PLC used in PLC communication.
Selected by default when USB connection is used.
Selected when RS-232C connection is used.
Selected when the connection destination is KV-3000/1000/700 or KV-L20V, etc.
Selected when Ethernet connection is used.
Ethernet*1
Selected when the connection destination is the built-in Ethernet port of KV-5000
Modem
and KV-LE20V.
(Communication
detailed setting)
Routing setting
(Detailed setting)
Destination
Add to destinations
list
9-4
Open destinations
To open the connection destination list file. When the file does not exist, a
list
*1
*2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
USB connection
USB is used to connect PLC to PC.
Select "USB" radio button in "PLC side communication port".No detailed setup is required.
Note
Serial connection
RS-232C is used to connect PLC to PC.
Select "Serial" radio button in "PLC side communication port".
9
MONITOR & SIMULATOR
Item
Description
To select the COM port for the connection cable. The default value is "COM1". COM
COM port
interface is serial interface, can RS-232C interface can be adopted for communication;
The COM port No. that will be displayed according to the PC model used.
To select baud rate. The selection items and default values of baud rate are shown as
follows.
Model
Baud rate
Unit No.
KV-5000*,
KV-3000, KV-1000
KV-700, KV-24 (40)
KV-10 (16), KV-P16
Selection range
9600, 19200, 38400, 57600,
115200
9600, 19200, 38400,
57600
Default
115200
57600
Unit No. setting dialog box will be displayed when unit No. setting button is clicked.
*Serial communication unit KV- L20V is required when KV-5000 connected by serial connection.
Note
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-5
Not displayed then the supported models KV-10 (16), KV-24 (40) and KV-P16 are selected.
Unit No. can be set when monitor is stopped (communication not in progress).
Station No.
KV STUDIO
KV-U7
CC
24V OUT
24VDC
1.8A
0V
N
INPUT
100-240VAC
50/60Hz
0.98A
Port 2: RS-422A
RC-232C/RS-422A converter
9
MONITOR & SIMULATOR
Item
Set unit No.
TIP
Description
Sets the unit No. of communication destination KV-L20V.
Unit No. refers to the No. set in KV-L20 V unit setup window in Unit Editor.
"KV-L20V User's Manual"
"Chapter 3 Overview"
Note
In "Unit No." setting, the unit No. can be specified to O-F. In Unit Editor, however, only
0 to 9 can be set.
If an unit is used in direct-connect mode, then the unit No. will be set to A.
9-6
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Ethernet connection
Ethernet is used to connect PLC to PC.
Select "Ethernet" radio button in "PLC side communication port".
Item
Description
Enters the IP address for connecting KV-5000/3000/1000/700 PLC.
(Search
destination)
Port No.
(Connection
Sends a Ping instruction to the port No. to which an IP address has been entered, and tests the
test)
connection status.
TIP
Through connection destination editing, you can select the registered connection
destination from the menu.
When KV-3000/1000/700 is connected using Ethernet, KV-LE20V is required addionally.
KV-L20V User's Manual
Note
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-7
IP Address
9
MONITOR & SIMULATOR
Item
Ethernet adapter list
Adapter
Displays Ethernet port. When multiple ports exist, please select the Ethernet port
to be used from the pull-down menu.
IP Address
Subnet Mask
Port No.
(Execute)
(Stop)
Result
Displays search result in a list, and the PLC that is connected can be confirmed.
IP Address
Connected unit
type
Project name
(Select)
9-8
Description
Searches the setting related to PLC Ethernet port.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Connection test
For the KV-5000/3000/1000/700 whose IP address and port No. have been specified, ing" and"
Tracert" can be used to test whether the connection destination is in normal operation.
The functions of the Ping and Tracert instructions executed via "Communication test" dialog box are the
same as that of the Ping and Tracert instructions executed in MS-DOS program.
Ping:
It means that IP data packet is sent to the specified IP address, and is returned by the
connected party normally. In addition, since time is required for response of Ping
instruction, and loss factor of data packet is also displayed, so connection speed can be
predicted from the result.
Tracert:
Displays the routing between hosts. The routing status from host to connected router will
be verified, and routing bottleneck can be found according to the response time of each
router.
Execute Ping instruction for connection.
9
MONITOR & SIMULATOR
Modem communication
In modem mode, remote KV-5000/3000/1000/700 can be monitored.
Serial Communication Unit KV-L20V User's Manual
Note
Modem communication can not be used for KV-10(16), KV-24(40) and KV-P16.
PC
KV STUDIO
KV-U7
Telephone line
CC
24V OUT
24VDC
1.8A
0V
Modem
N
INPUT
Modem
100-240VAC
50/60Hz
0.98A
KV-U7 KV-5000/3000/
1000/700
KV-L20V
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-9
Modem Initialization
To communicate, you should first set the initialization instruction of modem and type of the telephone
line.
The should be set in "PC modem setting" and "KV-L20V/R modem setting" separately.
KV-L20V User's Manual
PC modem setting
Click the "PC modem setting button in the "Communication setting" dialog box.
9
MONITOR & SIMULATOR
Item
Description
Select modem model.
When registering a new initialization instruction, enter the initialization
Model
Modem
setting
command
Register
Delete
Telephone line
Outside
line dial
Outside line
Number for
When outside line is used, a number should be appended to the number for
external dialing
Modem
connection Dial wait time
setting
COM port
Baud rate
Note
When dial connection is used, a wait time (0 to 120 seconds) should be set.
Default is 60 seconds.
Sets communication interface No.
Sets the communication speed for communicating with the modem. 9600, 38400,
57600 and 115200 can be selected. The default is "38400".
If the response time of the other party's modem is too long, but the dial wait time set
is too short, then wire-break will occur sometimes. Long wait time must be set
according to the response time of modem.
9-10
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
TIP
Box PLC
Card PLC
Vendor
Model
KV-L20V side
PC side
AIWA
PV-BW5610
DFML-560E(MR)
OMRON
ME5614D(2)
Melco
IGM-B56KH
AIWA
PV-JF56E6
OMRON
ME5614C/W
General AT command
AT command vary with types of modem sometimes. Be sure to check the AT command
listed in the User's Manual of the modem you are using.
AT command
E0
Description
Echoback OFF
Q0
V1
&C1
&S0
DR normal ON.
&D2
Q3
N3
X3
J0
S0=2
%C3
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-11
Initialization command should be registered for the models that not registered. It can be
Click "KV-L20V/R modem setting" button in the "Communication setting" dialog box.
Item
Description
Select modem model.
setting
command
(Register)
(Delete)
Telephone line
Outside
line dial
Outside line
Number for outside When outside line is used, a number should be appended to the number for
line dialing
Modem
connection Dial wait time
setting
COM port
outside dialing.
When dial connection is used, a wait time (0 to 120 seconds) should be set.
Default is 60 seconds.
Sets communication interface No.
(Transfer to KV-L20V/R)
Note
9-12
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
If modem communication mode is used, then the modem is connected to the serial communication
unit KV-L20V on the monitor PLC when the modem is connected to PC. In addtion, modem
initialization command and telephone line type, etc., must be also set in advance.
"Serial connection", Page 9-5
"Modem Initialization", Page 9-10
Stop monitor.
(Red) button
Return to Editor
Click
button.
TIP
When communication starts again, open the "Tel. No. setting" dialog box in the "Monitor/
Simulator(N)"
Enter other party's address in the "Destination" in "Tel No. setting" dialogue box, and enter
other party's phone number in "Telephone number".
Item
call to
Telephone
number
Description
Enter the name of the connection partner. One phone number can be registered for 1 direction.
Enter the phone number of the connection partner.
When outside line dialing mode is used, only the telephone number of other party needs to be
entered without entering the outside line number.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-13
Routing setting
Set when connecting through the VT3/VT2 series connected to PLC and FL-net instead of directly
connecting PLC to PC.
Note
Routing connection mode cannot be used for KV-10(16), KV-24(40) and KV-P16.
In the "Communication setting" dialog box, select "Routing setting" checkbox, and click the "Detail"
button.
9
MONITOR & SIMULATOR
Item
Description
Communication destination
VT/DT model
Connection to KV
FL-net via
(Update list)
Reads the unit list from the unit configuration KV-5000/3000 to be routed.
Communication destination Specifies the node No. of connection equipment (KV-5000 or KV-FL20V)
node No.
Communication route
(Communication method)
to be routed.
Displays the connection state of PLC connected to PC.
Selects the communication method for communicating with the directly
connected equipment to be routed.
Under current setting condition, state of PLC to PLC connection can be tested.
(Connection test)
9-14
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Setup communication(T)
When supported model is KV-5000/3000, you can set transfer range of global device comment when a
project is transferred.
From the menu, select "Monitor/Simulator(N)"
"Setup communication(T)"
"Setup transfer
range of global device cmnts(T)", the "Global device comment transfer range setting" dialog box pops
up.
9
Description
When this radio button is selected, all the global device comments will be transferred.
Selected range
Device
Specifies a device type in combination box. Types of all global devices can be specifed.
Start
Finish
(Read setting
value)
(Save setting
value)
(Clear setting
value)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-15
Item
All range
Note
When transferring program and comment to KV-10 (16), KV-24 (40), KV-P16, be sure
to set a comment transfer range.
The number of comments that can be transferred are as follows.When the set
number of comments exceeds the number of comments that can be transferred,
the number of comments that can be transferred will be transferred to host
according to the set device list sequence.
Supported model
KV-24(40)
KV-10(16)
1000
KV-P16
Comment type is selected through "Select comment" under "Show mode setting"
in "Options", and the selected comment will be transferred to PLC.
From the menu, select "Monitor/Simulator (N)"
"Setup communicationg(T)"
"Setup cmnts
transfer(T)", the "Comment transfer range setting" dialog box pops up.
9-16
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Monitor Mode
"Monitor/Simulator(N)"
The ladder program being edited is converted to monitor mode in stead of transferring to PLC. Before
operation, please connect PLC to PC, and set it to communication enabled mode.
For the monitor, see
.
From the menu, select "Monitor/Simulator (N)"
Other procedure
monitor mode" is selected, the "Program transfer" dialog box will appear.
Please select the project to be transferred, then click the "Run" button.
"Transfer to PLC -> Monitor Mode", Page 9-17
Note
The ladder program generated from the Editor is transferred to PLC after being converted machine
code to PLC, then the unit switches to monitor mode. Before operation, please connect PLC to PC, and
set it to communication enabled mode.
For the monitor, see
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-17
9
MONITOR & SIMULATOR
Item
Description
The item selected by the checkbox is transferred to PLC.
Transfer item
In addition, the detailed information of the selected item is displayed in transfer item
information area on the right side of dialog box.
display area
Only item name will be displayed for the items for which detailed setting is not needed.
(select All)
Cancel all
Clear module/macro in After this checkbox is selected, the module/macro written into PLC will be cleared
PLC
Transfer in PROGRAM
mode
*In CPU system setting, the following items are not transferred.
Module execution sequence setting
Local/global assignment setting
CPU unit buffer info setting
Operation setting during error
"CPU System Setting", Page 6-42
9-18
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Item
All range
Selected range
When this radio button is selected, the range of the global device comments to be
transferred to PLC can be set.
Device
Description
When this radio button is selected, all global device comments will be transferred to PLC.
Start
Finish
(Clear setting value) Clears all items entered through range specifying.
Item
(checkbox)
Description
Transfers the module/macro of the selected checkbox to PLC.
When "Clear module/ macro in PLC" is selected, then checkbox cannot be cancelled.
Module/macro name Displays all modules/macros registered to the item being edited.
Type
(select All)
(Cancel all)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-19
Item
Description
(checkbox)
Transfers the logging/tracing setting with the ID No. of the selected checkbox to PLC.
ID
Type
File Comments
(select All)
(Cancel all)
Item
9-20
Description
(checkbox)
Transfers mail settings of the unit with the checkbox selected to PLC.
Unit No.
Displays Unit No. of the unit for which mail setup is performed.
Unit name
Address
(select All)
(Cancel all)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Item
(checkbox)
Description
Setting of the file register with the No. selected in checkbox is transferred PLC
memory card.
Displays file register setting No.
File Comments
Displays the file comment set by "File register setting" dialog box.
(select All)
(Cancel all)
No.
Item
(Select positioning unit)
Description
Displays the "Select unit" dialog box. *
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-21
Caution
Writing in RUN will be under great risk due to connection of PLC controller. Be
careful during operation!
After transfer is finished normally, the unit will return to monitor mode automatically.
When there is no difference between PLC program and the program to be transferred, writing will not
be performed, and the unit will directly switch to monitor mode.
Note
The disabled macros and the macros that are not called cannot be transferred to
PLC.
9-22
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Transfer ladder program in PC to PLC, then switch to monitor mode. This can be used to check
whether PLC is connected correctly. Perform the next operation from the Editor.
Once a ladder program is read, it will be read into a temporary job folder.
If exiting the Editor without saving, it will be deleted. To save a ladder program into PLC, you
should rename it, then save.
Note
When starting monitor, you should correctly set PLC communication parameters.
"Communication Setting", Page 9-4
Select "Monitor/Simulator(N)"
program menu.
MONITOR & SIMULATOR
Note
After transfer is finished normally, the mode will return to monitor mode automatically.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-23
Transfer to PLC
"Monitor/Simulator(N)"
"Transfer to PLC(W)"
The ladder program written through the Unit Editor is transferred after being converted into mechanical
code. After transfer is finished, the unit will return to Editor. Before operation, please connect PLC to
PC, and set it to communication enabled mode.
TIP
"Transfer to PLC(W)"
If a conversion error occurs, then "Conversion error" message will be displayed. Transfer will stop
abnormally.
Check error content displayed in the output window, correct ladder program, then transfer the
program again.
"Output Window", Page 6-12
Caution
Writing in RUN will be under great risk due to connection of PLC controller. Be
careful during operation!Be careful during operation!
KV-5000/3000 series User's Manual, "About writing in RUN mode"
Note
9-24
The disabled macros and the macros that are not called cannot be transferred to PLC.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
"Monitor/Simulator(N)"
The ladder program transferred to PLC is read in to the Editor. Before operation, please connect PLC to
PC, and set to communication enabled state.
From the menu, select "Monitor/Simulator (N)"
Verify/Synchronize PLC
"Monitor/Simulator(N)"
Verify the items currently stored in PLC and the items in the Editor.
Before operation, please connect PLC to PC, and set to communication enabled state.
From the menu, select "Monitor/Simulator (N)"
item being edited and the item stored in PLC. The verification result will be displayed in the "Verify/
Item
Description
Verifies the items checked in the "Items of current project" and the items in PLC, and
(Verify)
(Write to PLC)
Update all items displayed to the latest information. For the items with different final
updating times, verification result in the "verification" column will be cleared.
Displays every project currently edited using KV STUDIO.
After the checkbox is selected, it will change to the operation object when "verify",
"Write PLC" or "Read PLC" button is clicked.
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-25
Item
Description
Displays the final updating time of every item currently edited using KV STUDIO.
Last update date When changed according to the content transferred last time, the cell of
corresponding item will change to red.
Displays the verification result. The items displayed as OK are matched through the
Verify
Items in PLC
(Cancel all)
Hide verification OK
After the checkbox is selected, the items whose verification column changes to OK is
rung
not displayed.
(Check program
memory capacity)
Description
sequence assigned*
macros)
Captures and displays the final updating person of the data in the selected PLC.
Display the last user changed data Please set the final updating person in the sequence of "Options" of PLC
A right-clicked item, only displayed in the case of operation sequence unassigned module.
"Operation sequence unassigned module", Page 9-27
9-26
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Item
Program memory capacity
(Clear all program memory)
(Close)
Description
Before operation, please connect PLC to PC, and set to communication
enabled state.
Clears all contents stored in PLC connected (global device comments,
global labels, CPU system settings, ladder programs). *
Closes the "Verify program memory space" dialog box.
*After all contents of the program memory are cleared, a "no ladder program error occurs in PLC.
9
Before transfer:
Befor e
Project 1
Project 1
Project 2
Project 3
Project A
Project A
Project B
After transfer:
Project 1
Project 1
Project 2
Project 3
Project A
Project B
Operation sequence
unassigned modules in PLC
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-27
Verifying PLC
"Monitor/Simulator(N)"
The ladder program currently stored in PLC and the program contents in the Editor are verified.
Before operation, please connect PLC to PC, and set to communication enabled state.
From the menu, select "Monitor/Simulator (N)"
9
MONITOR & SIMULATOR
Start Monitor
(green)"Monitor/Simulator(N)"
From the menu, select "Monitor/Simulator (N)"
"Start Monitor(S)" F4
Note
Stop Monitor
(red) "Monitor/Simulator(N)"
From the menu, select "Monitor/Simulator(N)"
Online Edit
*For details about online edit, see
9-28
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Simulator
"Monitor/Simulator(N)"
For details about simulator, see
"Simulator(L)" Ctrl + F2
Set up Simulator
"Monitor/Simulator(N)"
"Set up simulator(A)"
Description
Simulator scan time can be freely set.
A scan period of Ladder can be simulated via pre-set scan time. Using the function,
actual device scan time, simulate execution or Ladder can be simulated with actual
device scan time.
Excute scan
Please check "Set to fixed scanning" and specify scanning time in the 0- 5000 range.
Note
Scan time of Simulator execution will vary with ladder program length and PC performance.
wait time
If scanning time is too short, it is difficult to debug. This needs use of waiting time
setting to extend scanning time.
Using watchdog timer, you can monitor arithmetic operation blocking or program
WDT time
execution time overtime due to PLC or program abnormity. Using monitor timer,
you can test infinite loop in the program. The default value is 3000s.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-29
Item
"Monitor/simulator(N)"
Real-time Chart Monitor can be started when KV STUDIO is in Editor mode/Monitor mode/Online editor
mode.
Besides, even if KV STUDIO is not started, real-time Chart Monitor can be also separately started.
In Register Monitor window and monitor window, from the right-click menu, click "Real-time
Chart Monitor (H)", the device registered to Register Monitor window and monitor window is
started in the status of registering to real-time Chart Monitor.
9
MONITOR & SIMULATOR
9-30
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
"Monitor/Simulator(N)"
When starting high speed Time Chart Monitor program, the "Register Monitor" window will be
displayed.So, the device monitored via high speed Time Chart Monitor program should be registered to
Register Monitor program in advance.
Select "Monitor/Simulator(N)"
The devices registered to Register Monitor are automatically displayed according to register sequence
from list top, maximal 16 devices will be displayed.
9
For High-speed Time Chart Monitor, see
73.
Monitor/Simulator(N)
Multiple devices can be registered in register monitor window, and current value and time curve of the
registered device can be displayed or its current value can be changed.
For device register methods and register monitor details, please see
"9-3 Register
Register monitor window can be selected from the menu only in monitor, simulator or
online Editor.
monitor window.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-31
TIP
Monitor/simulator(N)
For batch monitor operation details, see
Note
Batch monitor window can be selected on the menu only in monitor, simulator or
online Editor.
9
MONITOR & SIMULATOR
TIP
Monitor/simulator(N)
You can specify a range, read in batch the current values of the devices registered to window from
PLC, make change and then write into PLC. You can also store the setting of the device read or read
the setting of the device stored.
For details, see
window appears.
9-32
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Monitor/Simulator(N)
Alt + 3
Display current value of all devices contained in ladder program block of the selected cell selected via
editor.
When selecting other ladder program blocks, the device in monitor window will also be changed
accordingly, and the display will be updated.
Note
Watch window can be selected from the menu only in monitor, simulator or online
editor status.
When selecting multiple ladder program blocks, the current value of all devices will be also
displayed.
: not displayed
When ID is selected
WatchWindow
Unit Monitor
Unlike the register monitor and batch monitor, Unit Editor will display the units that meet the values of
the relays and DMs to be monitored.
"9-8 Unit Monitor", Page 9-81
Custom Monitor
This facilitates the user to freely display device Register Monitor window.
"9-5 Custom Monitor", Page 9-49
- KV STUDIO Ver.5 Users Manual -
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-33
Function Overview
Monitor function allows to compile ladder programs made by Editor, transfer to PLC and check its
operation status.Ladder programs in PLC can be also transferred to PC to verify their operation status
by reserved compilation
Monitor function allows to execute the following operations.
Real time verification of operation status of ladder programs via ladder or high speed Time Chart.
Switching of PLC operation mode.
Forced set/ reset of I/O contacts via Monitor.
Easy to modify setting value and current value of device data and timer/counter.
To save/read current value and range of the specified device to floppy disk or memory card.
To restore part of devices to default value.
Restrictions ON Monitor
9
MONITOR & SIMULATOR
After stopping Monitor, PLCs and PLCs displayed in other Monitor windows can not be connected.
Normal operation fails due to mismatched contents between ladder program monitor on PC and
ladder program on PLC side.
If devices to be monitored are too many, operation will be slow.
According to PLC scanning time, Time Chart in Register Monitor is not operated.
During execution of high speed Time Chart Monitor, other windows cannot perform monitor function.
TIP
The setting content is stored in KV STUDIO, and can be reflected during the next start of KV
STUDIO.
For communication with PLC, see
9-34
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Batch Monitor, can enable the batch display of current value, contact ON/ OFF status and comments
registered of all devices.
For Batch Monitor, see
Batch Change
Batch Change can enable batch change of PLC device value, and to save them in a file.
For Batch Change, see
Watch Window
Watch window only displays current value of the device contained in the current selected ladder
program block. You can simply select a cell on Editor, switch the ladder program block to be displayed,
to only monitor current value.
Custom Monitor
This facilitates the user to freely display Register Monitor window for devices.
For Custom Monitor, see
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-35
Batch Monitor
Unit Monitor
Different from Register Monitor and Batch Monitor Unit Monitor,, can display relay and DM value
matching the unit to be monitored.
For Unit Monitor, see
9-36
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
"Transfer to
Watch Window
How to start and stop ladder program Monitor and the screens displayed when executing of ladder
program Monitor are described as below.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-37
9
MONITOR & SIMULATOR
"Monitor" will be
Monitor can be
displayed on mode
column.
To display status
bar.
Communication indicator
Rotating indicates in communication in progress. It will
rotate faster as soon as communication speed is faster.
Scan time
To display scan
time, in "0.1ms".
PLC mode
To display PLC operation mode.
Baudrate
Communication
speed is displayed.
Communication port
To display communication
port name.
OFF status
ON status
9-38
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
key.
key.
Double click on the item to be changed, enter the value. Click left key to display "Display format", select
from the display menu.
Item
Reference
destination
Current value
Display format
Set value
Contact
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-39
Device
Description
BREAK setting
A "break" is a function for stopping a ladder program at specified conditions during program operation.
For BREAK setting, see
9-40
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
According to PLC scanning time, Time Chart in Register Monitor is not operated.
When displaying Time Chart Monitor with higher precision, please use Real-time
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-41
Device Registration
If using Register Monitor device, the device must be firstly registered with the following methods.
Drag & register from ladder program Monitor window
From ladder program Monitor window, click right-click register
Right-click in Monitor window, then register
Register the device in Register Monitor window
when dragging.
In Ladder Monitor window, select the cell including the device to be registered.
After device registration, move the cursor to the next rung in Register Monitor window. You
can continuously register device by pressing Ctrl + I
function in macro is disabled.
9-42
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
keys.
Select the device in Register Monitor window, change ON/ OFF status and current value of the device.
By double clicking on the changed item, enter the value. The item that cannot be changed is displayed
in grey.
Click left key on ("Mod/mac (module / macro)" and "Display format (display format)" item, and select
from the popup menu).
Item
Description
Module/macro*1
The device being monitored is global device or currently opened module or global
device displaying macro.
Global device of macro is displayed.
Select display project, click
key, on the menu, select (change) value.
Device
Reference destination
Current value
Display format
Set value
Comments
Displays comments.
It is displayed only when the models KV-5000, KV-3000 or KV-1000 are selected.
If many devices registered, they can be displayed via multiple windows opened.
During execution of Register Monitor program, current value and Time Chart gradually change
at same operating speed.
Note
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-43
Contact
Sort device
The device should be sorted according to type and No.
From the right-click menu in Register Monitor window, select Sort registered device".
9
MONITOR & SIMULATOR
9-44
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Real-time Chart Monitor or High speed Time Chart Monitor can enable monitoring the status of external
I/O and device in every scanning period.
"9-6 Real-time Chart Monitor", Page 9-51
"9-7 High-speed Time Chart Monitor", Page 9-73
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-45
Overview
Batch Monitoring can do the following:
The current value, setting value, contact (contact status of timer / counter) and comment of the device
are batch displayed according to device type.
Change the current/setting value of device.
For details, see
The selected device and equivalent device list can be displayed in "Batch Monitoring" window.
Select "Batch Monitoring" from the right-click menu on Ladder Monitor window, and start multiple Batch
Monitoring windows.
9-46
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
In "Batch Monitoring" window, you can select the device, and change the ON/OFF status and current
value of the device.
Double click on the changed item, enter the value. The item that cannot be changed is displayed in
gray.
Item
Device(D)*1
Device
Module/macro*2
Description
After selecting radio button, display batch monitor of global device / Local Device.
During batch monitor of Local Device, select the module/ macro to be monitored.
Display the device monitored currently. The device can be changed in cell on
starting line.
When selecting radio button, display batch monitor of buffer memory in
Unit
expansion unit.
When the unit that can be monitored is not connected to buffer memory in
expansion unit, the project changes to grey display.
Unit *1
Display the unit monitored. Can change the unit to be batch monitored via initial cell.
Display the offset to initial address of buffer memory in expansion unit.
Offset*1
Can change the initial address of the expansion unit buffer memory to be
displayed via initial cell.
Displays the current value.
Current value
Double click on the project, can change current value from keyboard.
For bit device, double click on it to switch between ON/ OFF status.
Display format
Can display the display format of the current batch monitor value.
Can change display format via initial cell.
Set value
Setting value display.Can change setting value via value display cell.
Contact
Comments
Display comments.
*1
*2
It is not displayed when the models "KV-5000", "KV-3000", "KV-1000" are selected
Making reference
Select "Cross reference" from the right-click menu in the "Batch Monitoring" window.
Right-click on the device to generate cross reference.
When selecting "Expansion unit buffer memory", cross reference cannot be generated.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-47
9
MONITOR & SIMULATOR
9-48
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Custom Monitor can be selected only from Monitor, Simulator or online edit.
Monitor/Simulator(N)
Function
Access window alarm function and User Message monitor, etc.
CPUHigh-speed counter 1
CPU Interrupt
CPU Positioning X axis monitor CPU has internal X axis monitor with simple locating function.
CPU Positioning Y axis monitor CPU has internal Y axis monitor with simple locating function.
CPU Specify frequency
pulse output
Logging ID 0 to 9
Log ID monitor.
(under KV-700 Custom Monitor status, ID is not displayed)
Memory card
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-49
Via register "Custom Monitor" window, the window as default window can be registered.
Select "Monitor/Simulator(N)"
Register device.
"Device Registration", Page 9-42
Select the window that will be registered as "Custom Monitor" and click on right key.
A menu appears.
as
"KVS
Note
KVS Monitor information files (*.kem) in the "CpuMon" folder in the "Settings" folder
in the folder pre-installed with KV STUDIO are registered as Custom Monitor files.
These files cannot be registered as Custom Monitor files when "File name" and "File
type" are changed.
9-50
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Real-time Chart Monitor, can be used only when "KV-5000/KV-3000" models are selected.
9
"Real-time Chart Monitor", Page 9-30
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-51
9
MONITOR & SIMULATOR
Item
(checkbox)
Description
Display the waveform of the device whose checkbox is selected.
No.
Device
Selected value/
current value
These are displayed according to the display format set up in the "Device Setting"
dialog box. "" is displayed when the bit device is ON, "O" when OFF.
When tracing is stopped, "Selected Value" is displayed in the column title and the
cursor position value is displayed.
A/B
Device registration/modification
Select the cell to be registered/ edited, then enter the device number.
The "Device Setup" dialog box is displayed.
Other procedure
Enter key
9-52
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Item
No.
Description
Display the registration number of the current device.
Display the code number of the current device.
Device
To access the editing window, double click the cell or select the cell, and press the Enter key.
Select the display format of a registered device.
When the registered device is bit device(R, B, MR, LR, CR, T, C, CTC), only the
Display format
Color
When the display format is not" BIN 1BIT", you can select this checkbox.
After selecting this checkbox, the waveform is displayed in the logic format.
Delete device
Select the cell to be deleted, press Delete key.
Other procedure
From right-click menu, select the cell to be deleted, select "Selete (C)"
From right-click menu of the device to be registered, select "Increment registration (I)"
When the display format of the device to be added is "BIN 1BIT" or "DEC 16BIT", "HEX 16BIT", add
1 to Device Number
When the display format of the device to be added is "DEC 32BIT" or "HEX 32BIT", add 2 to Device Number
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-53
menu of registration monitor window and monitor window is started under the status of registered to
Other procedure
Note
9
MONITOR & SIMULATOR
Item
Description
Set the data size to be collected after trigger occurs.
Trigger
After trigger
Position
data size
Sampling period
Trigger condition
(checkbox)
(Device Number)
Bit
Device
(trigger attribute)
ON
AND : When all conditions of bit device are matched, trigger occurs
OR
9-54
AND
: When all conditions of bit device/word device are matched, trigger occurs.
OR
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Item
(checkbox)
(Device Number)
Description
To specify a device, please select the checkbox.
Specify the trigger based on word device.
This is only limited to the device registered in "List of Devices" tab.
Specify trigger condition of bit device.
>=
Word
Device
(Trigger condition)
(threshold)
>
<=
<
Enter the threshold which is used as the condition of comparison with word
device.
9
MONITOR & SIMULATOR
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-55
Cursor A
Cursor B
Trigger point
9
MONITOR & SIMULATOR
Collected
information display
Cursor A, Cursor B
Can use the cursor to confirm the value of the selected position or use 2 cursors to confirm timing and
response delay, etc.
To move the cursor, move the pointer to the cursor position and then drag.
Use the cursor key on keyboard to trim cursor position.
Trigger point
Trigger point must be displayed during trigger collection.
Absolute position and application time of trigger point can be checked in "collection information display".
A-B
100pts/Div
(ms/Div).
*1 Position 1, set leading data to 0.
*2 Unit, change will occur when zooming timer axis. (Default: 100pts/Div)
9-56
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Open file
Open real time curve file (*.rtc).
To select a real time curve file, click "File (F)"
Ctrl + O
Save
Save the timing curve monitor data.
From the menu, select "File (F)"
"Save". In case of first time save, specify the file name in the
Ctrl + S
Save as
Save the timing curve monitor data as
Click "File (F)"
"Save as (A)" from the menu, and specify the file name in the "Save as" dialog box.
"Save as CSV file(C)" from the menu, and specify the file name in the "Save as"
dialog box.
Print setting
Timing curve monitor data print setup.
Click "File (F)"
"Print setup (R)" from the menu, and set up the printer in the "Pinter setup" dialog
box.
For more information, please refer to respective printer user manuals.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-57
Other procedure
Print
Print Real-time Chart Monitor data.
Click "File (F)"
Other procedure
"Print (P)" from the menu, and set up print in the "Print" dialog box.
Ctrl + P
9
MONITOR & SIMULATOR
Item
Print object
Waveform print range
Number of layers of
wavegraphs
(Printer setup)
9-58
Description
Select print object.
printing
Print title
Print comments
(Print)
Print.
"Cancel"
(Preview)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Print preview
Display print preview of Real-time Chart Monitoring data.
Select "File(F)"
Other procedure
"Exit (X)" from the menu, "Real-time Chart Monitor"dialog box will exit.
"Edit(E)" Menu
Search
Ctrl + F
Item
Description
Select search mode from drop-down menu.
Search mode
Up edge
Down edge
"Search Previous<-"
"Search Next->"
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-59
To enable the wave pattern to be searched, from the menu, select "Edit (E)"
Item
Description
Select search mode from drop-down menu.
Maximum value : maximum value of device to be searched.
Search mode
Specified values
Combination search
Multiple wave form data after combination search and sample according to multiple conditions.
From the menu, select "Edit (E)"
Bit device
Combination condition
Bit device
search condition
word device
search condition
9-60
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Item
Description
search condition, select specified bit device Combination condition.
Bit device
Combination condition
Bit device
Search condition
AND
OR
Select
Device
ON/OFF
AND
word device
Combination condition
OR
Select
Device
Cond
>
Search condition
(condition)
<
<>
9
MONITOR & SIMULATOR
word device
comparative value.
comparative value.
Value
Display
format
Monitor.
->"search next"
(Close)
F3
Search previous
Search upwards (left side) from Cursor A in active oscillogram.
Search according to the condition set in dialog box when " Search" dialog box is displayed.
From the menu, select "Edit (E)"
Other procedure
Shift + F3
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-61
Jumping to Cursor A
From the menu, select "Edit (E)"
Other procedure
"Jump (J)"
"Jump (J)"
"Jump (J)"
Ctrl + A
Jumping to Cursor B
From the menu, select "Edit (E)"
Other procedure
Ctrl + B
Other procedure
Ctrl + T
"Jump (J)"
data number.
Specify data number via "data No." box on right side of toolbar.
Other procedure
Ctrl + N
9-62
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
"View(V)" Menu
device register/trigger setting field. Besides, checkbox is also displayed on the menu.
Select "Trigger settings (G)" under "trigger settings" tab, the "trigger settings" tab is hidden and the
menu is dechecked.
of Devices will be displayed in comment form. Besides, checkbox is also displayed on the menu.
When displaying using device comment method, select "Device display comment (C)", and Device
Number will be displayed, menu is unchecked.
Comments are read from the KV STUDIO project
for which Real-time Chart Monitor is started up.
When only Real-time Chart Monitor is started, "Device display comment (C)" cannot be
selected.
Set up View
From the menu, select "View (V)"
From right-click menu of timing curve field, select "Display setting (S)"
Right-click on Device Number displayed on the right side of timing curve field.
Setting dialog box consists of three tabs: "Display range", "Scale" and "Common" tabs.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-63
9
MONITOR & SIMULATOR
Item
Device List
"All devices ON/ OFF"
Word (double word) device
Description
Display the list of device registered. Display device waveform of checkbox
selected.
Switch all device checkboxes between ON/ OFF.
To display in Logic format, select the checkbox.
Display setting
Light blue : the part that is not displayed on the waveform image of the
selected device
Blue : the part that is displayed on the waveform image of the selected device
Grey : the part of selected is not displayed in the part displayed on image
Click and set the range on "Y () Div" setting of "share" tab to waveform
display area.
About display color of explanatory notes :
<Display range>
9-64
Display range
Set the upper and lower ends of the range to be displayed in collected data.
Set the number of partitions, and draw a red partition line. Clicking the position
partitions )
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Item
Display position
(Display range
initialization)
Description
Via upper end and lower end entry to set the display range.
Input range is 0 to 100Div, ensure upper end > lower end.
Restore upper and lower value of display position to initial value.
"Apply to all devices with The settings in the "Display range" tab are applied to all device waveforms
same data length"
"OK"
Close the "Display setting" dialog box after application of the settings.
"Cancel"
Cancel the settings and close the "Display setting" dialog box.
"Update"
Close the "Display setting" dialog box after application of the settings.
"Scale" tab.
9
MONITOR & SIMULATOR
Item
Scale
Description
Display/hide the scale on the left side of waveform.
Display
Selecting waveforms
only
Hide
"Apply to all waveforms" Clicking and the scale settings are applied to all the waveforms.
Scale within chart
Display
Selecting waveforms
only
Hide
"apply to all waveforms" Clicking and the scale settings are applied to all the waveforms.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-65
Item
Scale shared within chart
Overlap display of
scales
Description
For the setup of display mode and spacing for scale overlap.
A united scaling is adopted by all the waveform in the display area.
For all the waveforms, scaling is displayed at the same relative position. In case
of waveform overlap, the waveform of the device selected is displayed on the top
side (display spacing is set according to display spacing in X-direction).
"OK"
Close the "Display setting" dialog box after application of the settings.
"Cancel"
Cancel the settings and close the "Display setting" dialog box.
(Update)
Close the "Display setting" dialog box after application of the settings.
"Common" tab.
9
MONITOR & SIMULATOR
Item
Sixe of thickness
Description
Set the line thickness of the waveform to be displayed.
Only set the waveform line of the selected device to thick line.
X() Div
pts/Div
Y() Div
The number of girds
9-66
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Item
Description
Display/hide trigger Line of word device.
Trigger Line
Display
Hide
Color
Background
Chart
Grid
Character
"White background
mode "
waveform colors.
"Black background
Set background color of waveform display part to black, automatically set all
mode "
waveform colors.
"OK"
Close the "Display setting" dialog box after application of the settings..
"Cancel"
Cancel the settings and close the "Display setting" dialog box.
(update)
Close the "Display setting" dialog box after application of the settings.
9
From the menu, select "View (V)"
folding method.
Alt
+ ->
"Time scale zoom out (D)", to zoom out the waveform display
Alt
+ <-
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-67
Ctrl +
Ctrl +
Ctrl +
to zoom out horizontal waveform frames (increase the number of displayed grids).
Other procedure
Ctrl +
9-68
Alt
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
(T)" zoom out the waveform display range (increase display width).
Other procedure
Alt
move up the display range while the waveform display width is not changed.
Other procedure
Shift +
move down the display range while the waveform display width is not changed.
Other procedure
Shift +
selected device.
Note
horizontal axis.
Note
Only the data read from "Read tracking data in PLC" can display date.
"Read internal traced data in LPC", Page 9-71
Display cursor
The cursor is displayed in waveform display field.
Set the cursor in waveform display field, display the value and time, distance between Cursor A - B, etc.
on sample information display field.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-69
Hide cursor
From the menu, select "View (V)"
Other procedure
"Cursor (R)"
Show cursor
From the menu, select "View (V)"
"Cursor (R)"
"Cursor (R)"
"Cursor (R)"
"Cursor (R)"
displayed.
Other procedure
Select Cursor A
From the menu, select "View (V)"
selected.
Other procedure
Select Cursor B
From the menu, select "View (V)"
selected.
Other procedure
Communication setting
Monitor real-time timing curve and set PLC communication.
From the menu, select "Comm setting (C)"
dialog box.
For details of communication setting, see
9-70
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Start tracing.
Start tracing the registered device.
From the menu, select "Comm setting (C)"
F5
Stop tracing
From the menu, select "Comm setting (C)"
Other procedure
Shift + F5
Pause tracing
"Pause tracing (I)" to pause tracing. To re-trace, select
F6
from PLC.
For details of
The tracing data read out cannot be traced via Real-time Chart Monitor.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-71
"User Manual (H)", Adobe Reader will start, display PDF manual
F1
9
MONITOR & SIMULATOR
9-72
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
High-speed Time Chart Monitor can be used only when the model is "KV-1000" and "KV-700".
(4)Cursor A
(6)Trigger point
(13)Trigger
attribute guide
(3)Monitor
registration contact
(12)Trigger
attribute setup
(5)Cursor B
(21)Monitor start
switch
(20)Recording cycle
(18)Sampling
condition setup
(22)Fixed scan time
running setup
(1)Chart diagram
(16)Trigger condition
(23)File
save/
read switch
(15)Data size
trigger cursor
(7)Sampling
information display
(17)Search trigger
condition
(19)Lost area
(10)Scroll switch
(24)Close switch
(9)Current position display
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-73
(4) Cursor A
This cursor is displayed in yellow.
By combining this cursor with Cursor B, you can check the timing between registered devices and response delay.
There are two ways of moving this cursor, by moving the mouse to the cursor position and dragging or
by turning (8) "Cursor setting switch" ON and clicking the move destination.
Set cursor setting switch to
ON, move mouse and click.
9
MONITOR & SIMULATOR
(5) Cursor B
This cursor is displayed in blue.
By combining this cursor with Cursor A, you can check the timing between registered devices and response delay.
There are two ways of moving this cursor, by moving the mouse to the cursor position and dragging or
by turning (8) "Cursor setting switch" ON and clicking the move destination.
Set cursor setting switch to
ON, move mouse and click.
(6)Trigger point
This point is displayed in white.
Trigger point must be displayed during trigger collection.
The absolute position of the trigger point and the date it was applied can
be checked at (7) "Sampling information display" below.
9-74
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
An error of several ms occurs in the time displayed by |A-B| depending on the lost
collecting data and the display performance of the PC. Also, accurate times are not
displayed for roughly the first 30 scans' worth of data.
9
(8) Cursor setting switch
ON and OFF.
Pressing switch A
Pressing switch B
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-75
This switch sets display and movement of cursors A and B. Each press of this switch toggles between
This switch selects whether or not to apply a trigger. When the trigger condition matches with a trigger
applied, data collecting is automatically stopped after the data size specified with the (15) "Data after
trigger" cursor is reached.
A pressed button state indicates that a trigger is applied.
: Trigger is applied
OR
9-76
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
If "1ms" is set as the logging cycle when the scan time is 2ms, data is collected every
"2ms" scan time as the logging cycle set here is shorter than the scan time.
This setting is cleared by turning the KV-1000/700 ON and OFF, or by switching between
the Run and the PROG modes.
Also, this setting becomes invalid if the ladder program contained the fixed scan time setting.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-77
Example
Time charts cannot be saved or read while they are being recorded. Before saving or
reading a time chart, wait for execution of High-speed Time Chart Monitor to stop.
9-78
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
the
folder
(directory).
Specify "KVS
time
chart file(*.tcf)" as it is
as the file type.
Item
Explanation
Specify the folder (directory) in which the time chart is saved. Normally, the project
Save in(I)
File name(N)
Files of type(T)
The file is automatically appended with the extension ".tcf" when the file name is set.
Specify "KVS
time
chart file(*.tcf)" as it is
as the file type.
Item
Explanation
Save in(I)
Specify the folder (directory) in which the time chart is to be saved. Normally, the
File name(N)
Files of type(T)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-79
Time charts can also be specified by entering the file name and by selecting the time
chart to read with the mouse from the file list.
Time charts can be read even with Monitor offline.
Registration Monitor must be opened before opening Time Chart Monitor to read a file
even if a time chart is being monitored.
The time chart in the currently displayed range is saved in bitmap format. Time charts
outside the currently displayed range are not saved.
9
MONITOR & SIMULATOR
Specify the folder (directory) and file name to the save the time chart to.
Specify the folder (directory) to save to.
Select
"bitmap
file
type.
Item
Explanation
Save in(I)
Specify the folder (directory) in which the bitmap file is to be saved. Normally, the
File name(N)
Files of type(T)
Specify "bitmap(*.bmp)".
9-80
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
"Monitor/Simulator (N)"
"display" button.
In the "Unit settings" workspace, select the unit to be monitored, right click, and select Unit Monitor from the
menu.
Note
The following describes the Unit Monitor windows for each of the 16-, 32- and 64-point I/O Units. For
details on unit functions and how to set these functions, refer to the User's Manual for the respective
unit.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-81
9
MONITOR & SIMULATOR
"Unit Monitor(U)"
(4)Unit information
(7)
(6) Word display value
Name
(1) Start relay Number
"Display
format
selector" button
Function
Displays the leading relay Number assigned to the selected unit. The Number
Displays the information (unit connection Number and PLC name) of the selected unit.
Displays which relay Number (nth relay Number) the relay is starting from the
leading relay Number at "(1) Leading relay Number".
This area is for displaying the value expressed in words for relays on each channel.
This button selects one of three annotation formats for "word display value": "DEC
selector" button
This area displays the input time constant that has been set on Unit Editor.
When an output unit is being monitored, "---" is displayed for the output unit as an
input time constant does not exist.
This tab switches the channel to be monitored. For "00 to 31", the lower two
channels of a 64-point unit are displayed, and for "32 to 63" the upper two
channels are displayed.
For special unit monitor, please refer to every special unit manual.
Important
The "(8) Input time constant" setting cannot be changed on Unit Monitor.
When the "(8) Input time constant" setting has been changed while monitoring the
access window, the new setting will not be reflected in the Unit Monitor display. To
reflect the new setting in the Unit Monitor display, close and open the Unit Monitor
window again.
9-82
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9
New CSV File(N)
Note
Before you create a new file, please save all the currently opened files
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-83
File(F)
"File(F)"
From the menu in "Batch change" window, select "File (F)"
9
MONITOR & SIMULATOR
"File(F)"
From the menu in "Batch change" window, select "File (F)"
being edited.
Note
"Save to CSV file" cannot be selected when new file is being edited.
File (F)
From the menu in "Batch change" window, select "File (F)"
dialog box.
Save the file being edited as.
9-84
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
File (F)
From the menu in "Batch change" window, select "File (F)"
9
MONITOR & SIMULATOR
Can't read CSV file that not stored in "Batch change" window.
File (F)
From the menu in "Batch change" window, select "File (F)"
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-85
Close File
File(F)
From the menu in "Batch change" window, select "File(F)"
Close file(C)
edited.
When changing the data being edited, following dialog box appears.
data edited.
9
MONITOR & SIMULATOR
Exit Window
File(F)
From the menu in "Batch change" window, select "File (F)"
Exit (X)
Cross Reference
Edit (E)
Select the device edited in "Batch change" window, from the menu, select "Edit (E)"
reference (F)", cross reference will be generated in the output window of KV STUDIO.
For details of verification, see
9-86
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
"Cross
Undo
Edit (E)
Restore (U)
Cancel latest operation of "Batch change" window and return to original status.
Note
"Option
in system
setting tab.
9
MONITOR & SIMULATOR
Redo
"Edit(E)"
"Redo(R)"
Use "Redo (U)" in "Batch change" window to redo the cancelled operation.
Select All
Edit (E)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-87
Edit(E)
"Cut" or "copy" the cell selected in "Batch change" window, execute "paste".
Delete Rung
"Edit(E)"
"Delete Rung(D)"
In "Batch change" window, delete the line containing the selected cell.
From the menu, select "Edit (E)"
Edit(E)
Delete the cell of the selected range via "Batch change" window.
From the menu, select "Edit (E)"
Edit (E)
Via "Batch change" window, sort the data being edited according to the sequence of the device.
From the menu, select "Edit (E)"
"Sort by devices(S)".
Before
9-88
After
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
PLC (P)
Read the current value of all data edited in "Batch change" window from PLC.
From the menu, select "PLC (P)"
Note
Before operation, please set KV STUDIO and PLC to communication enabled status.
PLC (P)
Read the current value of device containing the selected cell line in "Batch change" window from PLC.
From the menu, select "PLC (P)"
Before operation, please set KV STUDIO and PLC to communication enabled status.
PLC (P)
Write the current value of all data edited in "Batch change" window into PLC.
From the menu, select "PLC (P)"
Note
Before operation, please set KV STUDIO and PLC to communication enabled status.
PLC(P)
Write current device value on the line of the cell selected contained in "Batch change" window into PLC.
From the menu, select "PLC (P)"
Note
Before operation, please set KV STUDIO and PLC to communication enabled status.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9
MONITOR & SIMULATOR
Note
9-89
Batch Insert
Add device(D)
Specify range and insert the device into "Batch change" window in batch.
From the menu, select "Add device(D)"
Item
Explanation
menu.
Selection of device
The type of selected devices varies with the model supported by the
project being edited.
Specify leading Number of devices entered in batch.
Leading Number
Specify bit device, when display format is " BIN 1BIT", specify using bit
unit, specify using channel unit in other cases.
Specify the number of devices to be entered in batch.
number
When the display formats "DEC 32bit" "DEC 32bit" "HEX 32bit"
and "FLOAT" are selected, the number of devices to be inserted
equal to the number of devices *2 word units.
drop-down list.
Insert Rung
9-90
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
Increment Insert
Insert the device that adds +1 (or +2) to the previous Device Number
From the menu, select "Add devices (D)"
Item
Module/macro*2
Device
Current value
Display format
*1
When display formats of the previous device are "DEC 32bit" " DEC 32bit" "HEXDEC 32bit"
"float", add +2 to Device Number and insert.
*2
It is valid only when the models "KV-5000", "KV-3000", " KV-1000 " are selected.
9
MONITOR & SIMULATOR
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-91
Overview
Online Edits allow you to change the ladder program directly on the KV STUDIO monitor screen. These handy
functions allow you to change simple programs or perform site adjustment during final debugging during programming.
9
MONITOR & SIMULATOR
Caution
Import
9-92
As the Online Edit function changes the program while the PLC is in the Run mode,
equipment may be seriously damaged or personnel may be seriously injured if Online
Edit is used in the wrong way. Ensure the following to be checked before you start.
Before using Online Edit, ensure no injury or damage takes place even if an accident occurred.
Do not add circuits (e.g. Execution Condition B contact circuit) immediately after a
program is transferred. Otherwise, the machine may be broken.
Do not delete ON outputs. Otherwise, the output may be kept in the ON state.
If monitoring is forcibly ended due to a PC error during Online Editing or transfer of the ladder
program, the ladder programs cannot be transferred to PLC
The ON/OFF states and values of devices currently monitored in Online Edit are displayed
based on the ladder program (programs currently running on) before Online Edit is started.
Before transfer, the operation is such that program states currently being edited by Online
Editing are not reflected.
To run on a program after adding or changing by Online Editing, transfer must be performed.
Writing in the RUN mode cannot be performed when macro instructions are added or deleted
during Online Editing.
Local device assignment cannot be performed with Online Edit. Instead, you need to return to
the edited program and assign again.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
"Monitor/Simulator(N)"
Select "Monitor/Simulator(N)"
The title bar on KV STUDIO changes to "Online Edit" from "Edit" to indicate that Online Edit is active.
Other procedure
Note
When the project being edited is different from the project stored in PLC, fail to transfer
Please transfer the project being
edited or temporarily switch to monitor mode, then switch to Online Editor mode.
Continual real-time monitoring can be made on ON/ OFF status and value of every device in
Online Edit.
The background color of the cell added or changed is displayed in light blue, which means program
change.
"Clear Changed Background Color", Page 6-31
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-93
"Monitor/Simulator(N)"
Caution
Writing the ladder program while the PLC is in the Run mode may lead to a
serious hazard depending on the states of the control devices connected to
the PLC. Take sufficient care when transferring the ladder program.
Manual
9-94
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
"Monitor/Simulator(N)"
The background of the cell added or changed via Online Edit is displayed in light blue, indicating that a
change needs to be made. Set time and display using auto clear change specification.
Note
Online editor setting can be set only when KV STUDIO is in monitor mode or Online
Editor mode.
Select "Monitor/Simulator(N)"
9
MONITOR & SIMULATOR
Item
Explanation
transfer.
background color.
When Monitor mode is switched to Editor mode, the
Note
If the checkbox is not selected, the background color of program cannot be cleared.
So, background color shall be manually cleared. To manually clear setting, select
"View (V)"
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-95
9-11 Simulator
The chapter describes application method of simulation program and these functions.
Overview
"Simulator" simulates operation of ladder programs you create on Editor without actually connecting to
a PLC. Simulator allows you to perform the following operations:
Check the operating status of ladder programs in the Ladder Monitor or Registration Monitor
(time chart) or in real time in the Batch Monitor.
Simulate continuous scan/continuous step or single step/single scan by various execution
methods
Undo functions such as reverse step and reverse continuous step are available to enable
efficient debugging.
Easily change the setting values or current values of timers, counters or devices.
Simulator Restrictions
Common restrictions
Extension Unit operations cannot be simulated.
The high-speed counter is not supported on Simulator.
The direct clock pulse function is not supported on Simulator.
The positioning control function is not supported on Simulator.
The RCOM instruction is not supported on Simulator.
After executing WTIME instruction, error is also detected. But timer of PLC don't change.
Operation of the interrupt program is subject to the following restrictions:
Item
INT CTC0, INT CTC3
INT CR3013, INT CR3113
INT R00000 to INT R00003
Explanation
Interrupt program does not run.
Interrupt is enabled, and is executed by END processing at the scan
where the interrupt was generated.
The scan time is longer than in actual operation as simulation is performed on Windows.
Attention should be paid to this when setting up Timer.
The scan time display varies depending on the type of PC even when running the same ladder
program as the same operation as the PLC is simulated internally on the PC you are using.
9-96
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-11 Simulator
Status
Normal ON
Normal OFF
10ms clock pulse (duty cycle 50%)
100ms clock pulse (duty cycle 50%)
1s clock pulse (duty cycle 50%)
A scanning cycle is cut off when running is started
A scanning cycle is initiated when running is started
ON when the operation result is negative or overflow
ON when the operation result is 0
ON when the operation result is positive
ON when operation error
Rising edge
Rising edge
CR2610
CR2613
CR2614
CR2702
CR2703
CR2814
CR2815
OFF
ON
Rising edge
INT3Interrupt polarity
Falling
Both edges
ON
ON
Falling
Both edges
ON
ON
Falling
Both edges
edge
CR2606
OFF
ON
Rising edge
INT4Interrupt polarity
ON
ON
Falling
Both edges
edge
CR2608
OFF
ON
Rising edge
INT5Interrupt polarity
ON
ON
Falling
Both edges
edge
CR2610
OFF
ON
Rising edge
INT6Interrupt polarity
ON
ON
Falling
Both edges
edge
CR2612
OFF
ON
Rising edge
INT7Interrupt polarity
ON
ON
Falling
Both edges
edge
CR2614
OFF
ON
Rising edge
INT8Interrupt polarity
CR2701
ON
edge
CR2604
CR2615
CR2700
ON
Rising edge
CR2611
CR2612
OFF
INT2Interrupt polarity
CR2609
ON
edge
CR2602
CR2607
CR2608
ON
CR2605
CR2606
OFF
CR2604
Both edges
edge
CR2600
CR2603
Falling
ON
ON
Falling
Both edges
edge
CR2700
OFF
ON
Rising edge
INT9Interrupt polarity
ON
ON
Falling
Both edges
edge
CR2702
OFF
ON
ON
ON
* CR devices other than the above are the same as internal auxiliary relays on the Simulator.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-97
9-11 Simulator
Function
(year)
(month)
(day)
Reading of calendar timer (PC
(hour)
setting date/time)
(Minute)
(s)
(week)
* CM devices other than the above do not function even if used on Simulator.
KV-1000/700/700+M/
KV-5000/3000
R (Relay)
P16/10/16/24/40
MEMSW instruction setting *2
-
MR
Reset
LR
State holding.
CR2002
CR
: ON
CR2003 to CR2008
: State holding.
Other
: OFF
DM/EM/FM
State holding.
ZF
State holding.
State holding.
TM
0
Contacts
T
C
: OFF
Register end
Unregistered
CTH
State holding.
CTC
State hold
State holding
CM
State holding
*1
*2
Reference Manual.
9-98
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-11 Simulator
State
OFF
OFF
OFF
OFF
CR2002
: ON
Other
: OFF
0
0
0
0
Contact
: OFF
Registration end :Current value is same as setting value.
Unregistered
: Current value is 0
Contact : OFF
current value : 0
current value :0
Contacts : OFF
0
0
CR
DM/EM/FM
ZF
W
TM
T
C
"Monitor/Simulator(N)"
Simulator(L)" Ctrl + F2
"Simulator (L)".
When a conversion error occurs, Simulator cannot be started. Please correct Ladder
error and start Simulator again.
Select "Monitor/Simulator(N)"
Other procedure
Click
button.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-99
CTH
CTC
Z
CM
9-11 Simulator
When Simulator is started up, the screen moves to the Simulator screen of the ladder program that was
being edited on Editor.
The Batch Monitor window and Registration Monitor window are also displayed if these monitor
windows were previously displayed.
mnemonics list
Executing Simulator
Scan Execution
This section describes scan execution.
9-100
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-11 Simulator
Continuous scanning
Execute the program continuously.
The state is same as the RUN mode of
PLC.Continuous scanning is normally used for
debugging and troubleshooting.
Execute program
Repeated
scan once
Scan once
End process
Single scanning
Only one scanning cycle is performed by the ladder
program. When a single scanning is executed in the
continuous scanning mode, operation is stopped.
Executing a single scanning enables you to check
Execute program
Scan once
End process
"Execute 1
BREAK setting
A "BREAK" is a function for stopping a ladder program at specified conditions during program operation.
Device BREAK is used to partially verify the state of operation or to discover buggy locations. About
BREAK, see
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-101
9
MONITOR & SIMULATOR
9-11 Simulator
Step execution
This section describes step execution.
Overview
"Step execution" is the simulation of the ladder program one instruction at a time. During step execution,
the mnemonic list is displayed, and you can check the currently executing rung of the ladder program.
You can also view the operating status of programs from a specified input through to output by
specifying break conditions or setting breakpoints together with step execution. With programs
comprising a combination of multiple arithmetic operation instructions, this is useful for finding the
cause when results are in error even though correct values have been entered.
There are four execution modes: "continuous step," "1 step," "reverse continuous step," and "reverse 1 step."
The function for windows are as follows.
9-102
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-11 Simulator
Reset
Return current values to their defaults.
9
MONITOR & SIMULATOR
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
9-103
9-11 Simulator
MEMO
9
MONITOR & SIMULATOR
9-104
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_091-J.fm
10
DEBUG
This chapter describes the functions of debug and how to use.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_100xJ.fm
10-1
DEBUG
Warning
Simulator
Online edit
Debug(D)
RUN/cont. scan(R)
"RUN/cont. scan(R)" from menu. The mode changes to the run/continuous scan
execution mode.
10
TIP
When a single scan is executed in the continuous scan execution mode on Simulator,
DEBUG
Note
On Monitor, the mode cannot be set to the Run mode when the RUN/PROG selector
switch on the CPU Unit is set to PROG.
"KV-5000/3000 series Users Manual"
PROGRAM/stop
Monitor
Simulator
Online edit
Debug(D)
Program/stop(P)
TIP
10-2
When a single scan is executed in the stop mode on Simulator, program execution is paused.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
Execute 1 Scan
Monitor
Simulator
Debug(D)
Execute 1 scan(T) F9
Executes the ladder program for one scan only. When a single scan is executed in the continuous scan
execution mode, operation is paused.
This mode is handy for confirming operation one scan at a time.
Note
Simulator
DEBUG
10
KV-5000 KV-3000 KV-1000 KV-700 KV-P16 KV-10/16/24/40
Debug(D)
Select "Debug(D)"
displayed, and the currently executing rung is displayed highlighted by a background color.
In the Ladder Monitor window screen, the currently executing section is scrolled matched to the speed
of program operation.
"About the Mnemonic List window", Page 9-102
TIP
When the screen is displayed split, only the bottom half of the screen is scrolled matched to
the speed of program operation.
To confirm only the behavior of a specific section of the ladder program, use the upper half of
the screen.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
10-3
Execute 1 Block
Monitor
Simulator
Debug (D)
10
DEBUG
Execute 1 Step
Monitor
Simulator
Debug(D)
Execute 1 step(W) F8
The ladder program is executed one step at a time. When 1 step execution is performed during step
execution, program execution is stopped.
1 step = instruction
Select "Debug(D)"
displayed, and the currently executing rung is displayed highlighted by a background color.
"About the Mnemonic List window", Page 9-102
Note
10-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
Debug(D)
Executed steps are executed by step execution continuously in the reverse direction after 1 step
execution or continuous step execution is performed.
Debug (D)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
10-5
DEBUG
Simulator
10
Simulator
Select Debug(D)
Debug(D)
Executed steps are executed by step execution one step at a time in the reverse direction after 1 block
execution or continuous step execution is performed.
10
DEBUG
TIP
When reverse 1 step is executed, the values of devices that changed as a result of program
execution return to their original statuss
This mode allows you to perform debugging efficiently as you can verify the action (changes
in action caused by contact ON/OFF switching or word device values) of the ladder program
you have made and restore the result of the action of each instruction.
Pause
Monitor
Simulator
Select Debug(D)
Debug(D)
Pause(I) F6
10-6
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
Reset
Simulator
Debug(D)
Select Debug(D)
Reset(A)
Simulator
Debug(D)
A "break" is a function for stopping a ladder program at specified conditions during program operation.
There are two types of break settings described as follows:
Device break Program execution is stopped at conditions specified to devices in the
"Device break settings" dialog box.
Rung break Program operation is stopped at the rung specified in the "Mnemonic list"
Note
Device breaks
Rung breaks
Monitor
Simulator
Monitor
Simulator
1*
16
16
Execute 1 scan
Execute reverse
continuous step
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
10-7
DEBUG
window.
10
Device Break
A "device break" is a function for stopping a ladder program at conditions specified to a device during
program operation. Device breaks are used to partially verify the status of operation or to discover
buggy locations. Also, when device breaks are used in combination with the step execution function,
operation can be verified in a shorter time, and programs can be stopped by multiple OR and AND
conditions.
Select "Debug(D)"
10
Item
Explanation
DEBUG
Module/macro*
Specifies modules/macros.
Device
Cond (condition)
Set up Conditions
Device/value
Calculation error
Compave type
the device is a word device, select "Word", and when the device is a 32-bit device,
select "Double-word".
Setup list
Combined
*It is displayed only when the models "KV-5000", "KV-3000", "KV-1000" are selected
10-8
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
Specify the device and conditions. When the device is a word or a double-word device, specify the
condition in a compare operation.
When the device is a bit device
Item
Explanation
Device
Cond (condition)
ON
OFF
Explanation
Device
Sets an instance where the left side is greater than the right side as the condition.
Sets an instance where the right side is equal to the left side as the condition.
*3
Compare condition
Sets an instance where the right side is different from the left side as the condition.
>*1
Sets an instance where the right side is greater than the left side as the condition.
*1
<=
Sets an instance where the left side is greater than or equal to the right side as the condition.
>=*1
Sets an instance where the right side is greater than or equal to the left side as the condition.
Device/value*2
*1
*2
*3
10
When the device to which conditions are to be set is a bit device, select "Bit", when the device
is a word device, select "Word", and when the device is a 2-word device, select "Double-word".
5
6
TIP
If clicking "add conds" button, can register new device interrupt condition.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
10-9
DEBUG
Rung break
Monitor
Simulator
A "rung break" is a function for stopping program execution at a rung specified on the Mnemonic List
window. When a rung break is used, program execution is automatically stopped in the execute
continuous scan, execute 1 scan, execute continuous step, and execute 1 step modes.
For example, if a rung break is set to investigate in detail ladder operation at a particular step in the
ladder program, program execution stops at the preset step, which makes it easier to verify program
operation.
Move the cursor to the rung to specify in the Mnemonic list window and double-click.
is displayed to the left of the specified rung.
TIP
10
DEBUG
Execute 1 scan:
Continuous scan control:
control" page10-2
Execute continuous reverse step:
10-10
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
Online edit
Debug(D)
Note
The bit device can be only Forced set/ reset, registered.
Can not register R000 to R915.
Input frame
10
DEBUG
Item
Explanation
(Input frame)
(Add device)
(checkbox)
For the device whose checkbox is ON, its cell changes to red, which indicates forced set/ reset.
Set
Current value
Comments
(Register set)
: ON status
: OFF status
Display device comments.From right-click menu, select the comment category to be
switched.
The "settings" of all selected devices are set, the checkbox changes to ON.
(Register reset)
The "settings" of all selected devices are reset, the checkbox changes to ON.
(Cancel)
(Register)
(Delete)
Registered devices
Display the number of devices forced set / reset registered to CPU unit.
count
* Can also add device by dragging the compiled device to Ladder editor.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
10-11
TIP
Can create cross reference of the registered device from right-click menu.
After imperative register set / reset, the cell in
"imperative set / reset" dialog box is displayed in
red, KV STUDIO tool bar will give blinking display
of "imperatively register setting/ resetting"
prompting message.
Editor
Online edit
Debug(D)
Simulator
10
DEBUG
Item
PLC status
Explanation
Current PLC status is displayed.
Mode
Switch status
Calendar timer
Current error
Display the time of acquiring action mode and on/off status message.
Display PLC error occured. Click error content, the pointer will move to the error
position on Ladder editor.
Display error category in icon form.
Type
: Warning
: Error
10-12
No.
Information
Display error content, error occurrence module / macro, error occurrence position (step No.).
Date/time
(Clear)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
Item
Explanation
Display error occurrence record. Click error content, the pointer will move to the
error position on Ladder editor and module editor.
The numbers can be recorded is different according to the wrong styles.
Error log
Type
: Error
: Power ON/OFF
No.
Information
Display error content, error occurrence module / macro, error occurrence position (step No.).
Error occurrence time is displayed as per ascending sequence.
Date/time
(Update)
(Clear log)
(Save to file)
(Close)
10
Warning
32 pieces
Power ON/OFF
Alarm relay
64 pieces
DEBUG
Error category
Error
Online edit
Debug(D)
"Inhibit input refresh(F)" from the menu with Monitor started up.
TIP
The inhibit input refreshing setting is enabled on all external input relays.
When set, the inhibit input refreshing setting is disabled when the PLC operation mode is
changed from PROG to Run, or the PLC is turned OFF then back ON again.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
10-13
Inhibit Output
Online edit
Monitor
Debug(D)
Inhibit output(O)
When output is set to inhibited, there is not output from the external output terminals even if the ladder
program is executed.
Select "Debug(D)"
TIP
10
Monitor
Online edit
Editor
Debug(D)
DEBUG
Monitor the items related to KV-5000 / 3000 scanning time, the number of breaks.
Select "Debug (D)"
Item
Scan time
Current value
Max.
Min.
(Clear Max. min. )
Operation Fixed scan time
10-14
Explanation
Display monitor message related to scanning time.
Display current value of scanning time.
Display Max. value of scanning time from operation (PROG -> RUN switch) to
current processing time.
Display Min. value of scanning time from operation (PROG -> RUN switch) to
current processing time.
Max. value/min. value clear
Display monitor message related to operation of fixed scanning time.
State
Setting value
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
Item
Explanation
Setting value
Current value
Max.
Display Max. value from operation of fixed cycle module to current processing time.
"Clear Max."
Number of interrupts
"Clear interrupt counts "
*1
Display the number of interrupts from operation (PROG -> RUN switch) to
current processing time.
Clear the number of all interrupts.
When " operate in fixed scanning time" checkbox in "scanning time related settings" of "CPU
system settings" is selected, the display is enabled; if not selected, it is disabled.
"CPU System Setting", Page 6-42
*2
When "enable END processing time settings" in "scanning time related settings" of "CPU system
settings" is selected, the display is enabled; if not selected, it is disabled.
"CPU System Setting", Page 6-42
Debug(D)
Note
The range that the calendar timer can be set on KV STUDIO is 2000, January 1,
00:00:00 to 2037, December 31, 23:59:59.
Select "Debug(D)"
Check that the "Match to PC clock" checkbox is marked, and click the "OK" button.
This changes the PLC's calendar timer to match the PC's clock.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
10-15
10
DEBUG
Monitor
Select "Debug(D)"
10
DEBUG
Monitor
Online edit
Debug(D)
"Clear all PLC devices" initializes data memories (DM, EM, FM), relays (R01000 to R59915) set to be
held by the MEMSW instruction, latch relays (LR), and counters (C).
When Clear all devices is executed in Monitor, the devices registered on the PLC are initialized.
Select "Debug(D)"
"Clear all PLC devices(L)" from the menu, and specify the device to be
TIP
10-16
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
Online edit
Select "Debug(D)"
Debug(D)
"Clear CM for KV-D30(D)" from menu. display operation status in diagram form.
The area of control memory (CM) used by operating panel KV - D30 is initialized.
10
DEBUG
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
10-17
MEMO
10
DEBUG
10-18
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_10xJ.fm
11
TOOL
This chapter describes each of the tool functions.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
11-1
Unit Editor
"Tool(T)"
With KV-5000/3000/1000/700, connected units must be registered in advance to the CPU before a
ladder pro-gram is executed. Connected units are selected on Unit Editor to create a unit configuration,
and once the unit configuration is created it is transferred to the PLC.
As for unit editor, please refer to
"Chaper 3 UNIT EDITOR", Page 3-1.
11
TOOL
Tool(T)
Select "Tool(T)"
displayed.
"Unit config switch(N)" from the menu. The "Swith unit configuration" dialog box is
11-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
Item
Unit configuration library
Description
Display multiple unit compositions in library form.
and the configuration differs according different units.
Create unit configuration file.
(New)
After the name registered to library is specified, Unit Editor will start, so, set unit
composition to be registered.
(Edit)
(Delete)
(Rename)
Note
Switch unit composition via "Unit composition switch" dialog box, the device used
by Ladder will be not automatically converted.
11
TOOL
Logging/tracing Setting
Tools (T)
Setup logging(L)
"Logging" refers to the recording of what kind of states devices are in at a certain timing. The
information of devices or triggers to be recorded is set on KV STUDIO, and records are saved to the
Memory Card. This logging data is saved in CSV format so it can be imported to Excel or other
spreadsheet software for analysis.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
11-3
"tools(T)"
Set the device default value which is to be read when operating CPU unit,
Choose "Tool(T)" from the menu
"Setup device defaults(V)".
Other procedure Double click "device default" in work area.
11
TOOL
Item
Explanation
Default enable device Set effective range of the device to whcih the default value is entered.
Device
Number of points
(Set)
(Delete)
Device
Display format
Select display format of the value displayed in the default value list.
Display defaults
After selecting checkbox, only the valid device among the devices with valid default
value is displayed.
Display the default to be set. Initial Device No. is vertical, offset to initial Device No.
is horizontal.
The valid device cell which was changed by the default value, display in green.
Select the cell to be entered, directly enter the value.
(Input method)
Double click on the cell, open "SJIS character string setting" dialog box, enter
character string.
CSV Import
CSV export
Save the default device value that has been set in CSV format.
Read value from PLC Read current value from PLC to default data.
*Double click, and the "device set" dialog box pops up.
11-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
TIP
Complete default value setting, click "OK" button, save as device default value setting file
(filename: DevInit.dvi). Via "file (F)"
"import (I)"
step, can import device default value setting file from other projects.
Item
Select device
Explanation
Select the device type making the default setting of the device valid.
Leading No.
number
Specify the number (range) which start from valid device default value.
(Max. number)
The number calculated from start No. to end of Device No. is displayed as "number".
11
Add (A)
Tools (T)
Change (C)
TIP
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
11-5
TOOL
Tools (T)
Item
Setup No.
Comments
Display format
Select display format of the value displayed in File Register setting list.
11
Explanation
If multiple File Registers (setting No.) are set, can be switched.
Display the default to be set. Initial Device No. is vertical, offset to initial
Device No. is horizontal.
Select the cell to be entered, directly enter the value
TOOL
(Input method)
Double click on the cell, open "SJIS character string setting" dialog box, enter
character string.
CSV Import
CSV export
Save the File Register that has been set in CSV format.
Read FM current value from PLC as File Register and set constant.
TIP
After File Register setting, click "OK" button, save as File Register setting file (filename: FR
(setting no.).dvi,). File Register setting file can be imported from other projects via "file (F)"
"import (I)"
Mail Setting
Tools(T)
For mail setting method, please see
Tools(T)
11-6
Setup mail(E)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
"KV-LE20V user
"Tool(T)"
11
TOOL
Point parameters for 32 points can be set in advance on KV STUDIO. f more than 32 points are set,
the ladder program overwrites the contents of control memory (CM).
You can choose from two control modes: positioning control and speed control. Both incremental
values and absolute values can be set for target values/travel amounts.
Pulses can be output for two axes and each of their frequencies can be set within the range 50 Hz to
100000 Hz.
Both 1-pulse mode and 2-pulse mode are supported as pulse output modes. Select the output mode
best suited to the type of motor driver that is connected.
Select "Tool(T)"
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
11-7
Description
Point parameter
I/O setting
System parameter
method.
Comparator
setting
Origin returning
JOG
When you have finished editing parameters, close "Edit CPU positioning params."
The point parameters and system parameters that you set are saved to file.
Use positioning instructions to program the ladder program.
11
TOOL
KV-DN20 Setup
"KV-
Tools (T)
Start device network element KV-DN20 setting tools.
For concrete operations of "KV-DN20 settings tools", please see
KV-CL20 Setup
Tools (T)
Start CC-Link unit KV-CL20 settings tools.
For concrete operations of "KV-CL20 settings tools", please see
SettingKV-CL20 (C)
Tools (T)
11-8
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
When using MOTION BUILDER, the MOTION BUILDER should be setup, and set
positioning unit KV-H20/H20S/H40S/H20G with unit editor .
"Chaper 3 UNIT EDITOR", Page 3-1
Use simple setting function of the positioning unit, can set the parameter of positioning unit KV- 20 /
H20S / H40S / H20G. Positioning unit parameters include major parameters and common parameters;
can simply set on the Ladder compilation image.
Simple setting and edit contents as follows.
Note
"KV-700 series
Tools (T)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
11-9
TOOL
Point parameters . . . . .Set action mode, target position / travel motion, operating speed at all
11
Note
11
TOOL
Tools (T)
Panel Editor
Tools (T)
For concrete operation methods of panel editor, please refer to
PLC KV-P series User's Manual".
11-10
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
Panel editor(N)
Customize
"KL
Tools (T)
Customize(K)
Select "Tool(T)"
11
Shortcut keys
TOOL
Item
(Batch change)
Shortcut key
create
Explanation
Batch-changes shortcut keys to initial format, GPPQ format,
GPPA format and CX format.
(Read)
(Save)
(Initialize)
(Register/delete
keys)
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
11-11
Batch-change keys
Batch-changes keys to initial format, GPPQ format, GPPA format and CX format.
"GPPQ/GPPA Mode Shortcut Key List", Page A-19
Click "btch chng" button.
Select key form via the "Batch change key" dialog box.
Registering/deleting keys
Select the command to register/delete, and click the "Reg/delete key" button.
The "Register/delete key" dialog box is displayed.
11
TOOL
Item
(Select assigned (Assigned keys)
keys)
Delete
Explanation
Selects the key to assign from the pulldown menu.
Selects the key to be pressed simultaneously when using shortcut keys.
Deletes the shortcut key settings.
Toolbar
The tool bar can be customized. Mark the checkbox of items to display on the tool bar.
To display all, click "all ON" button, to hide all tool bars, click "All OFF".
11-12
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
Option
Tool(T)
Option(O)
1
2
Select "Tool(T)"
"Option(O)" from menu. and select " Ladder color setting" tab.
TIP
The colors that you set here are saved to KV STUDIO and are enabled when KV STUDIO
11
Select color
TIP
If you cannot find the color you want, click the Define Custom Colors>> button.
Specify the hue and brightness of the color, and add the color to the custom colors by the
"Add to Custom Colors". The color that you added is added to "Custom colors".
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
11-13
TOOL
To set the background color of the ladder program edit window to black, click the "Black
TIP
Unit display colors can be change from either Editor or Unit Editor.
Newly set unit colors are reflected in both of these.
For details on how to set colors in Unit Editor, see
1
2
Select "Tool(T)"
"Option(O)" from the menu. and select "Set unit color" tab.
Select the item to change color, and click the "Color" button.
11
TOOL
TIP
The colors that you set here are saved to KV STUDIO and are enabled when KV STUDIO
is next started up.
To return saved colors to their defaults, click the "Initialize" button.
Select color
TIP
If you cannot find the color you want, click the Define Custom Colors>> button.
Specify the hue and brightness of the color, and add the color to the custom colors by the
"Add to Custom Colors".
11-14
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
System setting
Select "Tool"
Item
Explanation
The title screen is displayed when KV STUDIO is started up.
To disable display of the title screen when KV STUDIO is started up, unmark this
checkbox. The title screen will not be displayed when KV STUDIO is next started up.
KV STUDIO has a "device auto-convert function." This function automatically
replaces device Nos. on the ladder program to match any changes that are made to
devices assigned to units that have already been assigned a device on Unit Editor.
When this checkbox is marked, the device auto-convert function is enabled.
Note
When the device auto-convert function is not used, manually
change device Nos. on the ladder program after changing
assigned devices that were set on Unit Editor.
Under monitor status, when setting value of timer / counter, etc. is changed,
After checked, confirm dialog box wiil be displayed during the switch from
When operating relay under monitor status, confirmation dialog box will be
displayed.
Cancel check, immediately operate relay.
During Ladder entry, if entering (except copy, paste) duplicate coil command
operand, the alarm dialog box will pop up.
Use return Ladder insert in edit menu, execute return symbol (
) insert. If
Note
change dialog
Check device confliction when After checking, when converting Ladder, test the device using race
converting
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
11-15
TOOL
11
Item
Explanation
(Setup)
*1
*2
*3
Script setting
Select "Tool(T)"
"Option(O)" from menu. and select the script setting tab.
Make script-related settings.
11
TOOL
11-16
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
"Option(O)" from menu. and select the set display modes tab.
Item
Auto
200%
Display size
Explanation
According to Ladder edit window size, the displayed size is automatically changed.
Displays at the largest size, twice the standard size. Select this item when
small characters are difficult to read, for example.
150%
120%
Displays at the smallest size. This size displays the maximum number of
cells that can be displayed on screen. Select this size to check overall action.
Displays device name by XYM.
Display labels
Record label name and device No. for each device simultaneously.
During monitor, simulator, global device mark is used to display Ladder Local
Display Ladder Monitor values The current values on the ladder diagram are displayed in HEX in the
in HEX
Suppresses the display of zeros in device No. and numerical values on ladder diagrams.
Example)do not perform zero suppress processing: R00500
Zero suppress processing: R500
pack-instruction
Display comment
Device No.
Select
Comment 1
Display comments 1.
comments
Comment 2
Display comments 2.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
11
TOOL
Display by XYM
11-17
Editing/key setting
Select Tool(T)
Item
Explanation
Displays the operand edit dialog box with Type List and
11
TOOL
11-18
monitoring.
Can use direct entry dialog box, continue entering comment after
refence
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_110J.fm
key
key during
12
SCRIPT
This chapter describes how to input and edit scripts.
For script, please see KV-5000/3000/1000 Series Script Programming
Manual.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_120J.fm
12-1
"Script (S)"
When using field scripts, the entire rung can be programmed as script.
1
2
"Insert area script (A)" from the menu that appears by right-
3
4
12
key.
Click the ladder edit window outside the script programming area.
SCRIPT
Press
key+
key
"Script(S)"
Box scripts have ladder execution condition. These scripts can specify when and in which ladder program
defined by the script is to be executed.
Program the execution conditions in ladder edit program, and click the cell for which the box
script is to be programmed.
Select "Script"
"Insert box script" from the menu that appears by right-clicking in the
3
12-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_120J.fm
key.
Click the ladder edit window outside the script programming area.
Press
key+
key
"Script (S)"
Select the method for editing scripts. Program directly in script editor or open a window to program.
the menu.
Direct input (script edit program)
12
SCRIPT
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_120J.fm
12-3
"Script (S)"
Select "Script (S)"
When an error exists in script, the error message is displayed, and the error location is displayed in the output
window.
"Script (S)"
Select "Script (S)"
When an error exists in script, the error message is displayed, and the error location is displayed in the output
window.
"Script (S)"
12
Set the level of warnings that are displayed during script conversion.
SCRIPT
Note
This function can be used for setting the script warning level, and the script can be
effectively converted without displaying normally displayed warnings. Program and
convert scripts carefully.
The warning when a suffix different from the data type defined for global label is specified is not outputted.
After selecting, when specifying the suffix other than data type defined during all labels registration, warning is
not outputted.
Example) when "1 word unsigned integer: UINT" is specified in global label definition, and suffix .L etc. is
specified in script
12-4
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_120J.fm
converted ladder (V)" is selected again after a ladder is displayed, the converted ladder is
closed and only the script is displayed.
Display converted ladder program.
The
programmed
script is displayed.
12
SCRIPT
Other procedure
Click
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_120J.fm
12-5
Display entire content of a folded converted ladder in the ladder program converted ladder displayed by
"Display/hide converted ladder," .
12
SCRIPT
TIP
button on
script.
Other procedure
12-6
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_120J.fm
Fold part of ladder in ladder program displayed by "Display/hide converted ladder," and only rung comments
with script is displayed.
Fold part of ladder in ladder program displayed by "Display/hide converted ladder," and only rung comments
with script is displayed.
SCRIPT
TIP
Rungs can be displayed or hid in rung units by clicking a ladder in a converted ladder or the
button on the line of script.
Other procedure
Ladder (O)".
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_120J.fm
12
12-7
"Script(S)"
(SPACE)
Display function list when the name of a function or input function is unknown.
"Script (S)"
12
+ Shift + (SPACE)
SCRIPT
Display simple information such as whether arguments and return values are to be programmed as script
function tips when inputting.
Place the "|" mouse cursor to the right of the "(" , and select "Script (S)"
Other procedure
12-8
A script function hint is automatically displayed when6 inputting "Function name (".
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_120J.fm
APPENDICES
Refer to error message tables if trouble occurs during use, or if you want to
know to remedy errors that occur during programming.
A list of shortcut key commands is also provided as a quick reference.
Index A-26
APPENDICES
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_ap_J.fm
A-1
The following describes error messages and remedies to take when an error message is displayed.
Cause
Remedy
Dialog box
"Unusable text string is included at the
beginning."
"_" is used at the start of the module Use characters that are permitted in
name, macro name, etc.
module names and macro names
"Invalid file."
"Failed to open file. "
"File reading fails."
"Project name invalid."
"Script information reading fails."
"Module information reading fails."
"Macro information reading fails."
"LD rung information reading fails."
"Rung comment information reading fails."
"Invalid comment/tab file."
"Undefined module/macro type."
APPENDICES
Output window
A-2
A text string that cannot be used for Use characters that can be used for
the label is used.
labels.
Cause
performing conversion.
Remedy
"Instruction duplicate"
"Operand duplicate"
"Cannot be used in interruption"
Duplicate operands
An instruction that cannot be used in
another means.
"Undefined subroutine"
instructions.
sub-routine undefined.
sub-routine undefined.
pair.
instruction.
APPENDICES
The is no ENDH instruction on the final Program the ENDH instruction on the
rung of the program.
of the block.
The SFT instruction operand is outside Change the operand to the settable
the settable range.
range.
END instruction.
another means.
A-3
Error message
Cause
Remedy
(N:numerical value)
opened.)
elements"
instructions is incorrect.
The parallel connection block contains Change the network to reduce the
connection block.
APPENDICES
"Not connected"
The connection between blocks is not Change the network so that a normal
"Invalid connection"
method is in error.
connection is formed.
Warning Messages
Cause
Remedy
operation.
A-4
Cause
Remedy
The model set in LD program is not conformable Shall set correct model again via "
"Password error."
model setting".
Enter the correct password.
conversion interrupted."
program again.
The communications port (COM port) can in Device Manager can be used.
no longer be used.
communicating.
connection again.
APPENDICES
successfully.
A-5
Cause
Remedy
Check the connection settings,
"Enter address."
An illegal value was entered for the port Enter a value within the range 0 to
No. during the Ethernet connection.
APPENDICES
exist.
A-6
Cause
Remedy
BREAK error
Convert error
APPENDICES
Object invalid
Please correct Ladder program according
to the following conditions, check whether
exceeding scanning time.
No Ladder error
A-7
Error Message
Cause
Remedy
Unit number
FROM abnormal
SRAM abnormal
Hardware fault.
SRAM abnormality
C:WINDOWS>CHKDSK E:
Please remove memory card according to
correct operation steps.
KV-5000/3000 Series User's Manual
"2-2 Memory Card"
APPENDICES
being accessed.
frequent occurrence.
Resource error
Error buffer area overflow
No Error Message
A-8
There is a problem in the details stored to Transfer files matched to the main unit's
configuration.
files on the Memory Card.
A system error occurred.
Cause
Remedy
acquired from the unit setup information. link and addresses must be set again.
Cause
Remedy
Operation messages
These messages are displayed when an error occurs during setting up of units.
Error Message
Cause
Remedy
APPENDICES
Unit setting file not opened. Need verify The file specified in the previous import
the file name.
dialog box is deleted.
A-9
Cause
Remedy
Install the CPU Unit.
Check the placed state of the Extension
Unit.
configured.
crossed.
address areas.
addresses. For this reason, when the 8- Pay attention to the number of relays in
relays.
use.
APPENDICES
Printing-related errors
These errors occur when an attempt is made to execute printing.
If these messages are displayed, re-install the latest printer driver, and executing printing again. If this
does not remedy the error, change the printer.
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.
A-10
This section gives a list of characters that are not available for project names, module names, macro names, labels, and device comments.
Global *
(case insensitive)
or
+ number
to
+(
to
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_ap_J.fm
A-11
APPENDICES
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,
Unusable character string
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 (IEC61131-3 standard)
2 above continuous " _ " are not allowed in label forename.
"a_b_c" can be used, but, "a_bc" is forbidden.
A-12
The following table present shortcut key combinations that are used for executing various functions.
File
Import
Close
+
+
Edit
Cut
Copy
Paste
Select unit
Unit Setup
Refresh setting
Message area
Help
Delete
Unit comments
Block comment
System comments
Unit preset
Convert
Multiple selection
Device check
Move cell
Setup slave
KL address setting
Input
View
Input/confirm
Cancel
Customize monitoring
Paste
+
+
Edit
Cut
Copy
Delete
Input unit/slave comment
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_ap_J.fm
A-13
APPENDICES
Move cell
Convert
Move cell
Check addresses
View
Move cell
Window
Slave Configuration Area
Message area
Input
Input/confirm
Help
Cancel
File
Monitor/simulator
New project
PLC Monitor
Open project
View
Workspace
Output window
A-14
Edit
New project
Undo
Open project
Redo
Save project
Cut
Copy
Paste
Multiple paste
Search
Replace operand
New cross-reference
Make list of cross-reference
rung comments
"Previous cross-reference(Z)"
Next cross-reference
Jump
connection line
Input/delete
horizontal
Top
Bottom
Previous block
Next block
Previous symbol
Directly enter
instruction at cell position
Right-shift cursor position
End
Change previous block
Enter NO contact
Enter NC contact
Enter NO contact
Insert
Set
Release
RES
TMR
TMS
DIFU
DIFD
MOV
+
+
+
)*1
LDA
*2
STA
SET
APPENDICES
+
(
Delete rung
OR
Enter NC contact OR
Rung comment
Select rung
connection line
Home
Bookmark
Next symbol
Jump
vertical
LDP
LDF
Change operand
ORP
ORF
Input vertical
MEP
connection line
MEF
INV
Arrange ladder
Edit list
Input horizontal
connection line
Edit
connecti
on line
Delete vertical
Previous cell
connection line
*1
*2
connection line
Delete horizontal
Only valid when the cell is on the left (the first line)
Only valid when the cell is on the right (the tenth line)
+
*
+
+
+
*
* Only valid when displaying the edit window of divided ladder diagram
- KV STUDIO Ver.5 Users Manual -
A-15
View
Script
Workspace
Output window
Instruction/macro
palette
)*
Enlarge display
Reduce display
display comments
+
+
Convert
Convert individual
modules/macros
Monitor/Simulator
Monitor mode
Tool
Unit Editor
Help
Instruction help
APPENDICES
Previous cross-reference
+
Search
Jump
Bottom
Previous block
Select rung
Next block
Next symbol
Home
End
Change previous
block
Change next
block
New cross-reference
A-16
Next cross-reference
Top
Previous symbol
Convert
+
+
Script tip
display labels
View
End Monitor
Workspace
Output window
Online edit
Start
Set
Enlarge display
Simulator
Reduce display
display/hide
display labels
observation window
display comments
Execute 1 scan
Debug
Execute 1 step
Help
Monitor/Simulator
Return to Editor
Instruction help
Instruction Reference
Manual
Start Monitor
display labels
comments
display
Top
Bottom
Previous
Select rung
+
+
Monitor/Simulator
block
Return to Editor
Next block
Monitor mode
+
+
APPENDICES
Previous
Jump
symbol
Online edit Start
Next symbol
Home
Debug
End
+
Change
Execute 1 scan
Execute continuous step
previous block
+
Execute 1 step
Execute reverse
New cross-reference
+
Previous cross-reference
consecutive steps
Execute continuous
Next cross-reference
reverse step
rung comments
Pause
Help
Contact ON/OFF
switching
Instruction help
Instruction Reference
View
Manual
Workspace
Output window
+
- KV STUDIO Ver.5 Users Manual -
A-17
Input/delete
Undo
Redo
Cut
Copy
Paste
connection
line
connection line
Input/delete
horizontal
connection line
+
+
Search
Verify Ladder
Edit list
Top
Change operand
Bottom
Previous block
Next block
Next symbol
Home
Enter NO contact
End
Change previous block
Enter NC contact
"Previous cross-reference(Z)"
Enter NO contact OR
Enter NC contact OR
Enter NO contact
APPENDICES
RES
TMR
TMS
LDP
DIFU
DIFD
+
+
Set
Release
LDF
ORP
ORF
Input vertical
connection line
Input horizontal
connection line
Edit
line
Input horizontal
connection connection
MOV
Select rung
SET
+
coil
Next cross-reference
Make list of cross-reference
rung comments
New cross-reference
Bookmark
Previous symbol
Jump
Multiple paste
Replace operand
A-18
vertical
Edit
STA
MEP
MEF
INV
Delete vertical
connection line
Delete horizontal
connection line
LDA
value change
View
Workspace
Output window
Instruction/macro palette
Monitor/Simulator
+
Return to Editor
Monitor mode
Start Monitor*
Stop monitor*
Enlarge display
Reduce display
display labels
display comments
Transfer
Online edit
Cancel
Set
Simulator
Help
Script
Instruction help
Enter NO contact
Enter NC contact
Enter NC contact OR
ORP
GPPA mode
ORF
GPPQ mode
DIFU
Not assigned
GPPA mode
+
DIFD
Not assigned
MOV
Not assigned
Coil input
LDA
Not assigned
STA
Not assigned
MEP
Input vertical
GPPQ mode
connection line
GPPA mode
Delete vertical
connection line
Convert
Mark/unmark
connecting line (right)
Input transverse
Mark/unmark
connecting line
Delete transverse
connecting line
Mark/unmark
connecting line(down)
SET
Not assigned
Mark/unmark
RES
Not assigned
TMR
Not assigned
Convert individual
TMS
Not assigned
modules/macros
Not assigned
Direct input/change
LDP
current value
- KV STUDIO Ver.5 Users Manual -
APPENDICES
Enter NO contact OR
GPPQ mode
Not assigned
A-19
Monitor mode
Display comments
reference
Not assigned
Instruction/
+
+
Monitor mode
Read from PLC Not assigned
Start online edit
Returning to Editor
Next cell
Previous cell
MEP
Not assigned
connecting line(right)
Enter NC contact OR
Mark/unmark
Coil input
Mark/unmark
Input vertical
connecting line(down)
connection line
Mark/unmark
APPENDICES
connection line
Convert
Convert individual
connecting line
modules/macros
connecting line
Direct input/change
+
current value
SET
Previous cross-
RES
reference
TMR
TMS
Not assigned
Not assigned
LDP
Not assigned
LDF
Not assigned
ORP
Not assigned
ORF
Not assigned
DIFU
Not assigned
DIFD
Not assigned
MOV
Not assigned
LDA
Not assigned
STA
Not assigned
Previous cell
Monitor mode
display comments
Instruction/macro
pack pallet
A-20
Without configurate
Input transverse
Delete transverse
Mark/unmark
Enter NO contact OR
Delete vertical
+
+
" key
Up/Down
+ /
+ /
+ /
+ /
+ /
+ /
Note
Change status are as below when pressing " Ctrl + / " in line position using KV5000/3000.
APPENDICES
+ /
+ /
+ /
SET/RSET
/
A-21
Suffix
APPENDICES
A-22
KV-5000/3000
KV-1000
A,X,AND,OR
B,LDI,LDNOT,ANI,ANDNOT,ANB,/
ORI,ORNOT
P
F
BA
BB
=
<
>
<=
>=
<>
O,Y
OB
S
R,RST
PLS,U
PLF,D
BO
BOB
BS
BR
T,TIM,OUTT
T,TIM
TH,TIMH,OUTH
TH,TIMH
TS,OUTS
TS
CNT
CNTR
E,FEND
H
WON
WOFF
WUE,WU
WDE,WD
IL
ILC
FROM
instructions
UWRIT
TO
Contact
Instructions
Bit contact
instructions
Compare
instruction
Output
instructions
Bit output
instructions
Timer/counter
instructions*1
Connection/end
Instruction
Stage instruction
Flow instructions
ADD
SUB
MUL
Arithmetic/
DIV
comparison
INC
instructions
DEC
ROOT
Logical Operation EORA
Instructions
ENRA
DASC
RDASC
Text Processing HASC
Instructions
RHASC
FASC
RFASC
KV-10(16)/
24(40),KV-P16
APPENDICES
Buffer memory
LD
LDB
ORB
LDP,ANP
LDF,ANF
BLD,BAND
BLDB,BANB
LD=,AND=
LD<,AND<
LD>,AND>
LD<=,AND<=
LD>=,AND>=
LD<>,AND<>
OUT
OUB
SET
RES
DIFU
DIFD
BOUT
BOUB
BSET
BRES
TMR
TMH
TMS
C
UDC
END
ENDH
W-ON
W-OFF
W-UE
W-DE
MC
MCR
UREAD
KV-700/700+M
+
*2
*
/*3
++
SQRT
XORA,XOR
XNORA
DSTR
DVAL
HSTR
HVAL
FSTR
FVAL
A-23
Simple
Operation
Instructions
High-speed
Processing
Instructions
KV-5000/3000
CAL+
CALCAL*
CAL/
CAL&
CAL I
CAL~
+
-*4
*
/*5
&,WAND
I,WOR
~
CAL
CAL>>
CAL<<
INT
,NOT,CML
>>,SFR
<<,SFL
I
RETI
IRET
KV-1000
KV-10(16)/
24(40),KV-P16
*1
Timer / counter instructions, can be entered even if there no space between command and Device No.
*2
"-" directly entered in "Ladder edit" window, will become horizontal connecting line.
Input "-" in the "input directly" dialog box(
*3
*4
"-" directly entered in "Ladder edit" window, will become horizontal connecting line.
Input "-" in the "input directly" dialog box(
*5
"/" directly entered in "Ladder edit" window, will become LDB instruction.
Input "/" in the "input directly" dialog box(
"/" directly entered in "Ladder edit" window, will become LDB instruction.
Input "/" in the "input directly" dialog box(
APPENDICES
A-24
KV-700/700+M
This appendix describes the items to check and how to remedy frequently occurring communications
errors when monitoring KV-1000 on KV STUDIO.
Note
The items that need to be set vary according to the PC you are using. For details on how
to set items, refer to the User's Manual provided with the PC you are using, or directly
contact your PC manufacturer.
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\FC-24SM_ap_J.fm
A-25
APPENDICES
When using a serial mouse on a notebook PC, the communications port will not be enabled even if the
For KV-5000/3000/1000
A-26
Index
Number
"Device setup" dialog box .................................... 11-5
"Project" tab ........................................................... 6-5
1 Execute 1 Block ............................................... 10-4
16-, 32- and 64-point Unit Monitor ...................... 9-82
B
Backup ................................................................ 4-15
Basic operation of Unit Editor ............................. 3-13
System configuration flow ............................... 3-13
Batch change ............................................. 9-35, 9-83
Save CSV file ................................................. 9-84
C
Change device comment .................................... 5-30
Change device value window ............................. 9-39
Change model...................................................... 4-14
Change previous / next block .............................. 5-17
Change the display mode of bitmap .................... 3-30
Changing Operands ............................................ 5-29
Check address assignment of system ................ 3-36
Check the Package Contents ................................ 1-2
Clear all PLC devices ........................................ 10-16
Clear all PLC devices .......................................... 9-40
Clear CMs for KV-D30 ...................................... 10-17
Clear changed background color ......................... 6-31
Clear invalid operands .......................................... 8-4
Clear KV-D30 control memory (CM) ................... 9-40
Close module/macro ............................................. 7-3
Close project ......................................................... 4-3
Combination search ............................................ 9-60
Comment 2 ...................................................... 11-17
Comment 1 ....................................................... 11-17
Comment transfer setup ..................................... 9-16
Comments input .................................................. 3-37
Communication setting ................................ 9-4, 9-70
Compress/save project ......................................... 4-4
Connect Ethernet .................................................. 9-7
Searching connection destination .................... 9-8
Connection test ................................................ 9-9
Connection line edit mode ................................... 5-25
Connection with D-Sub 9-pin serial port ............... 9-3
Control bit device ON/OFF................................... 9-38
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSEIX.fm
A-27
APPENDICES
APPENDICES
D
APPENDICES
A-28
E
Edit .................................................................3-4, 3-7
Edit connection line ............................................. 5-26
Deleting connection lines ............................... 5-26
Inputting connection lines ............................... 5-26
Edit CPU positioning parameters .................6-5, 11-7
Edit device comment ............................................ 5-30
Edit list ................................................................. 5-27
Displaying and editing mnemonic list .............. 5-27
Mnemonic list format ...................................... 5-28
Edit mode ............................................................ 5-24
Empty rung .......................................................... 5-18
Enlarging/Reducing Displays .............................. 6-29
Enter the date and time manually ..................... 10-16
Entering and Deleting Instructions ....................... 6-32
Entering CPU positioning instructions ................. 6-39
Entering from the Instruction/Macro/Palette ........ 6-33
Changing operands ........................................ 6-34
Entering set, reset, time, count, differential contacts,
differential output, and data transfer instructions 6-38
Entire assignments settings of local devices ......... 8-6
Environment setting ............................................ 3-39
Color setup ..................................................... 3-40
Other Settings ................................................ 3-43
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSEIX.fm
APPENDICES
G
Global device comments transfer range setting .. 9-15
Globally annotate local devs during monitor ..... 11-17
I
ID No.("bit in executing") ...................................... 6-15
IME auto-ON ..................................................... 11-15
Import comments/labels ........................................ 4-7
Import CPU locating parameter ............................. 4-9
Import default value of device ............................... 4-8
Import logging info.................................................. 4-8
Import modules/macros ......................................... 4-7
Import settings of file register ................................ 4-8
Import Slave Information ............................3-28, 3-36
Inhibit input refreshing ........................................ 10-13
Inhibit output....................................................... 10-14
Initialize module .................................................... 7-2
Input auxiliary function ........................................ 12-8
Display simple format ..................................... 12-8
Display script function list ............................... 12-8
Input refresh disable / output disable setting ....... 9-40
Insert Script ......................................................... 12-2
Insert area script ............................................ 12-2
Switch edit method ......................................... 12-3
Insert box script .............................................. 12-2
Insert .................................................................... 5-18
Inserting Empty Rungs ........................................ 5-18
Install in Windows XP .......................................... 1-11
Install Software....................................................... 1-9
Uninstall KV STUDIO ..................................... 1-10
RS-232C serial port) ..................................... 1-9
USB USB port............................................. 1-9
Precautions on Windows XP/2000 ................... 1-9
Windows Environment and Installation Directory ..... 1-9
Ethernet (Ethernet card port) ........................... 1-9
Installation ...................................................... 1-10
Preparing for Installation ................................... 1-9
Free Space Available on Hard Disk ................. 1-9
Install the USB Driver ........................................... 1-11
Instruction search/replace ..................................... 5-8
Deleting instructions ....................................... 6-41
Instruction input .............................................. 6-32
Instruction selection panel.................................... 6-14
Interrupt setting ................................................... 9-40
Invalid operands .................................................... 8-4
J
Jump and search ................................................. 9-39
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSEIX.fm
A-29
APPENDICES
APPENDICES
K
KL connection setting ........................................ 11-11
KV STUDIO brief introduction ............................... 1-3
KV STUDIO functionality .................................. 1-4
Editor function .................................................. 1-4
simulation function ........................................... 1-4
Operating Environment and System Configuration
1-3
Monitoring function............................................ 1-4
Unit Editor function ........................................... 1-4
KV STUDIO Ver.4 Major CD ................................. 1-2
KV-CL20 setting .................................................. 11-8
KV-DN20 setting ................................................ 11-8
L
APPENDICES
A-30
M
Macro .................................................................... 6-9
Right-click menu in macro................................. 6-9
Macro argument setting ........................................ 7-5
Macro selection board .......................................... 6-15
Macro type ............................................................. 7-3
Mail communication instruction Maker ................ 11-6
Mail setting .......................................................... 11-6
Making reference ................................................ 9-48
Menu list in Unit Editor .......................................... 3-4
Mnemonics list .................................................... 6-28
Rung interrupt setting ..................................... 6-28
Modem communications ....................................... 9-9
Modem Initialization ........................................ 9-10
Communication with modem mode................. 9-13
Modem transfer mode overview........................ 9-9
Module library....................................................... 6-13
Display/hide module library ............................. 6-13
Module register and call ...................................... 6-14
Module type............................................................ 7-2
Module/macro ....................................................... 7-2
Module/macro properties ....................................... 7-4
Monitor mode
When the project being edited is identical to that of
PLC ......................................................... 9-17
When the project being edited is different from that
of PLC...................................................... 9-17
Monitor register ...........................................9-35, 9-41
Save as customize monitor ............................ 9-45
Change current value ..................................... 9-43
Current value is restored to the default value 9-44
Switch comment ............................................. 9-44
Display/hide the setting value and contact of timer /
counter (status of timer / counter contact) .... 9-44
Switch time chart ............................................ 9-45
Display/hide device reference destination....... 9-45
Device registration ......................................... 9-42
Sort device ...................................................... 9-44
Change display sequence of device by required
........................................................................ 9-44
Delete the device from register monitor program.... 9-44
Real-time chart monitor/high-speed time chart
monitor .................................................... 9-45
Monitor window ................................................... 9-35
Monitoring function ............................................... 9-34
Communication with PLC................................ 9-34
PLC setting and operation .............................. 9-40
Precautions when using USB port ................. 9-35
About screen display ...................................... 9-37
Change current value/setting value ................ 9-39
Precautions when using serial port ................ 9-34
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSEIX.fm
APPENDICES
N
Names and Functions of Editor Screen ............... 1-20
New a project ......................................................... 2-4
Names and Functions of Different Parts of Unit Editor
3-9
Names and functions of different parts of slave setup
screen .......................................................... 3-31
New a project ........................................................ 4-2
New module ........................................................... 7-2
New macros ........................................................... 7-2
Names and functions of monitor screen ............. 9-37
Names and Functions of Parts in High-speed Time
Chart Monitor ............................................... 9-73
New CSV File ...................................................... 9-83
Names and Functions of Screen Parts ............. 9-100
P
Precautions when changing KV-700 to KV-5000/3000/
1000 ............................................................... 1-7
Precautions on Windows XP/2000 ........................ 1-9
Preparing for Installation ........................................ 1-9
Precautions when editing Ladder Program ......... 1-19
Project management .............................................. 2-2
Preset unit / preset client / remove preset ........... 3-37
Project-project verify ............................................. 4-4
Project properties ................................................... 4-5
Project ID .............................................................. 4-5
Print ............................................................4-17, 9-58
Print preview ........................................................ 4-19
Printer setting ...................................................... 4-20
Paste ...................................................................... 5-4
Previous /next block ............................................ 5-16
Previous/next symbol .......................................... 5-16
"Project" tab............................................................ 6-5
Program settings ................................................... 6-6
Pack pallet ........................................................... 6-16
Program settings ................................................. 6-42
Protection setting ................................................ 6-46
PLC transfer -> Monitor mode ............................. 9-17
PLC read -> Monitor mode .................................. 9-23
PLC transfer ......................................................... 9-24
PLC verify/synchronize ........................................ 9-25
Program memory space confirm ......................... 9-26
PLC verification ................................................... 9-28
Precautions when using serial port ..................... 9-34
Precautions when using USB port ...................... 9-35
PLC error verification .......................................... 9-39
PLC setting and operation ................................... 9-40
Power OFF hold setting ...................................... 6-53
Print setting ......................................................... 9-57
Print preview ........................................................ 9-59
Pausing/stopping program execution ................. 9-103
PROGRAM/stop .................................................. 10-2
Pause .................................................................. 10-6
PROTOCOL BUILDER ....................................... 11-8
PROTOCOL STUDIO ....................................... 11-10
Panel editor ....................................................... 11-10
PLC Unit Errors ......................................................A-7
Printing-related errors .........................................A-10
R
Read Precautions................................................... 1-5
RS-232C serial port) .......................................... 1-9
Refresh setting tab ............................................... 3-11
Relay No. of configuration unit can be assigned in batch
3-20
Read unit configuration from PLC ....................... 3-26
Reserve unit/dereserve ....................................... 3-27
Reading Text Format Comments ........................ 4-10
Read mnemonics list ........................................... 4-12
Redo....................................................................... 5-2
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSEIX.fm
A-31
APPENDICES
APPENDICES
APPENDICES
Replace.................................................................. 5-7
Replace.................................................................. 5-9
Rung/step No. ..................................................... 5-15
Rung comment..................................................... 5-18
Rung settings ....................................................... 5-21
Right-click menu for unit setup............................... 6-5
Right click on menu in Ladder ...................... 6-8, 6-11
Right-click menu in macro...................................... 6-9
Right-click the menu in system ............................ 6-10
Right-click the menu in system ............................ 6-10
Right-click menu in module library ....................... 6-13
Right-click menu for comment1/2 and local comment1/ 2 6-18
Replacing text strings .......................................... 6-19
Right click on the menu in label edit window ...... 6-22
Replacing text strings........................................... 6-24
Rung interrupt setting .......................................... 6-28
Return to Editor ..................................................... 9-3
Route setup ......................................................... 9-14
Read PLC ........................................................... 9-25
Real-time chart monitor .....................9-30, 9-36, 9-51
Register monitor window ..................................... 9-31
Read and monitor program ................................. 9-36
Real-time chart monitor/high-speed time chart monitor
9-45
Registering Custom Monitors .............................. 9-50
Real-time chart monitor display .......................... 9-51
Reduce vertical frame ......................................... 9-68
Reduce horizontal frame ..................................... 9-68
Read PLC internal trace data............................... 9-71
Reading time charts ............................................ 9-79
Read memory card ............................................. 9-85
Rearrange as per device sequence .................... 9-88
Read all projects (P) from PLC ........................... 9-89
Read selected range from PLC ........................... 9-89
Reset.................................................................. 9-103
Reset.................................................................... 10-7
Rung break ....................................................... 10-10
Register/delete keys .......................................... 11-12
Remedies for Frequently Occurring Communications
Errors ...........................................................A-24
S
Simulation function ................................................ 1-4
Switch model.......................................................... 1-7
Safety Precautions............................................... 1-13
Select menu of KV-5000/3000 ............................. 1-16
Select menu of KV-1000 ...................................... 1-17
Select menu of KV-10(16)/KV-24(40) ................. 1-17
Select menu of KV-700/KV-700+M ...................... 1-17
Select menu of KV-P16........................................ 1-18
Set password ........................................................ 2-4
Set slave ............................................................... 3-5
System configuration flow .................................... 3-13
Start Unit Editor ................................................... 3-15
Set up configuration unit ..................................... 3-22
System comments .............................................. 3-27
Start KL Address Setup Software ....................... 3-30
Slave Configuration Area ..................................... 3-31
Switch cursor position ......................................... 3-34
Switch cursor position ......................................... 3-34
Save project .......................................................... 4-3
A-32
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSEIX.fm
APPENDICES
U
Unit Editor function ................................................ 1-4
User Rights ........................................................... 1-9
USB USB port.................................................. 1-9
Uninstall KV STUDIO .......................................... 1-10
Unit selection icon ............................................... 3-10
Unit configuration area ........................................ 3-10
Unit setup icon ..................................................... 3-11
Unit configuration ................................................ 3-16
Unit comments .................................................... 3-26
Use slave setup screen ....................................... 3-31
Unit selection icon ............................................... 3-32
Undo....................................................................... 5-2
Unit setup ............................................................... 6-5
Unit Monitor ................................ 6-5, 9-33, 9-36, 9-81
Unit configuration switching ................................... 6-6
User ..................................................................... 6-10
Upper value setting of digital trimmer .................. 6-55
USB port................................................................. 9-2
USB connection .................................................... 9-5
"Universal"icon ..................................................... 9-66
Unit Editor ............................................................ 11-2
Unit configuration error check ..............................A-10
Unusable character list.........................................A-11
W
Windows Environment and Installation Directory .......... 1-9
When CPU unit is KV-5000/3000 ........................ 9-18
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSEIX.fm
A-33
APPENDICES
APPENDICES
Z
Zoom in/ zoom out indicating range .................... 9-68
Zoom out indicating range ................................... 9-69
APPENDICES
A-34
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\KVSUSEIX.fm
MEMO
Revision History
Printing Date
Version
Dec 2008
Initial version
Details of Revision
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\cover3.fm
WARRANTIES
WARRANTIES,
WHATSOEVER.
INCLUDING,
ALL
WITHOUT
EXPRESS,
LIMITATION,
IMPLIED,
THE
AND
STATUTORY
WARRANTIES
OF
E:\KEYENCE(en)\No10_Kv_studio_ver4_ver3\084160_kv_studio\cover3.fm
31-642-1270
31-642-1271