DISCLAIMER TO DOWNLOAD THE USER GUIDE KEYENCE KV-300

Click on "Download the user Manual" at the end of this Contract if you accept its terms, the downloading of the manual KEYENCE KV-300 will begin.

You agree to use the Manual in accordance with the terms and conditions hereafter described.

1. Our service
Diplodocs offers a socially driven service of sharing, storing and searching manuals related to use of hardware and software : user guide, owner's manual, quick start guide, technical datasheets...

2. Access rights
The documents available on this site are and will remain properties of their respective owners. Accessing, downloading or storing a document on this site does not give you any right. You certify accessing and storing only documents for which you regularly acquired rights of use, either by owning the item corresponding to the document, or thanks to a right to broadcast the document, given by the copyright owners.

3. Our responsibility
In any way can't Diplodocs be held responsible if the document you are looking for is not available, incomplete, in a different language than yours, or if the model or language do not match the description. Diplodocs, for instance, does not offer a translation service.

4. Checking of use
Once downloaded, you must make sure that the Manual matches the Product for which you intend to use it. You agree to remain entirely responsible for the use you do with the instructions contained in the document, no matter whether damages of losses occur following its use.

5. Your commitment
In compensation for using our service, you certify not to harm Diplodocs by any legal action, and to help Diplodocs by promoting the site or uploading new documents. You acknowledge that Diplodocs does not owe you mandatory results or availability.


Diplodocs explicitly forbids the use of its service by anyone who do not agree with all conditions above. By accepting or downloading the Manual KEYENCE KV-300, you agree to have read the disclaimer, to have understood all of it and to be bond by its terms and conditions.

You either have JavaScript turned off or an old version of Adobe Flash Player
Get the latest Flash Player.

   

DON'T FORGET : ALWAYS READ THE USER GUIDE BEFORE BUYING !!!

We hope that this KEYENCE KV-300 user guide will be useful to you.

Need help, support, reviews, tips or troubleshooting for your KEYENCE KV-300 products ?
Discussion, review, tips, troubleshooting issue, problem : search help on KEYENCE KV-300 product forum.



close

5 364 brands
1 237 233 user's guides
520 000 members
Domestic Appliance | TV & Audio | Phone | Computer | Car | Digital Camera | Video Game
Search
a brand
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z # Search for a user manual
 

User manual KEYENCE KV-300

Diplodocs help download the user guide KEYENCE KV-300.

  Download the user manual KEYENCE KV-300     
Download the complete
user guide (942 Ko)
Need help, support, reviews, tips or troubleshooting for your KEYENCE KV-300 products ?




Preview of the first 3 pages of manual
You either have JavaScript turned off or an old version of Adobe Flash Player
Get the latest Flash Player.




Visit KEYENCE official site


User guide KEYENCE KV-300


96M0364 User's Manual Visual KV Series 1 Installation How this manual is organized: The Visual KV Series User's Manual is composed of 3 separate manuals; 1-Installation, 2-Support Software, 3-Programming. Please read each manual relevant to your purpose. Safety Precautions This instruction manual describes the operation and function of the KV Series PLC. Read this manual carefully to ensure safe use and maximum performance from your KV Series PLC. Symbols The following symbols alert you to important messages. Be sure to read these messages carefully. WARNING shock, burn, etc.) Failure to follow instructions may lead to injury. (electric CAUTION Note: Failure to follow instructions may lead to product damage. Provides additional information on proper operation. Conventions This manual describes the operation/function of all Keyence KV Series PLC. Note following conventions when you use. Visual KV (Series) KV-10xx, 16xx, 24xx, 40xx Conventional KV (Series) KV-300 (Series) KV-10/80 (Series) KV-10AR/AT/DR/DT KV-24AR/AT/DR/DT KV-10R(W)/T(W) KV-24R(W)/T(W) KV-80R(W)/T(W) KV-300 KV-16AR/AT/DR/DT KV-40AR/AT/DR/DT KV-16R(W)/T(W) KV-40R(W)/T(W) General Precautions · At startup and during operation, be sure to monitor the functions and performance of the KV Sereis PLC. We recommend that you take substantial safety measures to avoid any damage in the event a problem occurs. Do not open or modify the KV Series PLC or use it in any way other than described in the specifications. When the KV Series PLC is used in combination with other instruments, functions 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) 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 equipment, etc. Use for applications where large effects are predicted to be given on human lives and properties and safety is especially requested. · Restriction on Acquiring the CE Marking s Restriction to be compatible with EMC directives · When using a relay output type unit (whose model name ends with "R"), connect spark killers having the appropriate withstand voltage against the load to the output terminals in parallel to contacts (because the unit discharges when a relay contact becomes open and noise is generated). In our experiments, we use the following models of spark killers. XEB0101 0.1 µF-10 manufactured by OKAYA DENKI SANGYO The following 1-turn ferrite core is added to the AC power input circuit of the KV40AR/T, the KV-24AR/T and to the DC power input circuit of the KV-40DR/T. ZCAT3035-1330 manufactured by TDK 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. s Restriction on compatibility with low-voltage directives (IEC-1010-1) · Use insulated type crimp-style terminals. · · · For wiring materials, use lead wires whose sheath is 0.4 mm or more. The Visual KV Series is allowed to be installed in a vertical position only. (Spacers for expansion units are not available.) Be sure to use the Visual KV Series inside the control panel. (2) Features of the Visual KV Series q Extremely small The Visual KV Series is the smallest in the world among AC type PLCs equipped with screw terminal blocks, and saves installation space. q 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. q AC power built-in type newly added AC power built-in type units are newly added. This type can be used in small spaces where a switching power supply unit cannot be installed. q Excellent Access Window An Access Window with two-color backlight is adopted in all models to facilitate changing and monitoring of device data. Changing between RUN mode and PROGRAM mode, checking the error code when an error has occurred, etc. can be performed in a Visual KV Series unit without the need for any handheld programmer. The analog trimmer, which has been popular in the conventional KV Series, is digitized to enable more detail settings. [Digital trimmers] q User message setting function In the Access Window, 256 different user messages can be displayed. This function can be used to give instructions on works on the production line, indicate abnormalities in the units, etc. q Program write in RUN mode Ladder programs can be changed even while the system is running. q Equipped with two serial ports Visual KV Series basic units are equipped with two serial ports to connect peripheral units, improving the debug environment. (The KV-10xx is equipped with only one serial port.) q Easy Ramp-up/down control function The one-axis motor control function is offered separately from high-speed counters so that feedback control is enabled. q Equipped with two 24-bit high-speed 30 kHz, two-phase counters The Visual KV Series is equipped with two high-speed counters each with a twopoint comparator output function that enables high-speed encoder input. q Specified frequency pulse output function High-speed counters can function as pulse oscillators of 50 kHz maximum with easy setting, without creating a complicated ladder program. q Frequency counter function High-speed counters can function as frequency counters with easy setting, without creating complicated ladder programs. q Cam switch function High-speed counters can function as cam switches with easy setting, without creating complicated ladder programs. (3) q Interrupt function The Visual KV Series is equipped with four high-speed interrupt inputs of 10 µs maximum. q Input time constant change function The time constant can be set in 7 steps from 10 µs to 10 ms. q Double memory backup functions In addition to a conventional SRAM battery backup function, the Visual KV Series is also equipped with an EEPROM backup function. Compatibility with Conventional KV Series Peripheral Units The Visual KV Series functions as a high-end compatible model of the conventional KV Series. Peripheral units of the conventional KV Series such as the ladder support software "KV IncrediWare (DOS)" and "LADDER BUILDER for KV" and the handheld programmer KV-P3E(01) can be used since they are part of the Visual KV Series. However, it should be noted that the contents have changed as follows. · · · · · · · · · · · · · 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) Cautions when using the previous version of ladder support software Pay strict attention to the following items when using the ladder support software. · · When using the ladder support software "KV IncrediWare (DOS)" or "LADDER BUILDER for KV Ver. 1.0x", set the model to "KV-300". DM0 to DM1999 are only available. CAUTION When the ladder support software "LADDER BUILDER for KV Ver. 1.0x" is 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 Cautions when Using the Serial Port The KV-16xx/24xx/40xx units are equipped with two RJ-11 modular connectors for serial communication. When using them, pay strict attention to the following contents: · Programs can be transferred and monitored using either communication port A or B. However, never connect the ladder software and a handheld programmer to the two ports at the same time. The KV-D20 operator interface panel can be connected to either communication port A or B. However, only one KV-D20 unit can be connected to a single basic unit. Never leave both the KV-D20 operator interface panel and KV-P3E(01) handheld programmer on simultaneously for a long period of time. · · (5) (6) How this manual is organized The Visual KV Series User's Manual is composed of 3 separate manuals; 1-Installation, 2-Support Software, 3-Programming. Please read each manual relevant to your purpose. 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 2 System Installation [Visual KV Series Only] Describes the installation and connection of each Visual KV Series unit as well as system maintenance. Chapter 3 Access Window [Visual KV Series Only] Describes the Access Window used for changing and monitoring data. Chapter 4 KV-D20 Operator Interface Panel [Visual KV Series Only] Describes the KV-D20 Operator Interface Panel used for changing, monitoring, and displaying the status of inside relays, timers, counters and data memories. Chapter 5 KV-300, KV-10/80 Hardware [KV-300, KV-10/80 Series Only] Describes the hardware specifications and wirings for KV-300 and KV-10/80 Series. Chapter 6 Handheld Programmer Describes how to use the handheld programmer and memory card. Chapter 7 KV-L2 Serial Interface Module [KV-300 Series Only] Describes the serial interface modules for KV-300 Series. Chapter 8 KV-AN6 Analog I/O Module [KV-300 Series Only] Describes the optional Analog I/O module for KV-300 Series Chapter 9 KV-AD4/DA4 Analog I/O Unit [KV-10/80 Series Only] Describes the optional Analog I/O unit for KV-10/80 Series. 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 2 Editor Describes the operating procedures in Editor mode. 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 completely 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 3 Interrupts [Visual KV Series Only] The interrupt processing function executes an interrupt program when an external input or request from the high-speed counter comparator (interrupt factor) is encountered during KV operation. This chapter describes the types of interrupt factors as well as inputs and outputs encountered during interrupt processing. Chapter 4 High-speed Counters [Visual KV Series Only] Describes high-speed counters and high-speed counter comparators, which allow highspeed pulse measurement and pulse output, independent of the scan time. Chapter 5 Positioning Control [Visual KV Series Only] Describes ramp-up/down control of stepping motors and servo motors. 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. Chapter 7 Serial Communication The KV Series can be connected to an external device with an RS-232C interface to establish communication. This chapter describes communications specifications, how to connect the KV Series to external devices, and how to perform communication. Chapter 8 Programming Examples Describes the typical programming examples for KV-10/80 Series. These programs can be used for Visual KV Series. However, pay attention to the I/O addressing compatibility before use. (8) Contents 1 Installation Configuration and Specifications Visual KV Chapter 1 1.1 System Configuration ...................................................................................... 1-2 1.1.1 System Configuration ......................................................................................... 1-2 1.2 Specifications ................................................................................................... 1-4 1.2.1 General Specifications ........................................................................................ 1-4 1.2.2 AC Power Specifications .................................................................................... 1-5 Visual KV Series operation at power interruption ........................................ 1-5 1.2.3 Performance Specifications ................................................................................ 1-6 Data backup function against instantaneous power interruption ................. 1-7 1.3 Common I/O Specifications of Basic Units ................................................... 1-8 1.3.1 Model of a Basic Unit .......................................................................................... 1-8 1.3.2 Common I/O Specifications ................................................................................ 1-8 1.4 KV-10AR/AT(P)/DR/DT(P) (10-I/O Basic Unit) ............................................. 1-10 1.4.1 Part Names and Functions ............................................................................... 1-10 1.4.2 Terminal Layout Drawings and I/O Circuit Diagrams ........................................ 1-11 KV-10AR/DR (Relay output type) .............................................................. 1-11 KV-10AT(P)/DT(P) (Transistor output type) ............................................... 1-13 1.4.3 AC Power Input (KV-10AR/AT(P)) .................................................................... 1-14 1.4.4 Relationship between Continuous Simultaneous ON Ratio and Ambient Temperature 1-15 1.4.5 Dimensions ....................................................................................................... 1-16 1.5 KV-16AR/AT(P)/DR/DT(P) (16-I/O Basic Unit) ............................................. 1-17 1.5.1 Part Names and Functions ............................................................................... 1-17 1.5.2 Terminal Layout Drawings and I/O Circuit Diagrams ........................................ 1-18 KV-16AR/DR (Relay output type) .............................................................. 1-18 KV-16AT(P)/DT(P) (Transistor output type) ............................................... 1-20 1.5.3 AC Power Input (KV-16AR/AT(P)) .................................................................... 1-21 1.5.4 Relationship between Continuous Simultaneous ON Ratio and Ambient Temperature 1-22 1.5.5 Dimensions ....................................................................................................... 1-23 1.6 KV-24AR/AT(P)/DR/DT(P) (24-I/O Basic Unit) ............................................. 1-24 1.6.1 Part Names and Functions ............................................................................... 1-24 1.6.2 Terminal Layout Drawings and I/O Circuit Diagrams ........................................ 1-25 KV-24AR/DR (Relay output type) .............................................................. 1-25 KV-24AT(P)/DT(P) (Transistor output type) ............................................... 1-27 1.6.3 AC Power Input (KV-24AR/AT(P)) .................................................................... 1-28 1.6.4 Relationship between Continuous Simultaneous ON Ratio and Ambient Temperature 1-29 1.6.5 Dimensions ....................................................................................................... 1-30 1.7 KV-40AR/AT(P)/DR/DT(P) (40-I/O Basic Unit) .............................................. 1-31 1.7.1 Part Names and Functions ............................................................................... 1-31 1.7.2 Terminal Layout Drawings and I/O Circuit Diagrams ........................................ 1-32 KV-40AR/DR (Relay output type) .............................................................. 1-32 KV-40AT(P)/DT(P) (Transistor output type) ............................................... 1-34 1.7.3 AC Power Input (KV-40AR/AT(P)) .................................................................... 1-35 1.7.4 Relationship between Continuous Simultaneous ON Ratio and Ambient Temperature 1-36 1.7.5 Dimensions ....................................................................................................... 1-37 1.8 1.8.1 1.8.2 1.8.3 KV-E4X/E8X/E16X (Expansion Input Unit) .................................................. 1-38 Part Names and Functions ............................................................................... 1-38 Input Specifications ........................................................................................... 1-38 Terminal Layout Drawings and Input Circuit Diagrams .................................... 1-39 KV-E4X (4-I/O expansion input unit) .......................................................... 1-39 KV-E8X (8-I/O expansion input unit) .......................................................... 1-40 KV-E16X (16-I/O expansion input unit) ...................................................... 1-41 1.8.4 Dimensions ....................................................................................................... 1-42 1.9 KV-E4R/E4T/E8R/E8T(P)/E16R/E16T(P) (Expansion Output Unit) ............. 1-43 1.9.1 Part Names and Functions ............................................................................... 1-43 1.9.2 Output Specifications ........................................................................................ 1-43 KV-E4R/E8R/E16R (Relay output type) ..................................................... 1-44 KV-E4T/E8T(P)/E16T(P) [Transistor output type (NPN/PNP)] .................. 1-44 1.9.3 Terminal Layout Drawings and Input Circuit Diagrams .................................... 1-45 KV-E4R [4-I/O expansion output unit (relay output type)] .......................... 1-45 (9) KV-E4T [4-I/O expansion output unit transistor output type)] .................... 1-46 KV-E8R [8-I/O expansion output unit (relay output type)] .......................... 1-47 KV-E8T(P) [8-I/O expansion output unit (transistor output type)] .............. 1-48 KV-E16R [16-I/O expansion output unit (relay output type)] ...................... 1-49 KV-E16T(P) [16-I/O expansion input unit (transistor output)] .................... 1-50 1.9.4 Dimensions ....................................................................................................... 1-51 KV-E4XR/E4XT(P) (Expansion I/O Unit) ....................................................... 1-52 Part Names and Functions ............................................................................... 1-52 Input Specifications ........................................................................................... 1-53 Output Specifications ........................................................................................ 1-53 KV-E4XR (Relay output type) .................................................................... 1-53 KV-E4XT(P) (Transistor output type) ......................................................... 1-53 1.10.4 Terminal Layout Drawings and Input Circuit Diagrams .................................... 1-54 KV-E4XR (Relay output type) .................................................................... 1-54 KV-E4XT(P) (Transistor output type) ......................................................... 1-56 1.10.5 Dimensions ....................................................................................................... 1-58 1.11 1.11.1 1.11.2 1.11.3 1.11.4 KV-D20 (Operator Interface Panel) ............................................................... 1-59 Part Names and Functions ............................................................................... 1-59 General Specifications ...................................................................................... 1-60 Functional Specifications .................................................................................. 1-60 Dimensions ....................................................................................................... 1-61 1.10 1.10.1 1.10.2 1.10.3 Chapter 2 System Installation 2.1 2.1.1 2.1.2 2.1.3 Visual KV Installation Environment ............................................................................... 1-64 Installation Environment ................................................................................... 1-64 Installation Position ........................................................................................... 1-65 Installation Procedure ....................................................................................... 1-66 Expansion unit spacer ................................................................................ 1-66 2.1.4 Cautions on Wiring for Each Unit ...................................................................... 1-67 Wiring procedures for basic units ............................................................... 1-67 Cautions on wiring for I/O units .................................................................. 1-68 Terminal .....................................................................................................1-68 Cautions on grounding ............................................................................... 1-69 2.1.5 Contact Protection ............................................................................................ 1-69 2.2 Connecting Visual KV Series Expansion Units .......................................... 1-70 2.2.1 Visual KV Series Expansion Units .................................................................... 1-70 2.2.2 Connecting Visual KV Series Expansion Units ................................................. 1-71 Connection methods .................................................................................. 1-72 Number of connectable units ..................................................................... 1-73 2.2.3 Confirming the Connection Settings of Expansion Units .................................. 1-74 Expansion unit relay list ............................................................................. 1-74 Connection information for expansion units ............................................... 1-75 Input time constant for expansion units ..................................................... 1-76 Clearing the input value when disconnecting ............................................. 1-76 2.2.4 Transferring I/O Information between Expansion Units and the Basic Unit ...... 1-77 When inputting ........................................................................................... 1-77 In the case of output .................................................................................. 1-77 2.3 Inspection and Maintenance ......................................................................... 1-78 2.3.1 Inspection ......................................................................................................... 1-78 2.3.2 Maintenance .....................................................................................................1-78 Chapter 3 Access Window Visual KV 3.1 Overview of the Access Window .................................................................. 1-80 3.1.1 What is the Access Window ............................................................................. 1-80 3.1.2 Access Window Use Examples ........................................................................ 1-80 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 Basic Operating Procedures ......................................................................... 1-81 Operation Mode ................................................................................................1-81 Access Window Modes ..................................................................................... 1-81 Part Names and Functions of the Access Window ........................................... 1-82 Selecting Modes and Setting/Resetting Key Lock ............................................ 1-82 Turbo Function .................................................................................................. 1-83 3.3 Digital Trimmer Mode .................................................................................... 1-84 3.3.1 Function and Operating Procedure ................................................................... 1-84 (10) Key operation and screen display .............................................................. 1-84 Function and operating procedure ............................................................. 1-84 3.4 Device Mode ................................................................................................... 1-87 3.4.1 Function and Operating Procedure ................................................................... 1-87 Devices that can be displayed and changed ............................................. 1-87 Key operation and screen display .............................................................. 1-87 Selecting the device and displaying the current value/set value ................ 1-88 Changing a numeric value ......................................................................... 1-89 Holding the setting ..................................................................................... 1-91 3.4.2 Screen Display for Each Device Type .............................................................. 1-91 Data memory (DM) .................................................................................... 1-91 Temporary data memory (TM) ................................................................... 1-91 Timer/counter (T/C) .................................................................................... 1-92 High-speed counter comparator (CTC) ...................................................... 1-92 Trimmer (TRM) .......................................................................................... 1-93 Relay (RLY) ............................................................................................... 1-93 3.5 System Mode .................................................................................................. 1-94 3.5.1 Function and Operating Procedure ................................................................... 1-94 Key operation and screen display .............................................................. 1-94 LOAD mode and SAVE mode .................................................................... 1-96 Display in LOAD/SAVE mode .................................................................... 1-96 3.6 Message Display ............................................................................................ 1-97 3.6.1 Error Messages and Error Status ..................................................................... 1-97 3.6.2 User Messages ................................................................................................. 1-97 How to use the user messages .................................................................. 1-98 Chapter 4 KV-D20 Operator Interface Panel 4.1 4.1.1 4.1.2 4.1.3 Visual KV Before Operation .......................................................................................... 1-100 Checking Package Contents .......................................................................... 1-100 Part Names and Functions ............................................................................. 1-101 Details about the KV-D20 ............................................................................... 1-102 General specifications .............................................................................. 1-102 Functional specifications .......................................................................... 1-102 Dimensions .............................................................................................. 1-103 4.1.4 Installation and Environment .......................................................................... 1-104 Use environment ...................................................................................... 1-104 Panel mounting ........................................................................................ 1-105 4.1.5 Inspection and Maintenance ........................................................................... 1-106 Inspection ................................................................................................. 1-106 Maintenance ............................................................................................ 1-106 4.2 Overview and Operation .............................................................................. 1-107 4.2.1 Use Examples for the KV-D20 ........................................................................ 1-107 4.2.2 Connection with the KV Series ....................................................................... 1-108 Connection ...............................................................................................1-108 Precautions .............................................................................................. 1-108 4.2.3 Overview of the KV-D20 ................................................................................. 1-109 Switching the display mode ..................................................................... 1-109 Overview of each display mode ............................................................... 1-110 Assignment of relays/DM ......................................................................... 1-111 Other functions .........................................................................................1-112 Precautions about screen change function .............................................. 1-115 4.2.4 Operator Mode ................................................................................................1-117 Screen selection in operator mode .......................................................... 1-117 Operator screen ....................................................................................... 1-118 Direct access screen ................................................................................ 1-126 KV-I/O monitor screen ............................................................................. 1-127 Switch comment screen ........................................................................... 1-128 Lamp comment screen ............................................................................ 1-128 Screen change permission in operator mode .......................................... 1-129 4.2.5 Device Mode ................................................................................................... 1-130 Device mode ............................................................................................ 1-130 Operation example for device mode ........................................................ 1-132 4.2.6 System Mode .................................................................................................. 1-134 System mode ........................................................................................... 1-134 4.3 Examples of Ladder Programs ................................................................... 1-135 (11) 4.3.1 Basic Ladder Programs .................................................................................. 1-135 Before creating ladder programs ............................................................. 1-135 Basic ladder programs ............................................................................. 1-136 4.3.2 Examples of Ladder Programs ....................................................................... 1-143 Example of displaying user messages ..................................................... 1-143 Example of displaying messages with titles ............................................. 1-145 Example of position control ...................................................................... 1-146 Example of frequency counter ................................................................. 1-149 Example of 24-bit high-speed counter ..................................................... 1-152 Example of cam switch function ............................................................... 1-154 4.4 4.4.1 4.4.2 4.4.3 Appendix ....................................................................................................... 1-158 Troubleshooting .............................................................................................. 1-158 Available Character List .................................................................................. 1-162 Comment Draft Sheet ..................................................................................... 1-163 Chapter 5 KV-300, KV-10/80 Hardware KV-300, KV-10/80 5.1 System Configuration .................................................................................. 1-166 5.1.1 KV-300 ............................................................................................................ 1-166 5.1.2 KV-10/80 ......................................................................................................... 1-167 5.2 Module/Unit Specifications ......................................................................... 1-168 5.2.1 Wiring: KV-U4 Power Supply Module ............................................................. 1-168 Parts and functions .................................................................................. 1-168 5.2.2 Wiring: KV-U5 DC Power Distribution Module ................................................ 1-169 Parts and functions .................................................................................. 1-169 5.2.3 Wiring: KV-300 CPU ....................................................................................... 1-170 Parts and functions .................................................................................. 1-170 5.2.4 Wiring: KV-C16X/C32X Connector Input Module ........................................... 1-171 Parts and functions .................................................................................. 1-171 5.2.5 Wiring: KV-C32T/B16R/B16S Connector Output Module ............................... 1-172 Parts and functions .................................................................................. 1-172 5.2.6 Wiring: KV-R1A I/O Distribution Module ......................................................... 1-173 Parts and functions .................................................................................. 1-173 5.2.7 Wiring: KV-R8X/R16X/R8R/R16R/R8T/R16T I/O Terminal Modules ............. 1-174 Parts and functions .................................................................................. 1-174 5.2.8 Module Names and Functions ........................................................................ 1-175 5.2.9 Peripheral Equipment Names and Functions ................................................. 1-176 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 Module/Unit Connections ............................................................................ 1-178 Environmental Requirements ......................................................................... 1-178 Installation Guidelines ..................................................................................... 1-178 Assembling the System .................................................................................. 1-179 Connecting modules ................................................................................ 1-179 Mounting to the DIN Rail ................................................................................. 1-180 Removing the Terminal Block ......................................................................... 1-181 Connecting the AC Power Supply Module and DC Power Distribution Module .... 1-182 KV-U4 AC Power Supply Module ............................................................ 1-182 KV-U5 DC Power Distribution Module ..................................................... 1-182 I/O Connectors ................................................................................................ 1-183 KV-300 CPU ............................................................................................ 1-183 KV-C16X/C32X ........................................................................................ 1-184 KV-C32T/B16R/B16S .............................................................................. 1-185 KV-R8X/R16X/R8R/R16R/R8T/R16T ...................................................... 1-186 I/O Terminal Modules: Communication Cables and Power Distribution ......... 1-187 Transmission distance by cable type ....................................................... 1-187 Connection patterns ................................................................................. 1-187 Incorrect wiring patterns ........................................................................... 1-188 Power distribution .................................................................................... 1-188 Connector Assembly Instructions ................................................................... 1-189 KV-300 CPU I/O Indicators ............................................................................. 1-191 KV-10/80 Expansion Units .............................................................................. 1-192 Mounting Environment .................................................................................... 1-194 5.3.7 5.3.8 5.3.9 5.3.10 5.3.11 5.3.12 Chapter 6 Handheld Programmer 6.1 Using the Handheld Programmer ............................................................... 1-196 6.1.1 Outline of the Handheld Programmer ............................................................. 1-196 (12) 6.1.2 Precautions .....................................................................................................1-198 6.2 Basic Operations .........................................................................................1-200 6.2.1 Basic Programming Operation ........................................................................ 1-200 6.3 Functions ......................................................................................................1-216 Function Nos. list ..................................................................................... 1-216 ALL CLEAR .............................................................................................. 1-217 HANDHELD PROGRAMMER CLEAR ..................................................... 1-217 COUNTER CLEAR .................................................................................. 1-218 HIGH-SPEED COUNTER CLEAR ........................................................... 1-218 ALL DATA MEMORY CLEAR .................................................................. 1-219 ALL LATCHING RELAYS RESET ........................................................... 1-219 PROGRAM SENT OR RECEIVED .......................................................... 1-220 OFFLINE EDITOR START ...................................................................... 1-221 OFFLINE EDITOR STOP ........................................................................ 1-221 TIMER/COUNTER CURRENT VALUE CHANGE ................................... 1-222 TIMER/COUNTER SETTING CHANGE .................................................. 1-224 RELAY ON/OFF ....................................................................................... 1-226 WRITE INTO DATA MEMORY ................................................................ 1-227 READ TRIMMER SETTING ..................................................................... 1-228 SYNTAX CHECK ..................................................................................... 1-228 PROGRAM CAPACITY CHECK .............................................................. 1-229 6.4 Memory Card ................................................................................................1-230 6.4.1 Functions [used with KV-P3E(01)] .................................................................. 1-230 6.4.2 Storage Capacity ............................................................................................ 1-230 CLEAR .....................................................................................................1-232 NEW ......................................................................................................... 1-233 ACCS ....................................................................................................... 1-234 ACCS: SAVE ........................................................................................... 1-235 ACCS: LOAD ........................................................................................... 1-236 ACCS: VERIFY ........................................................................................ 1-236 ACCS: DELETE ....................................................................................... 1-237 Chapter 7 KV-L2 Serial Interface Module KV-300 7.1 Outline ......................................................................................................... 1-240 7.1.1 Features .......................................................................................................... 1-240 7.2 7.2.1 7.2.2 7.2.3 7.3 7.3.1 7.3.2 7.3.3 7.3.4 Configuration ...............................................................................................1-241 Parts and Functions ........................................................................................ 1-241 System Configuration ..................................................................................... 1-242 Outline of Operation Modes ............................................................................ 1-244 Installation .................................................................................................... 1-245 Setting the Operation Mode ............................................................................ 1-245 Communications Protocols ............................................................................. 1-247 Connector Wiring ............................................................................................ 1-248 Connecting to External Units .......................................................................... 1-249 Connecting to An External Display .......................................................... 1-249 Connecting to an IBM PC-AT Computer .................................................. 1-249 Connecting to the KV-10/16/24/40/80 ...................................................... 1-250 Connecting KV-L2s .................................................................................. 1-250 7.4 Software Setup ............................................................................................. 1-252 7.4.1 Using KV Software [KV IncrediWare (DOS)] .................................................. 1-252 Starting KV IncrediWare (DOS) from the KV-L2 ........................................................ 1-252 7.5 KV Mode Programming ............................................................................... 1-253 7.5.1 Operating in KV Mode .................................................................................... 1-253 Communications protocol ........................................................................ 1-253 7.5.2 Serial Communications Procedure ................................................................. 1-255 Command transmission procedure .......................................................... 1-255 Command/response format ..................................................................... 1-256 Communications commands and responses ........................................... 1-256 Communications commands .................................................................... 1-257 7.5.3 Transmission and Reception of Text Data ...................................................... 1-262 Assigning relay nos. and data memory address nos. .............................. 1-262 Transmitting Text Data ............................................................................. 1-264 Receiving text data .................................................................................. 1-265 ASCII code/binary conversion function .................................................... 1-266 (13) Example program ..................................................................................... 1-269 7.6 Display Interface Mode Programming ....................................................... 1-270 7.6.1 Operating in Display Interface Mode .............................................................. 1-270 Communications protocols ....................................................................... 1-270 Communications control procedure ......................................................... 1-271 7.6.2 Command and Response Format ................................................................... 1-273 7.6.3 Commands and Responses ........................................................................... 1-275 List of commands and responses ............................................................ 1-275 Description of commands and responses ................................................ 1-277 End codes ................................................................................................ 1-291 7.7 Non-procedure Mode Programming .......................................................... 1-292 7.7.1 Operating in Non-procedure Mode ................................................................. 1-292 Communications protocol ........................................................................ 1-292 Connecting to the KV-L2 .......................................................................... 1-293 7.7.2 Assignment of Relay Nos. and Data Memory Address Nos. .......................... 1-294 Assigning relay nos. and data memory address nos. .............................. 1-294 7.7.3 Transmitting Text Data ................................................................................... 1-297 Data transmission and internal data memory addresses ......................... 1-297 7.7.4 Receiving Text Data ....................................................................................... 1-298 Format of received data and data memory addresses ............................ 1-298 7.7.5 ASCII code/Binary Conversion Function ........................................................ 1-300 7.8 Troubleshooting Guide ............................................................................... 1-304 7.8.1 Troubleshooting .............................................................................................. 1-304 7.8.2 Precautions ..................................................................................................... 1-305 7.9 Specifications ............................................................................................... 1-306 7.9.1 Specifications .................................................................................................. 1-306 General specifications .............................................................................. 1-306 Communications protocol ........................................................................ 1-306 RS-232C connector specifications ........................................................... 1-306 RS-422A terminal block specifications ..................................................... 1-306 7.9.2 Dimensions ..................................................................................................... 1-307 7.10 Command List .............................................................................................. 1-308 7.10.1 List of Commands and Responses ................................................................. 1-308 7.10.2 List of Commands and Responses in Display Interface mode ....................... 1-309 Chapter 8 KV-AN6 Analog I/O Module 8.1 KV-300 Outline ......................................................................................................... 1-312 Features ................................................................................................... 1-312 8.2 Configuration ............................................................................................... 1-313 8.2.1 Parts and Functions ........................................................................................ 1-313 8.2.2 System Configuration ..................................................................................... 1-314 8.3 8.3.1 8.3.2 8.3.3 8.3.4 8.3.5 8.4 8.4.1 8.4.2 8.4.3 8.4.4 8.4.5 8.4.6 8.4.7 8.4.8 8.4.9 8.5 8.5.1 8.5.2 8.5.3 Installation .................................................................................................... 1-315 Terminal Nos. ................................................................................................. 1-315 Removing the Terminal Block ......................................................................... 1-316 Example of Voltage I/O Wiring ........................................................................ 1-317 Example of Current I/O Wiring ........................................................................ 1-318 Setting I/O Ranges ......................................................................................... 1-319 Programming ................................................................................................ 1-320 Input Characteristics (A/D) .............................................................................. 1-320 Calculating Input Data (A/D) ........................................................................... 1-321 Output Characteristics (D/A) ........................................................................... 1-322 Calculating Output Data (D/A) ........................................................................ 1-323 Assigning Data Memory (DM) Addresses ....................................................... 1-324 Reading Analog Input ..................................................................................... 1-325 Measuring Analog Input Average ................................................................... 1-326 Writing Analog Output ..................................................................................... 1-327 Converting Analog Input to Analog Output ..................................................... 1-328 KV-AN6 Appendices .................................................................................... 1-329 Troubleshooting .............................................................................................. 1-329 Precautions ..................................................................................................... 1-330 Specifications .................................................................................................. 1-331 Environmental specifications ................................................................... 1-331 System specifications .............................................................................. 1-331 (14) 8.5.4 Dimensions .....................................................................................................1-332 Chapter 9 KV-AD4/DA4 Analog I/O Unit 9.1 KV-10/80 Outline ......................................................................................................... 1-334 Features ................................................................................................... 1-334 9.2 Configuration ...............................................................................................1-335 9.2.1 Part Names and Functions ............................................................................. 1-335 KV-AD4 .................................................................................................... 1-335 KV-DA4 .................................................................................................... 1-336 9.2.2 Specifications .................................................................................................. 1-337 KV-AD4 .................................................................................................... 1-337 KV-DA4 .................................................................................................... 1-339 9.2.3 System Configuration ..................................................................................... 1-341 9.3 9.3.1 9.3.2 9.3.3 Installation .................................................................................................... 1-342 Installation Procedure ..................................................................................... 1-342 Checking the Installation Environment ........................................................... 1-343 Setting the KV-AD4 Input Mode ...................................................................... 1-344 Setting the input mode ............................................................................. 1-344 9.3.4 Connecting External Instruments .................................................................... 1-345 Wiring ....................................................................................................... 1-345 Wiring diagrams ....................................................................................... 1-346 9.3.5 Connecting to the KV-10 to 80 ........................................................................ 1-348 9.3.6 Maintenance ................................................................................................... 1-349 Inspection and Cleaning .......................................................................... 1-349 9.4 Programming ................................................................................................1-350 9.4.1 Programming the KV-AD4 .............................................................................. 1-350 A/D Conversion Mechanism .................................................................... 1-350 About Digital Data after A/D Conversion .................................................. 1-351 Calculating Voltage and Current Values from Digital Data ...................... 1-352 9.4.2 Programming the KV-DA4 .............................................................................. 1-353 D/A Conversion Mechanism .................................................................... 1-353 Converting Digital Data to Voltage or Current Values to be Output ......... 1-354 Writing Digital Data to Data Memory for D/A Conversion ........................ 1-356 9.4.3 A/D and D/A Conversion Tables ..................................................................... 1-357 Voltage Conversion Table ........................................................................ 1-357 Current Conversion Table ........................................................................ 1-358 9.5 Programming Examples .............................................................................. 1-359 Calculating Analog Data Values from Digital Data ................................... 1-359 Writing Data to be Analog-output ............................................................. 1-361 Outputting Analog Trimmer Values .......................................................... 1-364 Outputting Analog Input Data ................................................................... 1-365 Outputting Analog Input from a Pressure Sensor to an Air Valve ............ 1-366 Setting the Minimum and Maximum Voltage Limits and Measuring the Average Voltage ...................................................................................... 1-367 Troubleshooting ........................................................................................... 1-370 9.6 Chapter 10 Troubleshooting 10.1 10.1.1 10.1.2 10.1.3 10.1.4 10.2 Error List ....................................................................................................... 1-372 List of Error Codes in Basic Units ................................................................... 1-372 Error indication in Expansion Units ................................................................. 1-374 Program Errors ...............................................................................................1-375 Memory Card Errors and Other Errors ........................................................... 1-376 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) A.2 A.3 A.4 Hardware ................................................................................................. 1-382 Software and Programming ..................................................................... 1-383 AC power supply unit ............................................................................... 1-384 Common I/O Specifications of Basic Units ..................................................... 1-384 Input specifications .................................................................................. 1-384 Output specifications (relay output): KV-10AR/DR, KV-16AR/DR, KV-24AR/DR, and KV-40AR/DR .............................................................. 1-385 Output specifications (transistor output): KV-10AT(P)/DT(P), KV-16AT(P)/DT(P), KV-24AT(P)/DT(P), and KV-40AT(P)/DT(P) ............ 1-385 Expansion Unit Specifications ........................................................................ 1-385 Dimensions ..................................................................................................... 1-389 Appendix B. Specifications and Dimensions [KV-300 Series] ......................... 1-392 B.1 System Specifications [KV-300 Series] .......................................................... 1-392 Hardware ................................................................................................. 1-392 Software and Programming ..................................................................... 1-393 AC Power supply module/DC power distribution module ........................ 1-394 B.2 Module Specifications ..................................................................................... 1-398 KV-300 CPU ............................................................................................ 1-398 KV-C16X/C32X Input Modules ................................................................ 1-399 KV-C32T/B16R/B16S Output Modules ................................................... 1-400 KV-R8X/R16X I/O Terminal Modules ....................................................... 1-401 KV-R8T/R16T/R8R/R16R I/O Terminal Modules ..................................... 1-402 KV-R8T/R16T/R8R/R16R I/O Terminal Modules (RUN Output) .............. 1-403 KV-R1A I/O Distribution Module .............................................................. 1-403 B.3 Dimensions ..................................................................................................... 1-404 Appendix C. Ladder Program List ...................................................................... 1-406 Appendix D. A/D and D/A Conversion Tables [KV-AN6] ..................................... 1-408 Voltage conversion table .......................................................................... 1-408 Current conversion table .......................................................................... 1-409 WARRANTIES AND DISCLAIMERS 1-419 2 Support software Introduction 1.1 Items Included in the Package ........................................................................ 2-2 Chapter 1 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 1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 Cautions for Use ............................................................................................ 2-13 Basic Operations ........................................................................................... 2-14 Program creation flow and available modes ..................................................... 2-14 Starting up and exiting from the software ......................................................... 2-16 Screen .............................................................................................................. 2-18 Mouse operation and keyboard operation ........................................................ 2-21 Online Help ....................................................................................................... 2-23 Chapter 2 Editor KV-300 2.1 Outline of the Editor Functions .................................................................... 2-26 2.1.1 Cautions for editing ladder programs ................................................................ 2-26 2.2 Edit Screen .....................................................................................................2-27 (16) 2.2.1 Name and function of each part of the screen .................................................. 2-27 2.2.2 Ladder program window screen ....................................................................... 2-28 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.3.6 2.3.7 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5 2.5.1 2.5.2 2.5.3 File Management ............................................................................................ 2-29 Creating a new file ............................................................................................ 2-29 Setting the automatic file read function ............................................................. 2-30 Setting automatic file save for the file ............................................................... 2-31 Saving and reading files ................................................................................... 2-32 Reading and saving a file in another format ..................................................... 2-33 Saving a ladder diagram in text format ............................................................. 2-36 Verifying files .................................................................................................... 2-36 Entering/Deleting Symbols and Connection Lines .................................... 2-37 Entering symbols .............................................................................................. 2-37 Deleting symbols .............................................................................................. 2-42 Entering contacts/coils directly ......................................................................... 2-42 Changing the device at the current cursor position .......................................... 2-43 Entering/Deleting connection lines ................................................................... 2-44 Canceling edit operations ................................................................................. 2-45 Entering Comments/Labels ......................................................................... 2-46 Editing comments/labels ................................................................................... 2-46 Editing line comments ....................................................................................... 2-50 Changing ladder lines into comments ............................................................... 2-51 2.6 Edit and Arrangement .................................................................................. 2-52 2.6.1 Copy, move, and delete .................................................................................... 2-52 2.6.2 Inserting and deleting lines ............................................................................... 2-57 2.7 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 Jump, Search, and Replace ......................................................................... 2-58 Jump ................................................................................................................. 2-58 Searching for instruction words/operands ........................................................ 2-62 Searching for the device at the cursor position ................................................. 2-63 Replacing operands .......................................................................................... 2-64 Converting a/b contacts .................................................................................... 2-65 2.8 Editing the Mnemonic List ........................................................................... 2-67 2.8.1 Displaying and terminating a mnemonic list ..................................................... 2-67 2.8.2 Copy, move, and delete .................................................................................... 2-69 2.9 Displaying the Use Status ............................................................................. 2-70 2.9.1 Displaying a use status list ............................................................................... 2-70 2.10 Setting the System ......................................................................................... 2-71 2.10.1 Setting the system ............................................................................................ 2-71 2.11 Entering and Developing Macros ................................................................ 2-72 2.11.1 Creating a macro file ......................................................................................... 2-72 2.11.2 Entering and developing macros ...................................................................... 2-74 2.12 2.12.1 2.12.2 2.12.3 Compilation .................................................................................................... 2-75 Executing compilation ....................................................................................... 2-75 Error display ...................................................................................................... 2-76 Double coil check .............................................................................................. 2-76 2.13 Printing Functions ......................................................................................... 2-77 2.13.1 Printing .............................................................................................................. 2-77 2.13.2 Preview display ................................................................................................. 2-81 2.14 Changing the Display Color on the Screen ................................................. 2-82 2.14.1 Changing display colors on the screen ............................................................. 2-82 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 3.3.1 3.3.2 3.3.3 Ladder Monitor ............................................................................................... 2-89 Outline of the ladder monitor ............................................................................ 2-89 Executing scans ................................................................................................ 2-89 Executing steps .............................................................................................. 2-101 (17) 3.3.4 Jump and search ............................................................................................ 2-105 3.3.5 Stop/reset and device all clear ........................................................................ 2-108 3.4 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.5 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7 Monitor All .................................................................................................... 2-109 Outline of monitor all ....................................................................................... 2-109 Displaying, saving, and reading the monitor all window ................................. 2-109 Monitor all window .......................................................................................... 2-113 Registering devices ........................................................................................ 2-113 Selecting and changing devices ..................................................................... 2-116 Registration Monitor .................................................................................... 2-119 Outline of the registration monitor ................................................................... 2-119 Displaying, saving, and reading the registration monitor ................................ 2-119 Registration monitor window ........................................................................... 2-122 Registering devices ........................................................................................ 2-122 Selecting and changing devices ..................................................................... 2-123 Manipulating timing charts .............................................................................. 2-128 Printing out the registration monitor ................................................................ 2-131 Chapter 4 Monitor 4.1 4.1.1 4.1.2 4.1.3 Outline of the Monitor Functions ............................................................... 2-134 Outline of the functions ................................................................................... 2-134 Restrictions in the monitor .............................................................................. 2-134 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 4.4.1 4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 4.4.7 Ladder Monitor ............................................................................................. 2-144 Outline of the ladder monitor .......................................................................... 2-144 Displaying the ladder monitor window ............................................................ 2-144 PLC error check .............................................................................................. 2-144 Starting the monitor ........................................................................................ 2-145 Stopping the monitor ....................................................................................... 2-145 Screen displayed while the monitor is running ............................................... 2-146 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 4.6.1 4.6.2 4.6.3 Monitor Function .......................................................................................... 2-149 Disabling the input refresh/Disabling the output ............................................. 2-149 Changing the current values all at once ......................................................... 2-150 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) Appendix D Special Utility Relay List ................................................................ 2-168 D-1 Special relays and arithmetic operation flags ................................................. 2-168 D-2 Special utility relays for high-speed counter (0) .............................................. 2-168 D-3 Special utility relays for high-speed counter (1) .............................................. 2-169 D-4 Other special utility relays ............................................................................... 2-169 D-5 Memory switches ............................................................................................ 2-172 D-6 Special memory list .........................................................................................2-172 Appendix E Devices for KV-10R(W)/T(W) to 80R(W)/T(W), KV-300 ................ 2-174 E-1 Special utility relays ........................................................................................ 2-174 E-2 Memory switches ............................................................................................ 2-176 E-3 Special memory list .........................................................................................2-176 Appendix F Sample Program List ..................................................................... 2-178 F-1 Description of sample ladder programs .......................................................... 2-178 Appendix G Quick Reference ............................................................................. 2-180 G-1 Editor .............................................................................................................. 2-180 G-2 Simulator ......................................................................................................... 2-188 G-3 Monitor ............................................................................................................2-195 Appendix H Notes for Programming ................................................................. 2-201 H-1 Circuits that must be modified ........................................................................ 2-201 H-2 Precautions for programming ......................................................................... 2-202 H-3 Programs which cannot be decompiled .......................................................... 2-203 Appendix I Appendix J List of Files Used ............................................................................ 2-204 Countermeasures for Frequent Communication Errors ............ 2-205 2-215 WARRANTIES AND DISCLAIMERS 3 Programming 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 Chapter 1 (19) Timer/Counter list ....................................................................................... 3-18 Description ................................................................................................. 3-18 1.3.10 Data Memories ................................................................................................. 3-19 1.3.11 Temporary Data Memory .................................................................................. 3-21 1.3.12 Relay Nos. and Functions ................................................................................. 3-22 1.4 Special Functions .......................................................................................... 3-23 1.4.1 Input Time Constant Change Function ............................................................. 3-23 Setting the input time constant for basic units using special utility relays .. 3-23 1.4.2 Modifying the Input Relay Time Constant ......................................................... 3-24 Modification within the CPU ....................................................................... 3-24 1.4.3 Constant Scan Time Mode ............................................................................... 3-25 1.4.4 Output Disabled Function ................................................................................. 3-26 1.4.5 Input Refresh Disabled Function ...................................................................... 3-26 1.4.6 Contact Comment Save Function ..................................................................... 3-27 1.4.7 Special Functions ............................................................................................. 3-28 Constant Scan Time Mode ........................................................................ 3-28 Output Disabled Function .......................................................................... 3-28 Input Refresh Disabled Function ................................................................ 3-28 1.5 1.5.1 1.5.2 1.5.3 Extended Ladder Diagrams .......................................................................... 3-29 Features of Extended Ladder Diagrams ........................................................... 3-29 Advantages of Extended Ladder Diagrams ...................................................... 3-30 Example of an Extended Ladder Diagram ........................................................ 3-31 Chapter 2 Instructions 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.3 2.4 2.4.1 2.4.2 2.4.3 2.5 Instruction List [Visual KV Series] .............................................................. 3-34 Basic Instructions .............................................................................................. 3-34 Application Instructions ..................................................................................... 3-36 Arithmetic Instructions ...................................................................................... 3-38 Interrupt Instructions .........................................................................................3-41 Function No. List (Alphabetical order) .............................................................. 3-41 Instruction List [KV-300 Series, KV-10/80] ................................................. 3-42 Basic Instructions .............................................................................................. 3-42 Application Instructions ..................................................................................... 3-45 Arithmetic Instructions ...................................................................................... 3-48 Interrupt Instructions .........................................................................................3-54 Convention Details ........................................................................................ 3-55 Instruction Details .......................................................................................... 3-56 Basic Instructions .............................................................................................. 3-56 Application Instructions ..................................................................................... 3-95 Arithmetic Instructions .................................................................................... 3-134 Programming Notes ..................................................................................... 3-189 Chapter 3 Interrupts 3.1 3.2 3.2.1 3.2.2 3.2.3 3.2.4 Visual KV Interrupt Instructions ................................................................................... 3-192 Interrupt Processing .................................................................................... 3-194 Interrupt Processing ........................................................................................ 3-194 Types of Interrupts .......................................................................................... 3-195 Interrupt Priority .............................................................................................. 3-196 Interrupt Program ............................................................................................ 3-196 3.3 Direct Input/Output ...................................................................................... 3-197 3.3.1 Direct Input ..................................................................................................... 3-197 3.3.2 Direct Output ................................................................................................... 3-197 3.4 3.4.1 3.4.2 3.4.3 3.4.4 Applications of Interrupt Programs ........................................................... 3-198 Interrupt with a Signal Converter .................................................................... 3-198 Interrupt with a High-speed Counter ............................................................... 3-199 Measuring the ON Time of High-speed Pulses .............................................. 3-200 Measuring the Period in which a Target Passes between Two Points ........... 3-201 Chapter 4 High-speed Counters 4.1 4.2 Visual KV High-speed Counter Instructions ............................................................... 3-204 Outline of High-speed Counters ................................................................. 3-206 (20) 4.2.1 High-speecÛCounters and High-speed Counter Comparators ...................... 3-206 Structure of high-speed counters and high-speed counter comparators . 3-206 Specifications of high-speed counters ..................................................... 3-208 High-speed counter comparators ............................................................. 3-209 4.2.2 Internal Clock for High-speed Counters .......................................................... 3-210 Setting and Operation of High-speed Counters ........................................ 3-211 Reading the Current Value of the High-speed Counter .................................. 3-211 Preset Value of the High-speed Counter Comparator .................................... 3-211 Comparator Output .........................................................................................3-211 Count Input Method ........................................................................................ 3-212 Resetting the High-speed Counter ................................................................. 3-214 Differences with the CTH Instruction between the Conventional and Visual KV Series ................................................................ 3-216 4.3.7 Applications of High-speed Counters ............................................................. 3-217 4.4 4.4.1 4.4.2 4.4.3 4.4.4 4.4.5 4.5 4.5.1 4.5.2 4.5.3 4.5.4 4.5.5 Extended Functions of High-speed Counters ........................................... 3-221 24-bit High-speed Counter .............................................................................. 3-221 Changing the Current Value of a 24-bit High-speed Counter ......................... 3-223 Application Example of 24-bit High-speed Counter (single-phase input) ....... 3-224 Ring Counter Function .................................................................................... 3-225 Applications of Ring Counters ........................................................................ 3-226 4.3 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 Special Functions Using High-speed Counters ........................................ 3-228 Specified Frequency Pulse Output Function .................................................. 3-228 Applications of the Specified Frequency Pulse Output ................................... 3-229 Frequency Counter Function .......................................................................... 3-231 Applications of Frequency Counters ............................................................... 3-232 Cam Switch Function ...................................................................................... 3-233 Cam switch mode .................................................................................... 3-233 Multi-step comparator mode .................................................................... 3-234 Setting method .........................................................................................3-234 4.5.6 Application of the Cam Switch (Cam Switch Mode) ....................................... 3-236 4.6 Direct Clock Pulse Output ........................................................................... 3-237 4.6.1 Outline of Direct Clock Pulse Output .............................................................. 3-237 4.6.2 Pulse Output Setting with the High-speed Counter Comparator .................... 3-238 Changing the pulse period and width ....................................................... 3-238 Calculating the pulse period and comparator preset value ...................... 3-239 Operation with special utility relays .......................................................... 3-239 4.7 4.7.1 4.7.2 4.7.3 4.7.4 Examples of Direct Clock Pulse Output .................................................... 3-242 Example of Outputting a Pulse with 1:1 ON/OFF Ratio .................................. 3-242 Example of Outputting a Pulse with Variable ON/OFF Ratio .......................... 3-245 Example of Stopping the Pulse Output at a Specified Pulse Count ............... 3-249 Application of Direct Clock Pulse Output (Ramp-up/down control) ................ 3-251 Chapter 5 Positioning Control Visual KV 5.1 Outline of Positioning Control .................................................................... 3-254 5.1.1 Ramp-up/down Control ................................................................................... 3-254 5.2 Parameter Setting and Operating Procedures .......................................... 3-255 5.2.1 Parameter Setting Procedure ......................................................................... 3-255 5.2.2 Operating Procedure ...................................................................................... 3-257 5.3 5.3.1 5.3.2 5.3.3 Examples of Using the Positioning Control Function .............................. 3-258 Connection Example ....................................................................................... 3-258 Tips .................................................................................................................3-258 Application Examples of the Positioning Control Function ............................. 3-259 Chapter 6 Interrupts, High-speed Counters, Positioning Control KV-300, KV-10/80 6.1 Interrupt Instructions ................................................................................... 3-268 6.1.1 Description of Interrupts .................................................................................. 3-268 Input processing for routine program and interrupt routine ...................... 3-268 Types of interrupt ..................................................................................... 3-268 Interrupt priority ........................................................................................ 3-269 Interrupt routine ........................................................................................ 3-269 Direct output ............................................................................................. 3-270 Direct input ...............................................................................................3-270 (21) 6.1.2 Interrupt Instructions ....................................................................................... 3-271 6.2 Direct Clock Pulse ........................................................................................ 3-276 6.2.1 Output of Direct Clock Pulse ........................................................................... 3-276 Outline of High-Speed Counters .............................................................. 3-276 Outline of Pulse Output ............................................................................ 3-279 Examples of Pulse Output ....................................................................... 3-284 6.3 Positioning Control ....