Professional Documents
Culture Documents
96M0364
INDEX
1 2 3
1
Installation Support Programming
Software
User's Manual
Installation
1. Configuration and 1. Programming
Specifications 1. Introduction
2. Instructions
2. System Installation
3. Access Window
2. Editor
3. Interrupts Visual KV Series
3. Simulator
4. KV-D20 Operator 4. High-speed Counters
Interface Panel
5. KV-10/80 Hardware
4. Monitor
5. Appendices
5. Positioning Control 1
User’s Manual
6. Interrupts, High-speed
6. Handheld
Programmer
7. KV-L2 Serial Interface
Counters, Positioning
Control
7. Serial Communication
Installation
Module
8. KV-AN6 Analog I/O 8. Programming
Module Examples
9. KV-AD4/DA4 Analog
I/O Unit
10. Troubleshooting
11. Appendices
Specifications are subject to change without notice.
KEYENCE CORPORATION
1-3-14, Higashi-Nakajima, Higashi-Yodogawa-ku, Osaka, 533-8555, Japan PHONE: +81-6-6379-2211
• When the KV Series PLC is used in combination with other instruments, func-
tions and performance may be degraded, depending on operating conditions and
the surrounding environment.
• Do not use the KV Series PLC for the purpose of protecting the human body.
Note: The built-in display may show the error message "Error 40" blinking the very
first time you turn on the power supply to the Visual KV Series. Press any key
around the display to cancel this message.
The Visual KV Series shows this message when no program is loaded.
(1) 1-419
Note to User
When using the Visual KV Series in the following conditions or environments, be
sure to use the Visual KV Series with sufficient margin regarding the rating and
functions, take appropriate safety precautions such as fail-safe, and contact our
sales personnel if any questions arise.
• Use in conditions or environments not described in this manual
• Use for nuclear power control, railway facilities, air service facilities, vehicles,
combustion devices, medical equipment, amusement machines, safety equip-
ment, etc.
• Use for applications where large effects are predicted to be given on human lives
and properties and safety is especially requested.
Note: The contents above do not by themselves ensure that the entire machine
manufactured in accordance with the above contents is compatible with EMC
directives.
You must judge by yourself whether or not the entire machine is compatible with
EMC directives because compatibility may change depending on the component
configuration, wiring and location inside of the machine.
96M0364
(2)
● Extremely fast
The minimum scan time is 140 µs and minimum instruction execution time is 0.7
µs, which is the fastest control in its class.
(3)
• The internal clock cycle of high-speed counters consists of three types: 1 µs, 10
µs, and 100 µs.
• The time constant for an input relay specified by the HSP instruction is 10 µs.
• The analog trimmer function is set with the Access Window built into the basic
unit.
• The available device setting range of the TMIN instruction is from 0 to 65535.
[Handheld programmer KV-P3E(01) can display 0 to 9999 .]
• The RUN/PROGRAM LED is displayed in the Access Window provided on the
front face of the basic unit.
• Transistor output is not independent, but is common.
• With the transistor type, the output terminal layout is different.
• The specifications for output current of transistor outputs Nos. 500 to 502 is 100
mA.
• Conventional KV Series expansion units are not available as expansion units for
the Visual KV Series.
• The channel setting switch is not provided for expansion units. Channels are
determined in connection order.
• Scans in expansion I/O units are not synchronous with the scan time in Visual KV
Series basic units.
• Assignment of special utility relays has partially changed.
• Data memory device Nos. DM1000 to DM1999 are assigned as special data
memories.
(4)
When the ladder support software "LADDER BUILDER for KV Ver. 1.0x" is
CAUTION used, do not use the monitor’s Change All function. If the Change All function
is used, the basic unit may be damaged. Never use the Change All function.
Peripheral units and other units incompatible with the Visual KV Series
Peripheral units in the conventional KV Series and other units shown below are not
compatible with the Visual KV Series.
• Expansion I/O units for the conventional KV Series: KV-8ER/8ET/8EX/16EX/
8EYR/8EYT/16EYR/16EYT
• Analog I/O units for the conventional KV Series: KV-AD4/DA4
(5)
1 Installation
Chapter 1 Configuration and Specifications [Visual KV Series Only]
Describes the system configuration of the Visual KV Series, the names and functions of
each part, and the specifications.
Chapter 10 Troubleshooting
This chapter describes the error code list, countermeasures against problems, and error
indications for each unit.
Appendices
The appendix includes a list of ladder program applications and the index.
2 Support Software
Chapter 1 Introduction
Describes the items included in the package, the product outline, the method to connect
a personal computer, the installation method, etc.
(7)
Chapter 3 Simulator
Describes the operating procedures in Simulator mode.
Chapter 4 Monitor
Describes the operating procedures in Monitor mode.
Appendices
Includes instructions list, devices list, sample program list and quick reference for key
operation and shortcuts.
3 Programming
Chapter 1 Programming
Describes basic knowledge including program creation procedures, device configuration,
relay assignments, special functions to set and confirm Visual KV Series operations, as
well as the extended ladder diagrams. Understand the contents described here com-
pletely at first before creating programs.
Chapter 2 Instructions
Describes the concrete usage of instructions in the KV Series.
Refer to "Chapter 3 Interrupts" on page 3-183 for details of interrupt instructions.
Refer to "Chapter 4 High-speed counters" on page 3-195 for details of the high-speed
counters used in the application instruction.
Chapter 6 Interrupts, High-speed Counters, Positioning Control [KV-300, KV-10/80 Series Only]
Describes ramp-up/down control of stepping motors and servo motors.
(8)
(9)
(10)
(11)
(12)
(13)
(14)
Chapter 10 Troubleshooting
10.1 Error List ....................................................................................................... 1-372
10.1.1 List of Error Codes in Basic Units ................................................................... 1-372
10.1.2 Error indication in Expansion Units ................................................................. 1-374
10.1.3 Program Errors ............................................................................................... 1-375
10.1.4 Memory Card Errors and Other Errors ........................................................... 1-376
10.2 Replacing Relays ......................................................................................... 1-377
Replacement procedure ........................................................................... 1-377
10.3 Troubleshooting ........................................................................................... 1-378
10.3.1 Troubleshooting List ....................................................................................... 1-378
10.4 Error Messages ............................................................................................ 1-380
Appendices
Appendix A. Specifications and Dimensions [Visual KV Series] .................... 1-382
A.1 System Specifications [Visual KV Series] ....................................................... 1-382
(15)
2 Support software
Chapter 1 Introduction
1.1 Items Included in the Package ........................................................................ 2-2
1.2 Outline of the Ladder Builder for KV .............................................................. 2-3
1.2.1 Operating environment and system configuration .............................................. 2-3
1.2.2 Features and functions of the Ladder Builder for KV .......................................... 2-4
Features of the Ladder Builder for KV ......................................................... 2-4
Functions of the Ladder Builder for KV ........................................................ 2-6
1.3 Before Programming ....................................................................................... 2-7
Machines to be prepared ............................................................................. 2-7
1.3.1 Differences from the KV IncrediWare (DOS) ...................................................... 2-8
1.3.2 Differences from the Ladder Builder for KV Ver 1.0 ........................................... 2-8
1.4 Installing the Software ..................................................................................... 2-9
1.4.1 Preparation for installation .................................................................................. 2-9
1.4.2 Installation Procedure ....................................................................................... 2-10
Installation in Windows 95 ......................................................................... 2-10
Installation in Windows 3.1 ........................................................................ 2-12
1.5 Cautions for Use ............................................................................................ 2-13
1.6 Basic Operations ........................................................................................... 2-14
1.6.1 Program creation flow and available modes ..................................................... 2-14
1.6.2 Starting up and exiting from the software ......................................................... 2-16
1.6.3 Screen ..............................................................................................................2-18
1.6.4 Mouse operation and keyboard operation ........................................................ 2-21
1.6.5 Online Help ....................................................................................................... 2-23
(16)
Chapter 3 Simulator
3.1 Outline of the Simulator Functions .............................................................. 2-84
3.1.1 Outline of the functions ..................................................................................... 2-84
3.1.2 Restrictions in the simulator .............................................................................. 2-84
3.2 Starting up and Exiting from the Simulator ................................................. 2-86
3.2.1 Operating procedure for startup and exit .......................................................... 2-86
3.2.2 Name and function of each part of the screen .................................................. 2-88
3.3 Ladder Monitor ............................................................................................... 2-89
3.3.1 Outline of the ladder monitor ............................................................................ 2-89
3.3.2 Executing scans ................................................................................................ 2-89
3.3.3 Executing steps .............................................................................................. 2-101
(17)
Chapter 4 Monitor
4.1 Outline of the Monitor Functions ............................................................... 2-134
4.1.1 Outline of the functions ................................................................................... 2-134
4.1.2 Restrictions in the monitor .............................................................................. 2-134
4.1.3 Precautions for communication ...................................................................... 2-135
4.2 Communicating with the PLC ..................................................................... 2-136
4.2.1 Setting the PLC communication parameters .................................................. 2-136
4.2.2 Setting the comment transfer .......................................................................... 2-138
4.3 Starting up and Exiting from the Monitor .................................................. 2-139
4.3.1 Operating procedures for startup and exit ...................................................... 2-139
4.3.2 Name and function of each part of the screen ................................................ 2-143
4.4 Ladder Monitor ............................................................................................. 2-144
4.4.1 Outline of the ladder monitor .......................................................................... 2-144
4.4.2 Displaying the ladder monitor window ............................................................ 2-144
4.4.3 PLC error check .............................................................................................. 2-144
4.4.4 Starting the monitor ........................................................................................ 2-145
4.4.5 Stopping the monitor ....................................................................................... 2-145
4.4.6 Screen displayed while the monitor is running ............................................... 2-146
4.4.7 Setting the PLC operation mode ..................................................................... 2-147
4.5 Monitor All and Registration Monitor ......................................................... 2-148
4.5.1 Functions of the monitor all window ................................................................ 2-148
4.5.2 Functions of the registration monitor .............................................................. 2-148
4.6 Monitor Function .......................................................................................... 2-149
4.6.1 Disabling the input refresh/Disabling the output ............................................. 2-149
4.6.2 Changing the current values all at once ......................................................... 2-150
4.6.3 Device all clear ............................................................................................... 2-154
Appendices
Appendix A Error Message List ......................................................................... 2-156
A-1 System errors ................................................................................................. 2-156
A-2 Memory errors ................................................................................................ 2-156
A-3 File errors ........................................................................................................ 2-157
A-4 Installation errors ............................................................................................ 2-157
A-5 Errors that occur in the editor ......................................................................... 2-158
A-6 Errors that occur in the monitor/simulator ....................................................... 2-159
A-7 Communication errors (displayed in the monitor) ........................................... 2-159
A-8 PLC errors ...................................................................................................... 2-160
A-9 Errors that occur during compilation ............................................................... 2-161
Appendix B Instruction List ............................................................................... 2-163
B-1 Basic instructions ............................................................................................ 2-163
B-2 Application instructions ................................................................................... 2-164
B-3 Arithmetic instructions ..................................................................................... 2-165
B-4 Interrupt instructions ....................................................................................... 2-166
Appendix C Relay No. List .................................................................................. 2-167
C-1 Relays, timers, counters, and memory numbers for each model ................... 2-167
(18)
3 Programming
Chapter 1 Programming
1.1 Before Creating Programs .............................................................................. 3-2
1.1.1 Flow from Introduction to Operation ................................................................... 3-2
1.1.2 Scan Time ........................................................................................................... 3-3
Scan time ..................................................................................................... 3-3
Input response time delay ............................................................................ 3-3
1.2 User Memory .................................................................................................... 3-4
1.2.1 Program Capacity ............................................................................................... 3-4
Maximum number of lines in a program ....................................................... 3-4
Calculating the byte count used ................................................................... 3-4
1.3 Device Configuration ....................................................................................... 3-5
1.3.1 Device List .......................................................................................................... 3-5
Relay list ...................................................................................................... 3-5
List of I/O relays in basic units ..................................................................... 3-5
List of relays in expansion units ................................................................... 3-6
1.3.2 Relay No. ............................................................................................................ 3-7
Address No. ................................................................................................. 3-7
Contact No. .................................................................................................. 3-8
Channel No. ................................................................................................. 3-8
1.3.3 Assigning Relay Nos. .......................................................................................... 3-8
1.3.4 Input Relays ........................................................................................................3-9
Basic unit ..................................................................................................... 3-9
Expansion unit ........................................................................................... 3-10
1.3.5 Output Relays ...................................................................................................3-10
Output operation time ................................................................................ 3-10
1.3.6 Internal Utility Relays ........................................................................................ 3-11
Retentive function of internal utility relays .................................................. 3-11
1.3.7 Special Utility Relays ........................................................................................ 3-12
Description ................................................................................................. 3-12
1.3.8 Special Utility Relay List ................................................................................... 3-14
Special relays and arithmetic operation flags ............................................ 3-14
Special utility relays for high-speed counter(0) .......................................... 3-14
Special utility relays for high-speed counter(1) .......................................... 3-15
Other special utility relays .......................................................................... 3-15
1.3.9 Timers and Counters ........................................................................................ 3-18
(19)
Chapter 2 Instructions
2.1 Instruction List [Visual KV Series] .............................................................. 3-34
2.1.1 Basic Instructions ..............................................................................................3-34
2.1.2 Application Instructions ..................................................................................... 3-36
2.1.3 Arithmetic Instructions ...................................................................................... 3-38
2.1.4 Interrupt Instructions .........................................................................................3-41
2.1.5 Function No. List (Alphabetical order) .............................................................. 3-41
2.2 Instruction List [KV-300 Series, KV-10/80] ................................................. 3-42
2.2.1 Basic Instructions ..............................................................................................3-42
2.2.2 Application Instructions ..................................................................................... 3-45
2.2.3 Arithmetic Instructions ...................................................................................... 3-48
2.2.4 Interrupt Instructions .........................................................................................3-54
2.3 Convention Details ........................................................................................ 3-55
2.4 Instruction Details .......................................................................................... 3-56
2.4.1 Basic Instructions ..............................................................................................3-56
2.4.2 Application Instructions ..................................................................................... 3-95
2.4.3 Arithmetic Instructions .................................................................................... 3-134
2.5 Programming Notes ..................................................................................... 3-189
(20)
(21)
(22)
Caution
• No part of this manual may be reprinted or reproduced in any form or by any
means without the prior written permission of KEYENCE CORPORATION.
• The content of this manual is subject to change without notice.
• KEYENCE has thoroughly checked and reviewed this manual. Please contact
the sales office listed at the end of this manual if you have any questions or
comments regarding this manual or if you find an error.
• KEYENCE assumes no liability for damages resulting from the use of the infor-
mation in this manual, item 3 above notwithstanding.
• KEYENCE will replace any incomplete or incorrectly collated manual.
All company names and product names in this manual are registered trademarks or
trademarks of their respective owners.
(23)
10-I/O basic unit 16-I/O basic unit 24-I/O basic unit 40-I/O basic unit
Operator
AC power
interface panel
type
KV-D20 DC power
type
➮ For more about expanding the system by connecting expansion units, refer to "Connecting Visual KV
Series Expansion Units" (p.1-71).
Visual KV
Series
Extension cable for Expansion unit spacer Metal fixture for screw tightening
expansion unit (300 mm) For 4-I/O expansion unit For 10-I/O basic unit OP-35345
For all expansion units OP-35342 For 16-I/O basic unit OP-35346
OP-35361 For 8-I/O expansion unit For 24-I/O basic unit OP-35347
OP-35343 For 40-I/O basic unit OP-35348
For 16-I/O expansion unit For 4- to 16-I/O expansion units
OP-35344 OP-35349
11
1.2 Specifications
This section describes the general specifications and performance specifications for
the Visual KV Series units.
Visual KV
Item Specifications
AC power type DC power type
Power supply KV-10AR/AT(P) KV-16AR/AT(P) KV-10DR/DT(P) KV-16DR/DT(P)
KV-24AR/AT(P) KV-40AR/AT(P) KV-24DR/DT(P) KV-40DR/DT(P)
Input supply voltage 100 to 240 VAC (±10%) 24 VDC (+10%, -20%)
Allowable
Less than 40 ms Less than 2 ms
instantaneous time
Basic units KV-10AR/DR: 100 mA or less KV-24AT/DT: 100 mA or less
KV-16AR/DR: 120 mA or less KV-40AT/DT: 120 mA or less
KV-24AR/DR: 140 mA or less KV-10ATP/DTP: 85 mA or less
KV-40AR/DR: 180 mA or less KV-16ATP/DTP: 100 mA or less
Internal current KV-10AT/DT: 80 mA or less KV-24ATP/DTP: 105 mA or less
consumption KV-16AT/DT: 90 mA or less KV-40ATP/DTP: 130 mA or less
(converted into KV-E4X: 15 mA or less KV-E8X: 25 mA or less KV-E16X: 35 mA or less
24 VDC value) Expansion KV-E4T: 20 mA or less KV-E8T(P): 40 mA or less KV-E16T: 60 mA or less
1 units KV-E4R: 40 mA or less KV-E8R: 70 mA or less
KV-E4XT(P): 30 mA or less KV-E4XR: 45 mA or less
KV-E16R: 110 mA or less
KV-E16TP: 70 mA or less
KV-D20 Operator interface panel: 60 mA or less
Others
KV-P3E(01) Handheld programmer: 65 mA or less
KV-10DR: 745 mA*1 KV-24DR: 785 mA*1 KV-10AR/AT(P): 0.4 A
KV-10DT: 725 mA*1 KV-24DT: 745 mA*1 KV-16AR/AT(P): 0.5 A
*1 *1
KV-10DTP: 730 mA KV-24DTP: 750 mA KV-24AR/AT(P): 0.6 A
Maximum load current consumption *1 *2
KV-16DR: 765 mA KV-40DR: 790 mA KV-40AR/AT(P): 0.7 A
*1 *2
KV-16DT: 735 mA KV-40DT: 730 mA
*1 *2
KV-16DTP: 745 mA KV-40DTP: 740 mA
Ambient temperature (No freezing) 0 to +50°C (32 to 122° F), 0 to +45°C (32 to 113° F)[KV-P3E(01)]
Relative humidity 35 to 85%, No condensation
Ambient storage temperature -20 to +70°C (-4 to 158° F), No freezing
1,500 VAC for 1 minute
Withstand voltage (Between power terminal and I/O terminals as well as between entire
external terminals and case)
1,500 Vp-p or more, pulse width: 1 µs, 50 ns (by noise simulator)
Noise immunity
In conformance with EN standard (EN61000-4-2/-3/-4/-6)
2
Shock 150 m/s (150 G), working time: 11 ms, twice in each of X, Y and Z axis directions
10 to 55 Hz, double amplitude: 1.5 mm or less, 2 hours in each of X, Y and
Vibration
Z axis directions (1 G or less when attached to DIN rail)
50 MΩ or more
Insulation resistance (Between power terminal and I/O terminals as well as between
entire external terminals and case by 500 VDC megohmmeter)
Operating atmosphere No excessive dust or corrosive gases allowed.
KV-10AR: Approx. 250 g KV-10DR: Approx. 150 g KV-16AR: Approx. 300 g
KV-16DR: Approx. 190 g KV-24AR: Approx. 350 g KV-24DR: Approx. 240 g
KV-40AR: Approx. 450 g KV-40DR: Approx. 330 g KV-10AT(P): Approx. 240 g
Basic units
KV-10DT(P): Approx. 140 g KV-16AT(P): Approx. 280 g KV-16DT(P): Approx. 180 g
KV-24AT(P): Approx. 330 g KV-24DT(P): Approx. 210 g KV-40AT(P): Approx. 410 g
Weight KV-40DT(P): Approx. 280 g
KV-E4X: Approx. 80 g KV-E8X: Approx. 100 g KV-E16X: Approx. 130 g
Expansion KV-E4T: Approx. 80 g KV-E8T(P): Approx. 100 g KV-E16T(P): Approx. 130 g
units KV-E4R: Approx. 100 g KV-E8R: Approx. 130 g KV-E16R: Approx. 130 g
KV-E4XT(P): Approx. 100 g KV-E4XR: Approx. 120 g
Others KV-P3E(01): Approx. 230 g KV-D20: Approx. 160 g
*1. Configured with KV-E16R (x4), KV-E16X (x4) and KV-P3E(01).
*2. Configured with KV-E16R (x4), KV-E16X (x3) and KV-P3E(01).
Visual KV
AC power current KV-10Ax: 0.4 A KV-16Ax: 0.5 A
Series
consumption KV-24Ax: 0.6 A KV-40Ax: 0.7 A
AC power input voltage 100 to 240 VAC (± 10%)
AC power factor 60%
1.
Output voltage 24 VDC± 10%
KV-10Ax: 0.4 A KV-16Ax: 0.6 A
Output capacity
KV-24Ax: 0.6 A KV-40Ax: 0.7 A
KV-10Ax: 14 W KV-16Ax: 21 W
Power consumption
KV-24Ax: 21W KV-40Ax: 24 W
Rated voltage: 240 VAC, rated current: 3.15 A,
Used fuse
Characteristics: Fast-melting type
1. Includes the internal current consumption and current consumption of expansion units.
Note: The maximum output capacity available with the AC type service power
output is the output capacity of each basic unit subtracted by the internal current
consumption of the basic unit, connected expansion units, and connected peripheral
units.
11
Visual KV Series operation at power interruption
■ Drop in supply voltage
When the supply voltage drops, the Visual KV Series stops operating and the
output turns off.
■ Detection of instantaneous power interruption
• An AC type basic unit continues operating against instantaneous power interrup-
tion of less than 40 ms. A DC type basic unit continues operating against
instantaneous power interruption of less than 2 ms.
• An AC type basic unit may or may not accept instantaneous power interruption of
40 ms or more. A DC type basic unit may or may not accept instantaneous power
interruption of 2 ms or more.
• When accepting instantaneous power interruption, a basic unit stops operating
and the output turns off.
■ Automatic recovery
• Once the supply voltage recovers, the Visual KV Series restarts operation auto-
matically.
Instantaneous power interruption:
Less than 40 ms
▲
Rated voltage
Note: If the supply voltage increases gradually or drops, the Visual KV Series may
repeat operation and then stop. If problems continue to occur with equipment and
other operations from repetitive starts and stops, provide a protection circuit so that
the output shuts down until the voltage reaches the rated value.
1. When high-speed counters are set using the MEMSW instruction, 24-bit data can be
counted.
2. Comments cannot be handled in the handheld programmer KV-P3E(01).
3. The card reader/writer Z-1 can be used with the programming support software "KV
IncrediWare (DOS)".
4. When the programming support software "LADDER BUILDER for KV Ver. 1.0x" is used,
the Change All function on the monitor is not available. Using the Change All function may
damage the basic unit. Never use the Change All function.
Visual KV
backup function against instantaneous power interruption.
Series
The backup time varies depending on the ambient temperature.
If power to the Visual KV Series basic unit remains OFF for more than the holding
time by the RAM, the data may be cleared or become corrupted.
To avoid the data being cleared, save the data in the EEPROM using the backup
function to the EEPROM.
➮ For writing to and reading from the EEPROM, refer to "LOAD mode and SAVE mode" (p.1-96).
When a user program is written, it is saved in RAM. The next time the power is
turned on, the user program is automatically transferred from RAM to the EEPROM
and is also saved in the EEPROM. If power to the Visual KV Series basic unit will
remain OFF for more than the backup time by the RAM, turn the power off immedi-
ately after writing a user program, and then turn the power on again so that the user
program is transferred to the EEPROM.
11
• Data backup function by electrical double-layer capacitor built into the
basic unit
Visual KV Series: 2 months or more at 25°C (77°F)
(20 days or more at 25°C (77°F) in KV-10xx)
■ EEPROM
The Visual KV Series basic unit is equipped with a backup function to save pro-
grams, contents of data memories, current values of counters, etc. in the EEPROM.
Even if the power is interrupted or power to the Visual KV Series basic unit remains
OFF, the data is still saved. When the power turns ON again, the contents of the
EEPROM is automatically read. (The contents of data memories and current values
of counters should be read by manipulating the Access Window.)
When data is changed and the power is turned off without saving the changed data,
the changes are saved only in the built-in electrical double-layer capacitor and are
not saved in the EEPROM.
If the Visual KV Series basic unit remains OFF for 2 months or more at 25°C (77°F)
(20 days or more at 25°C (77°F) in KV-10xx) while the data is backed up only with
the built-in electrical double-layer capacitor, the saved contents may be cleared or
become corrupted.
If the Visual KV Series basic unit will remain OFF for a long period of time, save the
data in the EEPROM.
➮ Refer to "LOAD mode and SAVE mode" (p.1-96).
units. There are two types of basic units, AC power type and DC power type. Two
Series
types of output types are offered: relay output and transistor output.
KV-10AR
Output type: R = relay output, T = transistor output
Power supply type: A = AC power type, D = DC power type
Number of I/O points: 10 = 10 points, 16 = 16 points,
24 = 24 points, 40 = 40 points
■ Unit type
The following four types of Visual KV Series basic units are offered:
* For 5V±10%, refer to the 5 V mode response frequency characteristic chart (representa-
tive example).
5 V mode response frequency characteristic chart
(representative example)
Response 40
frequency 35
30
(kHz)
25
20
15
10
5
0
4.6 4.7 4.8 4.9 5 5.1 5.2 5.3 5.4 5.5
Input voltage (V)
Visual KV
4 A (resistive load)
Series
Peak load current 5A
Rising operating time
10 ms or less
(OFF ➞ ON)
Falling operating time
10 ms or less
(ON ➞ OFF)
Common method Each common terminal is independent.
Electrical service life: 100,000 times or more (20 times/min)
Relay service life
Mechanical service life: 20,000,000 times or more
Relay replacement Not allowed
0ch
5V
0 1 2 3 4 5
Visual KV
Series
000 001 002 003 004 005
C1 C2
501 502
Internal circuit
4.3KΩ Photocoupler
insulation
Internal circuit
000 to 005
24V/5V
selector
circuit
C1
C2
C2 C1
Brown
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Black
Black
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
type
type
Sensor
Internal circuit
500
501 to 503
Internal circuit
Visual KV
Series
C3
C4
501 502
• C3 and C4 are each independent.
Visual KV
Series
C1 C2
501 502
11
■ Input circuit diagram
Internal circuit
4.3KΩ Photocoupler
insulation
Internal circuit
000 to 005
24V/5V
selector
circuit
C1
C2
C2 C1
Brown
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Black
Black
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
type
type
Sensor
Internal circuit
Visual KV
Series
501 502
* For KV-10ATP/DTP
NPN PNP
Insulating 1.6kΩ 1 2 W C3
power
1
Internal circuit
supply R502
500 to 503
Insultating
power R502
C3 supply 1.6 kΩ 1 2 W
• 1.6 kΩ current limiting resistor is built in R502 • 1.6 kΩ current limiting resistor is built in R502
(to connect a motor driver). (to connect a motor driver).
L ~ N
L N
AC100V-240V 0.4A
50/60Hz
FG
Visual KV
Series
The graphs below show the relationship between the ambient temperature and
the continuous simultaneous ON ratio.
Load current L:
(AC power output (Individual current consumption (Service power (Expansion
– = +
capacity at 400 mA) when KV-D20 is connected) output current) unit current
consumption)
Derating when KV-10AR is mounted upward Derating when KV-10AR is mounted in front
110 39 41 42 47 48
(102.2) (105.8) (107.6) 44 (111.2) 110
(116.0)(118.4)
100 100
46 (114.8) 45 (113)
Continuous simultaneous
L=0 L=Max.
90 90
Continuous simultaneous
ON ratio (%)
70 70
ON ratio (%)
63% 64%
60 60
L=0
50 50
L=1/2Max.
40 38% 40
L=Max.
30 30
25%
20 Individual unit 20 Individual unit
10 With expansion unit 10 With expansion unit
0 0
30
(86)
35
(95)
40
(104)
45
(113)
49
(120.2)50
(122)
30
(86)
35
(95)
40
(104)
45
(113)
50
(122)
11
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
Derating when KV-10AT(P) is mounted upward Derating when KV-10AT(P) is mounted in front
41 43 46 47 110
110
(105.8)(109.4)(114.8)(116.6) 100
100
Continuous simultaneous
L=0 90
Continuous simultaneous
90
L=1/2Max. 86% 80
80
ON ratio (%)
L=Max. 70
70
ON ratio (%)
68%
60
60 60%
L=0 50
50
40
40
30
30 30%
20 Individual unit
20 Individual unit
10 With expansion unit
10 With expansion unit
0
0 30 35 40 45 50
30 35 40 45 50
(86) (95) (104) (113) (122) (86) (95) (104) (113) (122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
Derating when KV-10DR is mounted upward Derating when KV-10DR is mounted in front
110 110
45 (113) 48 (118.4)
100 100
90 90
Continuous simultaneous
Continuous simultaneous
80 80 80%
70 70
ON ratio (%)
ON ratio (%)
60 58% 60
50 50
40 40
30 30
20 Individual unit 20 Individual unit
10 With expansion unit 10 With expansion unit
0 0
30 35 40 45 50 30 35 40 45 50
(86) (95) (104) (113) (122) (86) (95) (104) (113) (122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
Derating when KV-10DT(P) is mounted upward Derating when KV-10DT(P) is mounted in front
110 110
49 (120.2)
100 100
Continuous simultaneous
90
Continuous simultaneous
88% 90
80 80
70 70
ON ratio (%)
ON ratio (%)
60 60
50 50
40 40
30 30
20 Individual unit 20 Individual unit
10 With expansion unit 10 With expansion unit
0 0
30 35 40 45 50 30 35 40 45 50
(86) (95) (104) (113) (122) (86) (95) (104) (113) (122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
1.4.5 Dimensions
■ Main unit
9.9
35.4 90 35.4 90
17
4.1
3.8 4 3.8 4
55 22 70 22 43
17.5
1
20.5
4-ø5.0
(Mounting hole)
Main unit
mounting hole*
99 111
(2 positions)
40
54 t=2
Visual KV
1.5.1 Part Names and Functions
Series
1. Input terminal block
0ch
5V
0 1 2 3 4 5 6 7 8 9
AC100V-240V
2. Output terminal block
0.5A 50/60Hz
1
■ Input circuit diagram
Internal circuit
Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
type
type
type
type
type
type
Sensor
Circuit configuration of inputs 000 to 007 Circuit configuration of inputs 008 to 009
Photocoupler Photocoupler
4.3KΩ 4.3KΩ
insulation insulation
Internal circuit
008 to 009
Internal circuit
000 to 007
24V/5V
selector 510Ω
circuit
C1 C1
Internal circuit
Visual KV
Series
C3
C4
500 501 502 504
11
Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
type
type
type
type
type
type
Sensor
Circuit configuration of inputs 000 to 007 Circuit configuration of inputs 008 to 009
Photocoupler Photocoupler
4.3KΩ 4.3 kΩ insulation
insulation
Internal circuit
Internal circuit
24 V/5 V 510 Ω
selector
circuit
C1 C1
Internal circuit
Visual KV
Series
24V 500 501 502 504
* For KV-16ATP/DTP
NPN PNP
Insulating 1.6kΩ 1 2 W C3
power
Internal circuit
supply R502
500 to 505
Insultating
power R502
C3 supply 1.6 kΩ 1 2 W
• A current limiting resistor 1.6 kΩ is built in R502 • A current limiting resistor 1.6 kΩ is built in R502
(to connect a motor driver). (to connect a motor driver).
L ~ N
L N
AC100V-240V
0.5A 50/60Hz
FG
The graphs below show the relationship between the ambient temperature and the
continuous simultaneous ON ratio.
Load current L:
(AC power output (Individual current consumption (Service power (Expansion
– = +
capacity at 600 mA) when KV-D20 is connected) output current) unit current
consumption)
Derating when KV-16AR is mounted upward Derating when KV-16AR is mounted in front
Supply voltage: 100 to 240 V Supply voltage: 100 to 240 V
110 36 37 44 47 49
110
(96.8)(98.6) 40 (104) (111.2) (116.6) (120.2)
100 100
Continuous simultaneous
35 (95) 39 41 (105.8) 46 (114.8)
L=0 L=0, 1/2Max.
90 (102.2) 90 91%
Continuous simultaneous
ON ratio (%)
L=Max. 75%
70 70
66%
ON ratio (%)
L=Max.
60 60
L=0
50 50% 50 50%
L=1/2Max. 44%
40 38% 40
L=Max.
30 30
20 Individual unit 18% 20 Individual unit
13%
10 With expansion unit 10 With expansion unit
1 0
30 35 40 45
49
(120.2) 50
0
30
(86)
35
(95)
40
(104)
45
(113)
50
(122)
(86) (95) (104) (113) (122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
Derating when KV-16AT(P) is mounted upward Derating when KV-16AT(P) is mounted in front
Supply voltage: 100 to 240 V Supply voltage: 100 to 240 V
36 37 44 47 49
110 (96.8)(98.6) 40 (104)
110 (111.2) (116.6)(120.2)
100 100
Continuous simultaneous
Continuous simultaneous
90 90
80 80
75%
70 70
ON ratio (%)
ON ratio (%)
60 60 58%
50 50% 50
40 40
30 30
20 Individual unit 20 Individual unit
10 With expansion unit 10 With expansion unit
0 0
30 35 40 45 50 30 35 40 45 50
(86) (95) (104) (113) (122) (86) (95) (104) (113) (122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
Derating when KV-16DT(P) is mounted upward Derating when KV-16DT(P) is mounted in front
110 110
43 (109.4) 47 (116.6) 44 (111.2) 49 (120.2)
100 100
Continuous simultaneous
Continuous simultaneous
93%
90 90
80 80
75%
ON ratio (%)
70
ON ratio (%)
70
60 60 58%
50 50% 50
40 40
30 30
20 Individual unit 20 Individual unit
10 With expansion unit 10 With expansion unit
0 0
30 35 40 45 50 30 35 40 45 50
(86) (95) (104) (113) (122) (86) (95) (104) (113) (122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
1.5.5 Dimensions
■ Main unit
Front view Side view (KV-16AR/AT(P)) Side view (KV-16DR/DT(P))
24.5
Visual KV
Series
13.3
35.4 90 35.4 90
17
4.1
3.8 4 3.8 4
65 22 70 22 43
17.5
11
20.5
6-ø5.0
(Mounting
hole)
Main unit
mounting hole
99 111
(2 positions)
31
50
64 t=2
9. Input voltage
selector switch
Provided on side
24V
INPUT
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
5V
5. Output indicator
lamps
6. Connector
10. Communication (provided on side)
port A
7. Access Window
11. Communication
port B KV-24AR
0 1 2 3 4 5 6 7 8. Setting keys
5ch
500 501 502 503 504 506
24V-OUT-OV C3 C4 C5 C6 505 507 OUT
3. Power input terminal
(Power input terminals for AC
power type are provided on
1 the lower side.)
L ~ N
AC100V-240V
2. Output terminal block
0.6A 50/60Hz
Visual KV
C1 001 003 005 007 009 011 013 015
Series
000 002 004 006 008 010 012 014
11
■ Input circuit diagram
Internal circuit
Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
Sensor
Circuit configuration of inputs 000 to 007 Circuit configuration of inputs 008 to 015
Photocoupler Photocoupler
4.3KΩ 4.3KΩ insulation
insulation
Internal circuit
Internal circuit
24V/5V
selector 510Ω
circuit
C1 C1
Internal circuit
Visual KV
Series
1
500
501
502 to 503
504 to 507
C3
C4
C5
C6
Visual KV
000 002 004 006 008 010 012 014
Series
V1 V2 500 501 502 503 504 506
11
■ Input circuit diagram
Internal circuit
Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
Sensor
Circuit configuration of inputs 000 to 007 Circuit configuration of inputs 008 to 015
Photocoupler Photocoupler
4.3 kΩ insulation 4.3 kΩ insulation
Internal circuit
Internal circuit
24V/5V
selector 510Ω
circuit
C1 C1
Internal circuit
Visual KV
Series
* For KV-24ATP/DTP
NPN PNP
1 Insulating
power
1.6 kΩ 1
2W R500 C3
Internal circuit
supply to R502
Internal 500
to 507
circuit
500 to 507
Insultating
power R500 to R502
C3 supply 1.6 kΩ 1 2 W
• A 1.6 kΩ current limiting resistor is built in each of • A 1.6 kΩ current limiting resistor is built in each of
R500 to R502 (to connect a motor driver). R500 to R502 (to connect a motor driver).
• V1 to V3 are short-circuited inside (so they can • V1 to V3 are short-circuited inside (so they can
be used as a relay terminal block). be used as a relay terminal block).
L ~ N
L N
AC100V-240V
0.6A 50/60Hz
FG
Visual KV
Series
The graphs below show the relationship between the ambient temperature and the
continuous simultaneous ON ratio.
Load current L:
Derating when KV-24AR is mounted upward Derating when KV-24AR is mounted in front
110 110
29°C 32°C 33°C 37°C 40°C
100 100
Continuous simultaneous
Continuous simultaneous
ON ratio (%)
ON ratio (%)
L=Max.
70 70
L=0 to Max.
60 60
L=0 56%
50 50
L=1/2Max. 44%
40 40
L=Max.
30 30
20 Individual unit 20 Individual unit
11
10 With expansion unit 11% 10 With expansion unit
6%
0 0
30 35 40 45 50 30 35 40 45 50
Ambient temperature (°C) Ambient temperature (°C)
Derating when KV-24AT(P) is mounted upward Derating when KV-24AT(P) is mounted in front
110 110
29°C 31°C 36°C 37°C 43°C 44°C 48°C
100 100
Continuous simultaneous
Continuous simultaneous
L=Max.
ON ratio (%)
70 70 72%
L=Max. 63%
60 60
L=0
50 50 50%
L=1/2Max. 45%
40 38% 40
L=Max.
30 30
20 Individual unit 19% 20 Individual unit
10 With expansion unit 10 With expansion unit
6%
0 0
30 35 40 45 50 30 35 40 45 50
Ambient temperature (°C) Ambient temperature (°C)
Derating when KV-24DR is mounted upward Derating when KV-24DR is mounted in front
110 110
30°C 35°C 37°C 43°C
100 100
Continuous simultaneous
Continuous simultaneous
90 90
80 80
ON ratio (%)
ON ratio (%)
70 70 67%
60 60
50 50
40 42% 44%
40
30 30
20 Individual unit 20
16% Individual unit
10 With expansion unit 10 With expansion unit
0 0
30 35 40 45 50 30 35 40 45 50
Derating when KV-24DT(P) is mounted upward Derating when KV-24DT(P) is mounted in front
110 110
47°C 47°C
100 100
Continuous simultaneous
Continuous simultaneous
90 91% 91%
90
80 79% 80 79%
ON ratio (%)
70
ON ratio (%)
70
60 60
50 50
40 40
30 30
20 Individual unit 20 Individual unit
10 With expansion unit 10 With expansion unit
0 0
30 35 40 45 50 30 35 40 45 50
Ambient temperature (°C) Ambient temperature (°C)
1.6.5 Dimensions
■ Main unit
Front view Side view (KV-24AR/AT(P)) Side view (KV-24DR/DT(P))
31
Visual KV
Series
5.2
35.4 90 35.4 90
20.5
3.8 4 3.8 4
80 22 70 22 43
17.5
1
20.5
6-ø0.5
(Mounting
hole)
Main unit
mounting hole*
99 111
(2 positions)
48
66
79 t=2
Visual KV
1.7.1 Part Names and Functions
Series
1. Input 4. Input 5. Output 6. Connector
terminal indicator indicator (provided
block lamps lamps on side)
9. Input voltage selector
switch
Provided on side
24V
INPUT
C1 001 003 005 007 009 011 013 015 101 103 105 107 IN
000 002 004 006 008 010 012 014 100 102 104 106
VOLT
0ch
5V
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1ch
0 1 2 3 4 5 6 7
10.Communication
port A
0 1 2 3 4 5 6 7
11.Communication 5ch
8 9 10 11 12 13 14 15
port B KV-40AR
AC100V-240V
2. Output terminal block 7. Access Window 8. Setting keys
0.7A 50/60Hz
C1 001 003 005 007 009 011 013 015 101 103 105 107
000 002 004 006 008 010 012 014 100 102 104 106
500 501 502 503 504 506 508 510 C7 512 514
1
■ Input circuit diagram
Internal circuit
106 104 102 100 014 012 010 008 006 004 002 000
107 105 103 101 015 013 011 009 007 005 003 001 C1
Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
Sensor
Circuit configuration of inputs 000 to 007 Circuit configuration of inputs 008 to 107
Photocoupler Photocoupler
4.3KΩ insulation 4.3KΩ insulation
Internal circuit
Internal circuit
24V/5V
selector 510Ω
circuit
C1 C1
Internal circuit
Visual KV
Series
500 501 502 503 504 506 508 510 C7 512 514
11
500
501
Internal circuit
502 to 503
504 to 507
508 to 511
512 to 515
C3
C4
C5
C6
C7
C8
C1 001 003 005 007 009 011 013 015 101 103 105 107
Visual KV
000 002 004 006 008 010 012 014 100 102 104 106
Series
V1 V2 500 501 502 503 504 506 508 510 512 514
24V 0V C3 R500 R501 R502 V3 505 507 509 511 513 515
106 104 102 100 014 012 010 008 006 004 002 000
107 105 103 101 015 013 011 009 007 005 003 001 C1
Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue Blue
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Black
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
type
Sensor
Circuit configuration of inputs 000 to 007 Circuit configuration of inputs 008 to 107
Photocoupler Photocoupler
4.3KΩ insulation 4.3KΩ insulation
Internal circuit
Internal circuit
24V/5V
selector 510Ω
circuit
C1 C1
Internal circuit
Visual KV
Series
V1 V2 500 501 502 503 504 506 508 510 512 514
24V 0V C3 R500 R5O1 R502 V3 505 507 509 511 513 515
* For KV-40ATP/DTP
NPN PNP
Insulating 1.6 kΩ 1 2 W R500 C3
power
Internal circuit
supply to R502
500
Internal to 515
circuit
Insultating
500 to 515
R500 to R502
11
power
C3 supply 1.6 kΩ 1
2W
• A 1.6 kΩ current limiting resistor is built in each • A 1.6 kΩ current limiting resistor is built in each
of R500 to R502 (to connect a motor driver). of R500 to R502 (to connect a motor driver).
• V1 to V3 are short-circuited inside (so they can • V1 to V3 are short-circuited inside (so they can
be used as a relay terminal block). be used as a relay terminal block).
L ~ N
L N
AC100V-240V
0.7A 50/60Hz
FG
The graphs below show the relationship between the ambient temperature and the
continuous simultaneous ON ratio.
Load current L:
(AC power output (Individual current consumption (Service power (Expansion
– = +
capacity at 700 mA) when KV-D20 is connected) output current) unit current
consumption)
Derating when KV-40AR is mounted upward Derating when KV-40AR is mounted in front
Supply voltage: 100 to 240 V
33 34
110 (91.4)(93.2) 110 39 40 44 45
(102.2)(104) (111.2) (113)
100 35 (95) 100
32 (89.6)
Continuous simultaneous
Continuous simultaneous
37 (98.6) 41 L=0
90 90 (105.8)
L=1/2Max. Max
80 L=1/2Max.
80
L=Max. 75%
ON ratio (%)
ON ratio (%)
70 70
L=0 70%
60 60
L=0 55%
50 50
40 L=0
L=1/2Max. 40
30 33%
L=Max. 27% 30
L=1/2Max.
20 Individual unit 20 Individual unit
L=Max. 16%
10 With expansion unit 10 With expansion unit
6% 8%
0
1 30
(86)
35
(95)
40
(104) (113)
48
45 (118.4) 49
(120.2)
0
30
(86)
35
(95)
40
(104)
45
(113)
50
(122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
Derating when KV-40AT(P) is mounted upward Derating when KV-40AT(P) is mounted in front
Supply voltage: 100 to 240 V 45
110 33 34 110 41 43 (113) 46 48
27 (80.6) (91.4)(93.2) (105.8)(109.4) (114.8)(118.4)
100 31 35 (95)
100
Continuous simultaneous
Continuous simultaneous
44
90 (87.8) 90 (111.2) 90%
L=0
80 80 83%
L=1/2Max. L=0 75%
ON ratio (%)
ON ratio (%)
70 70
L=Max. L=1/2Max.
60 60
L=Max.
50 50 50%
L=0 L=0
40 38% 40 41%
L=1/2Max. L=1/2Max.
30 27% 30
L=Max.
20 Individual unit 20 Individual unit
L=Max.
10 With expansion unit 10 With expansion unit
0 49 0
49
30 35 40 45 (120.2) 50 30 35 40 45 (120.2) 50
(86) (95) (104) (113) (122) (86) (95) (104) (113) (122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
Derating when KV-40DR is mounted upward Derating when KV-40DR is mounted in front
110 110
33 (91.4) 36 (96.8) 42 (107.6) 46 (114.8)
100
Continuous simultaneous
100
Continuous simultaneous
90 90
80 80 80%
ON ratio (%)
ON ratio (%)
70 70
60 60 60%
53%
50 50
40 40
34% 30
30
20 Individual unit 20 Individual unit
10 With expansion unit 10 With expansion unit
0 0
30 35 40 45 50 30 35 40 45 50
(86) (95) (104) (113) (122) (86) (95) (104) (113) (122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
Derating when KV-40DT(P) is mounted upward Derating when KV-40DT(P) is mounted in front
110 110
36 (96.8) 40 (104) 44 (111.2) 48 (118.4)
100 100
Continuous simultaneous
Continuous simultaneous
90 90 87%
80 80
ON ratio (%)
ON ratio (%)
70 70
60 60 62.5%
54%
50 50
40 40
30 30% 30
20 Individual unit 20 Individual unit
10 With expansion unit 10 With expansion unit
0 49
0
30 35 40 45 (120.2) 50
30 35 40 45 50
(86) (95) (104) (113) (122) (86) (95) (104) (113) (122)
Ambient temperature [°C] Ambient temperature [°C]
[°F] for figure in ( ). [°F] for figure in ( ).
1.7.5 Dimensions
■ Main unit
Visual KV
Series
20.2
35.4 90 35.4 90
20.5
3.8 4 3.8 4
110 22 70 22 43
17.5
11
20.5
4-ø5.0
(Mounting
hole)
Main unit
mounting hole*
(2 positions) 99 111
78
109 t=2
C1 1 3 IN
0 2
2. Input indicator lamps
0 1
3. READY/ERROR
indicator lamp
4. Expansion cable ch
5. Connector (provided on side)
KV-E4X
READY
/ERROR 2 3
Visual KV
Series
C1 1 3
0 2
V2 V4
V1 V3 V5
11
■ Input circuit diagram
Sensor
Photocoupler
Three-wire
Three-wire
Three-wire
Three-wire
4.3KΩ
insulation
type
type
type
type
Internal circuit
0 to 3
Blue
Blue
Blue
Blue
510Ω
Black
Black
Black
Black
Brown
Brown
Brown
Brown
C1
0 2
Internal circuit
V2 V4
V1 V3 V5
C1 1 3 V2
Visual KV
0 2 V1
Series
4 6 V3
C2 5 7 V4
Photocoupler
Three-wire
Three-wire
Three-wire
Three-wire
4.3 kΩ insulation
type
type
type
type
C1
Internal circuit
C2
Blue
Blue
Blue
Blue
Black
Black
Black
Black
510 Ω
Brown
Brown
Brown
Brown
0 to 3
4 to 7
Internal circuit
4 6
V3
C2 5 7
V4
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Blue
Blue
Blue
Blue
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
Sensor
C3
C1
Three-wire Three-wire
type Brown Brown type
8
0
Black Black
Blue Blue
Three-wire Three-wire
41
type Brown Brown type
9
Black Black
Blue Blue
Three-wire Three-wire
type Brown Brown type
10
Black Black
Blue Blue
Three-wire Three-wire
type Brown Brown type
11
Black Black
Blue Blue
Sensor
C2
C4
Sensor
Three-wire Three-wire
type Brown Brown type
Internal circuit
12
■ Input circuit diagram
Black Black
Blue Blue
■ Terminal layout drawing
Three-wire Three-wire
C3
C1
KV-E16X (16-I/O expansion input unit)
5
8
0
13
Black Black
9
1
Blue Blue
2
Three-wire Three-wire
10
6
11
14
Black Black
Blue Blue
Three-wire Three-wire
C2
7
12
15
Black Black
5
C4 13
6
14
7
15
4 to 7
0 to 3
12 to 15
8 to 11
C4
C3
C2
C1
4.3KΩ
510Ω
08.3.11, 11:10 AM
Chapter 1 Configuration and Specifications
insulation
Photocoupler
Internal circuit
1-41
1.8 KV-E4X/E8X/E16X (Expansion Input Unit)
11
Visual KV
Series
1.8 KV-E4X/E8X/E16X (Expansion Input Unit)
1.8.4 Dimensions
■ Main unit
35.4 90
38 45 65 4 4
43.5
4-ø5.0
1 (Mounting
hole)
Main unit
mounting hole*
99 111
(2 positions)
25
38 t=2
1.9 KV-E4R/E4T/E8R/E8T(P)/E16R/E16T(P)
(Expansion Output Unit)
This section describes the name and function of each part, the output specifications,
Visual KV
the terminal layout, circuit diagrams, and dimensions of three types of expansion
Series
input units.
C1 1 3 OUT
0 2
0 1
2.Output indicator lamps
11
READY
/ERROR 2 3
2.Output indicator lamps
V2 V4
V1 V3 V5 OUT
1 ➮ For more about the general specifications, refer to "General Specifications" (p.1-4).
➮ For more about the general specifications, refer to "General Specifications" (p.1-4).
Visual KV
Series
C1 1 3
0 2
V2 V4
V1 V3 V5
11
■ Output circuit diagram
C1 1 3
0 2
Internal circuit
V2 V4
V1 V3 V5
0 to 3
Internal circuit
C1
C1 1 3
Visual KV
0 2
Series
V2 V4
V1 V3 V5
C1 1 3
0 2
Internal circuit
V2 V4
V1 V3 V5
Insulating
power
supply
Internal 0 to 3
circuit
C1
C1 1 3 V2
Visual KV
Series
0 2 V1
4 6 V3
C2 5 7 V4
C1 1 3
V2
0 2
V1
Internal circuit
4 6 V3
C2 5 7 V4
0 to 3
Internal circuit
C1 1 3 V2
Visual KV
0 2 V1
Series
4 6 V3
C2 5 7 V4
1 *
C1 1 3 V2
0 2 V1
Internal circuit
4 6 V3
C2 5 7 V4
*
* For KV-E8TP
NPN PNP
Insulating
power C2
supply
C1
Internal circuit
0 to 7
Internal
circuit
0 to 7
C1 Insultating
power
C2 supply
C1 1 3 C2 5 7
Visual KV
0 2 4 6
Series
8 10 12 14
C3 9 11 C4 13 15
11
C1 1 3 C2 5 7
0 2 4 6
Internal circuit
8 10 12 14
C3 9 11 C4 13 15
0 to 3
4 to 7
Internal circuit
8 to 11
12 to15
C1
C2
C3 • C1 and C4 are each independent.
C4
C1 1 3 C2 5 7
0 2 4 6
Visual KV
Series
8 10 12 14
C3 9 11 C4 13 15
1 * *
C1 1 3 C2 5 7
0 2 4 6
Internal circuit
8 10 12 14
C3 9 11 C4 13 15
* *
* For KV-E16TP
NPN PNP
Insulating C4
power C3
supply
C2
Internal 0 to 15 C1
Internal circuit
circuit
C1 0 to 15
C2 Insultating
C3 power
supply
C4
1.9.4 Dimensions
■ Main unit
Visual KV
(KV-E4x) (KV-E8 x) (KV-E16 x)
Series
35.4 90
38 45 65 4 4
43.5
4-ø5.0 11
(Mounting
hole)
Main unit
mounting hole*
(2 positions) 99 111
25
38 t=2
C1 X1 X3 V2 IN
X0 X2 V1
0 1 2 3
3. Input indicator lamps
6. Expansion cable ch
5. Output indicator lamps
KV-E4XR
7. Connector
READY
/ERROR 0 1 2 3
1 C2
Y0
Y1
Y2
Y3
V3
V4 OUT
Visual KV
Maximum input rating 26.4 VDC
Series
Input voltage 24 VDC, 5.3 mA
Minimum ON voltage 19 V
Maximum OFF current 2 mA
Input impedance 4.3 kΩ
Common method 4 points/common
Input time constant
For both rising (OFF ➞ ON) and falling (ON ➞ OFF) operations,
(Changed in two steps
10 ms: 10 ms ± 20%
by special utility relays
10 µs: 10 µs ± 20%
2609 to 2612)
➮ For more about the general specifications, refer to "General Specifications" (p.1-4).
C1 X1 X3 V2
X0 X2 V1
Y0 Y2 V3
C2 Y1 Y3 V4
1
■ Input circuit diagram
Internal circuit
V1 X2 X0
V2 X3 X1 C1
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Blue
Blue
Blue
Blue
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
Sensor
Photocoupler
4.3KΩ insulation
Internal circuit
X0 to X3
510Ω
C1
Internal circuit
Visual KV
Series
Y0 Y2 V3
C2 Y1 Y3 V4
Y0 to Y3
Internal circuit
11
C2
C1 X1 X3 V2
Visual KV
Series
X0 X2 V1
Y0 Y2 V3
C2 Y1 Y3 V4
Internal circuit
V1 X2 X0
V2 X3 X1 C1
Brown
Brown
Brown
Brown
Black
Black
Black
Black
Blue
Blue
Blue
Blue
Three-wire
Three-wire
Three-wire
Three-wire
type
type
type
type
Sensor
Photocoupler
4.3KΩ insulation
Internal circuit
X0 to X3
510Ω
C1
• V1 to V2 and V3 to V4 are short-circuited inside
(so they can be used as relay terminal blocks).
Internal circuit
Visual KV
Series
Y0 Y2 V3
C2 Y1 Y3 V4
* For KV-E4XTP
NPN PNP
Insulating
power
Internal
supply
Y0 to Y3
Internal circuit C2
11
circuit
Y0 to Y3
C2 Insultating
power
supply
• V1 to V2 and V3 to V4 are short-circuited inside (so they can be used as relay terminal blocks).
1.10.5 Dimensions
■ Main unit
Visual KV
35.4 90
45 4 4
43.5
4-ø5.0
1 (Mounting
hole)
Main unit
mounting hole*
(2 positions) 99 111
25
38 t=2
Visual KV
1.11.1 Part Names and Functions
Series
1 Customized indicator lamps
1 2 3 4
5 Communication port
(provided on rear face)
2 Liquid crystal
display screen
6 Bit guide 7 6 5 4 3 2 1 0
F1 F2 F3 F4
11
1.11.4 Dimensions
■ Main unit
Panel thickness:
1.0 to 3.0 mm
Visual KV
Series
75 67
112 5 34
133
(including mounting fixtures)
145 11
+1
68 0
+1
105 0 83
2 Units are made of synthetic resin. If the unit surface touches a solvent with a
CAUTION strong dissolving force, it could melt. Keep such solvents away from the units.
Visual KV
Series
Front installation Installation on ceiling
Correct Incorrect
Correct Incorrect
12
* Upward installation does not
comply with CE marking.
20 mm
10 mm
Unit
20 mm
Note 1: If the temperature inside the panel exceeds 50°C, which is specified as the
maximum ambient operating temperature, then install heat exchangers, etc. to
reduce the temperature.
Note 2: Ensure sufficient ventilation space so that the power supply can release
heat.
Note 3: Never install a unit just above any equipment which generates a lot of heat.
28 35 55
38 45 65
25.3 4
66
Visual KV
Series
Wiring procedures for basic units
The wiring procedures for basic units are described below.
KV-16AR
0 1 2 3 4 5
KV-16AR
5ch
500 501 502 504
24V-OUT-OV C3 C4 503 505 OUT
24 VDC service
power supply
(supplied from
Bottom outside)
Breaker
100 to
240 VAC
±10%
Insulating transformer,
noise filter, etc. Grounding
Note 1: Connect an insulating transformer (1:1) or noise filter to reduce line noise.
Note 2: Use twisted cables to reduce induction effects.
Note 3: When using a basic unit in a location with a lot of noise, the noise may be reduced
by completely grounding the basic unit.
KV-10DR
Visual KV
Series
0 1 2 3
KV-10DR
5ch
501 502
24V-IN-OV 500 C3 C4 503 OUT
Breaker
24 VDC
external power
supply
Note: Connect the power supply to the power supply input terminals with 24 VDC
output, which offers a sufficient margin of power capacity. Usually, the sum of the
current consumption of all connected units multiplied by 1.5 or more is required for
the power capacity.
■ When I/O signal lines cannot be separated from the wiring for power
In such a case, perform grounding on the KV side using batch-shielded cables.
(In some environments, grounding should be performed on the reverse side of the
KV.)
KV Shielded cable
Sensor
Input
RL
Output
24 VDC
Ground
Terminal
The terminal screws used are M3. When performing wiring with crimp-style termi-
nals, use the following ones.
Unit: mm
M3
Cautions on grounding
Because the Visual KV Series is constructed to be sufficiently resistant to noise, it
can usually be used without being grounded. However, when the Visual KV Series is
used in an environment with a lot of noise, grounding is required. In such a case,
pay strict attention to the following contents.
Visual KV
Series
• Perform complete grounding for each individual unit. In this case, the ground
resistance should be 100 Ω or less.
• If individual grounding is not possible, perform common grounding. In this case,
the length of each grounding cable should be equal.
B
A B A
Contact Contact
a b
Contact Contact
Zener diode
Varistor
Note 1: Use a load coil whose rating is less than the contact capacity.
Note 2: Use a diode whose peak inverse voltage is 10 times or more the circuit
voltage and whose forward current is not less than the load current.
Note 3: Individually attach diodes, varistors, and CR circuits directly to the relay coil
terminal.
This section describes the method to connect Visual KV Series expansion units to a
Series
Visual KV Series basic unit and the various functions of expansion units.
KV-E4XR KV-E4XT(P)
Visual KV
Series
(OP-35361).
• Up to two expansion cables (300 mm) can be connected to one basic unit.
• The READY/ERROR LED is lit during normal communication, flashes when an
abnormality occurs, and is not lit when the power is not supplied correctly. If this
LED is not lit, check whether the expansion cables are correctly connected.
Expansion cable
(60 mm)
Note: Keep noise sources such as power cables and electromagnetic switches away
from expansion cables (300 mm) as much as possible.
Connection methods
1. Peel off the tape stuck to the right side of the basic unit.
Visual KV
Series
1. Disconnect the standard expansion cable from the expansion unit connector.
2. Connect an optional expansion cable (300 mm) to the expansion unit connector.
3. Connect the optional expansion cable (300 mm) to the basic unit connector.
Visual KV
Expansion units
Series
Basic unit Input Output Input Input Output Output Output Input
Up to 8 units
12
Up to 7 units
Expansion units
Basic unit Input I/O I/O Output Output Input
6 units
Input 1 1 1 0 0 1 =4
Output 0 1 1 1 1 0 =4
Note 1: There are no restrictions about the order of connected expansion units.
Note 2: When connecting expansion units to an AC power type basic unit, be sure
that the total current consumption of all connected units does not exceed the output
capacity of the Visual KV Series basic unit. Otherwise, consider to use a DC power
type basic unit in conbination with an external DC power supply having enough
capacity.
■ Output units
Connection
KV-E4T/R KV-E8T(P)/R KV-E16T(P)/R
order
2 1st output
600 to 603 600 to 607 600 to 615
unit
2nd output
700 to 703 700 to 707 700 to 715
unit
3rd output
800 to 803 800 to 807 800 to 815
unit
4th output
900 to 903 900 to 907 900 to 915
unit
■ I/O units
KV -E4X R/ T(P )
Connect ion
Input r e la y Out put r e la y
order
KV -10/ 16/ 24 KV -40 KV -10/ 16/ 24 KV -40
1st input
100 to 103 200 to 203 — —
unit
2nd input
200 to 203 300 to 303 — —
unit
3rd input
300 to 303 400 to 403 — —
unit
4t h input
400 to 403 — — —
unit
1st out put
— — 600 to 603 600 to 603
unit
2nd out put
— — 700 to 703 700 to 703
unit
3rd out put
— — 800 to 803 800 to 803
unit
4t h out put
— — 900 to 903 900 to 903
unit
Visual KV
Series
➮ Refer to "Chapter 3. Access Window" (p.1-79), "Chapter 6. Handheld Programmer" (p.1-195), and the
"6.2.9. Displaying the Use Status" (p. 2-70).
The connection information is written to data memory DM1937 as shown in the table
below.
Bit Bit
15 7 6 5 4 3 2 1 0
KV-E16T
* Always set to "0" when the KV-40xx is used.
KV-E8R KV-E4XT KV-E8X
DM1937 (binary)
Decimal (Hexadecimal)
When KV-E8X has failed: 0 1 1 1 0 1 0 0 = #116($0074)
DM1937 (binary)
Decimal (Hexadecimal)
When KV-E4XT has failed: 0 1 1 0 0 0 1 0 = #98($0062)
Change the value of special utility relay 2613. Enter "0" or "1".
Visual KV
10 µs, or when synchronizing the output of a basic unit with the output of an
Series
expansion unit, pay strict attention to the following contents.
When inputting
■ When the scan time is longer than 800 µs (communication cycle) plus 10 µs
(input time constant)
Set the input signal ON time equal to or longer than the scan time.
Scan time
Receive
Communication cycle
in expansion unit
Receive Receive
ON
Input signal
OFF
Incomplete receive OK
Scan time
Receive
Communication cycle in
expansion unit
Receive
ON
Input signal
OFF
Incomplete receive OK
ON
Output of basic unit
OFF 800µs 800µs
ON
Output of expansion unit
OFF
Note: When the output ON time is 800 µs or shorter, the output may be aborted.
2.3.1 Inspection
Series
While basic units and other units have been used for a long period of time, the
connector connection area may become loose, the battery may wear out, or another
nonconformity may occur in operation.
To avoid any nonconformities, inspect the basic units, other units, and the wiring
periodically.
The major inspection items are as follows.
• Check to ensure that the connector connection area is not disconnected or loose.
• Check to ensure that terminals on terminal blocks are not loose.
• Check to ensure that the wiring cables among units and each equipment are not
damaged.
2.3.2 Maintenance
While basic units and other units have been used for a long period of time, dirt will
adhered. Wipe off any collected dirt with a clean, dry cloth.
Wipe off any dust and dirt that has collected on small and narrow portions with
2 cotton swabs.
Be sure to turn off the power before starting any inspection or maintenance of
CAUTION the units.
■ As a display unit
By using the Access Window, the number of products and the tact time can be
3 displayed. Because external display units are no longer necessary, the numbers of
wiring works and I/O points can both be reduced.
The built-in display may show the error message "Error 40" blinking the very
CAUTION first time you turn on the power supply to the Visual KV Series. Press any key
around the display to cancel this message.
The Visual KV Series shows this message when no program is loaded.
Visual KV
Access Window.
Series
3.2.1 Operation Mode
In the Visual KV Series, two operation modes are offered, RUN mode and PRO-
GRAM mode.
■ RUN mode
In this mode, a program is executed repeatedly.
■ PROGRAM mode
In this mode, program execution is stopped. This mode is used to create or change
a program.
In conventional units, the programming support software ("KV IncrediWare (DOS)"
or "LADDER BUILDER for KV") or a KV-P3E(01) handheld programmer is required
to change the operation mode. In the Visual KV Series, each basic unit is equipped
with an Access Window so that the operation mode can be changed over by
pressing the keys provided on the basic unit.
➮ For operating procedures, refer to "3.5 System Mode" (p.1-94).
■ Device mode
In conventional units, the programming support software "KV IncrediWare (DOS)" or
"LADDER BUILDER for KV" or a KV-P3E(01) handheld programmer is used to
display internal devices. In the Visual KV Series, internal devices are displayed on
the Access Window and the setting contents can be changed.
➮ For the device mode, refer to "3.4 Device Mode" (p.1-87).
■ System mode
In conventional units, the programming support software "KV IncrediWare (DOS)" or
"LADDER BUILDER for KV" or a KV-P3E(01) handheld programmer is used to
change the ladder mode between RUN and PROGRAM modes. In the Visual KV
Series, program execution can be stopped by selecting "Prog" in the system mode.
Also, to save contact comments as well as the contents of data memories and
current values of counters beyond the battery backup period, the EEPROM can be
used using SAVE function in the system mode.
➮ For the system mode, refer to "3.5 System Mode" (p.1-94).
In addition to the above modes, the Access Window also offers the key lock function
to prevent erroneous operations, and the message display function to display error
codes and user messages.
➮ Refer to "Key lock function" (p.1-82), "3.6 Message Display" (p.1-97)
2. Setting 3.Main
Series
operation display
keys window
KV-24xx/40xx KV-10xx/16xx
Key lock
key + key
key + key
key + key for 3 secs
System mode
key + key for 3 secs
("+" indicates pressed
simultaneously.)
• Even while the key lock is being set, the mode can still be changed. However,
numeric values (current values, set values, and trimmer values) cannot be
changed. When setting the key lock, "Loc" is displayed in the middle line of the
Access Window. While the key lock is being reset, "UnLoc" is displayed. When
the power is turned on, the previous key lock status (set or reset) which was in
effect when the power was previously turned off is automatically set. The initial
status is "unlock (reset)".
• When the unit is shipped, the digital trimmer mode is selected. After the Access
Window is used, the mode effective at power OFF time is automatically set when
the power is next turned on.
• To set (or reset) the key lock, press and hold the key and the (or ) key at
the same time for 3 seconds.
• While the key lock is being set, the mode can be changed and a display device
can be changed. However, numeric values cannot be changed and the setting
cannot be changed when in system mode.
Visual KV
Series
When specifying device Nos. using keys, the turbo function is available in the device
mode, and is used to increase the numeric value addition (subtraction) speed.
■ Quick function
When a key is pressed and held for 0.5 second, key repetition (automatic addition/
subtraction) is activated.
When the key is pressed and held down continuously, the quick function is activated
1.5 seconds later (that is, 2 seconds after the key was first pressed), and the
automatic addition (subtraction) speed is increased.
Note: The quick function is available only when device Nos. of timers, counters,
data memories, and relays are specified.
■ Turbo function
When a key is pressed and held continuously after the quick function is actuated,
the automatic addition (subtraction) speed is increased continuously 2 seconds later.
Note: The turbo function is available only when device Nos. of timers, counters, data
memories, and relays are specified.
Note: The super turbo function is available only when device Nos. of data memories
and relays are specified.
Super turbo
Mode Quick function Turbo function
function
Digital trimmer mode — — —
DM ❍ ❍ ❍
TM — — —
T/C ❍ ❍ —
Device mode
CTC — — —
TRM — — —
RLY ❍ ❍ ❍
System mode — — —
section describes the function and the operating procedure of the digital trimmer
Series
mode.
■ Operating procedure
1. Select the trimmer No.
Each time the key is pressed, trimmer No. 0 and trimmer No. 1 is selected
alternately.
Trimmer No.
Trimmer No.
Change
Visual KV
Series
Current value
Upper limit value
Current value
13
Repeat steps 2 and 3 if necessary.
The change in the current value is immediately reflected (registered) without
regard to the previous setup.
Note 1: Set values of trimmers can be changed in either RUN mode or PROGRAM
mode.
Note 2: The turbo function is not available in key operations in the digital trimmer
mode.
➮ Refer to "Turbo function" (p.1-83)
Note 3: The current value cannot be set to a value less than 0 or larger than the
upper limit value.
Note 4: When the current value of a trimmer is increased/decreased, it is reflected
within 1 scan + 50 ms.
• The trimmer No. is held as selected just before the digital trimmer mode was
changed to another mode. If the digital trimmer mode had been selected just
before the power was turned off, the trimmer No. selected at that time is auto-
matically displayed when the power is next turned on. If any mode other than the
digital trimmer mode had been selected just before the power was turned off,
trimmer No. 0 is automatically selected when the digital trimmer mode is selected.
• The increment (decrement) quantity is stored for each of the trimmers Nos. 0 and
1. Even if another mode is selected, the increment (decrement) quantity for each
trimmer is held. However, when the power is turned off or the basic unit is reset,
the increment (decrement) quantity is set to the initial value.
When the upper limit value of the digital trimmer is set in the device mode, it is
Visual KV
Series
automatically stored in one of the data memories. The table below shows the data
memories used to save these upper limit values.
Data memory No. Setting item
Upper limit value (setting range: 1 to 65,535) of digital trimmer No. 0
DM1938
(Initial value: 0)
Upper limit value (setting range: 1 to 65,535) of digital trimmer No. 1
DM1939
(Initial value: 0)
Note: When DM1938/1939 is set to 0, the upper limit value is regarded as 65,535.
Visual KV
Series
3.4.1 Function and Operating Procedure
Devices that can be displayed and changed
The following devices can be displayed and changed in the device mode.
• Data memories (DM)
• Temporary data memories (TM)
• Timers and counters (T/C)
• High-speed counter comparators (CTC)
• Trimmers (TRM)
• Relays (RLY) [on/off status]
Device No.
■ Operating procedure
1. Select the device type.
Visual KV
Series
Select the device type using the key. Each time the key is pressed, the
device type is changed among DM, TM, T/C, CTC, TRM, and RLY in this order
and displayed in the device selector window.
Device No.
3
If the selected device type is DM, T/C, or RLY, the numeric value addition (sub-
traction) speed is increased when the / key is pressed and held for 2 seconds
or more.
➮ Refer to "Turbo function" (p.1-83)
■ Operating procedure
Visual KV
Initially select the device No. to be changed.
Series
1. Select the numeric value change status.
When the key is pressed and held for 3 seconds, a digit to be changed begins
flashing.
In this example, the 5th digit is flashing. When the device No. to be changed
consists of two lines, the 5th digit in the lower line flashes.
Start
Start
3 seconds
3 seconds
Note: When there are 2 lines, the flashing digit moves among all digits of each line
sequentially. (5th digit of 2nd line ➞ 4th ➞ 3rd ➞ 2nd ➞1st of 2nd line ➞ 5th of 1st
line ➞ 4th ➞ 3rd ➞ 2nd ➞ 1st of 2nd line ➞ 5th of 2nd line....) This continues until
any digit value is changed. After that, the flashing digit moves within the line whose
value has been changed. To change the line, press the key for 3 seconds twice to
enter the change status again.
A numeric value can be changed only for the flashing digit. The upper and lower
digits are not changed.
• When the key is pressed and held for less than 3 seconds only, the input is
canceled and the Access Window returns to normal status.
• When registration is finished, the Access Window returns automatically to
normal status.
Note 1: The device setting can be changed either in RUN mode or PROGRAM
mode.
Note 2: If the key operation is not performed for approximately 25 seconds, the
numeric value change status automatically finishes and the Access Window returns
to normal status.
Note 3: The maximum allowable input value is 65,535 (except for RLY). If a numeric
value larger than 65,535 is entered, it is not accepted.
Note 4: In normal status, 0 is suppressed. In numeric value change status, the zero
suppress function is reset.
Note 5: When a numeric value is input in the device mode, it is reflected within 1
scan + 50 ms.
Visual KV
Series
• When the power is turned off, just the device No. of the selected device type is
held only if the device mode was selected just before the power was turned off.
The held device No. will automatically be displayed when the power is next
turned on. If any mode other than the device mode was selected just before
turning the power off, or if "LoAd" is executed in the system mode, DM will be
automatically selected when the power is next turned on, and the device mode
will be selected.
Current value
13
• While the device No. is selected, three types of turbo functions (quick, turbo, and
super turbo) are available.
• The upper limit values of the trimmers Nos. 0 and 1 are written to DM1938 and
DM1939, respectively.
• If an entered current value is larger than the upper limit value, the current value
change is canceled.
Current value
Timer/counter (T/C)
If the device No. has not been registered
Device No.: 0 to 249 yet, horizontal lines are displayed.
Visual KV
Current value
Series
Set value
• If the key is pressed while the 1st digit in the bottom line is flashing, the 1st
digit in the bottom line stops flashing and the 5th digit in the middle line starts
flashing.
• If the key is pressed while the 1st digit in the middle line is flashing, the 1st
digit in the middle line stops flashing and the 5th digit in the bottom line starts
flashing.
• While the device No. is selected, two types of turbo functions (quick and turbo)
are available.
• Unregistered device Nos. cannot be set.
CTH current
value
3 CTC set
value
If both CTCs and CTHs have not
If CTCs have not been registered yet, been registered yet, horizontal
only the middle line is displayed. lines are displayed.
CTC2 CTC3
Visual KV
Series
The CTH1 value is displayed in the
middle line for both CTC2 and CTC3.
Trimmer (TRM)
Device No.: 0 or 1
Current value
Upper limit value
Relay (RLY)
Device No.: 0 to 17915
ON/OFF indication
• While the device No. is selected, three types of turbo functions (quick, turbo and
super turbo) are available.
• In the status change status, ON or OFF can be selected at the right end in the
middle line.
Note: On/off status can be changed or registered by pressing key for 3 seconds.
(Except for input relays)
This paragraph describes the function and operating procedure of the system mode.
Series
Operation mode
3
In the system mode, "SYS" is displayed in the top line and the currently selected
operation mode in the middle line.
■ Operating procedure
Select and register among "Prog", "run", "LoAd", and "SAVE" offered in the system
mode.
Operation
mode
Visual KV
When the operation mode is changed from RUN to PROGRAM
Series
Backlight: Green The backlight is changed to red.
13
Press and hold it for
3 seconds.
The backlight is green in RUN mode, and red in PROGRAM mode. By checking
the backlight color, the operation mode can be confirmed.
LOAD mode:
Series
In this mode, contact comments, data memories, and counter current values stored
in the EEPROM are loaded into RAM. Contact comments and analog trimmer values
written in the EEPROM and devices specified by the holding function against power
interruption of the MEMSW instruction are read.
➮ For more about the MEMSW instruction, refer to "MEMSW" (p.3-92).
SAVE mode:
In this mode, all of the set comments, data memories, counter current values, high-
speed counter current values, high-speed counter comparator set values, and
analog trimmer values are saved in the EEPROM built in the Visual KV Series basic
unit.
Never change the operation mode while a ladder program is being transferred.
WARNING If the operation mode is changed at this time, the ladder program may not
transfer correctly.
Note 1: Both LOAD and SAVE modes are available only in PROGRAM mode. If
LOAD or SAVE mode is forcibly executed in RUN mode, the error code "Err210" is
displayed and the Visual KV Series is stopped.
Note 2: If LOAD mode is executed without executing SAVE mode at all, the error
code "Err212" is displayed. (In this case, the Visual KV Series is not stopped.)
Note 3: When LOAD mode is executed, the basic unit is automatically reset and
stopped (in PROGRAM mode).
Note 4: When the setting is changed in the system mode, it is reflected within 1
scan + 50 ms.
Visual KV
Series
3.6.1 Error Messages and Error Status
When an error has occurred in the basic unit, "Error" is displayed in the top line of
the Access Window and a corresponding error code is displayed in the middle line.
Red backlight is
flashing.
Error code
• While "Error" and an error code are displayed, a red backlight is flashing.
• When any key is pressed, the error display is cleared (and the error status is
cleared at the same time).
• If two or more errors occur at the same time, the corresponding error codes are
displayed one by one each time a key is pressed. (Up to 16 error codes can be
stored at a time.)
➮ For more about error codes, refer to "10.1 Error List" (p.1-372).
13
3.6.2 User Messages
The user message function allows an arbitrary numeric value from a ladder program
to be displayed in the Access Window.
• "USEr" is displayed in the top line of the Access Window, and a specified No. is
displayed in the middle line.
• While a user message is displayed, a green backlight is flashing.
• When any key is pressed, the user message display is cleared.
Specified No.
is deleted.
Series
• When a displayed user message is deleted by pressing any key in the Access
Window, the special utility relay 2515 changes to OFF.
Note 1: Set the special utility relay using the SET/RES instructions.
Note 2: When a displayed user message is to be deleted on the side of the Access
Window, set the special utility relay 2515 to ON using a ladder program as shown
below.
Ladder program example
7 6
5 4
3 2
1 0
Visual KV
1. Customized lamps 2. LCD display
Series
1 2 3 4
5. Communication port
(rear side)
6. Bit guide 7 6 5 4 3 2 1 0
F1 F2 F3 F4
Customized Assigned to special utility relays. The LED illuminates when the
1 lamps corresponding relay turns on.
(Lamp 1: 2504, Lamp 2: 2505, Lamp 3: 2506, Lamp 4: 2507)
LCD display Displays comments of up to 20 characters described in ladder
2
programs, or displays all devices used in the KV unit.
Assigned to special utility relays. The relay turns on when the
3
Customized
switches corresponding switch is turned on. 14
(F1: 2500, F2: 2501, F3: 2502, F4: 2503)
Setting operation
4 switches Change screen display.
General specifications
Visual KV
Series
Item Specification
Power supply
Supplied from the communication port of the KV (5 VDC)
voltage
Current 5 VDC, 180 mA max.
consumption (60 mA max. when converted for 24 V)
Ambient
0 to +50°C (32 to 122°F), No freezing
temperature
Relative humidity 35 to 85%, No condensation
Ambient storage
-20 to 70°C (-4 to 158°F), No freezing
temperature
1500 VAC for 1 min.
Withstand voltage (between power terminal and I/O terminals, and
between external terminals and housing)
1500 V p-p min., Pulse width: 1 µs and 50 ns
Noise immunity (Noise generated by noise simulator),
Conforming to EN standard (EN61000-4-2/-3/-4/-6)
10 to 55 Hz, 1.5 mm max. double amplitude in X, Y and Z directions,
Vibration
2 hours respectively
50 MΩ min.
Insulation
(Between power terminal and housing, measured with
resistance
500 VDC megohmmeter)
Environmental
No excessive dust or corrosive gases
restrictions
Display: Approx. 160 g, Communication cable: Approx. 60 g,
Weight
Special mounting fixture: Approx. 30 g (2 pcs.)
4 Structure Built-in panel, IP-65F only for the front operation panel
Functional specifications
Item Specification
Connectable units One KV-D20 for one KV basic unit
Display 20 digits x 4 lines, Blue-negative type backlit LCD
Character size 2.95 mm x 4.75 mm (5 x 7 dots)
Customized 4 switches assigned to special utility relays
switch (F1: 2500, F2: 2501, F3: 2502, F4: 2503)
Setting operation
▲▼
switch
4 Red LEDs, assigned to special utility relays
Customized lamp
(Lamp 1: 2504, Lamp 2: 2505, Lamp 3: 2506, Lamp 4: 2507)
Dimensions
■ KV-D20
Visual KV
Series
75 67
112 5 34
133
(Including mounting fixtures)
■ Panel cutout
145
+1
68 0
105
+1
0 83 14
Use environment
Visual KV
This section describes environment, location, and wiring precautions for the KV-D20.
Series
■ Locations
Avoid installing the KV-D20 in the following locations:
• Locations in which the KV-D20 may be subjected to direct sunlight.
• Locations in which the ambient temperature drops below 0°C (32°F) or exceeds
50°C (122°F).
• Locations in which the relative humidity drops below 35% or exceeds 85%.
• Locations in which condensation occurs due to sudden temperature drops.
• Locations in which there are corrosive or flammable gases.
• Locations exposed to dust, salt, metal particles, or greasy fumes.
• Locations in which the KV-D20 may be directly subjected to vibration or impact.
• Locations in which water, oil, or chemicals may splash the KV-D20.
• Locations in which a strong magnetic or electric field is generated.
Install the KV-D20 as far as possible from radio transmitters and receivers.
CAUTION
Radio waves generated by the KV-D20 may cause noises on these devices.
Ferrite cores
Panel mounting
■ Precautions
1.2 to 3.0 mm
• Install the KV-D20 by holding the panel at
the front and rear sides with the unit and
mounting fixtures.
Visual KV
Series
Available panel thickness: 1.2 mm to 3.0
mm
* If your panel has a thickness of 3.0 mm
or more, contact your nearest KEYENCE
office listed at the back of this manual.
■ Mounting method
1. Cut an opening with the following dimensions in the panel to mount the KV-D20.
+1
68 0
+1
105 0
2. Insert the KV-D20 through the opening from the front surface of the panel.
14
7 6
5 4
3 2
1 0
4. Tighten the screws of the fixtures. [Tightening torque: 0.2 N•m (2 kgf•cm) max.]
Inspection
Visual KV
The KV-D20 may cause malfunctions due to loose modular cable connectors or
Series
Maintenance
Dust adheres to the KV-D20 during long-term use.
Wipe the dust off using a clean dry cloth.
If dust or dirt adheres to a small part, wipe it off using a cotton swab.
Visual KV
This section includes examples of uses for the KV-D20.
Series
As a handheld programmer
The KV-D20 allows you to change the KV Series’ operating mode (RUN or PRO-
GRAM) or to change the preset values of timers and counters without using the
KV-P3E(01) handheld programmer.
As a digital switch
Various values can be input with the KV-D20. You can directly change the values
of desired devices without using ladder programs.
Moreover, the KV-D20 can be connected with a cable instead of the I/O unit, so
that the amount of wiring and I/O points can both be reduced.
As a display unit
The KV-D20 can display the number of products or the tact time. Since the KV-D20
can be connected with a cable instead of the I/O unit, the amount of wiring and I/O
points can both be reduced.
Connection
Visual KV
Series
Precautions
• Connecting/disconnecting the modular cable can be done at any time regardless
of whether the KV unit is turned on or off.
4 • Both communication ports A and B can be used to connect the KV-D20. How-
ever, do not connect two KV-D20s at the same time.
• When connecting the KV-P3E(01) handheld programmer to a KV Series that is
already connected to the KV-D20, set the mode selector switch of the KV-
P3E(01) to "PROGRAM" before connecting it. Do not connect the KV-P3E(01) to
the KV series together with the KV-D20 for a long period of time.
WARNING • Never tie the modular cable together with or route it close to strong electri-
cal lines or output lines. This will cause damage to the KV-D20.
• Prevent a strong force from being applied to the modular cable.
• Be sure to use the modular cable specified by KEYENCE (OP-26487, sup-
plied with the KV-D20). Use of an unspecified cable may cause malfunc-
tions.
• The modular cable cannot be extended.
Visual KV
Series
The KV series has two operating modes: RUN and PROGRAM.
The KV-D20 allows changes among the operator mode, device mode, and system
mode for the RUN and PROGRAM modes respectively.
RUN mode PROGRAM mode
Operator Operator
mode mode
+ + + +
Changes between display modes can be limited by setting special utility relays
2508 and 2509 and data memory DM1676.
➮ Refer to "Screen change function" on page 1-114.
14
Normally, operators use this mode. It includes the following five screens:
Series
Assignment of relays/DM
In the KV Series, special utility relays 2500 through 2513, DM1580 through 1599,
and DM1670 through 1699 are the devices relevant to the KV-D20. The devices
are assigned as follows:
Visual KV
■ Special utility relays used for the KV-D20
Series
Relay No. Function
2500 Pressing F1 (Customized switch 1) turns on this relay.
2501 Pressing F2 (Customized switch 2) turns on this relay.
2502 Pressing F3 (Customized switch 3) turns on this relay.
2503 Pressing F4 (Customized switch 4) turns on this relay.
2504 Lamp 1 illuminates when this relay is ON.
2505 Lamp 2 illuminates when this relay is ON.
2506 Lamp 3 illuminates when this relay is ON.
2507 Lamp 4 illuminates when this relay is ON.
Change between operator mode and device mode:
2508 OFF: Disable, ON: Enable
The initial setting disables changes to device mode.
Change between operator mode and system mode:
2509 OFF: Disable, ON: Enable
The initial setting disables changes to system mode.
Display language for system messages:
2510 OFF: English, ON: Japanese (katakana)
The initial setting is English.
2511 Beep setting: A beep sounds when this relay is ON.
Reset setting of KV-D20
Used to immediately reflect a change such as screen change permission.
2513
Resets the KV-D20 when this relay is ON. Turns off automatically when the
KV-D20 is reset.
14
2515 User message display (DM1950): ON: Enable, OFF: Disable
Note: To set special utility relay 2513 to reset the KV-D20, turn on (SET) 2513 for
one scan as shown below. The relay is automatically turned off after the KV-D20 is
reset.
XXXX 1000 1000 2513
DIFU SET
xxxx: Condition (Trigger input)
DM No. Function
DM1580 to
Device number to be displayed (first line to 20th line)
DM1599
DM1670 to
Reserved for system
DM1675
DM1676 Permits screen change in operator mode.
DM1677 to
Used for direct access screen
DM1679
DM1680 to
Attributes of displayed device (first line to 20th line)
DM1699
DM1950 Specifies user message display devices.
Other functions
This section describes other functions of the KV-D20.
This function corresponds to the user message function of the Access Window of
Series
the KV unit. The Access Window displays numeric values only, but the KV-D20
displays comments as well.
The Access Window displays the desired number stored in DM1950 when a certain
relay turns on. However, the KV-D20 displays the contact comment for the device
specified with the value stored in DM1950, in the same manner as the operator
screen.
Note that although the KV unit is running, the Access Window does not display the
correct value while the user message is displayed.
To cancel the user message, press the key. (Pressing the key is effective even
while the key-lock function is set.)
Example
When the value specifying a certain relay is stored in DM1950 and the relay turns
on, the comment for the relay is displayed on the KV-D20 screen.
The following ladder program displays the message "Add screws" when relay 0001
turns on.
Specified
relay 1000 1000 #40001 DM1950 2515
DIFU LDA STA SET
0001
"ADD SCREW" Instruction to display comment for relay 0001
Contact comment [RLY0001 turns on]
ADD SCREW
Note 1: To enter a space to the left of a contact comment, input "~" (swung dash) at
the left end of the comment with the LADDER BUILDER for KV. Spaces without "~"
at the left end will be ignored. Please note when "~" is used in the middle of a
contact comment, it is displayed as "➞".
Note 2: Contact comments can be displayed only when the LADDER BUILDER for
KV Ver. 1.5 or later is used and the compression transfer of contact comments is not
selected.
Note 3: Even the contact comments for ladder programs created with LADDER
BUILDER for KV Ver. 1.0x or KV-IncrediWare (DOS) can be displayed on the KV-
D20 after being transferred to the KV unit with the LADDER BUILDER for KV Ver.
1.5 or later.
Note 4: "Not transfer" is initially set as the contact comment transfer setting of the
Visual KV
LADDER BUILDER for KV Ver. 1.5 or later. To display contact comments on the KV-
Series
D20, enable the contact comment transfer setting with the LADDER BUILDER for
KV Ver. 1.5 or later.
➮ Refer to "Chapter 1 Software-Windows [KV-H6WE2]" on page 2-1.
Example
Display in system mode
RUN mode PROG mode
English display English display
Beep function
The KV-D20 features a beep function to provide an audio signal for workers.
The beep sounds while special utility relay 2511 is turned on.
Beep
Key-lock function
The key-lock function is used to lock the display screen.
When the key-lock function is set, the current screen is locked regardless of the
display screen mode or status.
To set or reset the key-lock function, press the and ▲ (▼) keys simultaneously for
three seconds.
The key-lock setting is retained even when the KV-D20 is turned off once and on
again.
Key-lock Key-unlock (reset)
DM1676 Mode
Bit 0 Operator screen
Bit 1 Direct access screen (DM1677)
Bit 2 Direct access screen (DM1678)
Bit 3 Direct access screen (DM1679)
Visual KV
Series
Bit 4 KV-I/O monitor screen
Bit 5 Switch comment screen
Bit 6 Lamp comment screen
* Enter "0" in Bits 7 and following.
Note: To set special utility relay 2513 to reset the KV-D20, turn on (SET) 2513 for
one scan as shown below. The relay is automatically turned off after the KV-D20 is
reset.
XXXX 1000 1000 2513
DIFU SET
xxxx: Condition (Trigger input)
Note: To set special utility relay 2513 to reset the KV-D20, turn on (SET) 2513 for
one scan as shown below. The relay is automatically turned off after the KV-D20 is 14
reset.
XXXX 1000 1000 2513
DIFU SET
xxxx: Condition (Trigger input)
When the setting is activated in the operator mode, the screen is switched to the
next available screen.
For example, when the screen change is set to the operator screen, KV-I/O monitor
screen, or switch comment screens while the direct access screen (DM1677) is
displayed, the screen is switched to the KV-I/O monitor screen after the setting is
activated.
When special utility relay 2508 is turned off in the device mode or special utility relay
2509 is turned off in the system mode and the setting is activated, the current mode
is switched to the operator mode.
* When the operator screen is displayed, the screen change setting is not acti-
vated unless it is changed to another screen with the key. Pressing the ▲ or ▼
key only to change pages does not activate the screen change setting.
■ When change setting is disabled for the current mode (screen) and the KV-
D20 is turned off:
The setting is activated when the KV-D20 is turned on again. The screen next to the
disabled screen appears.
■ When change setting is disabled to a mode (screen) other than the current
Visual KV
Series
mode (screen):
The change to the specified mode (screen) is disabled. The mode (screen) is not
displayed when screens are switched.
Visual KV
Series
Screen selection in operator mode
Press the key to select screens in the operator mode.
The screens are changed in the following order.
Order of change Mode
0 Operator screen
1 Direct access screen (DM1677)
2 Direct access screen (DM1678)
3 Direct access screen (DM1679)
4 KV-I/O monitor screen
5 Switch comment screen
6 Lamp comment screen
PROCESS SPEED3: 25
Operator screen
Devices and their attributes can be easily displayed on the KV-D20.
Visual KV
Normal mode
Visual KV
Canceled when is pressed
Series
or when no key is pressed
for 25 seconds.
1DEFECTIVE: 01010PCS
PRODUCED: 456
PRESET: 1000
RLY 00010 ON
*1. Select the page of the device to change its value and enter the change mode. (The line flashes.)
*2. A line does not flash if it is set to disable the value change by the device attribute display setting. If all
lines are set to disable the value change, no line flashes.
➮ Refer to "Device attribute display setting" on page 1-122.
*3. The value section of the device flashes. (The zero suppression is canceled. The leftmost digit
flashes.)
*4. Confirm the new value.
• When the change to the operator screen is enabled but no value is entered in
DM1580 through DM1599, "NO PROGRAM" is displayed.
• For example, enter "#30003" to specify DM0003, and "#40010" to specify input
relay 00010.
• The device specified for DM1580 is the one displayed on the first line, and the
device specified for DM1581 is the one displayed on the second line.
• When no device is specified for a certain DM, the line of the DM is displayed as
blank.
Example
When devices are specified for DM1584 and following, the first page is displayed
as blank.
• Timers and counters are displayed using two lines because preset values shown
4 with "PRESET" are also displayed (initial setting). The preset value display can
be hidden by the device attribute display setting.
➮ Refer to "Device attribute display setting" on page 1-122.
Visual KV
Series
characters are not displayed.
• If a numeric value and a comment overlap, the numeric value has priority to be
displayed.
• If a device has no contact comment, the device number is displayed.
• If a contact comment is changed and transferred to the KV unit, disconnect the
communication cable of the KV-D20 once and connect it again. This updates the
display.
Note 1: To enter a space to the left of a contact comment, input "~" (swung dash) at
the left end of the comment with the LADDER BUILDER for KV. Spaces without "~"
at the left end will be ignored. When "~" is used in the middle of a contact comment,
it is displayed as "➞".
Note 2: Contact comments can be displayed only when the LADDER BUILDER for
KV Ver. 1.5 or later is used and the compression transfer of contact comments is not
selected.
Note 3: Even the contact comments for ladder programs created with LADDER
BUILDER for KV Ver. 1.0x or KV-IncrediWare (DOS) can be displayed on the KV-
D20 after being transferred to the KV unit with the LADDER BUILDER for KV Ver.
1.5 or later.
Note 4: "Not transfer" is initially set as the contact comment transfer setting of the
LADDER BUILDER for KV Ver. 1.5 or later. To display contact comments on the KV-
D20, enable the contact comment transfer setting with the LADDER BUILDER for
KV Ver. 1.5 or later. 14
➮ Refer to "Chapter 1 Software-Windows [KV-H6WE2]" on page 2-1.
Device attribute display setting [DM1680 (first line) through DM1699 (20th line)]
The KV-D20 allows the display of devices with desired attributes.
When no attributes are specified, the initial setting is used.
The following 10 attributes can be specified using hexadecimal numbers for each
Visual KV
line.
Series
$■ ■ ■ ■ No. Attributes
Set value and function
0 (OFF) * 1 (ON)
Bits Decimal point position:
▲
Enable/disable changing
Bit 14 Enable Disable
preset values
Enable/disable changing
Bit 15 Enable Disable
(current) values
* 0 is initial setting.
Visual KV
Series
Note: The position of the PRESET value cannot be changed.
• Carefully selecting the number of spaces to the right of a numeric value and the
comment results in an easy-to-see display.
Example
"_" represents a space.
Comment: "DEFECTIVE:_ _ _ _ _ _ _ _PACKS"
Number of spaces to the right of a numeric value: 5
↓
5 spaces 14
Displayed comment: "DEFECTIVE:_ _ _ _ _123PACKS"
As shown above, the comment can be added at the end of the numeric value,
improving visibility.
• When 32-bit display is set, the specified device is displayed in low-order bits, and
Series
the device that has the next device number of the specified device is displayed in
high-order bits.
• Devices CTC and CTH can be displayed with 24 bits, which is specified with the
MEMSW instruction. (In this case, the Bit 10 setting is ignored.)
■ Show/hide preset values (Bit 12) [Initial setting: Show preset values]
Specify whether or not to display a preset value when the device has a preset value
such as timers and counters.
• To hide the preset value, turn on Bit 12.
Visual KV
Note 1: When "Show/hide numeric value" is set to OFF (Bit 8 is ON), the numeric
Series
value is not displayed even if other bits are turned ON. Only comments are dis-
played. However, the display of the preset value for a device using two lines (timers
and counters) depends on the Bit 12 setting.
Note 2: When "Notation" is set to "hexadecimal" (Bit 11 is ON), the decimal point,
zero-suppression, and sign settings are ignored even if they are specified.
• After values are changed, it takes "one scan + 100 ms" at maximum until the
change is reflected.
• All contents of the displayed devices are not actually changed while the KV-D20 14
is in the numeric value change mode. The contents are updated after the KV-D20
returns to the normal mode.
• Do not change the ladder program in the KV while the numeric value is changed
with the KV-D20.
• Values outside of the available setting range cannot be entered.
Error messages
The following table shows the error messages that may appear during the display
setting of DM1580 through DM1599.
Message Description
NO PROGRAM Nothing is specified.
OUT OF RANGE Specified value is out of the available range.
UNUSED Unused timer/counter/high-speed counter is specified.
* For other devices, their values are displayed even if they are not used.
Operator screen
Series
PROCESS SPEED: 11
Note 1: Numeric values can be changed when the KV unit is in both RUN and
PROGRAM modes.
Note 2: After the current value of DM is changed, it takes "one scan + 100 ms" at
maximum until the change is reflected.
Visual KV
"■" represents the ON status, and "_" represents the OFF status.
Series
Bits are assigned from right to left: bits 0 through 7 on "L" lines, and bits 8 through 15
on "H" lines.
Holding down the ▲ or ▼ key lets the screen scroll faster (turbo function). However,
in the turbo mode, the screen does not show the ON/OFF status but shows only
device numbers.
Customized switches F1 through F4 and customized lamps 1 through 4 can be used
in all modes.
14
To lock the display screen, press the and ▲ (▼) keys simultaneously for three
seconds to set/reset the key-lock function.
➮ Refer to the table below for the information displayed on the KV-I/O monitor screen.
Customized
Relay No.
Series
switch
F1 RLY2500
F2 RLY2501
F3 RLY2502
F4 RLY2503
Note 1: The speed required to capture the ON/OFF status of the customized
switches depends on the scan time, communication time, and internal processing
time. If the switches are operated at a speed faster than the capture speed, the KV
unit does not recognize the operation properly.
Note 2: If the modular cable is disconnected while a customized switch is pressed,
the relay corresponding to the switch remains on.
Visual KV
DM1676 Mode
Series
Bit 0 Operator screen
Bit 1 Direct access screen (DM1677)
Bit 2 Direct access screen (DM1678)
Bit 3 Direct access screen (DM1679)
Bit 4 KV-I/O monitor screen
Bit 5 Switch comment screen
Bit 6 Lamp comment screen
* Enter "0" in Bits 7 and following.
• When no bits are specified in DM1676 (DM1676: #00000), changes are limited to
between the operator, switch comment, and lamp comment screens (Initial
setting).
• When changing the current mode (screen) is disabled during operation, the
setting becomes effective after the current mode (screen) is changed to another
mode (screen). To activate the setting immediately, turn on special utility relay
2513. The mode is switched to the next available mode.
➮ Refer to "Screen change function" on page 1-114.
14
Device mode
Visual KV
This mode corresponds to the device mode of the Access Window of the KV unit.
Series
The device mode allows you to display all values of devices: data memory (DM),
temporary memory (TM), timers (T), counters (C), high-speed counters (CTH), high-
speed counter comparators (CTC), trimmers (TRM), and relays (RLY). (T, C, CTH,
and CTC values can be displayed only when they are described in the ladder
program).
Moreover, you can change the values of all devices except for TRM and the relays
set to 8-bit ON/OFF indication.
Data memory (Initial screen)
Relay
Temporary data memory
Trimmer
(value cannot
Timer
be changed)
• In the hexadecimal notation, "$" is prefixed to the numeric value and the zero-
suppression function is disabled.
• In the device mode, contact comments are not displayed but only device numbers
are displayed.
• Devices of consecutive numbers are displayed on four lines.
• In the device mode, the attributes specified in DM1680 through DM1699 are not
reflected.
• CTC and CTH can be changed to a 24-bit display with the MEMSW instruction. In
this case, other devices remain at a 16-bit display.
• To change from the operator mode to the device mode, special utility relay 2508
must be turned on. (The initial setting disables the change.)
• When changing to the current mode (screen) is disabled during operation, the
setting becomes effective after the current mode (screen) is changed to another
mode (screen). To activate the setting immediately, turn on special utility relay
Visual KV
2513. The mode is switched to the operator mode.
Series
➮ Refer to "Screen change function" on page 1-114.
• When high-speed counter is specified, CTH0, CTC0, and CTC1, or CTH1, CTC2,
and CTC3 are displayed on one screen.
• If a timer, counter, or high-speed counter that is not described in a ladder
program is specified, "- - - - -" is displayed.
Canceled when is
pressed or when no key
is pressed for 25 seconds
x
1.5 sec.
*1 *2
To select devices, you can scroll the screen faster by holding down the ▲ or ▼ key
(turbo function). However, in the turbo mode the screen does not show values but
shows only device numbers.
To lock the display screen, press the and ▲ (▼) keys simultaneously for three
seconds in the normal mode to set/reset the key-lock function.
Visual KV
Series
Canceled when is pressed
or when no key is pressed for
25 seconds
*3
x
1.5
sec.
*2
*1. Change the page to select the device and enter the change mode. (A device
number flashes.)
*2. The value section of the device flashes. (Zero suppression is canceled. The
leftmost digit flashes.)
*3. Confirm the changed value.
System mode
Visual KV
This mode corresponds to the system mode of the Access Window of the KV unit.
Series
The system mode allows you to change the KV unit between RUN and PROGRAM
modes with the KV-D20.
x 1.5 sec.
• To change from the operator mode to the system mode, special utility relay 2509
must be turned on. (The initial setting disables the change.)
• When changing the current mode (screen) is disabled during operation, the
setting becomes effective after the current mode (screen) is changed to another
mode (screen). To activate the setting immediately, turn on special utility relay
2513. The mode is switched to the operator mode.
➮ Refer to "Screen change function" on page 1-114.
Visual KV
This section describes basic ladder programs for actual use of the KV-D20.
Series
Before creating ladder programs
Notes on contact comment display
When entering a contact comment, note the following:
Device attribute display setting [DM1680 (first line) through DM1699 (20th line)]
The following 10 attributes can be specified. ➮ Refer to page 1-122 for details.
$■ ■ ■ ■ No. Attributes
Set value and function
0 (OFF) * 1 (ON)
Visual KV
Enable/disable changing
Bit 14 Enable Disable
preset values
Enable/disable changing
Bit 15 Enable Disable
(current) values
* 0 is initial setting.
4 1 2 3 4
2002 #21000 $1050
DW DW
DM1580 DM1680
PRODUCED: 100PACKS
F1 F2 F3 F4
Description
• Display the current value of C000 with a comment. The counter preset value is
not displayed.
• To avoid overlapping the character and numeric value, shift the position of the
numeric value by 5 digits to the left.
Comment
Device No. Comment 1
Counter C000 P R OD U C E D : PACKS
Visual KV
Series
F1 F2 F3 F4
Description
Display a decimal point in the third place from the right in DM0000 (display two
digits to the right of the decimal point).
Comment
Device No. Comment 1
Data memory DM0000
PRODUCT A: 123456789
F1 F2 F3 F4 14
Description
Display a two-word number consisting of the low-order 16 bits in DM0100 and the
high-order 16 bits in DM0101 (with a comment).
Comment
Device No. Comment 1
Data memory DM0100 P R OD U C T A :
F1 F2 F3 F4
Description
Display the value of CTH0 as a binary value with a sign.
Example
"#65535" is displayed as "-1".
Comment
Device No. Comment 1
High-speed counter CTH0 CURR ENT POS :
4
F1 F2 F3 F4
Description
Display the value in TM10 in hexadecimal notation ($).
Comment
Device No. Comment 1
Temporary memory TM10
Visual KV
Series
PRESET
F1 F2 F3 F4
Description
• Display the current and preset values of C100 simultaneously. The upper line is
the current value, and the lower line is the preset value.
Comment
Device No. Comment 1
Counter C100
1 2 3 4 1 2 3 4
ACCEPTABLE: DEFECTIVE:
F1 F2 F3 F4 F1 F2 F3 F4
14
Ladder program
2500 2501 #21000 $1000
DW DW
DM1580 DM1680
2500 2501 #21001 $1000
DW DW
DM1580 DM1680
Description
Change the displayed device by pressing customized switches F1 and F2.
Comment
Device No. Comment 1
C000 A C C E P TA B L E
Counter
C001 DE F E C T I VE
2002 $0001
DW
1 2 3 4 DM1676
Visual KV
Series
F1 F2 F3 F4
Sounding a beep
Operator screen Ladder program
0000 2511
1 2 3 4
Beep
F1 F2 F3 F4
4 Description
The KV-D20 produces a beep sound while input 0000 is ON.
1 2 3 4
2501 0501
2502 0600
2503 0603
F1 F2 F3 F4
Description
• Pressing customized switch F1 turns ON output 0500.
• Pressing customized switch F2 turns ON output 0501.
• Pressing customized switch F3 turns ON output 0600.
• Pressing customized switch F4 turns ON output 0603.
1 2 3 4
0001 2505
Visual KV
Series
0002 2506
0003 2507
F1 F2 F3 F4
Description
• Customized lamp 1 illuminates while input 0000 is ON.
• Customized lamp 2 illuminates while input 0001 is ON.
• Customized lamp 3 illuminates while input 0002 is ON.
• Customized lamp 4 illuminates while input 0003 is ON.
F1 F2 F3 F4
Description 14
Display the value in DM0100 without the zero-suppression function.
Comment
Device No. Comment 1
Data memory DM0100
TARGET:
PRODUCED:
OK RATIO:
F1 F2 F3 F4
Description
Among the displayed values of DM0100, DM0101, and DM0102, enable the change
in values only for DM0100.
Comment
Device No. Comment 1
DM0000 TARGE T :
Data memory DM0001 PRODUCED :
DM0002 OK RAT I O : %
DW DW T001
NOW RUNNING DM1580 DM1680
Series
F1 F2 F3 F4
Description
• The comment display flashes (disappears for 1 second and appears for 0.5
seconds) while input 0000 is ON.
• The status of the device is not displayed. Only the comment is displayed.
Comment
Device No. Comment 1
01000 * * * N OW R U N N I N G * * *
Relay ~
01001
4
F1 F2 F3 F4
Description
• Display the value in DM0700 with a comment.
• The comment is displayed at the right end only.
Comment
Device No. Comment 1
Data memory DM0700 ~ mm
Visual KV
Series
Example of displaying user messages
Display user messages.
The user messages are displayed at the rising edge of inputs 0000 through 0002.
A beep sounds for three seconds only when input 0002 turns ON.
The user message is canceled by pressing the key of the KV-D20.
Operator screen
When input 0000 turns ON When input 0001 turns ON
1 2 3 4 1 2 3 4
5 MORE PRODUCTS
OUT OF MATERIAL GO TO PRODUCT B
F1 F2 F3 F4 F1 F2 F3 F4
1 2 3 4
TARGET FIGURE
REACHED
Beep 14
F1 F2 F3 F4
Ladder program
DM1950
Message User
0004 Display a user message (contact comment for timer 010). No. message
display
0001 1001 1001 #20010 2515
0005 DIFU DW SET 2
DM1950
Display a user message (contact comment for DM0100) Message User
0006 No. message
and produce a beep sound. display
0002 1002 1002 2511 #30100 2515
0007 DIFU SET DW SET 3
DM1950 User
Beep Message message
sounds. No. display
2511 #00030 T000 2511
0008 T000 RES 4
Beep Beep
sounds. sounds.
END
0009
ENDH
0010
1. At the rising edge of input 0000, specify "#40000 (input relay 0000)" in the user
message DM (DM1950). Turn on (SET) special utility relay 2515 to display the
user message.
2. At the rising edge of input 0001, specify "#20010 (timer T010)" in the user
message DM (DM1950). Turn on (SET) special utility relay 2515 to display the
user message.
3. At the rising edge of input 0002, specify "#30100 (DM0100)" in the user message
DM (DM1950). Turn on (SET) special utility relay 2515 to display the user
4 message.
At the same time, turn on (SET) special utility relay 2511 to produce a beep
sound for three seconds.
Comment
Device No. Comment 1
Relay 0000 ~ C AU T I ON ! ! OU T OF MAT E R I AL
Timer T010 ~5 MO R E P R O D U C T S G O TO P R OD U C T B
Visual KV
Series
Operator screen
1 2 3 4
*MILK CARAMEL NO 1*
PRODUCED: 470PACKS
DEFECTIVE: 12PACKS
ABCDE CO.
F1 F2 F3 F4
Ladder program
2002 $0001
0005 DW 1
Always ON DM1676
0006 Counter
14
0000 #65535
0007 C000
0001
0002 #00010
0008 C001
0003
0010 Use the comments for internal utility relays 10000 and 10001 as titles.
0012 Display the current values of the counters and disable changes.
ENDH
0015
1. Turn on Bit 0 of DM1676 ($0001) to allow the screen to be changed only to the
operator screen.
2. Assign relay 10000 to the device displayed on the first line (specify "#50000" in
DM1580) and set the attributes so that only the comment is displayed (Bit 8: ON)
(DM1680 = $0100).
Assign relay 10001 to the device displayed on the fourth line (specify "#50001" in
DM1583) and set the attributes so that only the comment is displayed (Bit 8: ON).
3. Assign counter C000 to the device displayed on the second line (specify
"#21000" in DM1581). Set the attributes so that the number of spaces at the right
end is "5" ($0050), the counter preset value is hidden (Bit 12: ON), changing the
preset value is disabled (Bit 14:ON), and changing the value is disabled (Bit 15:
ON) (DM1681 = $D050).
Assign counter C001 to the device displayed on the third line (specify "#21001" in
Visual KV
DM1582). Set the attributes so that the number of spaces at the right end is "5"
Series
($0050), counter preset values are hidden (Bit 12: ON), changing the preset
value is disabled (Bit 14:ON), and changing the value is disabled (Bit 15: ON)
(DM1682 = $D050).
Comment
Device No. Comment 1
10000 * M I L K C A R AM E L NO 1**
Relay
10001 **** ABCDE CO. *****
C000 P R ODU C E D : PACKS
Counter
C001 DEFECTI VE: P ACKS
When an error relating to the simplified positioning control function occurs, the KV-
D20 displays the message according to the error code and produces a beep sound.
The user message display is canceled by pressing the key of the KV-D20.
The customized switches are assigned to the following functions:
4 F1: Starts positioning.
F2: Slow-down stop
F3: Emergency stop
F4: Not used
The customized lamps are assigned to the following functions:
LED1: Illuminates during positioning.
LED2: Not used
LED3: Not used
LED4: Not used
➮ Refer to Chapter 5 for details about positioning control on page 3-253.
Ladder program
0002 Use the KV-D20 to set the parameters for the simplified positioning control of the KV
basic unit.
Visual KV
Series
0003 Enable changing the screen between the operator, switch comment, and lamp comment
screens.
0004 Initial setting
2002 $0061
0005 DW 1
DM1676
Always ON
2500 2310
0008 2
Start
2501 2308
0010 3
Slow-down
stop
0011 Emergency stop
2502 2309
0012 RES 4
Operating Operating
2309 2504
0015 5
Always ON 14
0016 Preset value display
Set the display of the contents of the data memory for the positioning
0017
control.
2002 #31480 $0030 #31481 $0030 #31482 $0030 #31484 $0430
0018 DW DW DW DW DW DW DW DW 6
DM1580 DM1680 DM1581 DM1681 DM1582 DM1682 DM1583 DM1683
2002 DM1486 #00000 2010 1100 1100 #24000 DM1950 2515 #00000
0021 LDA CMP DIFU ADD STA SET DW 7
Always Error DM1486
ON code ≠ User User Error code
message message
0022 Produce a beep sound when a user message is displayed. display display
2515 2511
0023 8
User Beep
message
display
END
0024
ENDH
0025
DM1581), and set the attributes so that the number of spaces at the right end is
Series
Comment
Device No. Comment 1
2500 START
2501 S L OWDOWN S T O P
Relay
2502 EMERGENCY STOP
2504 P OS I T I ON I NG
DM1480 S TA R TU P SPD: Hz
DM1481 R UN S P D : Hz
Data memory
DM1482 ACC E L / D ECE L SPD: ms
DM1484
4 TM11
MOV E :
~START
F R EQ U E N C Y
PLS
SET ERROR ! !
~RUN
TM12 F R EQ U E N C Y SET E R ROR ! !
~SE T
TM13 FR EQU E NCY OUT OF R ANGE ! !
Temporary ~S TAR T >RUN
TM14 FR EQUENCY E R ROR ! !
memory ~ACC E L / D ECE L T I ME
TM15 O U T O F R AN G E ! !
~S Y S T E M E R R O R
TM16
~A C C E L / D E C E L
TM17 T I ME PULSE SET ERR OR ! !
Visual KV
Series
The customized switches are assigned to the following functions:
F1: Starts operation.
F2: Finishes operation.
F3: Frequency (Hz) measurement
F4: Rotation (rpm) measurement
The customized lamps are assigned to the following functions:
LED1: Illuminates during operation.
LED2: Illuminates during frequency (Hz) measurement.
LED3: Illuminates during rotation (rpm) measurement.
LED4: Not used
➮ Refer to "4.5.3. Frequency Counter Function" on page 3-231 for details.
Ladder program
0001 Frequency counter
0002
Use the KV-D20 to set the parameters for the frequency counter of the KV
basic unit and to display the measured frequency.
Enable changing the screen between the operator, switch comment, and lamp
Visual KV
0003
comment screens.
Series
2002 HSP
0006 0004 2
Always ON
2501 2305
0011 RES 4
Frequency
counter
0012 Change units (Hz). operation
2502 1000
0013 RES 5
Unit change
0014 Change units (rpm).
2503 1000
0015 SET 6
Unit change
0016 Customized lamp setting
0024 Set the display of the contents of the data memory for the frequency counter.
2002 #31404 $0030 #30000 $0030
0025 DW DW DW DW 10
Always ON DM1581 DM1681 DM1582 DM1682
0026 Change the displayed values when the units are changed.
ENDH
0034
Visual KV
4. The measurement stops when customized switch F2 is pressed.
Series
5. The frequency (Hz) measurement is set when customized switch F3 is pressed.
6. The rotation (rpm) measurement is set when customized switch F4 is pressed.
7. Customized lamp 1 illuminates during frequency counter operation.
8. Customized lamp 2 illuminates during frequency (Hz) measurement.
9. Customized lamp 3 illuminates during rotation (rpm) measurement.
10. Assign DM1404 to the device displayed on the second line (specify "#31404" in
DM1581), and set the attributes so that the number of spaces at the right end is
"3" ($0030) (DM1681 = $0030).
Assign DM0000 to the device displayed on the third line (specify "#30000" in
DM1582), and set the attributes so that the number of spaces at the right end is
"3" ($0030) (DM1682 = $0030).
11. During frequency (Hz) measurement (relay 1000 is turned off), assign TM30 to
the device displayed on the first line (specify "#24030" in DM1580), and set the
attributes so that only the comment is displayed (Bit 8: ON) (DM1680 = $0100).
Assign DM1405 to the device displayed on the fourth line (specify "#31405" in
DM1583), and set the attributes so that the number of spaces at the right end is
"3" ($0030) and changing the value is disabled (Bit 15: ON) (DM1683 = $8030).
12. During rotation (rpm) measurement (relay 1000 is turned on), assign TM31 to
the device displayed on the first line (specify "#24031" in DM1580), and set the
attributes so that only the comment is displayed (Bit 8: ON) (DM1680 = $0100). 14
Assign DM0001 to the device displayed on the fourth line (specify "#30001" in
DM1583), and set the attributes so that the number of spaces at the right end is
"3" ($0030) and changing the value is disabled (Bit 15: ON) (DM1683 = $8030).
13. The number of rotations (rpm) is obtained during rotation (rpm) measurement
(when relay 1000 is turned on) using the following equation.
No. of rotations (rpm) = Measured frequency (Hz) x 60 ÷ No. of pulses for 1 rotation
Comment
2502 UN I T CHANGE ( H z )
2504 ME ASUR I N G
2505 UN I T (Hz )
2506 UN I T ( r pm )
DM0000 PUL SE F OR 1 R O T A T I ON : P L S
DM0001 ROTAT I ON r pm
Data memory
DM1404 ME ASUR E M EN T CYCLE : ms
DM1405 F R EQUENC Y : Hz
Operator screen
When the high-speed counter is stopped When the high-speed counter is in operation
1 2 3 4
1 2 3 4
HIGH-SPEED COUNTER:ON
CURRENT: CURRENT:
PRESET0: PRESET0:
PRESET1: PRESET1:
F1 F2 F3 F4 F1 F2 F3 F4
4
Ladder program
0002 Display the current value of high-speed counter 0 with two words.
0003 Enable changing the screen between the operator, switch comment, and lamp comment
screens.
0004 Initial setting
2002 $0061
0005 DW 1
Always ON DM1676
MEMSW
0007 $0800 2
2008 2113 2114 CTH0
0008 SET RES RES 3
ON for 1 scan
1000 CTH0
0009 0004
#65535 #65535 2504
0010 CTC0 CTC1 4
1000 SFT
0012 D
1000
2500
0013 CLK 5
Visual KV
1000
2003
Series
0014 RES
Always OFF
0015 Reset
CTC0 2505
0018 7
CTC1 2506
0019 8
0021 Use the comments of internal utility relays 15000 and 15001 as titles.
1. Turn on Bits 0, 5, and 6 of DM1676 ($0061) to enable changing the screen between the
operator, switch comment, and lamp comment screens.
2. With the MEMSW instruction, turn on SW3-3 of the memory switch ($0800) to set the 24-
bit high-speed counter.
3. Set the high-speed counter in double multiplication mode and reset high-speed counter
0.
4. High-speed counter 0 starts when relay 1000 is turned on. Customized lamp 1 illuminates
while the high-speed counter is operating.
5. The ON/OFF status of relay 1000 is switched every time customized switch F1 is
pressed. (Alternating circuit)
6. The current value of high-speed counter 0 and the outputs of comparators 0 and 1 are
reset when customized switch F2 is pressed.
7. Customized lamp 2 illuminates when comparator 0 turns on.
8. Customized lamp 3 illuminates when comparator 1 turns on.
9. A flicker circuit is used to flash the titles.
When relay 1000 is turned on, assign relay 15000 to the device displayed on the first line
(specify "#55000" in DM1580), and set the attributes so that only the comment is dis-
played (Bit 8: ON) (DM1680 = $0100). Continue this operation for 500 ms.
After 500 ms, assign relay 15001 to the device displayed on the first line (specify
"#55001" in DM1580), and set the attributes so that only the comment is displayed (Bit 8:
ON) (DM1680 = $0100). Continue this operation for 1 second.
Repeat the operations above to flash the title.
10. Assign CTH0 to the device displayed on the second line (specify "#23000" in DM1581).
Set the attributes so that the decimal point position is "2" ($0002), the number of spaces
at the right end is "2" ($0020), a sign is used (Bit 9: ON), and changing the value is
disabled (Bit 15: ON) (DM1681 = $8222).
Assign CTC0 to the device displayed on the third line (specify "#22000" in DM1582). Set
the attributes so that the decimal point position is "2" ($0002), the number of spaces at
the right end is "2" ($0020), and a sign is used (Bit 9: ON) (DM1682 = $0222).
Assign CTC1 to the device displayed on the fourth line (specify "#22001" in DM1583).
Set the attributes so that the decimal point position is "2" ($0002), the number of spaces
at the right end is "2" ($0020), and a sign is used (Bit 9: ON) (DM1683 = $0222).
Visual KV
Series
Comment
Device No. Comment 1
2500 C TH 0 ON/ OF F
2501 C TC0 SE T
2502 C TC1 SE T
DM1918 P R E SE T1: mm
Operator screen
Page 1 Page 2
OUTPUT1 FROM: 0050.0°
TO: 0080.0°
1 2 3 4
OUTPUT2 FROM: 0053.0°
TO:0072.0°
INDEX TABLE NO1
CURRENT ANGLE: 118.0°
OUTPUT0 FROM: 0030.0°
TO: 0071.0° Page 3
OUTPUT3 FROM: 0015.0°
F1 F2 F3 F4 TO: 0100.0°
OUTPUT4 FROM: 0047.0°
TO: 0090.0°
Page 5 Page 4
OUTPUT7 FROM: 0270.0° OUTPUT5 FROM: 0120.0°
TO: 0333.0° TO: 0170.0°
OUTPUT8 FROM: 0190.0° OUTPUT6 FROM: 0250.0°
TO: 0345.0° TO: 0314.0°
Ladder program
0001 Initial setting of cam switch function
0002 Output relays for cam switch function: 0500 through 0615
Visual KV
Series
2008 #00500 DM1400 #00720 DM1402
0004 LDA STA LDA STA 1
ON for Initial No. No. of pulses for
1 scan of output 1 encoder rotation
relays
2002 HSP
0005 0004
Always
ON HSP
0006 0006 2
HSP
0007 0008
2315 2504
0015 6
0016
2715 2505
7
14
0500 2506
0017 8
0501 2507
0018 9
ENDH
0031
1. Set the initial number of relays for the cam switch function (0500) in DM1400,
and "No. of 1 encoder rotation x 2 (360 x 2 = 720)" in DM1402.
2. Set the input time constant of input 0004 to 10 µs.
Set the input time constant of input 0006 to 10 µs.
Set the input time constant of input 0008 to 10 µs.
Visual KV
Assign DM0000 to the device displayed on the second line (specify "#30000" in
DM1581), and set the attributes so that the decimal point position is "1" ($0001)
4 and the number of spaces at the right end is "4" ($0040) (DM1681 = $0041).
12. Assign DM1406 to the device displayed on the third line (specify "#31406" in
DM1582), and set the attributes so that the decimal point position is "1" ($0001),
the number of spaces at the right end is "4" ($0040), and the zero-suppression
function is disabled (Bit 13: ON) (DM1682 = $2041).
Assign DM1407 to the device displayed on the fourth line (specify "#31407" in
DM1583), and set the attributes so that the decimal point position is "1" ($0001),
the number of spaces at the right end is "4" ($0040), and the zero-suppression
function is disabled (Bit 13: ON) (DM1683 = $2041).
:
Repeat the setting above through to the 20th line.
:
Assign DM1423 to the device displayed on the 20th line (specify "#31423" in
DM1599), and set the attributes so that the decimal point position is "1" ($0001),
the number of spaces at the right end is "4" ($0040), and the zero-suppression
function is disabled (Bit 13: ON) (DM1699 = $2041).
Comment
Device No. Comment
2500 C AM SW S TAR T
2501 C AM SW S TOP
2504 C AM SW E R R O R
Relay
Visual KV
2505 C AM SW O PE RAT I NG
Series
2506 C AM SW OUT0
2507 C AM SW OUT1
DM1406 OUTPUT0 F R OM : °
~
DM1407 TO : °
DM1408 OUTPUT1 F R OM : °
~
DM1409 TO : °
DM1410 OUTPUT2 F R OM : °
~
DM1411 TO : °
DM1412 OUTPUT3 F R OM : °
~
DM1413 TO : °
DM1416 OUTPUT5 F R OM : °
~
DM1417 TO : °
DM1418 OUTPUT6 F R OM : °
~
DM1419 TO : °
DM1420 OUTPUT7 F R OM : °
~
DM1421 TO : °
DM1422 OUTPUT8 F R OM : °
~
DM1423 TO : °
14
4.4 Appendix
The appendix includes a troubleshooting section, available character list, and
comment draft sheet.
Visual KV
Series
4.4.1 Troubleshooting
The troubleshooting section describes the types, causes, and remedies of the
problems that may arise in each mode or screen.
General operation
Visual KV
the scan time of the KV
scan time of the KV unit becomes faster.
Series
unit.
Changing to the desired Check the setting of special utility relays
The mode screen mode (screen) is disabled.
2508 and 2509, and DM1676.
cannot be
The key-lock function is
changed. Cancel the key-lock function.
activated.
A certain mode
Changing to the desired Check the setting of special utility relays
(screen) is not
mode (screen) is disabled. 2508 and 2509, and DM1676.
displayed.
Values are entered in
The screen that Do not use DM1673 to DM1675.
DM1673 to DM1675.
appears at startup
The last screen was set to The decimal/hexadecimal display setting
is different from
the hexadecimal setting in in the device mode is not retained after
the one that
the device mode. the power is off.
appeared before
the KV-D20 was Changing the display Check the setting of special utility relays
turned off. before the KV-D20 is 2508 and 2509, and DM1676 for display
turned off is disabled. change setting.
Pressing the
setting operation The key-lock function is
Cancel the key-lock function.
switches is not activated.
accepted.
The user message can be
Press the key.
reset only with the key.
The user message
Change the ladder program so that
cannot be reset. Special utility relay 2515 is
special utility relay 2515 is turned on by
set to be always on.
the DIFU instruction.
The relay assignment in
Check special utility relays 2500, 2501,
14
Customized the ladder program is
2502, and 2503.
switches F1 to F4 incorrect.
cannot be used. The KV unit is not
Check the KV unit.
operating.
The relay assignment in
Customized lights Check special utility relays 2504, 2505,
the ladder program is
do not illuminate. 2506, and 2507.
incorrect.
The relay assignment in
the ladder program is Check special utility relay 2511.
A beep does not incorrect.
sound. The ON time for special
Extend the ON time for special utility
utility relay 2511 is too
relay 2511.
short.
Changing the
current screen is The setting is not effective Change the screen. Or, turn on special
disabled, but the until the screen is utility relay 2513 after disabling the
screen is still changed. change.
displayed.
Operator mode
Problem Cause Remedy
Check the contact comment. The
The comment and numeric
Part of a contact numeric value has priority when
value overlap.
comment is not overlapped.
Visual KV
than 20 characters.
Unfamiliar Full-width characters are
Use only half-width characters (katakana
characters are used for the contact
or alphanumeric characters and spaces).
displayed. comment.
Set automatic setting by selecting
[Communication] and [Comment transfer
setting] with the LADDER BUILDER for
KV.
The contact comment is transferred to
The comment transfer to
the KV unit with the LADDER BUILDER
Contact comment the KV unit is not specified
for KV Ver. 1.0x or the KV IncrediWare
is not displayed. in the LADDER BUILDER
(DOS). Or, the contact comment is
for KV.
compressed with the LADDER BUILDER
for KV Ver. 1.5x.
Transfer the contact comment with the
LADDER BUILDER for KV Ver. 1.5x
without compressing it.
The KV-D20 does not recognize the
Spaces cannot be
spaces to the left of a comment unless
entered to the left “~” is not entered.
“~” is entered. Enter “~” at the left end of
of a comment.
the comment.
“~” in a comment
The KV-D20 recognizes
is displayed as Check the contact comment.
“~” in a comment as “➞”.
“➞”.
4 Operator screen
Problem Cause Remedy
Devices are not specified
for four or more Lines are shown as blank when no
consecutive DM (between device is specified for the DM. Specify
DM1580 and DM1599) in devices for consecutive DM.
Nothing appears
the device display setting.
on the screen.
The display attributes are
set to display comments Check the display attributes (DM1680 to
only, but the devices have DM1699).
no comments.
Unspecified
Some unexpected value is Clear all data in DM1580 to 1599 once
device is
stored in DM1580 to 1599. and set devices again.
displayed.
Devices are
Some unexpected value is Clear all data in DM1680 to 1699 once
displayed in
stored in DM1680 to 1699. and set devices again.
unfamiliar form.
CTC and CTH are
not displayed with CTC and CTH are
32 bits. Or, they automatically switched
are displayed with between 16 bits and 24 Check the ladder program.
24 bits without bits by the MEMSW
any attribute instruction.
settings.
The zero-suppression
Part of the
function is canceled in the
comment is not
numeric value change
displayed in Check the ladder program.
mode. The numeric value
numeric value
has priority when
change mode.
overlapped.
Visual KV
Series
com m ent.
The number of
displayed spaces The num ber of spaces is
is not as specified autom atically adjusted to
in the display Check the ladder program .
display all digits without
device attribute zero suppression.
setting.
Devices do not
flash in the Changing all devices
Check the attributes of the displayed
numeric value displayed on the screen
devices.
change mode. is disabled.
Some devices do
not flash in the Changing the devices is Check the attributes of the displayed
numeric value disabled. devices.
change mode.
The relay values
shown in CH
(8-bit ON/OFF Changing the CH display Change the values after switching
indication) display is not available. them into 1-bit (ON/OFF) display.
cannot be
changed.
Device mode
Problem Cause Remedy
The trimmer value
or the relay
values shown in Change the trim m er value with the
C h a n g i n g t h e t ri m m e r
CH (8-bit ON/OFF value and the CH display access window. Change the relay
indication) display is not available. values after switching them into 1-bit
cannot be (ON/OFF) display.
changed.
Contact The device m ode does
comments are not not show contact Change the m ode to the operator
displayed. m ode.
com m ents.
Although devices
are specified in
DM1580 and later The device m ode can Use the operator m ode to specify
data memory, display only four lines of
devices for the desired DM .
they are not consecutive devices.
displayed.
System mode
Problem Cause Remedy
Operation cannot There is an error with the
Check the KV unit.
be started. KV unit.
Visual KV
Device No. Comment 1
Series
1 20 32
1 20 32
1 20 32
1 20 32
1 20 32
KV-C32T
KV-C16X
KV-R1A KV-L2
KV-U5 Power KV-U4 Power CPU I/O Serial KV-AN6
Distribution Supply Module KV-300 Distribution KV-C32X KV-B16R Interface Analog I/O
Module Module KV-B16S Module Module
KV-300
KV-10/80
(32KB)
Memory Cards
➮ Refer to "Chapter 6 Handheld Programmer" (p.1-195).
M-3 MEMORY CARD 128K
(128KB)
5.1.2 KV-10/80
Handheld programmer
KV-80R(W)/80T(W) KV-P3E(01) Meomory card M-2
KV-300
KV-10/80
KV-40R(W)/40T(2W) Programming IBM PC/AT
Support or compatibles
Software
KV-H6WE2 (Windows)
KV-H4E (DOS)
KV16R(W)/16T(2W)
C0 C1 C2 C3
V0 V1 V2 V3 C0 C1 C2 C3
V0 V1 V2 V3
KEYENCE KEYENCE
KV - AD4
KV - DA4
POWER
POWER
ANALOG IN
ANALOG OUT
I0 I1 I2 I3
I0 I1 I2 I3
C4 C5 C6 C7
C4 C5 C6 C7
Note 1: When the red overcurrent indicator flashes, special utility relay 2812 of the
KV-300 CPU turns ON.
If the main power supply is overloaded:
POWER indicator (green): ON
Overcurrent indicator (red): Flashing
If the service power supply is short-circuited:
POWER indicator (green): OFF
Overcurrent indicator (red): Flashing
Note 2: Install the KV-U4 in the leftmost position of the system. Install the KV-300
CPU immediately to the right of the KV-U4.
Note 3: If the overcurrent indicator flashes, turn OFF the power switch once for at
least one minute and take appropriate countermeasures.
KV-300
KV-10/80
2. Power input terminal
(M3 screws) for 24 VDC
A B
KV-10/80
0 0
1 1
2 2
3 3
4 4 24V 5V
5 5
INPUT VOLT
3. 32 I/O indicators 6
7
6
7
8 8
(red) 9 9
10 10
11 11
12 12
13 13
14 14
4. Analog timers 0, 1 15 15
7. I/O
5. Modular connector connector
(20-pin)
Note: Install the KV-300 CPU immediately to the right of the KV-U4/U5.
KV-300
KV-10/80
24V 5V 0ms 1ms 10ms
2. 34-pin input
connector
KV-C32X KV-C16X
Includes OP-23139 34-pin connector.
2. Output
connector
(34-pin)
KV-300
KV-10/80
3. Communication cable terminal block (M3)
Use only the specified cable when connecting to terminal modules. Use of any
CAUTION other cable may cause communication errors.
ON 5 6
4 D EC
T
'T
2 8
'T
CT
1 0 DON 9
Left side Left side
view ADDRESS RESPONSE ADDRESS ERROR MODE view
Note: Use ADDRESS setting switches 0 to 4 for I/O terminal input modules and
switches 5 to 9 for I/O terminal output modules.
An incorrect ADDRESS setting will cause a communication error.
Use only the specified cable when connecting to terminal modules. Use of
CAUTION
any other cable may cause communication errors.
KV-300
KV-B16S 16 outputs (triac)
KV-10/80
KV-C32T 32 outputs (transistor)
KV-R1A I/O distribution module Connects I/O terminal modules to CPU.
➮ See CAUTION.
KV-R16X I/O terminal module/input 16 inputs ➮ See CAUTION.
KV-R8X 8 inputs
KV-R16T I/O terminal module/output 16 outputs (transistor) ➮ See CAUTION.
KV-R8T 8 outputs (transistor)
KV-R16R 16 outputs (relay); replaceable relays
KV-R8R 8 outputs (relay); replaceable relays
KV-AN6 Analog I/O module Analog inputs (4 ch), analog outputs (2 ch)
KV-L2 Serial Interface module One RS-232C port
One RS-232C/RS-422A port (switchable)
KV-P3E(01) Handheld Programmer Models sold after Oct. 21, 1993, are compatible
with the KV-300 CPU.
Use only the specified cable when connecting to terminal modules. Use of
CAUTION any other cable may cause communication errors.
3 1/2”
KV-P3E(01)
Memory Card M-2 Memory Card M-3
(32 KB) (128 KB)
OP-21734 OP-22186
Connection cable
KV-40R(W)/40T(2W) KV-8ER(W)/8ET(2W)
8
4 9
5 10
6 6
7
KV-300
KV-10/80
7
2 4 input terminals
3 6 24 input terminals
1. Input terminals
Rated input signals for these terminals are 24 VDC.
2. Output terminals
Direct clock pulses as well as ordinary pulses are output through relays 0500 and
0501.
4. POWER indicator
Lights when the power is ON.
5. RUN/ERROR indicator
15
Lights when the unit is in operation.
Flashes when error occurs during operation.
6. Input indicator
Lights when the input signal is ON.
7. Output indicator
Lights when the output signal is ON.
To avoid damage to the trimmer, do not use excessive force to turn it and
CAUTION do not change the setting or data too frequently.
Use only the specified cable when connecting to terminal modules. Use of any
CAUTION other cable may cause communication errors.
• Maintain a 30 mm gap above and below the module so that a finger can be
inserted to release the lock lever and remove the module.
b
supply
30
mm
30 mm a
Connection procedure
To connect two modules as shown below:
KV-300
KV-10/80
KV-300 KV-C32X
Bus connector
Connection order
When connecting modules, place the AC power supply module or DC power distri-
bution module (KV-U4/U5) at the leftmost position and connect the KV-300 CPU
immediately to the right of the KV-U4/U5. Connect the other modules to the CPU in
any order desired.*
U5 U4 CPU
KV-300
KV-10/80
End plate
1. Engage the KV-300 with the upper edge of the DIN rail. Pivot the lower portion of
the KV-300 against the DIN rail until a click is heard.
2. Check that the unit is secured to the DIN rail with the clip as shown in A below.
Mount I/O terminal modules to the DIN rail in the same manner.
A B
3. To remove a module, pull out the clip until it appears as shown in B above and
detach the module from the DIN rail.
4. To remount a removed module, push the clip (B) in the direction of the arrow until
it appears as A above, then engage the module with the rail.
1. First, turn the power OFF. Pull open the terminal block cover from the top.
Terminal lock bar
Open
KV-300
KV-10/80
2. The terminal block is secured with a lock bar as shown below.
Terminal lock bar
15
3. Remove the terminal block by pushing the terminal block lock bar to release the
terminal block.
Remove terminal block
Push
Note: Only the KV-B16R/KV-B16S and KV-AN6 have a removable terminal block.
KV-U4
KV-300
KV-10/80
100 to
240 VAC 24 VDC service power supply
±10% (Power supply to external unit)
KV-U5
24 VDC external +
power supply
KV-300
KV-10/80
5 I (High speed counter 1 phase) 0007 4 14
6 I (High speed counter 1 RES) 0009 5 15
L 6 16
7 O (with resistor) 0500
L
7 17 123456
8 O (with resistor) 0501
8 18
9 O (with resistor) 0502 L
9 19
10 O (with resistor) 0503 L
10 20
11 I (Interrupt) 0000
12 I (Interrupt) 0002
13 I (High speed counter 0) 0004
A B
14 I (High speed counter 0 phase) 0006 0 0
1 1
20 O Output COM
Load voltage
(See Notes) Modular connector
15
➮ Refer to page 189 for crimping cables to
connectors.
Modular connector
Pin No. I/O Signal
1 — —
2 — +5 V power supply output
3 I RD
4 — SG
5 O SD
6 — —
Note 1: Connecting the output load voltage with the incorrect polarity may damage
the output terminals built into the KV CPU.
Note 2: The output connectors of pin nos. 7 to 10 have built-in 1.6 kΩ current
limiting resistors. Use these to connect drivers.
KV-C16X/C32X
<KV-C16X> <KV-C32X>
6 23 6 23
KV-10/80
8 I 007 8 I 007
7 24 7 24
9 I 008 9 I 008
8 25 8 25
10 I 009 10 I 009
9 26 9 26
11 I 010 11 I 010
10 27 10 27
12 I 011 12 I 011
11 28 11 28
13 I 012 13 I 012
12 29 14 I 013 12 29
14 I 013
13 30 15 I 014 13 30
15 I 014
14 31 16 I 015 14 31
16 I 015 24 VDC
17 I Input COM 15 32 17 I Input COM 15 32
18 NC 16 33 18 100 16 33
19 NC 24 VDC 17 34 19 101 17 34
20 NC 20 102
21 NC 21 103
22 NC 22 104
23 NC 23 105
24 NC 24 106
1 18 1 18
25 NC 25 107
26 NC 26 108
5 27 NC 27 109
28 NC 28 110
29 NC 34
29 111 34
17 17
30 NC 30 112
31 NC 31 113
32 NC 32 114
33 NC 33 115
34 NC 34 NC
Note 1: Pin nos. 18 to 34 are NC contacts that Note: The limit to simultaneous/continuous ON
are short-circuited internally. These can be used terminals is shown in the graph in Appendix A.2,
as relay terminals. P.1-384, comparing ambient temperature and
Note 2: The number of input terminals that can simultaneous/continuous ON terminals. The
turn ON or remain ON simultaneously must not module may be damaged if the ON rate exceeds
exceed 8 (50%); otherwise, the module may be the recommendations shown in the graph.
damaged.
➮ For instructions on crimping connectors to cables,
refer to page 1-189.
KV-C32T/B16R/B16S
<KV-C32T> <KV-B16R> <KV-B16S>
KV-300
KV-10/80
8 507 507 507
DC or AC
9 508 COM1 power COM1
supply AC
10 509 508 508
11 510 509 509
12 511 510 510
13 512 511 511
14 513 512 512
15 514 513 513
16 515 514 514
Connector Pin
17 COM 515 515
DC assignment
18 600 <KV-C32T> COM2 COM2
AC
19 601
20 602 1 18 ➮ For directions on removing
2 19 the terminal block, refer to
21 603 DC or AC
page 1-181.
3 20 power supply
22 604
23 605 4 21 Terminal block Nos.
24 606 5 22 <KV-B16R/B16S>
25 607 6 23
26 608 7 24 500
27 609 8 25
501
503 15
503
28 610 9 26 504
505
29 611 10 27 506
507
30 612 11 28 COM1
31 613 508
12 29 509
32 614 510
13 30 511
33 615 512
14 31 513
34 COM 514
DC 15 32 151
COM2
16 33
17 34
<KV-C32T> <KV-B16R/B16S>
1 18
17 34
KV-R8X/R16X/R8R/R16R/R8T/R16T
Use only the specified cable when connecting to terminal modules. Use of any
CAUTION other cable may cause communication errors.
KV-R8X/R16X
S+ S- A 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+ – • B A0 B1 A2 B3 A4 B5 A6 B7 A8 B9 A10 B11 A12 B13 A14 B15
KV-300
KV-10/80
+
+
KV-R8R/R16R
S+ S- • 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+ – RUN C0 A1 A2 A3 C4 A5 A6 A7 C8 A9 A10 A11 C12 A13 A14 A15 •
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
5
L L L L L L L L L L L L L L L L
~ ~ ~ ~
KV-R8T/R16T
S+ S- – 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+ – RUN + +0 +1 +2 +3 +4 +5 +6 +7 +8 +9 +10 +11 +12 +13 +14 +15
+ L L L L L L L L
L L L L L L L L
KV-300
KV-10/80
Connection patterns
Connections and branching between remote I/O terminal modules can be arranged
as desired; however, the total length of the wiring must not exceed that specified
above.
➮ Refer to page 1-188 for power distribution lines.
KV-R1A
1 2 3 5
R16/R8
1
R16/R8 R16/R8 R16/R8
2 3
[Total length of wiring = (1) + (2)+ (3) + (4) + (5) + (6) + (7) + (8) + (9)]
• Use only the specified cable when connecting to terminal modules. Use of
CAUTION any other cable may cause communication errors.
• The cable can be selected from the three types shown above.
However, use only one type in a system. Mixing more than one type may
cause a malfunction.
KV-R1A
R16/R8 R16/R8
KV-300
KV-10/80
Unconnected terminals
b) Do not create loops.
KV-R1A
R16/R8 R16/R8
R16/R8
Power distribution
a) Distributing power to each module from individual power supplies (A common
power supply is not required.)
KV-R1A
Communication cable
+ – Communication cable
+S – S +S – S + S– S
5 + –
R16/R8
+ –
R16/R8
+ –
R16/R8
+S – S +S –S +S – S
R16/R8 R16/R8 R16/R8
+ – + – + –
DC power
supply
Note: The long communication cable used in the above power distribution pattern is
subject to voltage drop. In such a case, use a cable of sufficient thickness.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
KV-300
KV-10/80
(The above figure represents the pin assignment of the
connector viewed from the left.)
Handle
Pressure punch
Contact removal pin
Crimping unit
Guide
■ Applicable cables
Specifications
Cable size Sheath outer diameter
15
AWG 22 to 24 (stranded) Cross-section: 0.2–0.3 mm2 1.1 –1.5 mm dia.
Contact removal
To remove a contact from the connector, align the contact with the arrow mark on
the crimping tool. Pull the cable while pushing the contact against the tool. The
contact will remain in the contact holder.
Pull the cable while pushing the contact against the crimping tool.
Cable
Cut here.
Crimping grooves
Cover
Guide
3. Insert the cable directly to the end along the crimping slot.
Crimping punch
KV-300
KV-10/80
Cover
Guide
Cable Cable
4. Grip the handle until the contact clamp fully encircles the cable.
5. Gently pull the cable and remove the crimped contact from the contact holder.
Insert it into a housing containing no contact.
• A flat cable can be used, as the connector conforms to the MIL Standard.
(CPU)
KV-U4 KV-300 KV-R1 KV-C16X KV-C32X KV-B16R
KV-300
KV-10/80
KV-300 [Selecting module numbers to be indicated.]
Press and hold the SELECT button.
→
SELECT
indicator(green)
The indicator assigned to the selected module Note1
number lights while pressing
→
SELECT
SELECT
RUN/ button Release the SELECT button.
ERROR
SELECT
→
A B
0 0 The ON/OFF information on I/Os of the selected Note2 15
1 1
2 2 module number is displayed. The SELECT indicator
3 3 of the selected module number flashes.
4 4 (The SELECT indicator of the KV-300 CPU lights.)
5 5
6 6
7 7 Every time the SELECT button is pressed, the selected module number is
8 8 shifted to the right module After the rightmost module is selected, the next
9 9 module to be selected comes to the KV-300.
10 10
11 11
12 12 CPU Module No.7 Module No.8 Last module
13 13 no. connected
14 14
15 15
Base units
KV-80R(W)
KV-80T(W)
KV-40R(W)
KV-40T(2W)
KV-300
KV-10/80
KV-24/16/10
Expansion units KV-16EX(W), 16EYR(W)/16EYT(2W), KV-8EX(W),
8EYR(W)/8EYT(2W)
Base units
KV-24R(W)
KV-24T(2W)
KV-16R(W)
KV-16T(2W)
KV-10R(W)
KV-10T(2W)
Use a finger
ON
OFF
KV-300
KV-10/80
1 2
• Do not set switches 1 and 2 to OFF on the KV-40. (Input relays 100 to 115 and
output relay 600 to 615 cannot be assigned to the KV-40.)
■ Connection to KV-80
Switch Expansion unit I/O relay No.
KV-8ER(W)/T(2W) KV-8EX(W) KV-8EYR(W)/T(2W) KV-16EX(W) KV-16EYR(W)/T(2W) 15
1 2
Input Output Input Output Input Output Input Output Input Output
OFF OFF – – – – – –
300 700 300 700 300 700
ON OFF to 303 to 703 to 307 to 707 to 315 to 715
400 800 400 800 400 800
OFF ON to 403 to 803 to 407 to 807 to 415 to 815
– 900 – 900 – 900
ON ON to 903 to 907 to 915
• Do not set switches 1 and 2 to OFF on the KV-80. (A maximum of 2 input only
expansion units can be connected. When three input units are connected, input
relays of the unit with switches 1 and 2 ON cannot be used.)
Locations
Do not install your PLC in the following places:
CAUTION • Places directly exposed to sunlight
• Places where the temperature drops below 0°C (32°F) or exceeds 50°C (122°F)
• Places where the humidity drops below 35%RH or exceeds 85%RH
• Places where condensation occurs due to sudden temperature drop
KV-300
Accessibility
Isolate the PLC as far as possible from high voltage equipment and drive equipment
in order to ensure safe and easy access for adjustment and maintenance.
Wiring
M3.0 screws are employed from the terminals.
Use crimp terminals of the following types. (units: mm)
2
3
LD AND OR OUT
7 8 9 A FUN
LDB ANB ORB OUB 4
4 5 6 B
SET ANL ORL MPS
1 2 3 C
RES W-ON W-UE MRD 5
0 F E D
DW W-OFF W-DE MPP
Li Lo ch
TMR END ENDH ITVL
6
(T) DM TM #TM
CTR
CTC CTH @
(C) #,$ ON
❋
OFF
6 8
1. LCD
Is back-lit and displays program contents and information such as error mes-
sages.
Example
RUN mode
RUN.....
PROGRAM mode
See the following chapters for more information on the contents of these dis-
plays.
3. Mode switch
Switches the operation mode of the KV PLC and the handheld programmer.
• RUN mode
This mode is used to load the program stored in the handheld programmer to
the KV PLC to allow operation. In this mode, statuses and data can be moni-
tored, data changed, and OFFLINE EDITOR used during operation of the
PLC.
• PROGRAM mode
This mode is used for creating or changing user programs on the handheld
programmer.
4. Operation keys
• The KV-P3E(01) offers two types of beep. One short beep indicates correct
operation has been made whereas several beeps are the warning sign that the
operation just performed is incorrect.
• Each operation key is designed for use with other keys for efficient operation and
programming. Refer to the later description for details of key functions and
operations.
5. INSTRUCTION/NUMERIC keys
Enter instruction or number.
Example Instruction:
Enters LOAD (LD) instruction.
LD
7 Numeric:
Keys A through F enter numbers in hex.
6. INSTRUCTION/OPERAND keys
Enter instruction or operand.
Example
Instruction:
Enters END instruction.
END
DM Numeric:
Keys # and $ indicate decimal and
hex numbers respectively.
Note 1: Programs entered with the KV-P3E(01) are written into the KV-P3E(01)s
RAM and are not directly written into the KV PLC. Hence, when the power switch is
turned OFF, the programs in the KV-P3E(01) RAM are lost. To save the program
currently created, write it to a memory card or complete the program and transfer it
to the KV PLC. (If an error message appears, programs cannot be transferred.
Correct the communication circuit and retry the transfer.)
Note 2: The KV-P3E(01), which can be used with the Visual KV Series, is the model
released on or after October 21st, 1993.
6 6.1.2 Precautions
Connector cable (2.5 m)
OP-26487
16
Reference
Operation Function Mode Key operation
page
CLEAR Cancels input data PRE 1-201
CLEAR
or deletes error
message.
MOVE CURSOR Moves cursor PE 1-202
sequentially to Instruction Operand Line No.
instruction position,
operand position,
and line (step) No.
position.
SCROLL Scrolls to previous PE Displays previous line.... 1-202
ON
line, next line, or to
arbitrary line. Displays next line.... OFF
Scrolls to arbitrary line....
ENT
Press Numeric key (Enter line No.)
R-SRCH
is replaced by
"NOP".)
2. ENTER Enters instruction. PE When key for desired instruction is available: 1-203
INSTRUCTION (If cursor is not Press Instr. key Numeric key
located in instruction (Enter timer or counter No.)
position, move When key for desired instruction is not available:
6
For creating program
or Numeric key
or
OFF
Reference
Operation Function Mode Key operation
page
1. DISPLAY LINE Displays line to be PE See "SCROLL" on previous page. 1-202
changed.
For creating program
To find function No. assigned to desired function: Press [FNC], and the cursor then 16
appears at the position where the function No. is to be entered. Pressing ON or
OFF scrolls the functions and assigned Nos., making it easy to find the desired
function No.
BS key
When the line No., relay No., timer No., or counter No. is entered using the numeric
key, pressing BS key each time deletes lowest digit.
CLEAR
Pressing [CLEAR] allows the input data to be canceled or error message to be
deleted.
Press CLEAR:
• To cancel an instruction or operand erroneously entered during the programming
and to return to the previous display. Pressing [CLEAR] deletes displayed data,
but does not delete instructions/operands that have already been stored.
• To delete error message. If cause of error is removed, operation can be re-
sumed.
• To cancel the entry of [FNC], [INS], [DEL], [SEARCH], or [CARD/MON].
Operation
CLEAR
MOVE CURSOR
Pressing [➞] allows the blinking cursor to move to the desired position. (The cursor
moves sequentially to the instruction position, operand position, and line No.
position.)
Operation
Operation
Instruction Operand
00000 00000
LD 00000 LD 00000
Cursor Cursor
(blinking) (blinking)
Cursor
(blinking)
SCROLL
Scrolls to the previous line, the next line, or to an arbitrary line.
Operation
ON
. . . Displays the previous line.
6
■ Scrolling to an arbitrary line
• Functions when the PROGRAM mode, the ON/OFF MONITOR mode, or
OFFLINE EDITOR [FNC67] is in use.
• When the line No. is set to 99999, the final line is displayed.
• Move the cursor to the line No. position first.
Operation
Example: To scroll from line 0 to line 10:
• Numeric keys serve also as instruction keys. When line No. is set, however,
numeric keys automatically serve as numeric keys.
• High order zero(s) does not need to be entered.
Operation
ENT 00000
COMPLETED R-SRCH NOP
Cursor (blinking)
Writing program
A new program is written on the line being displayed.
Functions when the PROGRAM mode or OFFLINE EDITOR [FNC67] is in use.
Description
• The previous or following line can be successively displayed by scrolling up or
down using ON or OFF .
• When [ENT/R-SRCH] is pressed after the entry of the instruction/operand, the
next line is automatically displayed.
• [➞] is used to move the cursor between the instruction, operand and line No.
positions. The cursor must first be moved to the desired position to enter the
instruction/operand.
• Pressing [DEL] or [INS] allows you to enter the DELETE or the INSERT mode.
Cursor LD
(blinking) 7 Enter LOAD instruction
00001
NOP
Cursor
(blinking)
00001
NOP
Cursor TMR
(blinking) (T) Enter TMR instruction.
00001
Cursor automatically moves to timer
TMR000 #00000
No. position.
ORB
Cursor 6
(blinking)
00001
"TMR006#00055" has been set.
TMR006 #00055
Cursor
(blinking)
ENT
R-SRCH "TMR006#00055" has been entered.
00002
NOP
Cursor
(blinking)
00002
6 NOP
FUN[09]
DIFD
Cursor ENT
(blinking) R-SRCH
00003
NOP "DIFD 1000" has been entered.
Cursor
(blinking)
00003
NOP
FUN[23]
LDA
Cursor ENT
(blinking) R-SRCH
00003
Cursor automatically moves to operand position.
LDA 00000
Cursor
(blinking)
@ SET AND ORB RES
#, $ 1 8 6 0 Enter "#1860"*.
Cursor
(blinking) * To enter a hexadecimal number ($xxxx), press
@
#, $ once more. Then "$" is displayed.
■ Changing contacts
To change contacts for timer/counters to input relays, output relays, or internal
utility relays, move the cursor to the contact to be changed using the [INS] key,
then press [DW/RELAY]. 16
Operation
To insert "DIFU1100" into line 2 (between lines 1 and 2.):
Scroll to line 2.
00002 INSERT
DIFD 01000 INSERT mode.
00002 INSERT
DIFU 00000
Cursor
(blinking)
SET SET RES RES
1 1 0 0 Enter "1100".
00002 INSERT
DIFU 01100
Cursor
(blinking)
ENT
R-SRCH "DIFU1100" has been inserted into line 2.
Cursor (blinking)
Operation
To delete the instruction/operand entered on line 3:
Scroll to line 3.
DEL
Set DELETE mode.
00003 DELETE
DELETE mode
DIFD 01000
Cursor ENT
(blinking)
R-SRCH Execute DELETE.
Cursor (blinking)
Searching program
Searches the source program for an instruction/operand entered on and after the
specified line.
Only the instruction/operand entered on and after the specified line can be sequen-
tially searched by any of the above methods. (You can search forward or backward
through the program.)
Procedure
1. Starting SEARCH
• Enter the search data in the same way as you do for writing a program.
• When [SEARCH] is pressed, searching starts according to the data shown on
the line being displayed.
Scroll to line 0
00000
Search data has been entered.
CON
Scroll to line 0
AND *
8 FIX Enter AND instruction.
00000
Search data has been entered.
AND *****
6 SEARCH Searching starts.
Scroll to line 0
00000
Search data has been entered.
LD C012
Scroll to line 0
AND TMR *
8 (T) FIX
00000
Search data has been entered.
AND T***
Example 5: Searching for the TMR instruction whose set value is "10".
Scroll to line 0
00000
Search data has been entered.
TMR*** #00010
SEARCH
Press SEARCH repeatedly.
Lines with occurrence of "TMR #00010" are
sequentially displayed.
00032 OVER Searching is completed.
TMR014 #00010
Scroll to line 0
00000
Search data has been entered.
TMR010 #*****
Example 7: Searching for line where relay No. 1800 is used as operand.
Scroll to line 0
Example 8: Searching for the line where the data memory is used.
Scroll to line 0
* END *
FIX DM FIX
00000
* *****
MONITOR
Monitors the operation status of the KV while the KV is in operation.
• Functions only when the "RUN" mode is in use. (Does not function when
OFFLINE EDITOR [FNC67] is in use.)
• The scan time, current values, and ON/OFF statuses can be monitored.
2. MULTI-MONITOR
A total of 16 elements (ON/OFF status of the relay contacts, current value or ON/
OFF status of the timers, counters or data memories, and ON/OFF statuses of a
group of contacts) can be registered and displayed for monitoring. Up to 2 registered
elements can be displayed at the same time.
3. ON/OFF MONITOR
The ON/OFF status of the relay contact corresponding to the operand on each line
of the program, or the current value of the timers, counters or data memories is
displayed for monitoring.
Basic operation
Basic display in RUN mode SCAN TIME MONITOR display
CARD CARD
ON/OFF MONITOR MON MULTI-MONITOR MON
display display
CARD
00000 MON
MULTI MONITOR
LD 00000 00000
Line 0 of the program is displayed.
Operation example
Key operation Display Description
RUN Initial display
CARD SCAN TIME (TM31) Access SCAN TIME MONITOR mode.
MON 0.3 ms Current scan time is displayed.
CLEAR RUN Return to initial display "RUN".
Scan time value is stored in temporary memory No. 31 (TM31). If required, it can be
read out using LDA instruction.
➮ Refer to "1.3.11 Temporary Data Memory" on page 3-21, and "LDA Instruction" on page 3-140.
MULTI-MONITOR
A total of 16 elements (relay contacts, timers, counters, data memories) can be
registered for monitoring their ON/OFF status or current value. However, only two
elements can be monitored at the same time. Also, when a contact is specified using
the channel function, 15 succeeding contacts as well as the specified contact can be
monitored at the same time.
Description
• The ON/OFF status/current value for one element (relay contact, timer, counter,
data memory, or channel) is displayed on one line on the display.
• Up to 16 elements can be registered for monitoring. While scrolling up or down
using ON or OFF , the information for these elements can be successively
monitored.
• Information for up to 2 elements can be displayed at the same time on the upper
and lower lines of the display.
• To enter the monitoring element, the lower line is used.
• The upper line can also be used for fixed display. In this case, the lower line
alone is scrolled.
• Once the monitoring element is registered, it is stored even if the monitoring is
completed. The registered elements, however, are cleared when the power
supply is turned off, when ALL CLEAR or HANDHELD PROGRAMMER CLEAR
is executed, or when the program is transferred or received.
• The registered element can be changed, by overwriting, inserting, or deleting.
Operation example
Key operation Display Description
RUN Initial display
END SET ENT T005 00010 Current value of data memory No.
DM 1 R-SRCH DM0001 00125 1 is monitored. (125)
To display the current value of the timer, counter, or data memory and ON/OFF
statuses of the channel, the following 4 types of display are selectable: decimal,
hexadecimal, ASCII, or binary display.
Example
When the current value of data memory 1 is monitored (current value = 45678):
Decimal display Hexadecimal display
@ @
#, $ #, $
Binary display ASCII display
@
MULTI MONITOR #, $
MULTI MONITOR
DM0001 DM0001
2 15 20
Example
"1005ch" means 16 contacts of 1005 through 1015, and 1100 through 1104.
Binary display
MULTI MONITOR
0 1 0 0 5 CH
1104 1005
6
Deleting
Move cursor Press [ENT/
to desired R-SRCH].
line to using → Press [DEL]. →
ON or OFF .
Fixed display
When monitoring by scrolling up or down using [↑/ON] or [↓/OFF], you can fix the
desired data on the upper line of display while scrolling only the lower line.
Fixed display Same data remains
Move cursor displayed on upper
to desired FTM01 00021 section of display.
line to using → Press *
FIX . 00001 Program scrolls only on
ON or OFF . Fixed display lower section of display.
ON/OFF MONITOR
The ON/OFF status of the relay contact corresponding to the operand on each line
of the program is displayed for monitoring.
• In the ON/OFF MONITOR mode, "SEARCH" and "SCROLL" can be executed,
while "OVERWRITE", "INSERT" and "DELETE" cannot be executed.
• The ON/OFF statuses of the operand displayed in the ON/OFF MONITOR mode
are as follows:
Operand code ON/OFF status
LD, LDB, AND, ANB, OR, ORB, ON/OFF status of operand(ON/OFF status of
OUT, OUB, SET, RES, KEEP, DIFU, operand "CTH" is not displayed.)(For "LDB", "ANB"
DIFD, STP, HSP, STG, JMP, INT and "ORB", output is inverted.)
SFT ON/OFF status of first operand
HKEY ON when key entry is detected.
W-ON, W-OFF, W-UE, W-DE ON/OFF status of latch relay (second operand)
TMR, TMH, TMS ON/OFF status of specified timer
C, UDC ON/OFF status of specified counter
CTC ON/OFF status of specified high speed counter
comparator
Others ON/OFF status is not monitored. (" " is displayed.)
Operation example
Key operation Display Description
RUN Initial display
ON
0001
OUT 00500
Scroll to previous line. 16
CLEAR
RUN Return to initial display.
6.3 Functions
Function Nos. list
The KV has 16 functions for quick and easy programming or trial run.
A function No. [FNCxx] is assigned to each function. The functions are set using
[FNC] in the same way as entering the basic instructions, application instructions,
arithmetic instructions, or interrupt instructions.
MODE:
P: PROGRAM mode
R: RUN mode (OFFLINE EDITOR not used)
E: OFFLINE EDITOR in use
Example
OFF
FNC[60] FNC[61]
ALL CLEAR P3E CLEAR
ON
Function
Deletes entire program currently written into KV PLC and handheld programmer
[KV-P3E(01)].
• When ALL CLEAR is executed, "NOP" appears on every line of the program.
• Even if ALL CLEAR is executed, the data in the data memory is not cleared, but
remains stored. The counters, high speed counters, or internal utility relays
(latches) are cleared.
Key operation
Basic operation
Example of operation
Key operation Display Description
00000
Display arbitrary line.
LD 00000
ORB RES ENT ALL CLEAR
FNC 6 0 R-SRCH Access ALL CLEAR function.
EXEC. OK?
ENT
R-SRCH Execute ALL CLEAR.
COMPLETED
00000
CLEAR
NOP
Key operation
Basic operation
FNC ORB SET ENT ENT
6 1 R-SRCH R-SRCH
Example of operation
Key operation Display Description
00000
Display arbitrary line.
LD 00000
ORB SET ENT P3E CLEAR Access HANDHELD PROGRAMMER
FNC 6 1 R-SRCH EXEC. OK? CLEAR [P3E CLEAR] function.
ENT Execute HANDHELD PROGRAMMER
R-SRCH COMPLETED CLEAR.
00000
CLEAR
NOP
Function
Performs following operation:
• Counter (C*** #*****):
The current value is reset to "0". The contact turns OFF.
• Up-down counter (UDC*** #*****):
The current value is reset to "0". The contact turns OFF.
Key operation
Basic operation
FNC ORB ANL ENT ENT
6 2 R-SRCH R-SRCH
Example of operation
Key operation Display Description
00000
Display arbitrary line.
LD 00000
ORB ANL ENT CTR CLEAR Access COUNTER CLEAR [CTR CLEAR]
FNC 6 R-SRCH
2 EXEC. OK? function.
ENT
R-SRCH Execute COUNTER CLEAR.
COMPLETED
00000
CLEAR Return to initial display.
LD 00000
Key operation
Basic operation
FNC ORB ORL ENT ENT
6 3 R-SRCH R-SRCH
Example of operation
Key operation Display Description
00000
Display arbitrary line.
LD 00000
ORB ORL ENT HI-SPEED CTR CL Access HIGH SPEED COUNTER
FNC
6 3 R-SRCH EXEC. OK? CLEAR [HIGH SPEED CTR CLR] function.
ENT
R-SRCH Execute HIGH SPEED COUNTER.
COMPLETED
00000
CLEAR Return to initial display.
LD 00000
Key operation
Basic operation
Example of operation
Key operation Display Description
00000
Display arbitrary line.
LD 00000
ORB ORL ENT DM ALL CLEAR Access ALL DATA MEMORY CLEAR
FNC 6 3 R-SRCH EXEC. OK? [DM ALL CLEAR] function.
ENT
R-SRCH Execute ALL DATA MEMORY CLEAR.
COMPLETED
00000
CLEAR Return to initial display.
LD 00000
Key operation
Basic operation
FNC ORB ANB ENT ENT
6 5 R-SRCH R-SRCH
Example of operation
Key operation Display Description
00000
Display arbitrary line.
LD 00000
ORB ANB ENT L-RELAY ALL RST Access ALL LATCHING RELAYS RESET
FNC 6 5 R-SRCH EXEC. OK? [L-RELAY ALL RST] function.
ENT
R-SRCH Execute ALL LATCHING RELAYS RESET
COMPLETED
00000
CLEAR Return to initial display.
LD 00000
Key operation
Basic operation
Read
OFF ON
Write
BASE ->WRITE
READ VERIFY ON OFF
OFF ON
Verify
BASE WRITE
READ ->VERIFY
Note: To write the edited program into the KV, use the PROGRAM SENT OR
RECEIVED function [FNC66] and then quit the OFFLINE EDITOR function. In this
case, the KV stops the operation to write the new program, and then starts the
operation from the top of the program. Note that the timer values will be reset.
Key operation
Basic operation
FNC ORB LD ENT
6 7 R-SRCH
Example of operation
Key operation Display Description
RUN
Initial display (RUN mode)
Example of operation
Key operation Display Description
00000
Display arbitrary line.
LD 00000
READ/LOAD OK When program differs from that in
FNC ORB
6
AND ENT
R-SRCH
8 PUSH CLR TO CONT KV PLC the latter is read.
RUN Return to initial display of RUN
CLEAR
mode.
Function
Changes current value of timer/counter, or displays current value for monitoring.
Results obtained when TIMER/COUNTER CURRENT VALUE CHANGE is ex-
ecuted.
• Any current value of the timer/counter which is not set on the program cannot be
changed.
• Any current value of the timers cannot be changed in the PROGRAM mode.
• TMH or TMS is specified using TMR. UDC is specified using CTR.
*1. In the case where the counter (C) input is ON and the up-down counter (UDC)
reset input is OFF:
*2. In the case contrary to the above *1:
Key operation
Basic operation
TMR
(T)
CTH
Function
Changes preset value of timer/counter, or displays preset value for monitoring.
Result obtained when TIMER/COUNTER SETTING CHANGE is executed.
*1. In the case where the counter (C) input is ON and the up-down counter (UDC)
reset input is OFF:
*2. In the case contrary to the above *1:
Key operation
Basic operation
TMR
(T)
CTC
Function
Forces relays to turn ON/OFF, or displays ON/OFF status of relay for monitoring.
Relays that can be forced ON/OFF (When Visual KV is used)
Type of relays PROGRAM mode RUN mode
Input relays 0000 to 0415 X 1. X 2.
Output relays 0500 to 0915 O 2. O 2.
Internal utility relays 1000 to 1915 O 3. O 3.
3000 to17915
Special utility relays 2000 to 2915 O 4. O 4.
Timers T000 to T249 O O 5.
Counters CTR000 to CTR249 O 6. O 7.
High speed counter CTC0 to CTC3
O 8. O 8.
comparators
3. Relays which are not used in the program can be forced ON/OFF. Relays which are used
in the program can be forced ON/OFF from when the scan time begins until the program
changes the status of the relays.
6
4. Relays 2000 through 2008 and 2010 through 2015 cannot be forced ON/OFF.
6. When the counter is forced ON, output turns ON and the current value is changed to a
value equal to the preset value.
When the counter is forced OFF, output turns OFF and the current value is reset to
"0000". (For UDC, the current value is reset to "0000".)
8. The high speed counter comparators can be forced OFF only. (They cannot be forced
ON.)
Key operation
Basic operation
LD SET ENT ON
FNC Relay No.
7 1 R-SRCH
OFF
FNC
LD SET ENT FORCED SET/RESET Access the RELAY ON/OFF [FORCED SET/RESET]
7 1 R-SRCH 00000 function. ON/OFF status of input relay 0000 is displayed.
ANB RES RES FORCED SET/RESET Specify output relay 500. (OFF)
5 0 0 00500
FORCED SET/RESET
ON Force output relay 500 ON.
00500
CTR SET FORCED SET/RESET
(C) 1 Specify CTR001. (ON)
CTR001
FORCED SET/RESET
OFF Force CTR001 OFF.
CTR001
RUN
CLEAR Return to initial display of RUN mode.
Function
Displays current data stored in data memory for monitoring, or changes it.
• Pressing #,@$ alternates between decimal input and hexadecimal input.
• The data stored in the temporary memory can also be displayed and changed.
(Note that data cannot be written into TM30 and TM31.)
Key operation
Basic operation
16
LD ANL ENT
FNC
7 2 R-SRCH
Data memory No. ENT
R-SRCH
@
#, $
Data value to be written ENT
R-SRCH
FNC LD ANL ENT DM VALUEM #00000 Access WRITE INTO DATA MEMORY [DM WRITE] function.
7 2 R-SRCH
DM0000 Current data stored in DM000 is displayed on upper column.
ORL ENT DM VALUEM #00010
3 R-SRCH Specify DM003 to display data stored in it.
DM0003 #00000
@ DM VALUEM $000A
#, $ Change decimal display to hexadecimal display.
DM0003 $0000
W-ON W-ON DM VALUEM $000A
F F Enter desired data.
DM0003 $00FF
ENT DM VALUEM $00FF
R-SRCH Data has been written.
DM0003
@ DM VALUEM #00255
#, $ Change hexadecimal display to decimal display.
DM0003
RUN
CLEAR Return to initial display of RUN mode.
Pressing [ENDH/TM] displays the data in the temporary memory, while pressing
[ENDH/TM] displays the data in the data memory.
FNC LD SET ENT 0:0249 1:0000 Access READ TRIMMER SETTING [TRIMMER MONI-
7 1 R-SRCH
2:0000 3:0000 TOR] function. Trimmer setting value is displayed.*
RUN
CLEAR Return to initial display of RUN mode.
* The KV PLC allows setting of the digital trimmer value within the range of 0 to
65535. However, the handheld programmer supports the low-order 4 digits only.
Example: When the value of a digital trimmer is set to "25000", the handheld
programmer displays "5000".
Function
Checks program throughout lines for syntax.
• If the program has any syntax error, the error message is displayed. At this time,
press [CLEAR] to display the line with the error and change the program.
6 • If the program has two or more errors, these errors will be displayed one at a
time.
• The syntax of the program is checked, also when the operation mode is switched
from PROGRAM to RUN.
Key operation
Basic operation
ENT ENTER ENDH If program has any error, press [CLEAR] to display line
R-SRCH PUSH CLR TO CONT with error.
Function
Displays program capacity of program on handheld programmer [KV-P3E(01)] in
units of block.
• Up to 48 blocks of program can be written into KV. (Program capacity: 4000
steps)
• The number of blocks used for entering instructions from the first to the last
(excluding "NOP"s) and timer/counter preset values are displayed as the program
capacity.
• 256 bytes are considered one block. If each instruction is assumed to require 3
bytes, one block comprises approx. 85 lines.
Note: Timer and counter preset values require almost one block of storage capacity.
Key operation
Basic operation
FNC LD ANB ENT
7 5 R-SRCH
Example of operation
Key operation Display Description
00000
Display arbitrary line.
LD 00000
FNC LD ANB ENT PROGRAM SIZE The number of blocks used for program
7 5 R-SRCH
02 BLOCK is displayed.
000000
CLEAR Return to initial display.
LD 00000
• The program area of KV is 12,000 bytes. Since one block is 256 bytes, the
program area is 46 blocks as shown in the following.
.
12,000 ÷ 256 =. 46 (blocks) 16
In addition to the above 46 blocks, approximately one block is required for timer
and counter preset values, resulting in a total of 48 blocks.
• The memory card stores all programs including those written after ENDH instruc-
tion. (NOP instruction is not included.)
• One memory card can store programs used on different KV PLCs.
• The memory card can only be used in the handheld programmer when the mode
switch on this programmer is set to PROGRAM or when the OFFLINE EDITOR is
used.
• Each program must have a name distinct from other programs stored in the
memory card.
Memory card
M-2 or M-3
Handheld programmer
KV-P3E(01)
KE
YN
KV CE
P-O KV
PP P-5
OK 1
VP
KV
P
16
Function
Initializes the memory card.
• Be sure to initialize every new card before using it.
• Use this function to clear all programs in the card.
Example 2: Initializing the memory card M-3 (128 kbytes) with programs
stored
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
CARD FREE: 44 PROGRAM
MON Available storage capacity is displayed.
486 BLOCK
ENT CARD NEW
R-SRCH Available functions are displayed.
->ACCS CLEAR
CARD NEW
ON OFF OFF Select "CLEAR".
ACCS ->CLEAR
6 ENT 32 KBYTES CARD
R-SRCH INITIALIZE?
128 KBYTES CARD
ON OFF Select storage capacity.
INITIALIZE?
ENT FREE: 48 PROGRAM
R-SRCH Memory card is initialized.
506 BLOCK
00000
CLEAR (*) Return to initial display.
LD 00000
(*) Press [ENT/R-SRCH] instead of [CLEAR] to continue initializing.
Be sure to select the correct storage capacity for the M-2 and M-3 as follows:
CAUTION
M-2: 32 kbytes
M-3: 128 kbytes
Function
Saves a new program in the memory card.
• Use this function to save the new program currently on the programmer into the
memory card.
• Up to 3 alphanumeric characters (0 to 9 and A to F) and up to 6 numeric char-
acters can be used respectively to specify the program name and date.
Example: Program name: ABC, date: 10-11-99
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
CARD FREE: 44 PROGRAM
MON Available storage capacity is displayed.
486 BLOCK
ENT CARD -> NEW
R-SRCH OFF Select "NEW".
ACCS CLEAR
ENT NAME: 000 New display appears for entry of
R-SRCH
DATE: 00-00-00 of program name and date.
OUT OUB MPS NAME: ABC
A B C Enter program name.
DATE: 00-00-00
NAME: ABC
OFF Cursor moves down for date entry.
DATE: 00-00-00
OR LDB SET RES SET SET NAME: ABC
9 4 1 0 1 1 Enter date.
DATE: 10-11-99
ENT ABC: SAVE A prompt appears for confirmation.
R-SRCH
EXEC. OK?
ENT FREE: 48 PROGRAM Saving is completed and available
R-SRCH 504 BLOCK storage capacity is displayed.
CLEAR
00000
Return to initial display.
LD 00000
Function
Overwrites onto, retrieves, deletes, or compares the desired program in the memory
card.
This function cannot be accessed when no programs are stored in the memory card
such as after CLEAR has been executed.
SAVE
Overwrites the program currently on the programmer onto the desired program in
the memory card.
LOAD
Retrieves the desired program from the memory card onto the programmer. At this
time, the program in the memory card will be lost.
DELETE
Deletes the desired program in the memory card.
VERIFY
Compares the program currently on the programmer with the desired program in the
memory card to determine whether they are identical.
CARD NEW
Select ACCS.
->ACCS CLEAR
ENT
R-SRCH
ABC 10-11-94
6 02 BLOCK Press ON or OFF to sequentially display each program line.
ON OFF
777 10-19-94
02 BLOCK Select desired program.
ENT
R-SRCH
<LOAD>
->LOAD VERIFY
DELETE SAVE
ON OFF
<DELETE>
LOAD VERIFY
->DELETE SAVE
ON OFF ON OFF
<VERIFY>
LOAD ->VERIFY
DELETE SAVE
ON OFF
<SAVE>
LOAD VERIFY
DELETE->SAVE
Select the desired function and press [ENT/R-SRCH] . Then, a prompt appears for
confirmation. Press [ENT/R-SRCH] again to execute or [CLEAR] to escape.
• Program is automatically saved onto another program under the same name. Use
NEW to save the desired program separately under the different name.
• Be sure to check beforehand that the memory card has enough storage capacity
available for saving the new program.
• Use [BS] to delete incorrect date. 16
Desired Nos. (0 to 9) can be entered as a date for use as a version No.
Example: Retrieving program "ABC" from the memory card onto the
programmer
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
CARD FREE: 46 PROGRAM
MON Available storage capacity is displayed.
501 BLOCK
ENT CARD NEW
R-SRCH Select "ACCS".
->ACCS CLEAR
ENT ABC 10-11-94
R-SRCH Select desired program.
02 BLOCK
ENT ->LOAD VERIFY
R-SRCH Select "LOAD".
DELETE SAVE
ENT ABC: LOAD A prompt appears for confirmation.
R-SRCH EXEC.OK? Press + again to execute.
ENT READ/ LOAD OK Loading is completed and available
R-SRCH storage capacity is displayed.
00000
ENT
R-SRCH ( CLEAR ) LD 00000
Return to initial display.
Example: Comparing program "ABC" in the memory card with the program on
the programmer
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
CARD FREE: 46 PROGRAM
MON Available storage capacity is displayed.
501 BLOCK
ENT CARD NEW
Select "ACCS".
6 R-SRCH ->ACCS CLEAR
ENT ABC 10-11-94
R-SRCH Select desired program.
02 BLOCK
ENT ->LOAD VERIFY
R-SRCH DELETE SAVE
->LOAD VERIFY
OFF OFF Select "VERIFY".
DELETE SAVE
ENT ABC: LOAD
R-SRCH A prompt appears for confirmation.
EXEC.OK?
ENT VERIFY OK Verifying is completed and available
R-SRCH storage capacity is displayed.
00000
ENT
R-SRCH ( CLEAR ) LD 00000
Return to initial display.
■ To replace battery
1. Loosen the two screws with a jeweler’s screwdriver and remove the cover.
2. Replace the battery (model No. CR2016). Make sure that the "+" sign on the
battery faces up.
3. Put the cover back on the card.
6
CAUTION The data in the card will be automatically lost when the battery is removed.
Be sure to prepare a backup copy of the stored data beforehand.
This chapter describes the serial interface modules for KV-300 Series.
7.1 Outline
7.1.1 Features
The KV-L2 Serial Interface Module is an interface module that controls communica-
tions between the KV-300 CPU and external units such as personal computers. It
has the following features.
7.2 Configuration
7.2.1 Parts and Functions
1 POWER indicator
2 Port 1 operation
indicator
KV-300
A Station no.
KV-10/80
3 Port 2 operation setting dial
indicator
B Connector to
4 Port 1 (RS-232C)
other modules
5 Connector to other
modules
6 Port 2
(RS-232C/RS-422A
switchable)
1:1 connection
Connect the KV-L2 to an external unit (such as a personal computer) through the
RS-232C or RS-422A ports.
1:n connection
Up to 10 KV-L2 modules can be connected to an external unit (such as a personal
computer) through the RS-422A port.
2:1 connection
The KV-L2 can be connected simultaneously to a personal computer and a display
through ports 1 and 2.
KV-300
KV-10/80
2:n connection
Multiple KV-L2 modules can be connected to an external unit (such as a personal
computer) using a multi-drop connection pattern through the RS-422A port. Mul-
tiple KV-L2 modules can themselves be interconnected to another external unit
(such as a display) through the RS-232C port.
17
KV mode
In KV mode, the KV-L2 permits serial communications and transmission/reception of
text data through the KV-300 CPU modular jack.
Through a connected PC, the statuses of the KV-300 can be monitored, stored data
can be read or updated, and data can be fetched from an external unit.
The data to be fetched from the external unit must have STX and ETX as separa-
tors.
KV-300
KV-10/80
Non-procedure mode
In non-procedure mode, the KV-L2 allows transmission/reception of text data. The
data does not require STX and ETX separators, but does require CR or CRLF
separators.
KV mode/non-
procedure mode
MT-400
RD, RV3
7.3 Installation
7.3.1 Setting the Operation Mode
Setting the operation mode
Turn off the power switch before setting the operation mode. Use the operation
mode setting switches A1 to A4 (SET A). A1 and A2 control the mode for port 1, and
A3 and A4 control the mode for port 2. (Ports 1 and 2 can be set independently.)
KV-300
KV-10/80
ON
OFF
A1 A2 A3 A4
(A1 to A4 are factory-set to OFF.)
Port 1 Port 2
A1 A2 A3 A4
KV mode OFF OFF OFF OFF
Display Interface mode OFF ON OFF ON
Non-procedure mode ON ON ON ON
Setting port 2
Set port 2 to either RS-232C or RS-422A modes.
17
Port 2 interface selection switch
422A 232C
INTERFACE
* *
Note: When setting port 2 to RS-232C mode, set the TERMINATOR selection
switch to OFF.
7 1 0 F
2
E
5 4 3
D C B
A
9 8 7
Note 1: When the KV-L2 is set to RS-422A communications mode, set the TERMI-
NATOR (terminal resistor) to ON.
Note 2: Set the terminators of the modules connected in intermediate positions
(between the leftmost and rightmost KV-L2s) to OFF.
Note 3: Do not assign the same station no. to more than one module; otherwise,
data communication will be disrupted.
KV-300
KV-10/80
Communications protocol setting switch
ON
OFF
B1 B2 B3 B4 B5 B6 B7 B8
B1 B2 B3 B4 B5 B6 B7 B8
Baud rate 1200 bits/s OFF OFF OFF OFF
2400 bits/s ON OFF OFF OFF
4800 bits/s OFF ON OFF OFF
9600 bits/s ON ON OFF OFF
19200 bits/s OFF OFF ON OFF
31250 bits/s ON OFF ON OFF
38400 bits/s OFF ON ON OFF
Setting disabled ON ON ON OFF
17
Parameters Data bits 7 bits OFF OFF
8 bits ON OFF
Parity None OFF OFF OFF
Odd ON OFF OFF
Even ON ON OFF
Stop bit 1 bit OFF OFF
2 bits ON OFF
14 15 16 17 18 19 20 21 22 23 24 25
SD 2 2 SD SD 2 2 SD
RD 3 3 RD RD 3 3 RD
RS 4 4 RS RS 4 4 RS
8
CS 5 5 CS CS 5 5 CS
7
6
6 DR 6 DR
5
4
20 ER 20 ER
3
SG 7 7 SG SG 7 7 SG
2
KV-300
1
KV-10/80
D-Sub 25-pin
connector
Terminal block
Note: Do not short-circuit the SG terminal with any other signal terminal. Doing so
may cause failure of the unit.
7
Recommended communications cable (for use with RS-422A)
Item Specification
Cable type Shielded cable
Logarithm 3P
Maximum conductor resistance at 20°C (68°F) 88.0 Ω/km
Maximum insulation resistance 10.000 MΩ·km
Withstand voltage 500 VDC for 1 min
Maximum electrostatic capacity (1 kHz) 60 nF/km on average
Characteristic impedance (100 kHz) 110 ±10Ω
KV-300
9 10 11 12 13
14 15 16 17 18 19 20 21 22 23 24 25
KV-10/80
9
SD 2 2 SD
4
RD 3 3 RD
8
3
RS 4 4 RS
8
7
7
CS 5 5 CS
2
6
6
5
6 6
1
4
SG 7 7 SG
3
2
8 8
1
Display
5
1 3 5
Black
1
9
SG SDA RDA SD 3 2 SD
4
(SG) (SD) (RD) Brown
8
RD 5 3 RD
3
2 4 4 RS
7
SDB RDB
2
5 CS
6
6 DR
1
KV-L2 terminal nos. Blue
SG 1 7 SG
8 D-Sub 9-pin connector
9
KV-L2 PC
SD 2 2 SD
9 10 11 12 13
14 15 16 17 18 19 20 21 22 23 24 25
RD 3 3 RD
RS 4 4 RS
8
CS 5 5 CS
7
6 DR
6
5
20 ER
3 4
SG 7 7 SG
2 1
D-Sub 25-pin
connector
KV-L2 KV-L2 PC
1 3 5 SDA 3 SDA(3) SDA
SG SDA RDA SDB 2 SDB(2) SDB
(SG) (SD) (RD)
RDA 5 RDA(5) RDA
2 4 RDB 4 RDB(4) RDB
SDB RDB
SG 1 SG(1) SG
KV-L2 terminal nos.
KV-L2 KV CPU
9 10 11 12 13
14 15 16 17 18 19 20 21 22 23 24 25
SD 2 3 SD
RD 3 5 RD
RS 4
8
7
CS 5
6
SG 7 4 SG
5
4
23 45
3
(OP-96369) (OP-96368)
D-Sub 25-pin
connector
14 15 16 17 18 19 20 21 22 23 24 25
SD 2 2 SD
RD 3 3 RD
RS 4 4 RS
8
CS 5 5 CS
7
6
SG 7 7 SG
5
4
3
2
1
D-Sub 25-pin
connector
KV-L2 KV-L2
1 3 5
SG SDA RDA SD 3 3 SD
(SG) (SD) (RD) RD 5 5 RD
2 4
SDB RDB
SG 1 1 SG
KV-L2 terminal nos.
KV-300
When using port 2 (set to RS-422A mode)
KV-10/80
The following figure shows the wiring connections.
KV-L2 KV-L2
1 3 5
SG SDA RDA
SDA 3 3 SDA
(SG) (SD) (RD) SDB 2 2 SDB
2 4 RDA 5 5 RDA
SDB RDB RDB 4 4 RDB
SG 1 1 SG
KV-L2 terminal nos.
17
Example
Starting KV IncrediWare (DOS)
C>SET KV-LNK=Y ENTER
C>MNU ENTER
Example
Starting KV IncrediWare (DOS) by using KV-L2 designated as station no.1
C>SET KV-LNK=1
C>MNU
Note: When KV-LNK is set to "Y", the KV IncrediWare (DOS) confirms the station
no. to be accessed whenever communication* is attempted. This permits frequent
changing of the station no. However, if KV-LNK is set to "1", for example, you can
change the station no. only after quitting KV IncrediWare (DOS) and resetting KV-
LNK to the desired number.
* "PC-Port" in the menu refers to the serial port on the KV-300 CPU, which is used
only for communication between the CPU and a computer. Ignore the L2 function
when using this port.
Connect the personal computer to the KV-L2 using an RS-232C cable. Set the KV-
L2 connected to the personal computer station no. F. Connect the KV-L2 of station
no. F to other KV-L2s using the multi-drop method with RS-422A cables. Specify
station nos. 0 to 9 of the other KV-L2s.
Note: Use the station no. designated by the station no. selection switch on the KV-
L2.
KV-300
KV-10/80
Set the operation mode using the operation mode setting switch SET A (A1 to A4).
Use A1 and A2 to set the mode for port 1, and A3 and A4 to set the mode for port 2.
Turn off the power switch before setting the operation mode.
ON
OFF
A1 A2 A3 A4
Communications protocol
This table shows the communications protocol for KV mode. Refer to this table when
setting the communications parameters of the external unit to be connected.
Duplex Full
Synchronization Start/stop
Data format ASCII
Baud rate 9600 bits/s
Data length 8 bits
Parity check Even 17
Stop bit length 1 bit
When setting the external unit to be connected, refer to the instruction manual
supplied with the unit.
When the module is set to KV mode, the communications protocol specified by the
communications protocol setting switch SET B is invalid.
14 15 16 17 18 19 20 21 22 23 24 25
SD 2 2 SD SD 2 2 SD
RD 3 3 RD RD 3 3 RD
8
RS 4 4 RS RS 4 4 RS
7
CS 5 5 CS CS 5 5 CS
6
5
6 DR 6 DR
4
3
20 ER 20 ER
2
1
SG 7 7 SG SG 7 7 SG
D-Sub 25-pin
connector
When using the RS-422A port on the KV-L2, connect the cables as shown.
Command
KV-300
KV-10/80
Response
KV-300 KV-L2 PC
CPU
Break signal
Upon receiving a break signal, the KV-L2 initializes its own communications buffer
and baud rate. The break signal should be transmitted only once before communica-
tion is initiated. The break signal need not be transmitted once communication is
successful.
The break signal must have the waveform shown below.
+V 100 ms min.
SD
-V
Note: Transmit the break signal for the first communication with a personal com-
puter after the KV IncrediWare (DOS) has been activated through a KV-L2 or KV-
P3E.
If transmission of the break signal fails, turn OFF the KV-300 CPU power switch to
initialize the communications program. Then begin communicating with the personal
computer.
Command:
Message transmitted from a personal computer to the KV-L2
Response:
Response to the command transmitted from the KV-L2 to the personal computer
When a command is transmitted from the personal computer to the KV-L2, the KV-
L2 sends a response to the personal computer. When writing a program to be
KV-300
controlled by the personal computer, be sure that the response from the KV-L2 is
KV-10/80
Command/response format
Command/response formats are as follows:
The personal computer transmits a command to the KV-L2 according to the com-
mand format. The KV-L2 recognizes CR as delimiter, and thus ignores the LF in the
CR LF command and identifies the subsequent characters as the command.
The KV-L2 returns a response to the command according to the response format.
When writing a program with a personal computer, verify that the response can be
handled according to the response format.
When the 1:n connection pattern is used, the personal computer communicates only
with the KV-L2 set to the specified station no. To communicate with a KV-L2 set to
another station no., terminate communications with the KV-L2 set to the specified
station no. and send a communication start command (CR_nn) in which the new
station no. is specified in "nn."
KV-300
WR_Tnnn_
KV-10/80
ddddd
Changes preset WS_Cnnn_ OK n/nnn: counter/timer no.
value of timer/ ddddd ddddd=00000 to 65535
counter WS_CTCn_ (in decimal)
ddddd
WS_Tnnn_
ddddd
Reads relay RD_nnnnn 0 0: contact OFF
contact 1 1: contact ON
Forces contact ON ST_nnnnn OK nnnnn=relay no.
ST_Cnnn nnn=counter /timer no.
ST_Tnnn
Forced contact OFF RS_nnnnn OK nnnnn=relay no.
RS_Cnnn nnn=counter /timer no.
RS_CTCn n=high-speed counter comparator
RS_Tnnn no.
Reads DM RD_DMnnnn ddddd ddddd=00000 to 65535
(in decimal)
nnnn=DM no.
Writes into DM WR_DMnnnn_ OK ddddd=00000 to 65535
ddddd (in decimal)
nnnn=DM no.
Reads TM RD_TMnn ddddd ddddd=00000 to 65535
(in decimal)
nn=TM no.
Writes into TM WR_TMnn_
ddddd
OK ddddd=00000 to 65535
(in decimal)
17
nn=TM no.
Note: The "WS" command changes the content of the program stored in the PLC's
EEPROM. Contact Keyence if you need to change it frequently.
Communications commands
This section describes the commands used for communications between the KV-L2
and a personal computer, and the responses from the KV-L2 in normal operation.
■ Inquiring model
The KV-300 CPU responds with the model no. of the KV-300 module currently in
use.
Command: ?K
Response: K300 (When KV-300 CPU is in use.)
■ Reading timer
Reads contact ON/OFF status and current and preset values of the specified timer.
Command: RD_Tnnn [nnn = timer no.]
Response: f,ddddd,ddddd [f=0, 1: ON/OFF status of a timer contact
(current value) 0: OFF, 1: ON]
(preset value) [ddddd = 00000 to 65535 (in decimal)]
KV-300
KV-10/80
Command: WR_Cnnn_ddddd Changes current value of a counter or an
up-down counter.
Command: WR_Tnnn_ddddd Changes current value of a timer.
WR_CTHn_ddddd Changes current value of a high-speed counter
CTH.
[nnn = counter/timer no. n = high-speed
counter no.]
[ddddd = 00000 to 65535 (in decimal)]
Response: OK
Note: The "WS" command changes the content of the program stored in the PLC's
EEPROM. Contact Keyence if you need to change it frequently.
17
■ Reading relay contact
Reads contact ON/OFF status of the specified relay.
Command: RD_nnnnn [nnnnn: relay no.]
Response: 0, 1 [0 = OFF, 1 = ON]
■ Forcing contact ON
Forces ON the contact of a specified relay, counter, or timer.
Command: ST_nnnnn [nnnnn = relay no.]: Forces ON a contact of a relay.
ST_Cnnn [nnn = counter no.]: Forces ON a contact of a counter.
ST_Tnnn [nnn = timer no.]: Forces ON a contact of a timer.
Response: OK
Reading DM
Reads content of the specified data memory address.
Command: RD_DMnnnn [nnnn = data memory no.]
Response: ddddd [ddddd = 00000 to 65535 (in decimal)]
■ Writing into DM
Writes values into the specified data memory address.
Command: WR_DMnnnn_ [nnnn = data memory no.]
ddddd [ddddd = 00000 to 65535 (in decimal)]
Response: OK
■ Reading TM
KV-300
KV-10/80
■ Writing into TM
Writes values into the specified temporary memory address.
Command: WR_TMnn_ddddd [nn=00 to 29 (temporary memory no.)]
[ddddd = 00000 to 65535 (in decimal)]
Response: OK
■ Response
Code Description Cause Remedy
E0 Relay no. • Undefined relay, counter, • Specify a number that is
error timer, DM, CTH, or CTC defined in the KV-300 CPU
7 number was specified. being used.
• Counter, timer, CTH or CTC • Check the program, and
number not used in a pro- specify a number used in
gram was specified. the program.
• Undefined or inconnect • Transmit the connect
command was transmitted. command.
E1 Command • Undefined or incorrect • Transmit the correct com-
error command was transmitted. mand.
• Command other than "CR" • Transmit "CR" to initiate
was transmitted before the communications, then
communications path was transmit the command.
established.
KV-300
protected the preset value of a counter, and change the preset value.
KV-10/80
timer, or CTC in a write-
protected program.
E5 CPU error • "M1" was transmitted before • Clear the error message from
an error message was the KV-300 CPU, and remove
cleared from the KV-300. the cause of the error.
Error
Code Description Cause Remedy
00 No error — —
10 CALL nest • Subroutines are nested to four • These errors may occur when
error levels or more. a program is executed. Check
11 FOR nest • FOR-NEXT instructions are the program while paying
erro nested to eight levels or more. particular attention to usage of
subroutines and the INT
12 INT nest • Five levels or more of inter-
instruction, and restore the
error rupts occurred simultaneously.
program accordingly.
13 MPS nest • MPS/MPP instructions are
error nested to eight levels or more.
20 Memory • Contents of RAM are erased. • Check data in data memory
erased All data in data memory and and current values of counters, 17
current values of counters in and re-enter correct data. The
the KV-300 CPU are cleared. KV-300 CPU returns to normal
operation after the error is
cleared.
30 Scan time • Scan time exceeds 300 ms. • Check the program again.
error
• Be sure that there is no
excessive repetition using the
FOR-NEXT loop.
• Be sure that an interrupt is not
executed at a higher rate.
40 NO PRO- • An attempt was made to • Write a program into the
GRAM operate the KV-300 CPU with KV-300 CPU.
no program stored.
50 SND/RTN • Hardware error was detected • Turn the power to the KV-300
failure in a KV-300 CPU. OFF and then ON again. If
51 Division by the cause of the error is not
zero removed, the KV-300 CPU
may be faulty. Contact
52 Address nearest KEYENCE office.
error
53 Invalid
instruction
54 Watchdog
timer error
Text data
KV-300
KV-10/80
External unit
KV-300 KV-L2
CPU
Note 1: Two KV-L2s can be connected to the KV-300 CPU. The KV-L2s are defined
as No.1 and No. 2, counting from the module closest to the KV-300 CPU.
Note 2: The designated relays and DM addresses are set at startup of special utility
relay 2307.
Assigning relays
Five relay nos., including the first relay no., are assigned. The assigned relays have
the following functions.
KV-300
KV-10/80
+1 On when data has been loaded but not transferred to data memory
+2 On when a data reception error has occurred
+3 Data transmission start/stop ON: start, OFF: stop
+4 Transmits an approximately 160 msec break signal at startup.
∗∗∗∗ ∗∗∗∗
(RES) (∗∗∗∗ First relay no. +0)
binary value. Write the binary data using the LDA/STA instruction or DW instruction.
■ Text data
Enter the text data in ASCII, by byte per DM. ("00" is entered in the 8 high-order bits
and ASCII code is entered in the 8 low-order bits.)
Write the text data using the LDA/STA instruction or DW instruction.
"00" is loaded to 8 high-order bits and text data is loaded to 8 low-order bits, in
ASCII, as follows.
D15 D14 D13 D12 D11 D10 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00
Data memory
0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1
7 High-order 8 bits
[00]
Low-order 8 bits
[ASCII code]
Use the LDA/STA instruction or DW instruction to write data into data memory.
Note: Do not change the value of the text data (after the first DM +101) during
transmission, or an error will occur in the data being transmitted.
KV-300
KV-10/80
ETX into internal data memory addresses (DM9200 to DM9299), one byte per data
memory address in ASCII.
If transmitted text data includes ETX, the KV-L2 transfers the data up to immediately
before ETX to the data memory addresses. Text data after ETX is loaded as
separate data.
00 is loaded to 8 high-order bits and text data is loaded to 8 low-order bits in ASCII
as follows.
17
D15 D14 D13 D12 D11 D10 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00
Data memory
0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1
High-order 8 bits Low-order 8 bits
[00] [ASCII code]
■ ASCII string
Text data is input byte by byte in ASCII for each data memory address. Within data
memory addresses, "00" is loaded to the high-order 8 bits and ASCII code is loaded
to the low-order 8 bits. ➮ Refer to page 1-265.
KV-300
KV-10/80
DM****+1 Binary low-order 16 bits
DM****+2 Decimal point (0: None,1 to 99: DM position)
■ Binary
A binary value is input to 16 high-order bits and 16 low-order bits in data memory
addresses separately. Binary data that can be converted ranges from -2147483647
to 2147483647 in decimal.
A space (20H) in ASCII is converted to 0 in binary.
Negative numeric values are represented as a complement of two.
■ Decimal position
The value of the decimal point represents the position of the data memory address in
which decimal point 2EH is stored, counting from the top of the ASCII string. For
example, if "38.5" is written to data memory as "33H 38H 2EH 35H" in ASCII, the
decimal point is in the third data memory position and "3" is set.
1100
17
3000 3000 1100 2314
0003 ( RES) DIFU
■ Binary
A binary value be converted is input to 16 high-order bits and 16 low-order bits in
data memory addresses separately.
■ Decimal position
Specifies the decimal position written in the ASCII string. If 0, no decimal point is
specified.
After conversion, the ASCII code for decimal point (2EH) is stored in the specified
position counting from the top of the ASCII string. For example, when the binary
value is 1234 and decimal position is 2, the specified value becomes 1.234, which is
31H 2EH 32H 33H 34H in ASCII.
■ Signs
7
Specify the +/- sign to be appended to the converted value (from binary to ASCII).
The +/- sign is stored in the first DM address of the ASCII string.
• 0: No sign
No +/- sign is appended to the ASCII-converted value. "0" can be specified when the
binary value is positive. If "0" is specified when a binary value is a complement of
two, the binary is treated as a positive value.
• 1: - sign
Converts a binary value by giving -(2DH) when the binary value is a complement of
two. Adds no sign to a positive binary.
• 2: ± sign
Converts a positive binary by giving +(2BH) and a negative binary (complement on
two) by giving -(2DH).
The number of DM addresses used is the value specified as the number of bytes
in the ASCII string.
KV-300
memory addresses starting from DM9301. The total number of digits, including
KV-10/80
the decimal point, is written to DM9300.
0000 1000
DIFU
2315 2807
( SET )
Example program
Sample program
Text data received from an external device is converted to binary data and is 17
written in the DM0000 after conversion.
To begin, set the communications protocol to link mode and connect the KV-L2 to
KV-10/80
ON
OFF
7 B1 B2 B3 B4 B5 B6 B7 B8
B1 B2 B3 B4 B5 B6 B7 B8*
Baud rate 1200 bits/s OFF OFF OFF OFF
2400 bits/s ON OFF OFF OFF
4800 bits/s OFF ON OFF OFF
9600 bits/s ON ON OFF OFF
19200 bits/s OFF OFF ON OFF
31250 bits/s ON OFF ON OFF
38400 bits/s OFF ON ON OFF
Setting disabled ON ON ON OFF
Parameters Data bits 7 bits OFF OFF
8 bits ON OFF
Parity None OFF OFF OFF
Odd ON OFF OFF
Even ON ON OFF
Stop bit 1 bit OFF OFF
2 bits ON OFF
KV-300
In Display Interface mode, the KV-L2 provides a special interactive communications
KV-10/80
procedure, detailed below.
Communications procedure
In Display Interface mode, the host computer sends a command to the KV-L2 and
the KV-L2 automatically returns a response.
(Host computer)
Station no.
Header code
Text Command
FCS
Terminator
KV-L2
Station no.
Header code
Text Response
FCS
Terminator
Calculation example
@0 1 W D 0 3 E 8 1 9 6 4 2 6 * CR
station no. header code---------------------------text---------------------------FCS terminator
@ 0 1 0 0 0 0 0 0
Exclusive OR
0 0 0 1 1 0 0 0 0
Exclusive OR
1 0 0 1 1 0 0 0 1
Exclusive OR
1 0 0 1 1 0 0 0 1
: :
: :
6 0 0 1 1 0 1 1 0
Exclusive OR
4 0 0 1 1 0 1 0 0
Exclusive OR
---------------------------------------------------------
0 0 1 0 0 1 1 0
ASCII 2 6 <----------FCS Value
This example command indicates station number 1, header code WD (update data
memory), data memory start number as 1000 or 03E8 in Hex, data to write as 6500
or 1964 in Hex.
Example program
5 I = 0:FCS=0
10 INPUT "ENTER TEXT TO TRANSMIT";A$
15 I = I +1
20 FCS = FCS XOR (ASC(MID$(A$,I,1)))
30 IF I < LEN(A$) THEN 15
40 PRINT "FCS=";HEX$(FCS);"H"
KV-300
KV-10/80
This program automatically calculates the FCS value when you enter the text to the
PC with the keyboard and shows the result in display.
Note 1: Commands and responses begin with the station no. and header code and
end with the FCS and terminator.
Note 2: Up to 131 characters can be sent during a single transmission. To send a
command which has more than 131 characters, divide it into several segments and
send each of them sequentially.
➮ Refer to "7.6.2 Command and Response Format" on the next page.
C
@ x x x x x x ❋ R
Station no. (00 to 15) Header code Text (122 characters max.) FCS Terminator
KV-300
KV-10/80
1. First transmission data (131 characters max.)
@ X X X X X X C
R
Station no. (00 to 15) Header code Text no. 1 (123 characters max.) FCS Delimiter
X X C
R
C
X X ❋ R
Note 1: When a command is divided into several segments for transmission, the first
and intermediate segments end with the delimiter (CR) instead of the terminator.
Note 2: When dividing a write command such as WR, WL, WH, WC, and WD, into
segments, do not divide a 4-character data for a same channel. Divide data by a 4-
character data for a channel.
Communication procedure when dividing a command into segments and sending
them sequentially
Note 1: When several commands are being sent in succession, send the delimiter
(CR) of the current command before sending the succeeding command. Set the
delimiter timeout to at least 2 seconds.
Text
FCS
Delimiter
Terminator
Host computer
Text
FCS
Station no.
Header code
Text
FCS
Delimiter
First command Intermediate command Last command
KV-L2
KV-300
Terminator
Station no.
Header code
Text
FCS
Delimiter
Delimiter
KV-10/80
Host computer
Terminator
Station no.
Header code
Text
FCS
Delimiter
Delimiter
Command Next transmission Next transmission
OK OK
KV-L2
Station no.
Header code
Text
FCS
Delimiter
Text
FCS
Delimiter
Terminator
Text
FCS
First command Intermediate command Last command
Note 2: When several divided responses are being received, send a delimiter (CR)
to the KV-L2 after receiving the first delimiter from the KV-L2. This enables the KV-
7 L2 to send the next response; otherwise, your personal computer will not receive the
next response from the KV-L2.
Note 3: The FCS (frame check sequence) is a method of detecting communication
errors. An 8-bit exclusive OR from the top of the command/response to the last
character of the text is converted to 2-character ASCII code.
Header Command/response ❋ C
@ Station no. FCS
KV-300
data R
code
KV-10/80
Command Response
Header Function Header Command Header Response
code code data code data
RR Read I/O relay/internal RR Read start ch. Number of RR End code
utility relay channel to read Data read
RH Read temporary memory RH Read start no. RH End code
address/analog timer Number of timer to read Data read
RC Read current value of counter/ RC Read start no. RC End code
timer/high-speed counter Number of counter/timer to read Data read
RG Read status of counter/timer RG Read start no. RG End code
/high-speed counter comparator Number of counter/timer/ ON/OFF information
comparator to read
RD Read DM RD Read start DM no. RD End code
Number of DM to read Data read
RJ Read I/O relay /internal RJ Read start ch. RJ End code
utility relay Number of channel to read Data read
WR Force update of I/O relay/ WR Write start ch. WR End code
internal utility relay Data to write
WH Update temporary memory WH Write start ch. WH End code
address Data to write
WC Update current value of WC Write start no. WC End code
counter/timer/high-speed Data to write
counter 17
WG Force-update status of WG Write start no. WG End code
counter/timer/high-speed Data to write
counter comparator
WD Update DM value WD Write start no. WD End code
Data to write
WJ Force update of I/O relay/ WJ Write start ch. WJ End code
internal utility relay Data to write
R# Read set value of counter/ R# Instruction word R# End code
timer/high-speed counter Operand Set value
comparator
W# Update set value of W# Instruction word W# End code
counter/timer/high-speed Operand
counter comparator New set value
MS Read KV-300 CPU MS MS End code Operation
operation mode mode
SC Change KV-300 CPU SC Operation mode SC End code
operation mode
Header Command/response ❋ C
@ Station no. FCS R
code data
"ODH" in ASCII code value .
"40H" in ASCII code . "2AH" in ASCII code value .
1. Station no.
7 Use two ASCII code characters to set the station no. For reference, station no.
"01" is converted to "30 31" in ASCII code values as follows.
0 1
30H 31H
2. Header code
Use two ASCII characters (four characters for QQMR and QQIR) to set the
header code. For reference, the read relay command "RR" is converted to "52
52" in ASCII code values as follows.
R R
52H 52H
3. Command data
Set the relay no., data memory address, and instruction word using ASCII char-
acters. For reference, the relay no. "0015" is converted to "30 30 31 35" in ASCII
code values, and the instruction word "CNT_" to read the set value of counter/
timer (R#) is converted to "43 4E 54 20" in ASCII codes .
0 0 1 5 C N T
30H 35H 43H 20H
KV-300
KV-10/80
ASCII code conversion for FCS calculations
Header Command/response C
@ Station no. FCS ❋ R
code data
Header code Data of read start ch. Data of read start ch. Terminator
(in hexadecimal) +1(in hexadecimal)
■ Command format
Number of
Station no. Read start no. memories/ C
@
nn RH nnnn timers to read FCS ❋ R
nnnn
Header Data of read start no. (in Data of read start no. +1 Terminator
code hexadecimal) (in hexadecimal)
Note 1: The values of the temporary memory address (TM) and analog trimmer
cannot be read with a same single command at once. Read each value separately.
Note 2: The station no. is indicated in decimal; the end code, in hexadecimal.
■ Command format
Read start Number of
Station no. counters/timers C
@
nn
RC no. to read FCS ❋ R
nnnn nnnn
Header code Data of read start no. Data of read start no. +1 Terminator
(in decimal) (in decimal)
Note 1: The values of the counter/timer and high-speed counter cannot be read with
a same single command at once. Read the counter/timer and high-speed counter
values individually.
Note 2: The station no. is indicated in decimal; the end code, in hexadecimal.
■ Command format
Read start Number of
Station no. counters/timers/ C
@ RG no. comparators to FCS ❋ R
nn nnnn read nnnn
KV-300
KV-10/80
Read start No. Data to read
0001 to 0249 Timer/counter
0250 High-speed counter comparator CTC0
0251 High-speed counter comparator CTC1
0252 High-speed counter comparator CTC2
0253 High-speed counter comparator CTC3
Header code Data of read start no. Data of read start no. +1 Terminator
(ON: 1 OFF: 0) (ON: 1 OFF: 0)
Note 1: The values of the counter/timer and high-speed counter comparator CTC
cannot be read with a same single command at once. Read the counter/timer and
CTC values individually.
Note 2: The station no. is indicated in decimal; the end code, in hexadecimal.
■ Command format
Number of
Station no. Read start ch. channels to C
@ RJ read FCS ❋ R
nn nnnn
nnnn
nn nn R
KV-10/80
Header Data written to write start Data written to write start Terminator
code ch. (in hexadecimal) ch. +1 (in hexadecimal)
■ Command format
Write start
Station no. Data to write Data to write C
@ WR ch.
nnnn FCS ❋ R
nn nnnn
nn
■ Command format
Write start
Station no. Data to write Data to write C
@ WH TM no.
nnnn nnnn
FCS ❋ R
nn nnnn
Note 1: Data cannot be written to TM30 and TM31, which are read-only memory
addresses. Attempting to do so, causes a replacement data error and the end code
"15" is returned.
Note 2: The station no. is indicated in decimal; the end code, in hexadecimal.
KV-300
KV-10/80
Update current value of counter/timer/high-speed counter (WC)
This command updates the current values of the counters/timers/high-speed
counters starting from the specified counter/time no. within the specified range.
■ Command format
Write start
Station no. Data to write Data to write C
@
nn
WC counter/timer
nnnn nnnn
FCS ❋ R
no. nnnn
Note 1: The values of the counter/timer and high-speed counter CTH cannot be
updated with a same single command at once. Write the counter/timer and CTH
values individually.
Note 2: The station no. is indicated in decimal; the end code, in hexadecimal.
■ Command format
Write start
Station no. Data to write Data to write C
@ WG counter/timer
nnnn
FCS ❋ R
nn nnnn
no. nnnn
Note 1: The values of the counter/timer and high-speed counter comparator CTC
cannot be updated with a same single command at once. Write the counter/timer
and CTC values individually.
Note 2: High-speed counter comparator CTC can be turned OFF but cannot be
turned ON.
Note 3: The station no. is indicated in decimal; the end code, in hexadecimal.
■ Command format
Write start
Station No. Data to write Data to write C
@ WD DM address
nnnn nnnn
FCS ❋ R
nn
nnnn
0000 to 9999 Header Data written Data written Data written to Terminator
(in decimal) code to wite start to write start write start DM
DM address DM address address +1 (in
(in hexadeci- (in hexadeci- hexadecimal)
mal) mal)
■ Command format
Write start
Station No. Data to write Data to write C
@ WJ ch.
nnnn nnnn
FCS ❋ R
nn nnnn
Note 1: The KV-300 CPU has its own 10 input ports (0000 to 0009); therefore, when
data is written to 0000 ch, the KV-300 CPU ignores data to be written to input relays
0010 to 0015.
Note 2: Data cannot be written to addresses 0002 to 0004, or to addresses 0070 or
KV-300
KV-10/80
higher.
Note 3: Data cannot be written across special utility relays.
Note 4: The station no. is indicated in decimal; the end code, in hexadecimal.
■ Command format
Instruction
Station No. Operand C
@ R# word FCS ❋ R
nn xxxx nnnn
■ Command format
Instruction New set C
@ Station No. W# word
Operand
value FCS ❋ R
nn nnnn
xxxx nnnn
■ Command format
Station No. C
@ MS FCS ❋ R
nn
7 00 to 15 Header Terminator
(in decimal) code
Operation
Station No. End code C
@ MS mode FCS ❋ R
nn nn nnnn
■ Command format
Operation
C
@ Station No. SC mode FCS ❋ R
nn nn
KV-300
KV-10/80
Set (KS)
This command sets the ON/OFF status of the specified channel of the I/O relay,
internal utility relay, temporary memory address, timer, counter, or high-speed
counter comparator.
■ Command format
Device Ch. no. to Bit to
Station No. C
@ KS
xxxx change change FCS ❋ R
nn nn
nnnn
Reset (KR)
This command resets the ON/OFF status of the specified channel of the I/O relay,
internal utility relay, temporary memory address, timer, counter, or high-speed
counter comparator.
■ Command format
Station No. Device Ch. no. to Bit to change C
@ KR
nn
FCS ❋ R
nn xxxx change nnnn
KV-300
KV-10/80
Header code Terminator
■ Command format
C
@ Station No. CR FCS ❋ R
nn
00 to 15 Header Terminator
(in decimal) code
■ Command format
C
@ Station No. MM FCS ❋ R
nn
Test (TS)
This command returns the exact command sent from the host computer as a
response.
KV-300
KV-10/80
■ Command format
Note: The command returns a terminator or delimiter (whichever was given) as the
data delimiter.
■ Command format
Data delimiter
When specifying ch. nos. 0250 to 0253 for CNT_, CTC and CTH can be monitored.
The specified ch. no. of the device has the following ON/OFF data and current
values.
KV-300
C
KV-10/80
@ Station No. QQ MR Station No. FCS ❋ R
nn nn
■ Command format
C
@ Station No. QQ IR FCS ❋ R
nn
Header code Sub header code ON/OFF information + current Data Bit ON/OFF
value when ch. of counter/timer delimiter information
is specified
Ch. data C
FCS ❋ R
, nnnn
Note 1: The data is read in the order it was registered by the monitor I/O register
command.
Note 2: The station no., ch. to change, and bit to change are indicated in decimal;
the end code, in hexadecimal.
Note 3: For the counter/timer, only the ON/OFF data is read if no ch. is specified at
registration.
Abort (XZ)
The abort command allows the KV-L2 to stop the current operation and accept a
new command. This command generates no response.
■ Abort command
C
@ Station No. XZ FCS ❋ R
nn
00 to 15 Header Terminator
(in decimal) code
Initialize
KV-300
KV-10/80
The command initializes all station nos. This command requires no station no., FCS,
and generates no response.
■ Initial command
C
@ ❋ ❋ R
■ Response format
C
@ Station No. IC FCS ❋ R
nn
00 to 15 Header Terminator
(in decimal) code
End codes
The following table summarizes end codes and remedies
KV-300
reception.
KV-10/80
12 Overrun error KV-L2 receives the next KV-L2 operation is
command during recep- delayed. Reduce baud
tion of current command. rate and retry transmis-
sion.
13 FCS error FCS is incorrect. This Check the FCS calcula-
error may be generated tion procedure. If the
by FCS calculation error error is caused by noise,
or noise. retransmit the command.
14 Format error Command format is Check and correct the
incorrect. command format and
retransmit the command.
15 Replacement data error Wrong area is specified Specify the correct area
for read/write. and retry transmission.
18 Frame length MAX error Command exceeds the Divide the frame into two
max. length for one and retry transmission.
transmission.
19 Execution disabled error Monitor I/O is not regis- Register the monitor I/O
tered. and execute the com-
mand.
A0 Aborted due to parity error Various errors can occur Retry transmission from
in transmitted data during during a write command the beginning.
execution of command. is executed across
A1 Aborted due to framing several frames. Data
error in transmitted data transmitted before the
during execution of occurrence of the error is
written to the specified
command.
areas on the KV-300 17
A2 Aborted due to overrun
CPU.
error in transmitted data
during execution of
command.
A3 Aborted due to FCS error
in transmitted data during
execution of command.
A4 Aborted due to format
error in transmitted data
during execution of
command.
A5 Aborted due to replace-
ment error in transmitted
data during execution of
command.
A8 Aborted due to frame
length MAX error in
transmitted data during
execution of command.
OFF
A1 A2 A3 A4
7 ON
OFF
B1 B2 B3 B4 B5 B6 B7 B8
B1 B2 B3 B4 B5 B6 B7 B8
Baud rate 1200 bits/s OFF OFF OFF OFF
2400 bits/s ON OFF OFF OFF
4800 bits/s OFF ON OFF OFF
9600 bits/s ON ON OFF OFF
19200 bits/s OFF OFF ON OFF
31250 bits/s ON OFF ON OFF
8400 bits/s OFF ON ON OFF
Setting disabled ON ON ON OFF
Parameters Data bits 7 bits OFF OFF
8 bits ON OFF
Parity None OFF OFF OFF
Odd ON OFF OFF
Even ON ON OFF
Stop bit 1 bit OFF OFF
2 bits ON OFF
KV-300
Connect a commercially available RS-232C standard connection cable or null
KV-10/80
modem cable to the RS-232C connector at port 1.
External unit External unit
KV-L2 designated as DTE KV-L2 designated as DCE
9 10 11 12 13
14 15 16 17 18 19 20 21 22 23 24 25
SD 2 2 SD SD 2 2 SD
RD 3 3 RD RD 3 3 RD
8
RS 4 4 RS RS 4 4 RS
7
CS 5 5 CS CS 5 5 CS
6
5
6 DR 6 DR
34
20 ER 20 ER
21
SG 7 7 SG SG 7 7 SG
D-Sub 25-pin
connector
2. When using the KV-L2 port 2 set to RS-422A mode, wire the cable as shown
below. 17
KV-L2 External unit
1 3 5
SG SDA RDA
SDA 3 SDA
(SG) (SD) (RD) SDB 2 SDB
2 4
RDA 5 RDA
SDB RDB RDB 4 RDB
SG 1 SG
KV-L2 terminal nos.
Text data
KV-300
KV-10/80
Note 1: Two KV-L2s can be connected to the KV-300 CPU. The KV-L2s are defined
as No.1 and No. 2, counting from the module closest to the KV-300 CPU.
Note 2: The designated relays and DM addresses are set at startup of special utility
relay 2307.
Assigning relays
KV-300
KV-10/80
Five relay nos., including the first relay no., are assigned. The assigned relays have
the following functions.
Relay No. Function
First relay no. +0 ON when data has been loaded
+1 On when data has been loaded but not transferred to data memory
+2 On when a data reception error has occurred
+3 Data transmission start/stop ON: start, OFF: stop
+4 Transmits an approximately 160 msec break signal when turning ON.
∗∗∗∗ ∗∗∗∗
(RES) (∗∗∗∗ First relay no. +0)
■ Text data
Enter the text data in ASCII, by byte per DM. ("00" is entered in the 8 high-order bits
and ASCII code is entered in the 8 low-order bits.)
Write the text data using the LDA/STA instruction or DW instruction.
Data memory
addresses 1st DM no.+100 1st DM no.+101 1st DM no.+102 1st DM no.+103 to 1st DM no. +198 1st DM no.+199
KV-300
KV-10/80
Number Number of data bytes data 1 data 2 data 3 to data 98 data 99
"00" is loaded to 8 high-order bits and text data is loaded to 8 low-order bits, in
ASCII, as follows.
D15 D14 D13 D12 D11 D10 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00
Data memory
0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1
High-order 8 bits Low-order 8 bits
[00] [ASCII code]
Use the LDA/STA instruction or DW instruction to write data into data memory.
Note: Do not change the value of the text data (after the first DM +101) during
transmission, or an error will occur in the data being transmitted.
The KV-L2 can receive a maximum of 100 bytes of text data containing the delimiter
CR or CR LF in the last byte. Last byte
C C L
Text data (100 bytes max.) R or R F
If transmitted text data includes CR, the KV-L2 transfers the data up to immediately
before CR to the data memory addresses. Text data after CR is loaded as separate
data.
Received data C C L
data 1 data 2 data 3 ----------- data 99 R or R F
Data memory
1st DM no.+00 1st DM no.+01 1st DM no.+02 1st DM no.+03 to 1st DM no.+98 1st DM no.+99
addresses
Number Number of data bytes data 1 data 2 data 3 to data 98 data 99
00 is loaded to 8 high-order bits and text data is loaded to 8 low-order bits in ASCII
as follows.
D15 D14 D13 D12 D11 D10 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00
Data memory
0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1
High-order 8 bits Low-order 8 bits
[00] [ASCII code]
7
ON/OFF status of special utility relays
The assigned utility relays turn ON only for the first scan when text data is loaded or
an error occurs.
Relay No. Description
First relay +0 Turns ON when text data has been loaded.
+1 Turns ON when text data has been loaded but not transferred to DM.
+2 Turns ON when an error occurs during text data reception.
KV-300
KV-10/80
When the data is loaded while the first relay no. +2 is ON, the first relay no. +2 turns
OFF when the first relay no. +0 turns ON.
To fetch the ON signal only for one scan, change the program as shown in 1. First
relay no. +0, above.
17
■ ASCII string
Text data is input byte by byte in ASCII for each data memory address. Within data
memory addresses, "00" is loaded to the high-order 8 bits and ASCII code is loaded
to the low-order 8 bits (➮ Refer to page 1-298).
■ Binary
A binary value is input to 16 high-order bits and 16 low-order bits in data memory
addresses separately. Binary data that can be converted ranges from -2147483647
to 2147483647 in decimal.
A space (20H) in ASCII is converted to 0 in binary.
Negative numeric values are represented as a 2’s complement.
■ Decimal position
The value of the decimal point represents the position of the data memory address
in which decimal point 2EH is stored, counting from the top of the ASCII string. For
example, if "38.5" is written to data memory as "33H 38H 2EH 35H" in ASCII, the
decimal point is in the third data memory position and "3" is set.
KV-300
KV-10/80
■ ASCII to binary conversion program
The following example shows a program that converts text data loaded at reception
of text data to binary form. The converted value is written to data memory addresses
starting from DM0000.
■ Binary
A binary value be converted is input to 16 high-order bits and 16 low-order bits in
data memory addresses separately.
KV-300
■ Decimal position
KV-10/80
Specifies the decimal position written in the ASCII string. If 0, no decimal point is
specified.
After conversion, the ASCII code for decimal point (2EH) is stored in the specified
position counting from the top of the ASCII string. For example, when the binary
value is 1234 and decimal position is 2, the specified value becomes 1.234, which is
31H 2EH 32H 33H 34H in ASCII.
■ Signs
Specify the +/- sign to be appended to the converted value (from binary to ASCII).
The +/- sign is stored in the first DM address of the ASCII string.
• 0: No sign
No +/- sign is appended to the ASCII-converted value. "0" can be specified when the
binary value is positive. If "0" is specified when a binary value is a 2’s complement,
the binary is treated as a positive value.
• 1: - sign
Converts a binary value by giving -(2DH) when the binary value is a 2’s complement.
Adds no sign to a positive binary.
7 • 2: ± sign
Converts a positive binary by giving +(2BH) and a negative binary (2’s complement)
by giving -(2DH).
The number of DM addresses used is the value specified as the number of bytes in
the ASCII string.
0000 1000
DIFU
2315 2807
( SET )
KV-300
< DW > < DW >
KV-10/80
DM9603 DM9602
17
7.8.2 Precautions
Environmental requirements
When installing the KV-L2, note the following:
• Avoid exposure to direct sunlight.
• Avoid exposure to temperatures below 0°C (32°F) or exceeding 50°C (122°F).
• Avoid exposure to humidity below 35%RH or exceeding 85%RH.
• Avoid areas where condensation occurs due to sudden drops in temperature.
• Avoid exposure to corrosive or flammable gases.
KV-300
KV-10/80
• Avoid exposure to airborne dust, metal particles, oil, or corrosive substances
such as salt.
• Avoid exposure to strong vibration or impact.
• Avoid locations where water, oil, or chemicals may splash the KV-L2.
• Avoid exposure to strong magnetic or electrical fields.
Panel installation
Consider accessibility and environmental resistance when installing the KV-L2 inside
a panel.
Ambient temperature
The operating temperature range of the KV-L2 is 0 to 50°C (32 to 122°F) (No freez-
ing).
Provide enough space for proper ventilation. If the temperature exceeds 50°C
(122°F), provide a fan or air conditioner.
Access
Isolate the KV-L2 as far as possible from high voltage equipment and drive equip-
ment in order to ensure safe and easy access for adjustment and maintenance. 17
Wiring
The KV-L2 terminal block includes M3.0 screws.
Use the following types of crimp terminals.
7.9 Specifications
7.9.1 Specifications
General specifications
Model KV-L2
Power supply 24 VDC (supplied from KV-300 CPU)
Maximum current consumption 150 mA
Ambient temperature 0 to 50°C (32 to 122°F), No freezing
Relative humidity 35 to 85%, No condensation
KV-300
KV-10/80
Communications protocol
Interface RS-232C/RS-422A
Duplex Full
Synchronization Start/stop
Baud rate 1200, 2400, 4800, 9600, 19200, 31250, 38400 bits/s
(switch selectable)
Data length 7 or 8 bits
Stop bit length 1 or 2 bits
Parity check Even, odd/None
Maximum transmission distance RS-232C: 15 m RS-422A: 500 m (total length)
7
RS-232C connector specifications
14 15 16 17 18 19 20 21 22 23 24 25
2 Transmit data SD
3 Receive data RD
8
7
4 Transmit request RS
6
5
4
5 Transmission enabled CS
3
2
1
7 Signal ground SG
D-Sub 25-pin
connector
7.9.2 Dimensions
Unit: mm
27.3
90
KV-300
94 35.4
KV-10/80
35 85
39.4
17
Header C
@ Station no. Command/response FCS ❋ R
code
Range of station no.: 00 to 15
Command Response
KV-300
KV-10/80
Header Function Header Command data Header Response
code code code data
RR Read I/O relay/internal utility relay RR Read start ch. RR End code
Number of channels Data read
to read
RH Read temporary memory/analog timer RH Read start no. RH End code
Number of timers Data read
to read
RC Read current value of counter/timer/high-speed RC Read start no. RC End code
counter Number of counters/ Data read
timers to read
RG Read status of counter/timer/high-speed counter RG Read start no. RG End code
comparator Number of counter/ ON/OFF
timer/comparator to information
read
RD Read DM RD Read start DM no. RD End code
Number of DM Data read
addresses to read
RJ Read I/O relay/internal utility relay RJ Read start ch. RJ End code
Number of channels Data read
to read
WR Forced update of I/O relay/internal utility relay WR Write start ch. WR End code
Data to write
WH Update temporary memory WH Write start ch. WH End code
Data to write 17
WC Update current value of counter/timer/high-speed WC Write start no. WC End code
counter Data to write
WG Forced update of status of counter/timer/high- WG Write start no. WG End code
speed counter comparator Data to write
WD Update DM value WD Write start no. WD End code
Data to write
WJ Forced update of I/O relay/internal utility relay WJ Write start ch. WJ End code
Data to write
R# Read set value of counter/timer/high-speed R# Instruction word R# End code
counter comparator Operand Set value
W# Update set value of counter/timer/high-speed W# Instruction word
counter comparator Operand
New set value W# End code
MS Read KV-300 CPU operation mode MS MS End code
Operation
mode
SC Change KV-300 CPU operation mode SC Operation mode SC End code
KS Set KS Device Changed no. KS End code
Changed bit
KR Reset KR Device KR End code
No. to change
Bit to change
Command Response
Header Function Header Command data Header Response data
code code code
FK Set/reset multiple channels FK Device FK End code
No. to change
Data to forceset/
reset
CR Read values of DM0008 to DM0015 CR CR End code
Data of DM0008 to
DM0015
MM Read model code MM MM End code 13
KV-300
This chapter describes the optional Analog I/O module for KV-300 Series.
8.1 Outline
Features
The KV-AN6 has both A/D and D/A conversion functions. The A/D conversion
function converts analog input to digital data and stores the converted data in the
KV-300 CPU; the D/A conversion function converts digital data stored in the KV-300
CPU to analog output data for output devices.
Inverter M
KV-300
Voltage
Transducer
KV-10/80
Temperature
recorder
(4ch) (2ch)
Temperature
Preampifier
± 10V ± 10V
Pressure Analog
± 5V ± 5V
regulator
Flow rate 0 to 20mA 4 to 20mA
Speed Temperature control
KV-AN6
A/D converter
Converts analog input to 16-bit binary data (digital data). (The effective bits are the
12 bits starting from the most significant digit.)
Three input ranges can be selected with a slide switch: -10 to +10 V (voltage), -5 to
+5 V (voltage), and 0 to 20 mA (current).
Each KV-AN6 module has 4 input channels.
D/A converter
Converts 16-bit binary data (digital data) to analog output. (The effective bits are the
12 bits starting from the most significant digit.)
Three output ranges can be selected with a slide switch: -10 to +10 V (voltage), -5 to
+5 V (voltage), and 4 to 20 mA (current).
Each KV-AN6 module has two output channels.
8
Note: As shown below, 12 bits of the 16-bit binary data, starting from the most
significant digit, are effective.
D15 D14 D13 D12 D11 D10 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00
0 1 1 1 1 1 0 1 0 0 0 0 X X X X
8.2 Configuration
8.2.1 Parts and Functions
1
4 5
KV-300
KV-10/80
CH0 CH4
D
/
A
CH1 CH5
D
2
/
A
CH2 ±5V ±10V
CH3
18
5 Output range selection switch Selects the analog output range for D/A conver
sion. Provided for each channel.
(White represents the switch position.)
±5V ±10V
I/O modules
(11 modules max.)
Note: If five KV-AN6 modules are connected to the KV-300 CPU, two KV-L2
modules and six I/O modules can be connected.
8.3 Installation
8.3.1 Terminal Nos.
The following signals are assigned to the terminal nos. of the KV-AN6.
KV-AN6
KV-300
0
KV-10/80
C0
1
A
C1 /
D
2
C2
C3
V4
C4
I4
D
/
C5 A
V5
C6
I5
C7
F.G.
Signals
Open
KV-300
KV-10/80
3. Remove the terminal block by pushing the terminal block lock bar to release the
8 terminal block.
Remove the terminal block
CAUTION Turn OFF the power switch before removing the terminal block.
Voltage signal
ch. 0 0
Shield
C0
Voltage signal
ch. 1 1
KV-300
KV-10/80
Shield
C1
Voltage signal D/A converter
ch. 2 2
Shield
C2
Voltage signal (Load)
ch. 3 3
Analog signal
Shield cable
(Input) C3
+ Voltage signal
V4 ch. 4
_
C4 Shield
A/D converter
I4
C5
+ Voltage signal
V5 ch. 5
–
C6 Shield
I5
C7
F.G.
18
Note 1: Use a two-core twisted pair shielded cable as the analog signal cable.
Note 2: Isolate the analog signal cable wiring from the AC cable wiring including
power cables.
Note 3: Connect a shielding wire or shielded cable to the input side for analog input,
and to the load side for analog output. It may be better to connect a shielding wire or
shielded cable to C0 to C7, depending on the case.
Shield C0
Current signal
ch. 1 1
KV-300
KV-10/80
C1
Current signal Shield
ch. 2
2 D/A converter
C2
Current signal Shield
Ch.3 3
C3
(Input) Shield
(Load)
V4
Analog signal
C4 cable
A/D converter
+ Current signal
I4
– ch. 4
C5
Shield
V5
C6
+
I5 Current signal
– ch. 5
C7
Shield
F.G.
Note 1: Use a two-core twisted pair shielded cable as the analog signal cable.
Note 2: Isolate the analog signal cable wiring from the AC cable wiring including
power cables.
Note 3: Connect a shielding wire or shielded cable to the input side for analog input,
and to the load side for analog output. It may be better to connect a shielding wire or
shielded cable to C0 to C7, depending on the case.
KV-300
KV-10/80
CH0 CH4
D
/
A
A CH1 CH5
/
D
CH2
±5V ±10V
CH3
±5V ±10V 0 to 20 mA
Turn OFF the power switch before changing selection switch settings. 18
CAUTION Analog input signals must fall within the range set by the selection switch.
8.4 Programming
8.4.1 Input Characteristics (A/D)
On the KV-AN6, the analog input function converts analog signals from an external
unit to digital signals. The converted data is written into the assigned data memory
addresses at every scan time.
An external analog input signal can be set according to the input range, as shown in
the following table.
switch
Voltage input -5 to +5 V
-10 to +10 V
Current input 0 to 20 mA
The selection switches in the above table are located on the right side of the KV-
AN6 (➮ Refer to page 1-319).
(7D00H) +32000
(±10 V range)
+25600
+19200
+12800
-12800
-19200
-25600
-32000 (8300H)
Current input
(Digital-converted value)
8 (7D00H) +32000
(0 to 20 mA range)
+25600
+19200
+12800
+6400
(Analog input value)
0 2 4 6 8 10 12 14 16 18 20 (mA)
-6400
-12800
-19200
-25600
(8300H) -32000
Through the A/D converter, analog input signals are written as binary data (16 bits)
into the assigned data memory addresses by channel (➮ Refer to page 1-324). The
effective bits are the 12 bits starting from the most significant digit.
When a signal beyond the setting range is input, it is converted to 7FFFH at positive
voltage and 8000H at negative voltage. For example, if +10 V is input when input
range is set to ±5 V, it is digitally converted to 7FFFH.
KV-300
KV-10/80
7 D 0 Undefined
8 3 0 Undefined
• Since the effective bits that are written into data memory are the 12 bits starting
from the most significant digit, resolution is 1/4000 of the full-scale value.
To calculate the input voltage value or input current value from the data written
into data memory, use the following expressions:
Input voltage = DM value/16 x Resolution of the input range
18
Input current = (32000 + DM value)/16 x Resolution of the input range
To convert a 16-bit DM value to an effective 12-bit value, divide the 16-bit value
by 16.
Example 1
When 19200 (in decimal) is written into DM addresses in the ±10 V range
19200/16 x 5 mV = 6000 mV = 6 V
The KV-AN6 receives input of +6 V.
Example 2
When 12800 (in decimal) is written into DM addresses in the ±5 V range
12800/16 x 2.5 mV = 2000 mV = 2 V
The KV-AN6 receives input of 2 V.
Example 3
When 16000 (in decimal) is stored in DM addresses in the 0-to-20 mA range
(32000 + 16000)/16 x 5 µA = 15000 µA = 15 mA
The KV-AN6 receives input of +15 mA.
The selection switches in the table are located on the right side of the KV-AN6.
➮ Refer to page 1-319.
Voltage output
8
(±5 V range)
-32000(8300H)
4
-25600
-19200
-12800
-6400
0
6400
12800
19200
25600
(7D00H)32000
-2
(Digital data)
-4
-6
-8
-10
Current output
(mA)
(4-to-20 mA range)
20
8 18
16
14
12
10
2
0
-32000
-25600
-19200
-12800
-6400
6400
12800
19200
25600
32000
(Digital data)
Through the D/A converter, digital data stored in the assigned data memory ad-
dresses by channel (Refer to page 1-324) is output as analog signals. The effective
bits are the 12 bits starting from the most significant digit.
Note: A change in the value of the DM address from 7FFFH (32767) to 8000H
(32768) or vice versa means that the polarity is reversed when the voltage output is
selected, or that output drastically changes from the maximum value to the minimum
value or vice versa when the current output is selected. Use the program to maintain
output data within the specified range.
Voltage output
DM value = Output voltage/Output range resolution x 16
Current output
DM value = (Output current -12 [mA])/0.004 [mA] x 16
To convert a 16-bit DM value to an effective 12-bit value, multiply the 16-bit value
KV-300
KV-10/80
by 16.
Example 1
When +7.5 V is output in the ±10 V range
7.5 V/5 mV x 16 = 24000
The DM value is 24000.
Example 2
When -5 V is output in the ±5 V range
5 V/2.5 mV x 16 = 32000
Since the output voltage in this example is negative, set the result by subtracting
32000 from 0 as the DM value.
Example 3
When 18 mA is output in the 4-to-20 mA range
(18 mA - 12 mA)/0.004 x 16 = 24000
The DM value is 24000.
18
W: write
1 A/D DM9000 Analog input ch. 0 R
DM9001 Analog input ch. 1
DM9002 Analog input ch. 2
DM9003 Analog input ch. 3
D/A DM9004 Analog output ch. 4 W
DM9005 Analog output ch. 5
2 A/D DM9006 Analog input ch. 0 R
DM9007 Analog input ch. 1
DM9008 Analog input ch. 2
DM9009 Analog input ch. 3
D/A DM9010 Analog output ch. 4 W
DM9011 Analog output ch. 5
3 A/D DM9012 Analog input ch. 0 R
DM9013 Analog input ch. 1
DM9014 Analog input ch. 2
DM9015 Analog input ch. 3
D/A DM9016 Analog output ch. 0 W
DM9017 Analog output ch. 1
4 A/D DM9018 Analog input ch. 0 R
DM9019 Analog input ch. 1
DM9020 Analog input ch. 2
DM9021 Analog input ch. 3
D/A DM9022 Analog output ch. 0 W
DM9023 Analog output ch. 1
8 5 A/D DM9024 Analog input ch. 0 R
DM9025 Analog input ch. 1
DM9026 Analog input ch. 2
DM9027 Analog input ch. 3
D/A DM9028 Analog output ch. 4 W
DM9029 Analog output ch. 5
The KV-AN6 modules are numbered sequentially starting with the one closest to the
KV-300 CPU.
Example
This program reads data from analog input ch. 0 of the KV-AN6 module no. 1, and
writes positive data into DM0000 and negative data into DM0001. (The data value
up to the second decimal position is written.)
Input range of ±10 V is used.
Input of +10 V is stored as 1000 into DM0000, and input of -10V is stored as 1000
into DM0001 (data value x 100).
KV-300
KV-10/80
Ladder diagram
Analog input
Example
DM9000 data D15 D14 D13 D12 D11 D10 D09 D08 D07 D06 D05 D04 D03 D02 D01 D00
0 1 1 1 1 1 0 1 0 0 0 0 0 0 0 0
7 D 0 0
32000 Convert to decimal:
→
■ Conversion tip
Conversion from hexadecimal data to decimal data
Example
This program measures the data of analog input ch. 1 of the KV-AN6 module no. 1
under the following conditions.
• When the data is positive, the average of 100 measurements is written into
DM100 (data value x 100).
• When the data is negative, the average of 100 measurements is written into
DM101 (data value x 100).
KV-300
KV-10/80
• Maximum value +6 V
• Minimum value -6 V
• Input range ±10 V
• When analog input exceeds the maximum value, 500 turns ON.
• When analog input is below the minimum value, 501 turns ON.
Ladder diagram
2008 #09000
DW Sets DM9000.
DM0000
Special utility relay
#19200
Sets 19200 (+6 V) as the 2008 initializes
DW
DM0001 maximum value. these settings at
startup. (See the
#46336 4th parameter
DW
Sets 46336 (-6 V) as
the minimum value. setting of the ITVL
DM0002
instruction.)
#00100 Sets 100 as the measure- For the ITVL
DW ment count at which to
DM0003 obtain an average.
2003 ITVL
PLS instruction, refer to page 3-117.
DM0000
0001
PAUSE Input to 001 stops average measurement.
01000
0002
RES Input to 002 resets average measurement.
1003 DM0007 $8000 2009 #00016 #00005 DM0100 When the average of 100 measurements is
LDA CMP DIV MUL STA
positive, the data value x 1000 is written into
8 DM0100 (+5 V → 5000).
2009 #00001 #00016 #00005 DM0101 When the average of 100 measurements is
COM ADD DIV MUL STA
negative, the data value x 1000 is written into
DM0101 (-5 V → 5000).
1000 #00020 When analog input exceeds the maximum value,
T000 relay 1000 turns ON for the first scan. Turns ON
0500 for 2 seconds.
0500 T000 0500
Example 1
Output the data written into DM0000 to analog output ch. 1 of the KV-AN6 module
No. 1 (±10 V output range)
• When input 0000 is ON, +10 V is output.
• When input 0000 is OFF, -10 V is output.
Ladder diagram
KV-300
KV-10/80
2002 #00010
Inputs 10 V to
DW
DM0000
DM0000.
0000 DM0000 #01000 #00005 #00016 DM9004 When input 0000 is
LDA MUL DIV MUL STA ON, outputs +10 V
from ch. 1.
0000 DM0000 #01000 #00005 #00016 #00001 DM9004
LDA MUL DIV MUL COM ADD STA When input 0000 is
OFF, outputs -10 V
from ch. 1.
Example 2
Input trimmer variable data by using analog timer ch. 0 of the KV-300 CPU and
output voltage to analog output ch. 1 of the KV-AN6 module no. 1.
• When input 0000 is ON ( 0 to 10 V), voltage increases when trimmer of analog
timer is turned clockwise.
• When input 0000 is OFF (0 to -10 V), voltage decreases when trimmer is turned
clockwise.
• Output range of ±10 V is used.
Ladder diagram
Trimmer input
2002 0 #00100 #00320 #00249 DM0000 Variable from 0 to
TMIN MUL MUL DIV STA 32000
Trimmer variable (0
to 32000)
0 to 10 V
0000 DM0000 DM9004
When input 0000 is
LDA STA ON, outputs 0 to 10 V
to analog output ch.
Example
Fetch signals from analog input ch. 0 of the KV-AN6 module no. 1 and output the
signals as analog data to analog output ch. 4.
Select either voltage-to-current conversion or current-to-voltage conversion, using
the range selection switches. For the range setting, refer to page 1-319.
Ladder diagram
KV-300
KV-10/80
2002 DM9000 $8000 2009 #00016 #00005 DM0000 When analog input is
LDA CMP DIV MUL STA positive, writes the
data value x 1000 into
2009
DM0000.
#00001 #00016 #00005 DM0001
COM ADD DIV MUL STA (In the diagram) Let
the complement of
two be true.
When analog input is
negative, writes the
data value x 1000 into
DM0001.
Analog input/output
is disabled.
KV-300
KV-10/80
Is READY OFF
indicator ON?
NO
Check analog input/
output and I/O channel
setting.
NO
YES
Is analog input
enabled?
Write data into data
memory addresses
NO with the KV-P3E(01)
(Hand-held Programmer) 18
to verify that analog
Check data in data output is enabled.
memory address on
status monitor with the
KV-P3E(01) (Handheld
Programmer).
NO
8.5.2 Precautions
Environmental requirements
When installing the KV-AN6, note the following:
• Avoid exposure to direct sunlight.
• Avoid exposure to temperatures below 0°C (32°F) or exceeding 50°C (122°F).
• Avoid exposure to humidity below 35%RH or exceeding 85%RH.
• Avoid areas where condensation occurs due to sudden drops in temperature.
• Avoid exposure to corrosive or flammable gases.
KV-300
KV-10/80
Panel installation
Consider accessibility and environmental resistance when installing the KV-AN6
inside a panel.
Ambient temperature
The operating temperature range of the KV-AN6 is 0 to 50°C (32 to 122°F) (No
freezing).
Provide enough space for proper ventilation.
if the temperature exceeds 50°C (122°F), provide a fan or air conditioner.
Access
Isolate the KV-AN6 as far as possible from high voltage equipment and drive
equipment to ensure safe and easy access for adjustment and maintenance.
8 Wiring
The KV-AN6 terminal block includes M3.0 screws.
Use the following types of crimp terminals.
8.5.3 Specifications
Environmental specifications
Model KV-AN6
Maximum current consumption 240 mA
Ambient temperature 0 to 50 °C (32 to 122°F), No freezing
Relative humidity 35 to 85%, No condensation
Noise immunity 1500 Vp-p min., pulse width: 1 µs and 50 ns
(Noise generated by noise simulator)
Vibration 10 to 55 Hz, double amplitude of 1.5 mm max., applied
in each of X, Y, and Z directions (2 hrs)
KV-300
KV-10/80
(1 G when attached to a DIN rail)
Insulation resistance 50 MΩ between power terminal and I/O terminal, and
external terminals and housing (measured with 500
VDC megohmmeter)
Environmental restrictions No excessive dust or corrosive gas
Weight Approx. 200 g
System specifications
A/D specifications D/A specifications
Analog input Voltage ±10 V Analog output Voltage: ± 10 V
(switch selectable) ±5 V (voltage output: switch ±5V
Current: 0 to 20 mA selectable; current output: Current: 4 to 20 mA
use separated terminal)
Input impedance Voltage: 1 MΩ Output impedance Voltage: 100 Ω
Current: 350 Ω Max. load resistance Current: 400 Ω
Analog input channels 4 channels Analog output channels 2 channels
Resolution ±10 V 5 mV (1/4000) Resolution ±10 V 5 mV (1/4000)
±5 V 2.5 mV (1/4000) ±5 V 2.5 mV (1/4000)
0 to 20 mA 5 mA (1/4000) 4 to 20 µA 4 µA (1/4000)
Digital data format 16-bit binary, 2’s complement
Effective bits are the 12 bits starting from the most significant bit.
Total accuracy ±1% of full scale
Conversion rate 720 µs/4 ch Conversion rate 360 µs/2 ch
Isolation method Photocoupler: Not isolated between channels or between A/D and D/A converters
Absolute input Voltage: ±12 V max. 18
Current: 30 mA max.
8.5.4 Dimensions
Unit: mm
27.3
KV-300
KV-10/80
90 35.4
94
35 84.5
39.4
This chapter describes the optional Analog I/O unit for KV-10/80 Series.
Note: KV-AD4/DA4 is available for KV-10/80 Series only.
9.1 Outline
Features
The KV-AD4 is provided with an A/D conversion function, while the KV-DA4 is
provided with a D/A conversion function.
➮ For details, see "Part Names and Functions" on the next page.
Voltage
CPU KV-AD4 Current
Analog Transducer Power
signals Power factor
Power input
Data A/D
supply
Memory converter
unit
Temperature
Pre-amp Pressure
Flow rate
Writing digital data Speed
Analog controller
Writing digital data
9.2 Configuration
9.2.1 Part Names and Functions
This section describes the names and functions of parts on the KV-AD4/DA4.
KV-AD4
The following describes the names and functions of parts on the KV-AD4.
KV-300
KV-10/80
2 Voltage input terminal block
* Protective cover is attached
at purchase.
C0 C1 C2 C3
V0 V1 V2 V3 1 POWER indicator
KEYENCE
KV - AD4
POWER
KV-DA4
The following describes the names and functions of parts on the KV-DA4.
Note: A terminal for connecting external instruments is called a "channel." This are
sometimes abbreviated to "ch." Only one external instrument is terminal connected
to a single channel.
Do not simultaneously connect the current and voltage of the same channel
CAUTION (V0 and I0,V1 and I1,V2 and I2,V3 and I3) to external instruments. Doing so
might cause the KV-DA4 to malfunction.
9.2.2 Specifications
The tables below show general specifications, performance specifications, terminal
block specifications and the external dimensions of the KV-AD4/DA4.
KV-AD4
General specifications
Item Specifications
Model KV-AD4
KV-300
Power supply voltage Supplied from CPU (24 VDC +10%, -20%)
KV-10/80
Current consumption 120 mA max.
Ambient temperature 0 to 50°C (32 to 122°F), No freezing
Relative humidity 35 to 85%, No condensation
Withstand voltage 1500 VAC for 1 minute (across all external terminals and housing,
and across all power terminal and I/O terminals)
Vibration 10 to 55 Hz double-amplitude 1.5 mm max. for 2 hours each in X,
Y and Z-axes
Insulation resistance 50 MΩ min. (across all external terminals and housing,
and across all power terminal and I/O terminals [measured by
500 VDC megohmmeter] )
Environment No excessive dust and corrosive gases allowed
Weight Approx. 180 g
Input/Output specifications
• NC (No connection)
C0 Ground for analog signal (connected internally)
C1
C2
C3
C4
C5
C6
C7
Note: Do not connect the input voltage and input current to terminals of the same
No., for example, by connecting external instruments to both V0 and I0. Doing so
might cause the KV-AD4 to malfunction.
Do not simultaneously connect the current and voltage (V0 and I0,V1 and I1,V2
CAUTION and I2,V3 and I3) of the same channel to external instruments. Doing so might
cause the KV-DA4 to malfunction.
Dimensions
9
C0 C1 C2 C3
V0 V1 V2 V3
KEYENCE
KV - AD4
POWER
99 35.4 90 111
ANALOG IN
I0 I1 I2 I3
C4 C5 C6 C7
31 39
65 43
KV-DA4
General specifications
Item Specifications
Model KV-DA4
Power supply voltage Supplied from CPU (24 VDC, +10%, -20%)
Current consumption 200 mA max.
Ambient temperature 0 to 50°C (32 to 122°F), No freezing
Relative humidity 35 to 85%, No condensation
Withstand voltage 1500 VAC for 1 minute (across all external terminals and housing,
KV-300
KV-10/80
and across all power terminal and I/O terminals)
Vibration 10 to 55 Hz double-amplitude 1.5 mm max. for 2 hours each in X,
Y and Z-axes
Insulation resistance 50 MΩ min. (across all external terminals and housing,
and across all power terminal and I/O terminals [measured by
500 VDC megohmmeter] )
Environment No excessive dust and corrosive gases allowed
Weight Approx. 180 g
Input/Output specifications
19
• NC (No connection)
C0 Ground for analog signal (connected internally)
C1
C2
C3
C4
C5
C6
C7
Note 1: Separate terminals are used for analog voltage input and analog current
output. Take care not to miswire these terminals.
Note 2: Do not connect the output voltage and output current to terminals of the
same No., for example, by connecting external instruments to both V0 and I0.
Doing so might cause the KV-DA4 to malfunction.
Dimensions
C0 C1 C2 C3
V0 V1 V2 V3
KEYENCE
KV - DA4
POWER
99 35.4 90 111
9
ANALOG OUT
I0 I1 I2 I3
C4 C5 C6 C7
31 39
65 43
One KV-AD4 and KV-DA4 module each can be connected to a single KV-10 to 80.
Other I/O expansion units can be connected to the CPU as specified in the manual.
KV-300
KV-10/80
Power supply unit CPU KV-AD4/DA4
(KV-10 to 80)
C0 C1 C2 C3
V0 V1 V2 V3
KEYENCE KEYENCE
KV - 10R
KV - AD4
POWER
ANALOG IN
I0 I1 I2 I3
C4 C5 C6 C7
➮ For details on how to connect the KV-AD4/DA4 and the KV-10 to 80, see "Connecting to the KV-10
to 80 on page 1-348. For details on how to connect other I/O expansion units, refer to page 1-192.
19
9.3 Installation
9.3.1 Installation Procedure
The KV-AD4/DA4 is connected to the CPU of the KV-10 to 80 and connected to
external instruments according to the following procedure.
1
KV-10/80
is appropriate.
➮ For details, see "9.3.2 Checking the Installation Environment" on the next page.
Preparation
Prepare items needed for installing the KV-AD4/DA4 such as signal leads and
2 crimp terminals.
➮ For details, see "Wiring" (p.1-345).
5 Trial Operation
9
KV-300
KV-10/80
• Near excessive dust, salt spray, iron powder or smoke
• Locations directly subject to vibration and shock
• Locations likely to be splashed with water, oil or chemicals
• Locations subject to strong magnetic or electric fields
19
2. Set the input mode selector switches to ON if the input is voltage when the data
to be sent from connected instruments is input to a channel. If the input is cur-
rent, set the input mode selector switches to OFF.
V0/V1 V2/V3 ON
Wiring
Follow the procedure below to wire analog I/O.
The following describes how to wire the KV-AD4.
• Use 2-core twisted pair cable for the analog signal cable.
CAUTION
KV-300
KV-10/80
• When wiring the terminals, use rounded or forked crimp terminals of width
6 mm. Wiring terminals without crimp terminals is likely to result in faulty
contact, and prevent data from being transmitted correctly. Use M3.0
screws on the terminal blocks on the KV-AD4/DA4.
• Wire the AC power cable and analog signal cable separately. Do not bundle
these cables together.
• With the KV-AD4, connect the shielded cable to the input side, and with the
KV-DA4, connect to the load side.
Wire the cables correctly. Wiring the cables to the incorrect terminals may
CAUTION
result in malfunction.
screw.
C3 C2 C1 C0
Wiring diagrams
KV-AD4 Analog Input Terminal
Refer to the following wiring diagrams when wiring the analog input terminals.
Note: Make sure that the terminals (channels) to be wired have been set by the
input mode selection switches.
→ For details, see "Setting the KV-AD4 Input Mode" on page 1-344.
KV-300
KV-10/80
Voltage output
instrument Terminal
Analog signal wire
Voltage signal V3
ch3
ANALOG IN
Shielded cable C3
Voltage signal V2
ch2
V3
I3
Shielded cable C2 C3
C7
V2
I2
C2
C6
Voltage signal V1
V1
I1
ch1
C1
C5
Shielded cable C1 POWER
KEYENCE
V0
I0
KV - AD4
C0
C4
Voltage signal V0
ch0
Shielded cable C0
(Input source side)
ch3
C7
Shielded cable Current
I2
signal
V3
I3
C3
C7
ch2
C6
V2
I2
Shielded cable
C2
C6
I1 Current
V1
I1
signal
C1
C5
POWER
ch1
KEYENCE
V0
I0
C5
KV - AD4
C0
C4
Shielded cable
I0 Current
9 signal
ch0
C4
Shielded cable (Input source side)
Terminal
Voltage
input instrument
Analog signal wire
Voltage signal V3
ch3 +
ANALOG OUT
—
Shielded cable
C3
Voltage signal V2
KV-300
V3
+
I3
KV-10/80
ch2
C3
C7
—
V2
I2
C2
C2
C6
Shielded cable
Voltage signal V1
V1
I1
ch1 +
C1
C5
POWER
KEYENCE
—
V0
I0
KV - DA4
C1
C0
C4
Shielded cable
Voltage signal V0
ch0 +
—
Shielded cable C0
(Load side)
— signal
C7 ch3
Shielded cable
I2
Current
V3
+
I3
C3
C7
— signal
V2
ch2
I2
C6
C2
C6
Shielded cable
I1 Current
V1
I1
+
C1
C5
signal
POWER
—
KEYENCE
V0
I0
ch1
KV - DA4
C5
C0
C4
Shielded cable
I0 Current
+
— signal
ch0
C4
(Load side)
19
KV-AD4
KV-300
KV-10/80
KV-10
Note: Make sure that the power is turned OFF before connecting the KV-AD4/DA4
to the KV-10 to 80.
Connector cable
9
• When connecting the connector cable do not hold it by its cable. Hold it by
CAUTION
the connector. Applying unnecessary force on the cable may cause the unit
to malfunction.
• Always connect the connector cable by hand. Using a tool to connect the
connector cable may apply excessive force on the unit, causing it to mal-
function.
9.3.6 Maintenance
This section describes how to inspect and clean the unit.
KV-300
KV-10/80
Generally, inspect the following points:
• Are connection parts disconnected or loose?
• Are connectors disconnected or loose?
• Are the terminal screws on the terminal block loose?
• Are relays fused or their contacts faulty?
• Are connector cables between units and instruments damaged?
■ Cleaning
Dirt adheres to the CPU and other units when they are used continuously for a
long time. Clean off any dirt on these units with a clean cloth.
Before removing any dust or dirt from fine parts such as connectors, remove the
connector and then remove with a cotton swab.
19
9.4 Programming
9.4.1 Programming the KV-AD4
This section describes the A/D conversion mechanism, and the digital data that is
written to the CPU by the KV-AD4 after A/D conversion. It also describes how to
calculate actual voltage and current values based upon the digital data written to
CPU.
CPU KV-AD4
KV-300
KV-10/80
4 Sequence 1 Analog
Power program 2A/D input Transducer External
supply converter or instrument
unit Data memory for pre-amp (e.g. sensor)
A/D conversion
3. The KV-AD4 then writes the digital data to the data memory for A/D conversion
on the CPU.
• Digital data is automatically written at each scan.
➮ For details, see "About Digital Data after A/D Conversion" on the next page.
4. If necessary, the digital data is processed by the sequence program on the CPU.
• The value of the actual input voltage or current can be calculated from the
digital data.
9 ➮ For details, see "Calculating Voltage and Current Values from Digital Data"on page 1-352.
The calculated values can be used for further processing besides the sequence program.
• The digital data can also be output as analog data as it is.
KV-300
KV-10/80
Note: When the KV-AD4 is connected to the CPU, the conversion data is written at
each scan even if the channels on the KV-AD4 are not in use.
The address of the data memory to which digital data is written varies according to
the channel (terminal) to which the instrument for analog input is connected. The
following table shows the correspondence between channel and data memory.
+3000 +3000
+2000
+2000
+1000
-10 -8 -6 -4 -2 0 +2 +4 +6 +8 +10
Voltage
(V)
+1000
Current 19
0 2 4 6 8 10 12 14 16 18 20 (mA)
For example, when analog input is +5 V, 3000 will be written to the data memory
for A/D conversion. If the analog input is outside of the input range, 0 and 4095 are
written as the minimum and maximum values.
Example
When digital data value 3800 (decimal) is written to data memory
(3800 x 5 (mV)) - 10000 = 9000 (mV) = 9 (V)
This indicates that an analog value of 9 V was input to the KV-AD4.
Example
When digital data value 3800 (decimal) is written to data memory
(3800 x 4 (µA)) + 4000 = 19200 (µA) = 19.2 (mA)
This indicates that an analog value of 19.2 mA was input to the KV-AD4.
Resolution
"Resolution" refers to the minimum analog input value by which digital data can be
changed. For example, 5 mV is the resolution of input range -10 to +10 V. This
indicates that the digital data in memory changes when the analog input value
changes by at least 5 mV. The digital data in memory will not change if the analog
input value changes by only 4 mV.
KV-300
KV-10/80
CPU KV-DA4
1 Sequence 5 Analog
Power program 4D/A output External
supply conversion instrument
unit 2 Data memory for
D/A conversion
2. The digital data on the channel to be converted is written to the data memory for
D/A conversion by the sequence program.
➮ For details, see "Converting Digital Data to Voltage or Current Values to be Output" on page 1-
354.
3. The special utility relay for D/A conversion of the channel to be converted to
analog data is set to ON.
• The special utility relay for D/A conversion acknowledges the request at the
rising edge of the relay.
➮ For details, see "Writing Digital Data to Data Memory for D/A Conversion" on page 1-356.
The D/A conversion instruction is transferred to the KV-DA4.
Note: When making a sequence program, take care not to exceed the output range
KV-300
KV-10/80
(0 to 4095). If a value exceeding this range is written to the data memory for D/A
conversion, unsteady values will be output from the KV-DA4.
Digital data = (output voltage (mV) ÷ resolution (5 mV)) + offset value (2000)
Example
When outputting +7.5 V
(7500 (mV) ÷ 5 (mV)) + 2000 = 3500
Write "3500" to D/A conversion memory.
Next, turn ON the special utility relay for D/A conversion.
Digital data = (output current (µA) ÷ resolution (4 µA)) - offset value (1000)
Example
When outputting 18 mA
(18000 (µA) ÷ 4 (µA)) - 1000 = 3500
Write "3500" to data memory for D/A conversion.
Next, turn ON the special utility relay for D/A conversion.
Resolution
KV-300
KV-10/80
"Resolution" refers to the minimum analog output value by which digital data can be
changed. For example, 5 mV is the resolution of output range -10 to +10 V. This
indicates that the analog output changes by 5 mV when the value of the digital data
changes by 1.
+2 10
Digital 8
0 data 6
+1000
+2000
+3000
+4000
-2
4
-4 2
0 Digital
-6 data
+1000
+2000
+3000
+4000
-8
-10
19
Data memory for D/A conversion on the CPU and special utility relays for D/A
conversion are used only when the KV-DA4 is connected to the CPU. This data
memory and special utility relays can be used as regular data memory and relays,
respectively, when the KV-DA4 is not connected to the CPU. When the KV-DA4 is
connected to the CPU, this data memory and special utility relays can be used only
for D/A conversion and not for other applications. If data memory for D/A conversion
KV-300
and special utility relays for D/A conversion are used for other applications, this may
KV-10/80
To output digital data as analog data, the digital data to be analog-output is first
written to data memory for D/A conversion, and then the special utility relays for D/A
conversion is turned ON matching the channel from which digital data is to be
output.
Note 1: The CPU transfers the data on the rising edge of the special utility relays for
D/A conversion. So, analog output will not change while the special utility relays for
D/A conversion stays ON.
Note 2: KV-DA4 outputs voltage 0V and current 4 mA when the power is turned ON.
Note 3: In the case of voltage output, set 0 V (digital data value 2000) and set the
special utility relays for D/A conversion to ON for each channel in use before the
data in data memory for D/A conversion is changed.
-10 to 0 V (less than digital data value 2000) will be output only when 0V (2000) is
set. Otherwise, -10 to 0 V will not be output.
Note 4: Leave unused terminals open at all times. KV-DA4 has voltage and current
9 output modes, and outputs preset data from both terminals at all times.
Note 5: The voltage and current of the same channel No. cannot be used simulta-
neously.
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
+10 4000 4020 4040 4060 4080
3980
KV-300
+9 3800 3820 3840 3860 3880 3900 3920 3940 3960
KV-10/80
+8 3600 3620 3640 3660 3680 3700 3720 3740 3760 3780
+7 3400 3420 3440 3460 3480 3500 3520 3540 3560 3580
+6 3200 3220 3240 3260 3280 3300 3320 3340 3360 3380
+5 3000 3020 3040 3060 3080 3100 3120 3140 3160 3180
+4 2800 2820 2840 2860 2880 2900 2920 2940 2960 2980
+3 2600 2620 2640 2660 2680 2700 2720 2740 2760 2780
+2 2400 2420 2440 2460 2480 2500 2520 2540 2560 2580
+1 2200 2220 2240 2260 2280 2300 2320 2340 2360 2380
+0 2000 2020 2040 2060 2080 2100 2120 2140 2160 2180
-0 2000 1980 1960 1940 1920 1900 1880 1860 1840 1820
-1 1800 1780 1760 1740 1720 1700 1680 1660 1640 1620
-2 1600 1580 1560 1540 1520 1500 1480 1460 1440 1420
-3 1400 1380 1360 1340 1320 1300 1280 1260 1240 1220
-4 1200 1180 1160 1140 1120 1100 1080 1060 1040 1020
-5 1000 980 960 940 920 900 880 860 840 820
-6 800 780 760 740 720 700 680 660 640 620
-7 600 580 560 540 520 500 480 460 440 420
-8 400 380 360 340 320 300 280 260 240 220
-9 200 180 160 140 120 100 80 60 40 20
-10 0
Example
The digital data is 3820 (shaded section in the following table) when the voltage
is 9.1 V.
Voltage integer
Numerical value of voltage down to two digits past the decimal point
Digital data corresponding to voltage
.00 .10 .20
+10 4000 4020 4040 19
+9 3800 3820 3840
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
20 4000 4020 4040 4060 4080
19 3750 3775 3800 3825 3850 3875 3900 3925 3950 3975
18 3500 3525 3550 3575 3600 3625 3650 3675 3700 3725
17 3250 3275 3300 3325 3350 3375 3400 3425 3450 3475
16 3000 3025 3050 3075 3100 3125 3150 3175 3200 3225
15 2750 2775 2800 2825 2850 2875 2900 2925 2950 2975
14 2500 2525 2550 2575 2600 2625 2650 2675 2700 2725
13 2250 2275 2300 2325 2350 2375 2400 2425 2450 2475
KV-300
KV-10/80
12 2000 2025 2050 2075 2100 2125 2150 2175 2200 2225
11 1750 1775 1800 1825 1850 1875 1900 1925 1950 1975
10 1500 1525 1550 1575 1600 1625 1650 1675 1700 1725
9 1250 1275 1300 1325 1350 1375 1400 1425 1450 1475
8 1000 1025 1050 1075 1100 1125 1150 1175 1200 1225
7 750 775 800 825 850 875 900 925 950 975
6 500 525 550 575 600 625 650 675 700 725
5 250 275 300 325 350 375 400 425 450 475
4 0 25 50 75 100 125 150 175 200 225
Example
The digital data is 3775 (shaded section in the following table) when the current
is 19.10 mA.
Current integer
Numerical value of current down to two digits past the decimal point
Digital data corresponding to current
.00 .10 .20
20 4000 4020 4040
19 3750 3775 3800
KV-300
KV-10/80
Conditions
• The analog input data from analog input V0 on the KV-AD4 is calculated.
(The digital data of data memory DM0992 is used for this operation.)
• When the calculated value is a positive value, an absolute value is written to
memory DM0100, and when the calculated value is a negative value, an absolute
value is written to memory DM0101. Data is written in mV units.
For example:
When the input is +10 V, "10000" (data x 1000) will be written to DM0100.
When the input is - 10 V, "10000" (data x 1000) will be written to DM0101.
Ladder diagram
1. The data of DM0992 is calculated, and the calculation result (data x 5 mV -
10000) is written to DM0000.
2. The KV-AD4 judges that the DM0000 data is positive or negative by comparing
DM0000 with $8000. (When the MSB of DM0000 is OFF, the data is judged to
be positive, and when it is ON, the data is judged to be negative.)
3. If the data is a positive value, the calculation result is written to DM0100.
4. If the data is a negative value, the 2’s complement of the data is calculated to 19
change its sign to a positive sign, and the result is written to DM0101.
Note: "2007" (first scan OFF at power ON) must be set as the input condition. In
the case of analog input, an unsteady value will be input for the first scan when the
power is turned ON.
For example:
When the input is +10V, "10000" (data x 1000) will be written to DM0000.
When the input is -10V, "-10000 (#55536)" (data x 1000) will be written to
DM0000.
KV-300
KV-10/80
1. The data of DM0992 will be calculated, and the calculation result (data x 5 mV -
10000) will be written to DM0000.
Note: "2007" (first scan OFF at power ON) must be set as the input condition. In the
case of analog input, an unsteady value will be input for the first scan when the
power is turned ON.
For example:
When the input is 4 mA, "4000" (data x 1000) will be written to DM0000.
When the input is 20 mA, "20000" (data x 1000) will be written to DM0000.
1. The data of DM0992 will be calculated, and the calculation result (data x 4 µA +
9 4000) will be written to DM0000.
Note: "2007" (first scan OFF at power ON) must be set as the input condition. In the
case of analog input, an unsteady value will be input for the first scan when the
power is turned ON.
Conditions
• Data that has been written to DM0000 is converted to digital data for analog
output.
• The digital data is sent to analog output V0 on the KV-DA4.
(Digital data is written to data memory DM0996.)
KV-300
• +7.5 V is output when input 0000 is ON.
KV-10/80
• -7.5 V is output when input 0001 is ON.
Ladder diagram
2007 #07500
DW
3
DM0000
0000 #00000 TM00 DM0000 #00005 #02000 DM0001 1200
LDA STA LDA DIV ADD STA DIFU
4
0001 #00000 TM00 DM0000 #00005 DM0100 #02000 DM0100 DM0001 1201
LDA STA LDA DIV STA LDA SUB STA DIFU
1200
6
1201
Note: An unsteady value will be output if a value outside the range 0 to 4095 is
written to data memory for D/A conversion.
6. The output data will be updated at the rising edge of special utility relay 2800.
2007 #07500
DW
KV-300
KV-10/80
3
DM0000
0000 #00000 TM00 DM0000 #00005 #02000 DM0001
LDA STA LDA DIV ADD STA
4
1000 2800
6 ( )
1500
Note: An unsteady value will be output if a value outside the range 0 to 4095 is
written to data memory for D/A conversion.
6. The output data will be updated at the rising edge of special utility relay 2800. (As
9 internal relay 1000 switches ON/OFF at each scan, the output data will be
updated every two scans.)
0000 #04000
DW
2 DM0000
0000 #20000
KV-300
KV-10/80
DW
3
DM0000
2002 DM0000 #00004 #01000 DM0001
LDA DIV SUB STA
Note: An unsteady value will be output if a value outside the range 0 to 4095 is
written to data memory for D/A conversion.
5. The output data will be updated at the rising edge of special utility relay 2800. (As
internal relay 1000 switches ON/OFF at each scan, the output data will be
updated every two scans.)
Note: In the case of current output, DM0996 need not be initialized (#2000 written to
DM0996) when the power is turned ON.
19
Ladder diagram
1500 2800
6 ( )
1000
6. The output data will be updated at the rising edge of special utility relay 2800. (As
internal relay 1000 switches ON/OFF at each scan, the output data will be
updated every two scans.)
Note: Voltage can be converted to current, and vice versa by switching the I/O
wiring.
Conditions
• Analog data is input from analog input V0 on the KV-AD4.
(The digital data of data memory DM0992 is used for this operation.)
• The data that was input from analog input V0 is output as it is to analog output
KV-300
KV-10/80
V0 on the KV-DA4. (The digital data is written to data memory DM0996.)
Ladder diagram
1500 2800
4 ( )
1000
Note: An unsteady value will be output if a value outside the range 0 to 4095 is
written to data memory for D/A conversion.
19
4. The output data will be updated at the rising edge of special utility relay 2800. (As
internal relay 1000 switches ON/OFF at each scan, the output data will be
updated every two scans.)
Conditions
• Analog input data is input from analog input V0 on the KV-AD4.
(The digital data of data memory DM0992 is used for this operation.)
• The data that was input from analog input V0 is converted, and output to analog
output I0 on the KV-DA4. (The digital data is written to data memory DM0996.)
• When the input data in DM0992 is a low value, the output current is decreased.
KV-300
When input data in DM0992 is a high value, the output current is increased.
KV-10/80
Ladder diagram
1. The data of DM0992 is calculated, and the calculation result ((DM0992 - 2200) x
5 mV) is written to DM0000.
1000 1000
( )
4
1000 2800
( )
Note: An unsteady value will be output if a value outside the range 0 to 4095 is
9 written to data memory for D/A conversion.
4. The output data will be updated at the rising edge of special utility relay 2800. (As
internal relay 1000 switches ON/OFF at each scan, the output data will be
updated every two scans.)
Note 1: "2007" (first scan OFF at power ON) must be set as the input condition. In
the case of analog input, an unsteady value will be input for the first scan when the
power is turned ON.
Note 2: In the case of current output, DM0996 need not be initialized (#2000 written
to DM0996) when the power is turned ON.
Reference Example When the Input Voltage Exceeds the Expected Range
• When the input voltage is 5V or more (DM0992 #3000), #3000 is forcibly written to
the original data (DM0100).
• When the input voltage is 1V or less (DM0992 #2200), #2200 is forcibly written to
the original data (DM0100).
KV-300
LDA STA
KV-10/80
3
2002 DM0100 #02200 #00005 DM0000
LDA SUB MUL STA
1. When the data of DM0992 is greater than #3000, #3000 is written to the original
data (DM0100).
2. When the original data of DM0992 is greater than #2200 but smaller than #3000,
the input data is written to the original data (DM0100) as it is.
3. When the data of DM0992 is smaller than #2200, #2200 is written to the original
data .
4. The data of DM0100 is calculated, and the calculation result ((DM0100 - 2200)) x
5 mV) is written to DM0000.
Note: "2007" (first scan OFF at power ON) must be set as the input condition. In the
case of analog input, an unsteady value will be input for the first scan when the
power is turned ON.
Setting the Minimum and Maximum Voltage Limits and Measuring the
Average Voltage
This sample program sets the minimum and maximum voltage limits to be analog-
input, and measures the average voltage at the 1000th analog input. Averaging
1000 inputs cancels any erroneous input due to electrical noise, etc.
Conditions
• Analog input data is input from analog input V0 on the KV-AD4.
(The digital data of data memory DM0992 is used for this operation.) 19
• The accumulated and average values are calculated.
• The maximum voltage limit is set to +5 V (#3000). When the maximum voltage
limit is exceeded, output 500 is turned ON for two seconds.
• The minimum voltage limit is set to -5 V (#1000). When the minimum voltage limit
is exceeded, output 501 is turned ON for two seconds.
• The minimum and maximum measurement values are calculated.
Note: In the following example, A/D-converted digital data is processed. For details
on how to convert the digital data to a voltage value, refer to "Inputting Analog
Voltage (-10 to +10 V) on page 918."
DM0010
Relay Assignment
500 Maximum limit error
501 Minimum limit error
502 Average value measurement completed
Ladder diagram
2008 #03000 #01000 #01000 #00000 #00000 #00000 #00000 #00000 #00000
DW DW DW DW DW DW DW DW DW
DM0001 DM0002 DM0003 DM0004 DM0005 DM0006 DM0007 DM0008 DM0009
1
#00000
DW
DM0010
2007 DM0992 DM0004 DM0008
2 LDA STA INC
2002 DM0010 DM0004 2009 DM0010
LDA ADD STA
3
2009 DM0010 DM0009
STA INC
2002 DM0008 DM0003 2010 DM0009 TM00 DM0010 DM0003 DM0007 0502
LDA CMP LDA STA LDA DIV STA ( )
4
#00000 #00000 #00000
DW DW DW
DM0008 DM0009 DM0010
2002 DM0007 DM0001 2011 1000
LDA CMP ( )
9 1000 #00020
T000
5
0500 T000 0500
( )
1001 #00020
T001
KV-300
lated values (DM0009 and DM0010) are reset.
KV-10/80
5. When average value (DM0007) exceeds maximum limit setting (DM0001),
internal relay 1000 switches ON, and relay 500 switches on for two seconds to
indicate the maximum limit error.
When average value (DM0007) falls below minimum limit setting (DM0002),
internal relay 1001 switches ON, and relay 501 switches on for two seconds to
indicate the minimum limit error.
6. If average value (DM0007) becomes a value other than the initial setting (#0000),
maximum average value (DM0005) and minimum average value (DM0006) are
overwritten with the average value.
7. Average value (DM0007) is compared with maximum average value (DM0005),
and the maximum average value is overwritten if the average value is greater.
8. Average value (DM0007) is compared with minimum average value (DM0006),
and the minimum average value is overwritten if the average value is smaller.
Note: "2007" (first scan OFF at power ON) must be set as the input condition. In the
case of analog input, an unsteady value will be input for the first scan when the
power is turned ON.
19
9.6 Troubleshooting
This appendix describes how to remedy problems that may occur on the KV-AD4/
DA4.
POWER
indicator lit?
NO
KV-300
YES
KV-10/80
YES
Analog I/O
possible? Check connection
YES between units.
NO
Only one KV-AD4 or
KV-DA4 each can be
connected to CPU.
Check number of units.
Check KV
program
Analog I/O
referring
YES possible?
to sample
program.
NO
Data memory
9 DM0992 to DM0995
used for other
Data updated
at rising edge of special
YES utility relay (2800 to NO
purpose? 2803)?
NO YES
* Analog values may fluctuate slightly after the power is turned ON.
READY/ERROR
Cause Countermeasures
LED status
Power is not
Extinguished Confirm connection.
supplied.
If left and right connectors are reversed, this
error will occur. Confirm the connection.
Check whether the number of connected units
does not exceed the specified value.
A communication Check whether the OP-35361 expansion cable
Flashing
error has occurred. (300 mm) is being correctly used.
When a part of the communication circuitry in
the basic unit has failed by connecting/
disconnecting hot lines, this error will occur.
Contact our nearest sales office.
10
10
6 7
4 5
3
2
1
0
Relay
Replacement procedure
1. Open the relay cover on the top of the module with a screwdriver.
2. Determine the location of the defective relay from the relay numbers inside the
unit.
3. Remove the failed relay with the extractor.
Place the legs of the extractor into the gaps between the relay and the relay
socket (as shown) until a click is heard. Pull out the relay.
4. Check that the new relay is correctly oriented. Then, push the new relay into the
socket.
Note: If the relay is inserted the wrong way around, pushing down on the relay can 1
10
break its pins.
Socket
10.3 Troubleshooting
This section describes countermeasures against problems. Read this section when
a problem has occurred during operation.
10 Communication
with "KV RS-232C is not correctly
Check wiring and cable type, and
IncrediWare wired, or the cable type
perform the wiring correctly.
(DOS)" or used is not appropriate.
"LADDER
BUILDER for KV" Serial ports in personal
programming computer are incorrectly Set them correctly.
support software set.
is disabled.
Communication
RS-232C is not correctly
with KV-D20 Check wiring and cable type, and
wired, or the cable type
operator panel is perform the wiring correctly.
used is not appropriate.
disabled.
Expansion unit
Problem type Cause Countermeasures
Cable is not correctly
connected to the
Connect cable correctly.
READY/ERROR expansion cable
indicator lamp on connector.
expansion unit is Cable is connected from
not lit. the basic unit to the Connect cable to the connector on left
connector on right side of side of expansion module.
expansion unit.
READY/ERROR Cable is not correctly
indicator lamp on connected to the
Connect cable correctly.
expansion unit is expansion cable
flashing. connector.
1
10
10
1-382 Appendices
1. When high-speed counters are set using the MEMSW instruction, 24-bit data can be
Appendicies
counted.
2. Comments cannot be handled in the handheld programmer KV-P3E(01).
3. The card reader/writer Z-1 can be used with the programming support software "KV
IncrediWare (DOS)".
4. When the programming support software "LADDER BUILDER for KV Ver. 1.0x" is used,
the Change All function on the monitor is not available. Using the Change All function may
damage the basic unit. Never use the Change All function.
Appendices 1-383
Item Specifications
Method Switching method
Ripple noise 240 mVp-p or less
AC power current KV-10Ax: 0.4 A KV-16Ax: 0.5 A
consumption KV-24Ax: 0.6 A KV-40Ax: 0.7 A
AC power input voltage 100 to 240 VAC (± 10%)
AC power factor 60%
1.
Output voltage 24 VDC± 10%
KV-10Ax: 0.4 A KV-16Ax: 0.6 A
Output capacity
KV-24Ax: 0.6 A KV-40Ax: 0.7 A
KV-10Ax: 14 W KV-16Ax: 21 W
Power consumption
KV-24Ax: 21W KV-40Ax: 24 W
Rated voltage: 240 VAC, rated current: 3.15 A,
Used fuse
Characteristics: Fast-melting type
1. Includes the internal current consumption and current consumption of expansion units.
* For 5V±10%, refer to the 5 V mode response frequency characteristic chart (representa-
tive example).
Response 40
frequency 35
30
(kHz)
25
20
15
10
5
0
4.6 4.7 4.8 4.9 5 5.1 5.2 5.3 5.4 5.5
Input voltage (V)
1-384 Appendices
Item Specifications
250 VAC/30 VDC
Rated load 2 A (inductive load)
4 A (resistive load)
Peak load current 5A
Rising operating time
10 ms or less
(OFF ➞ ON)
Falling operating time
10 ms or less
(ON ➞ OFF)
Common method Each common terminal is independent.
Electrical service life: 100,000 times or more (20 times/min)
Relay service life
Mechanical service life: 20,000,000 times or more
Relay replacement Not allowed
Appendices 1-385
1-386 Appendices
■ Output specifications
KV-E4XR (Relay output type)
Item Specifications
Output type Relay
External connection
Terminal block
method
250 VAC/30 VDC
Rated load voltage
2 A (inductive load) 4 A(resistive load)
2A/point (inductive load) 4A/point (resistive load)
Rated output current
4A/common
ON resistance 50 mΩ or less
Common method 4 points/common
Rising operation time
10 ms or less
(OFF ➞ ON)
Falling operation time
10 ms or less
(ON ➞ OFF)
Electrical: 100,000 times or more (20 times/min)
Relay service life
Mechanical: 20,000,000 times or more
Relay replacement Not allowed
Appendices 1-387
■ Functional specifications
Item Specifications
Number of connectable
1 per basic unit
units
Display screen Blue-negative type backlighted LCD, 20 digits x 4 lines
Character size 2.95 x 4.75 mm (5 x 7 dots)
4 switches assigned to special utility relays
Customized switches
F1: 2500 F2: 2501 F3: 2502 F4: 2503
Setting operation switch
Customized indicator Four red LEDs assigned to special utility relays
lamps Lamp 1: 2504 Lamp 2: 2505 Lamp 3: 2506 Lamp 4: 2507
Appendicies
1-388 Appendices
A.4 Dimensions
KV-10AR/AT(P)/DR/DT(P)(10-I/O basic unit)
9.9
35.4 90 35.4 90
17
4.1
3.8 4 3.8 4
55 22 70 22 43
17.5
20.5
13.3
35.4 90 35.4 90
17
4.1
3.8 4 3.8 4
65 22 70 22 43
17.5
20.5
5.2
Appendicies
35.4 90 35.4 90
20.5
3.8 4 3.8 4
80 22 70 22 43
17.5
20.5
Appendices 1-389
20.2
35.4 90 35.4 90
20.5
3.8 4 3.8 4
110 22 70 22 43
17.5
20.5
4-ø5.0 6-ø5.0
(Mounting hole) (Mounting hole)
40 31
54 50
64 t=2
KV-24AR/AT(P)/DR/DT(P) KV-40AR/AT(P)/DR/DT(P)
(24-I/O basic unit) (40-I/O basic unit)
OP-35347 OP-35348
6-ø0.5
(Mounting hole)
4-ø5.0
Appendicies
(Mounting hole)
Main unit
mounting hole
(2 positions) Main unit
99 111 mounting hole
(2 positions)
99 111
48
78
66
109
79 t=2
1-390 Appendices
35.4 90
38 45 65 4 4
43.5
KV-E4R/E4T/E8R/E8T(P)/E16R/E16T(P) (Expansion output unit)
Front view Front view Front view Side view
(KV-E4 x) (KV-E8x) (KV-E16x)
35.4 90
38 45 65 4 4
35.4 90
45 4 4
43.5
28 35 55
38 45 65
25.3 4
66
Metal fixture for screw tightening
OP-35349 4-ø5.0
99 111
25
38
Appendices 1-391
Item/Model Specifications
Power supply 24 VDC (±10%)
Maximum current CPU KV-300: 160 mA
consumption Input module KV-C16X: 15 mA KV-C32X: 15 mA
(Excluding
Output module KV-C32T: 55 mA KV-B16R: 150 mA
current for
KV-B16S: 85 mA
Handheld Pro-
grammer and I/O distribution KV-R1A: 75 mA KV-R8X: 25 mA
input circuit) module KV-R8R: 85 mA KV-R8T: 35 mA
KV-R16X: 30 mA KV-R16R: 150 mA
KV-R16T: 50 mA ➮ See [Caution]
Handheld KV-P3E(01): 65 mA (Models sold after Oct. 21,
programmer 1993, are compatible with the KV-300.)
Ambient temperature 0 to 50°C (32 to 122°F)
(No freezing) 0 to 45°C (32 to 113°F) (KV-P3E(01))
Relative humidity 35 to 85%, No condensation
Withstand voltage 1500 VAC applied between power terminal and
I/O terminals, and between terminals and
housing (1 min.), but not between power supply
unit and KV-AN6
Noise immunity Noise generated by noise simulator: 1500 V p-p
min. 1 µs and 50 ns
Vibration 10 to 55 Hz. Double amplitude of 1.5 mm max.
applied in X, Y, and Z directions (2 hrs)
1G when mounted to DIN rail
Minimum insulation resistance 50 MΩ between power terminal and I/O
terminals, and between external terminals and
housing (measured with 500 VDC
megohmmeter)
Environmental restrictions No excesive dust or corrosive gas
Weight CPU KV-300: 110 g
(Approx.) Input module KV-C16X: 80 g KV-C32X: 95 g
Output module KV-C32T: 70 g KV-B16R: 200 g
KV-B16S: 200 g
I/O distribution module KV-R1A: 100 g
KV-R8X: 130 g KV-R8R: 160 g
KV-R8T: 130 g
KV-R16X: 180 g KV-R16R: 240 g
Appendicies
KV-R16T: 180 g
AC Power supply KV-U4: 340 g KV-U5: 90 g
module/ DC power
distribution module
Note: Specifications for the KV-AN6 and KV-L2 appear in their respective sections in
this manual.
Use only the specified cable when connecting to terminal modules. Use of any
CAUTION
other cable may cause communication errors.
1-392 Appendices
Specifications of the KV-AN6 and KV-L2 appear in their respective sections in this
manual.
Appendices 1-393
Note 1: Do not install both the KV-U4 and KV-U5 within one system.
Note 2: The KV-U5 power supply interface module distributes 24 VDC to the
modules in the system. It requires a 24 VDC output power supply of sufficient output
current capacity.
Note 3: Install the KV-300 CPU to the right of the KV-U4/U5.
1-394 Appendices
■ Input specifications
Rated voltage and current 24 VDC 7 mA (terminals 000 to 005)
5 mA (other terminals)
Threshold voltage (ON) 19 V
Threshold current (OFF) 2 mA
Response time 25 µs/8 to 12 ms (OFF → ON)
(selectable by program) 75 µs/8 to 12 ms (ON → OFF)
Appendicies
Appendices 1-395
3k Ω
Internal circuit
*4.3k Ω
IN
510 Ω
24 VDC
+ COM
Photocoupler insulation
+
• *4.3 kΩ used only for terminals connected to relays other than 0000 through
0005.
• Input from both NPN [(+) connected to COM] and PNP [(–) connected to COM]
type transistors are applicable.
OUT
L
COM
~
Power supply for operating +
Appendicies
1-396 Appendices
NPN
Internal circuit
OUT
L
COM
MOS-FET +
photocupler
+
PNP
COM
Internal circuit
OUT L
Insultating
power
supply
OUT
L
Internal circuit
Photocoupler
insulation
COM +
Appendices 1-397
Output specifications
4 outputs (0500 to 0503)
Type of output Transistor NPN
Rated load 30 VDC 0.1 A
Maximum voltage at OFF 30 VDC
Maximum leakage current at OFF 100 µA
Maximum residual voltage at ON 0.3 V
Common ground 4 I/O per common terminal
Maximum switching time 10 µs (for both OFF/ON and ON/OFF switching)
1.6kΩ
OUT (with resistor)
Load Current-driven
Internal circuit
– + load
Internal circuit
4.3k Ω
IN OUT
Load Voltage-driven
– + load
5V/24V
switching circuit
+ COM
Photocoupler insulator
+ Overcurrent
+ Insulating protector circuit
power supply COM
Appendicies
• Both NPN inputs ([+] common) and PNP inputs ([-] common) are available.
• Use a separate power supply for load.
1-398 Appendices
Internal circuit
4.3k Ω
IN
5V/24V
switching circuit
+ COM
Photocoupler insulator
+
Note: If the number of simultaneously ON inputs exceeds the specified limit, the
module may be damaged.
Refer to the following graphs for the recommended limits.
KV-C16X KV-C32X
Continuous/simultaneous
ON rate (%) Continuous/simultaneous
ON rate (%)
16°C 29°C
100 15°C 27°C
100
90
90
80
80
70
60% 70
Appendicies
60 24 V input 60%
60 24 V input
50 50%
26.4 V input 50 50%
40 26.4 V input
40
30
30
20
20
10
10
0 10 20 30 40 50 Ambient temperature (°C) 0 10 20 30 40 50 Ambient temperature (°C)
Relation between ambient temperature and Relation between ambient temperature and
continuous/simultaneous ON rate continuous/simultaneous ON rate
Appendices 1-399
Internal circuit
Internal circuit
OUT OUT
OUT Load Load
Load
Insulating COM
power + COM
supply Photocoupler
insulator COM +
+
+
Note 1: (*1) The KV-C32T has 2 COMs that are common within the module.
Note 2: Relay service life:
Mechanical: 20 million operations minimum
Electrical: 100,000 operations minimum (20 times/min)
Note 3: Relays are not replaceable.
Appendicies
1-400 Appendices
Internal circuit
IN
4.3kΩ
510 Ω
+ COM
Photocoupler insulator
+
Use only the specified cable when connecting to terminal modules. Use of any
CAUTION
other cable may cause communication errors.
Appendicies
Appendices 1-401
Internal circuit
OUT OUT
Load Load
– +
– + COM
+
Power supply
+
for output
Note: The KV-R8R/R16R has a replaceable relay (part no. OP-35400). Refer to
page 1-377 for replacement procedure.
These relays are interchangeable with the KV-80R and KV-16EYR.
Use only the specified cable when connecting to terminal modules. Use of any
CAUTION other cable may cause communication errors.
Appendicies
1-402 Appendices
Internal circuit
RUN
Load
0V +
24V 24V
Use only the specified cable when connecting to terminal modules. Use of any
CAUTION
other cable may cause communication errors.
Note: The transmission distance varies with the type of transmission cable used.
Use only the specified cable when connecting to terminal modules. Use of any
CAUTION
other cable may cause communication errors.
Appendices 1-403
B.3 Dimensions
KV-300
KV-U4 KV-U5 KV-R1A
27.3
90 90 35.4
90
4 4 4
60 31.7 4.4 25 85
KV-300
27.3
90 35.4
115
88.5
85
108
(35) 100
KV-C16X/C32T KV-C32X
27.3
90 35.4
90
4 4
KV-B16R/B16S/AN6 KV-L2
27.3
90 90 35.4
4 4
1-404 Appendices
KV-R16R/R16T/R16X
2 x ø4.6
(mounting hole)
7.2
50 42 35.4
KV-P3E
KV-R8R/R8T/R8X 2 x ø4.6
(mounting hole)
7.2 168
50 42 35.4
5.2 107 35
115 59.3 70 24
160 39 78 39
200 43 110 43
99 35.4 90 111
99 35.4 90 111
48 39
31 39
80 43
65 43
79 35.4 70 91
99 35.4 90 111
44 39
60 43 19
39
38 43
50 39
50 35 78 43
58 39 110
70
Appendices 1-405
The following is a list of instructions and the reference pages that give the application
examples for the instructions.
Reference
Instruction page
ANL 3-61
ORL 3-63
One-shot circuit 3-70
Off-delay circuit 3-70
On-delay circuit 3-71
Flicker circuit 3-71
Long-duration timer 3-74
Accumulator timer (Retained during power failure) 3-74
Large capacity timer 3-74
Multi-level setting 3-74
Counter multi-level setting 3-75
Multi-level UP/DOWN counter 3-77
One-shot circuit using differentiate instruction 3-79
Alternating circuit (DIFU instruction) 3-79
Detection of chewing gum packs 3-81
Alternating circuit (SFT instruction) 3-83
Resetting internal utility relays 3-84
Repeat shift circuit 3-84
Asynchronous shift register 3-85
High-speed fetching of input data 3-88
Emergency stop circuit 3-91
Input sequence check 3-101
Fork lift truck IN/OUT judgement 3-101
MPS/MRD/MPP 3-104
Enabling double coil 3-112
Conditional branching 3-113
Process progression 3-116
Pulse interval measurement 3-120
A/D data measurement 3-121
Nesting structure of subroutine 3-123
Calling subroutine from interrupt program 3-124
Data memory shift 3-130
Changing preset value of internal counter using BCD digital switch 3-132
Changing timer setting value 3-139
Changing setting values of multiple timers 3-139
Appendicies
1-406 Appendices
Appendices 1-407
■ ±5 V range
.00/.50 .05/.55 .10/.60 .15/.65 .20/.70 .25/.75 .30/.80 .35/.85 .40/.90 .45/.95
+5.0 32000 32320 32640
+4.5 28800 29120 29440 29760 30080 30400 30720 31040 31360 31680
+4.0 25600 25920 26240 26560 26880 27200 27520 27840 28160 28480
+3.5 22400 22720 23040 23360 23680 24000 24320 24640 24960 25280
+3.0 19200 19520 19840 20160 20480 20800 21120 21440 21760 22080
+2.5 16000 16320 16640 16960 17280 17600 17920 18240 18560 18880
+2.0 12800 13120 13440 13760 14080 14400 14720 15040 15360 15680
+1.5 9600 9920 10240 10560 10880 11200 11520 11840 12160 12480
+1.0 6400 6720 7040 7360 7680 8000 8320 8640 8960 9280
+0.5 3200 3520 3840 4160 4480 4800 5120 5440 5760 6080
Appendicies
+0.0 0000 320 640 960 1280 1600 1920 2240 2560 2880
-0.0 0000 65216 64896 64576 64256 63936 63616 63296 62976 62656
-0.5 62336 62016 61696 61376 61056 60736 60416 60096 59776 59456
-1.0 59136 58816 58496 58176 57856 57536 57216 56896 56576 56256
-1.5 55936 55616 55296 54976 54656 54336 54016 53696 53376 53056
-2.0 52736 52416 52096 51776 51456 51136 50816 50496 50176 49856
-2.5 49536 49216 48896 48576 48256 47936 47616 47296 46976 46656
-3.0 46336 46016 45696 45376 45056 44736 44416 44096 43776 43456
-3.5 43136 42816 42496 42176 41856 41536 41216 40896 40576 40256
-4.0 39936 39616 39296 38976 38656 38336 38016 37696 37376 37056
-4.5 36736 36416 36096 35776 35456 35136 34816 34496 34176 33856
-5.0 33536 33216 32896
1-408 Appendices
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
+20 32000 32320 32640
+19 28800 29120 29440 29760 30080 30400 30720 31040 31360 31680
+18 25600 25920 26240 26560 26880 27200 27520 27840 28160 28480
+17 22400 22720 23040 23360 23680 24000 24320 24640 24960 25280
+16 19200 19520 19840 20160 20480 20800 21120 21440 21760 22080
+15 16000 16320 16640 16960 17280 17600 17920 18240 18560 18880
+14 12800 13120 13440 13760 14080 14400 14720 15040 15360 15680
+13 9600 9920 10240 10560 10880 11200 11520 11840 12160 12480
+12 6400 6720 7040 7360 7680 8000 8320 8640 8960 9280
+11 3200 3520 3840 4160 4480 4800 5120 5440 5760 6080
+10 0000 320 640 960 1280 1600 1920 2240 2560 2880
+9 62336 62656 62976 63296 63616 63936 64256 64576 64896 65216
+8 59136 59456 59776 60096 60416 60736 61056 61376 61696 62016
+7 55936 56256 56576 56896 57216 57536 57856 58176 58496 58816
+6 52736 53056 53376 53696 54016 54336 54656 54976 55296 55616
+5 49536 49856 50176 50496 50816 51136 51456 51776 52096 52416
+4 46336 46656 46976 47296 47616 47936 48256 48576 48896 49216
+3 43136 43456 43776 44096 44416 44736 45056 45376 45696 46016
+2 39936 40256 40576 40896 41216 41536 41856 42176 42496 42816
+1 36736 37056 37376 37696 38016 38336 38656 38976 39296 39616
0 33536 33856 34176 34496 34816 35136 35456 35776 36096 36416
■ 4-to-20 mA range
.00 .10 .20 .30 .40 .50 .60 .70 .80 .90
+20 32000 32320 32640
+19 28000 28400 28800 29200 29600 30000 30400 30800 31200 31600
+18 24000 24400 24800 25200 25600 26000 26400 26800 27200 27600
+17 20000 20400 20800 21200 21600 22000 22400 22800 23200 23600
+16 16000 16400 16800 17200 17600 18000 18400 18800 19200 19600
+15 12000 12400 12800 13200 13600 14000 14400 14800 15200 15600
+14 8000 8400 8800 9200 9600 10000 10400 10800 11200 16000
+13 4000 4400 4800 5200 5600 6000 6400 6800 7200 7600
+12 0000 400 800 1200 1600 2000 2400 2800 3200 3600
+11 61536 61936 62336 62736 63136 63536 63936 64336 64736 65136
+10 57536 57936 58336 58736 59136 59536 59936 60336 60736 61136
+9 53536 53936 54336 54736 55136 55536 55936 56336 56736 57136
Appendicies
+8 49536 49936 50336 50736 51136 51536 51936 52336 52736 53136
+7 45536 45936 46336 46736 47136 47536 47936 48336 48736 49136
+6 41536 41936 42336 42736 43136 43536 43936 44336 44736 45136
+5 37536 37936 38336 38736 39136 39536 39936 40336 40736 41136
+4 33536 33936 34336 34736 35136 35536 35936 36336 36736 37136
Appendices 1-409
1-410 Appendices
1-412 Index
S
Saving current value of counter/DM into ROM LOAD and SAVE modes 1-96
Scan time Scan time 3-3
Sensors or other devices, connecting to KV Wiring procedures for basic units 1-67
Special utility relays, change in status of, when arithmetic Change in status of special utility relays (arithmetic
3-186
instruction is used flags) by arithmetic instructions
Special utility relays, functions assigned to Special utility relay list 3-86
Specified frequency pulse output function, setting item for Device used for specified frequency pulse output 3-228
T
Temporary data memory, functions assigned to Temporary data memory 3-21
Timers/counters, maximum number of Timer/Counter list 3-18
Index 1-413
1-414 Index
MPX/@MPX: Multiplexer ........................................ 3-176 System Configuration (Memory Card) ............... 1-196
MRD: Read ............................................................. 3-103 System specifications [Visual KV Series] .......... 1-382
MUL/@MUL: Multiply .............................................. 3-150 System specifications [KV-300 Series] .............. 1-392
N T
NEXT: Repeat End .................................................. 3-125 TBCD/@TBCD: Transfer BCD ................................ 3-180
Non-procedure mode [KV-L2] ............................. 1-292 TBIN/@TBIN: Transfer BIN ..................................... 3-180
NOP: No Operation ................................................... 3-94 Temporary Memory ...................................... 2-172, 2-176
Timers and Counters ............................................... 2-169
TMH: 0.01-s Timer .................................................... 3-68
O
TMIN: Trimmer In .................................................... 3-138
OR: Or ....................................................................... 3-60 @TMIN: Trimmer Setting ........................................ 3-138
ORA/@ORA: Or A .................................................. 3-161 TMR: 0.1-s Timer ...................................................... 3-67
ORB: Or Bar .............................................................. 3-60 TMS: 1-ms Timer ...................................................... 3-69
ORL: Or Load ............................................................ 3-63 Transmitting text data .............................................. 3-319
OUB: Out Bar ............................................................ 3-65 Troubleshooting ................................................... 1-372
OUT: Out ................................................................... 3-65
Output Relays ........................................................... 3-10 U
UDC: Up-Down Counter ............................................ 3-76
P
Peripheral equipments ........................................ 1-176 W
Port1/Port2 [KV-L2] .............................................. 1-245
Positionning control ................................................. 3-296 W-DE: Wait Down Edge ............................................ 3-98
Programming examples .......................................... 3-324 W-OFF: Wait OFF ..................................................... 3-96
W-ON: Wait ON ......................................................... 3-96
W-UE: Wait Up Edge ................................................ 3-98
R
RASC/@RASC: Reverse ASCII Convert ................ 3-183 X
Receiving text data .................................................. 3-318
Relay/Memory/Memory Switch Lists ....................... 2-167 @xxxx: Differentiation ............................................. 3-137
Relay/Memory Nos. ................................................. 2-167
Relay No. List .......................................................... 2-167
Relay Nos. and Functions ....................................... 2-167
RES: Reset ............................................................... 3-66
RET: Subroutine Return .......................................... 3-122
RETI: Return Interrupt ............................................. 3-192
RLA/@RLA: Rotate Left A ...................................... 3-169
ROOT/@ROOT: Square Root ................................ 3-185
RRA/@RRA: Rotate Right ...................................... 3-169
RS-232C cable connection ..................................... 3-307
RS-232C Protocol ................................................... 3-306
RS-422A [KV-L2] ................................................... 1-248
S 1
SBN: Subroutine Entry ............................................ 3-122
Index
Index 1-415
1-416 Index
Index 1-417
1-418 Index
• When the KV Series PLC is used in combination with other instruments, func-
tions and performance may be degraded, depending on operating conditions and
the surrounding environment.
• Do not use the KV Series PLC for the purpose of protecting the human body.
Note: The built-in display may show the error message "Error 40" blinking the very
first time you turn on the power supply to the Visual KV Series. Press any key
around the display to cancel this message.
The Visual KV Series shows this message when no program is loaded.
(1) 1-419
Visual KV Series
96M0364
INDEX
1 2 3
1
Installation Support Programming
Software
User's Manual
Installation
1. Configuration and 1. Programming
Specifications 1. Introduction
2. Instructions
2. System Installation
3. Access Window
2. Editor
3. Interrupts Visual KV Series
3. Simulator
4. KV-D20 Operator 4. High-speed Counters
Interface Panel
5. KV-10/80 Hardware
4. Monitor
5. Appendices
5. Positioning Control 1
User’s Manual
6. Interrupts, High-speed
6. Handheld
Programmer
7. KV-L2 Serial Interface
Counters, Positioning
Control
7. Serial Communication
Installation
Module
8. KV-AN6 Analog I/O 8. Programming
Module Examples
9. KV-AD4/DA4 Analog
I/O Unit
10. Troubleshooting
11. Appendices
Specifications are subject to change without notice.
KEYENCE CORPORATION
1-3-14, Higashi-Nakajima, Higashi-Yodogawa-ku, Osaka, 533-8555, Japan PHONE: +81-6-6379-2211