The text of a manual ยท part 3 of 12
Visual KV Series User's Manual 1: Installation, pages 16 to 20
Pages 16 to 20 of 102
The original document is the PDF (964 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Keyence KV-E4X
Page 16
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
Chapter 10
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
9.6
Troubleshooting ........................................................................................... 1-370
Troubleshooting 10.1 Error List ....................................................................................................... 1-372 10.1.1 List of Error Codes in Basic Units ................................................................... 1-372 10.1.2 Error indication in Expansion Units ................................................................. 1-374 10.1.3 Program Errors ...............................................................................................1-375 10.1.4 Memory Card Errors and Other Errors ........................................................... 1-376 10.2
Replacing Relays .........................................................................................1-377 Replacement procedure ........................................................................... 1-377
10.3 Troubleshooting ........................................................................................... 1-378 10.3.1 Troubleshooting List ....................................................................................... 1-378 10.4
Error Messages ............................................................................................ 1-380
Appendices Appendix A. Specifications and Dimensions [Visual KV Series] .................... 1-382 A.1 System Specifications [Visual KV Series] ....................................................... 1-382
(15)
Page 17
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
2
1-419
Support software
Chapter 1
Introduction 1.1
Items Included in the Package ........................................................................ 2-2
1.2 Outline of the Ladder Builder for KV .............................................................. 2-3 1.2.1 Operating environment and system configuration .............................................. 2-3 1.2.2 Features and functions of the Ladder Builder for KV .......................................... 2-4 Features of the Ladder Builder for KV ......................................................... 2-4 Functions of the Ladder Builder for KV ........................................................ 2-6 1.3
Before Programming ....................................................................................... 2-7 Machines to be prepared ............................................................................. 2-7 1.3.1 Differences from the KV IncrediWare (DOS) ...................................................... 2-8 1.3.2 Differences from the Ladder Builder for KV Ver 1.0 ........................................... 2-8 1.4 Installing the Software ..................................................................................... 2-9 1.4.1 Preparation for installation .................................................................................. 2-9 1.4.2 Installation Procedure ....................................................................................... 2-10 Installation in Windows 95 ......................................................................... 2-10 Installation in Windows 3.1 ........................................................................ 2-12
Chapter 2
1.5
Cautions for Use ............................................................................................ 2-13
1.6 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5
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
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)
Page 18
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
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
2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6
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
2.5 2.5.1 2.5.2 2.5.3
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 Compilation .................................................................................................... 2-75 2.12.1 Executing compilation ....................................................................................... 2-75 2.12.2 Error display ...................................................................................................... 2-76 2.12.3 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
(17)
Ladder Monitor ............................................................................................... 2-89 Outline of the ladder monitor ............................................................................ 2-89 Executing scans ................................................................................................ 2-89 Executing steps .............................................................................................. 2-101
Page 19
3.3.4 Jump and search ............................................................................................ 2-105 3.3.5 Stop/reset and device all clear ........................................................................ 2-108
Chapter 4
3.4 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5
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
3.5 3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 3.5.6 3.5.7
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
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)
Page 20
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
List of Files Used ............................................................................ 2-204
Appendix J
Countermeasures for Frequent Communication Errors ............ 2-205
WARRANTIES AND DISCLAIMERS
3
2-215
Programming
Chapter 1
Programming 1.1 Before Creating Programs .............................................................................. 3-2 1.1.1 Flow from Introduction to Operation ................................................................... 3-2 1.1.2 Scan Time ........................................................................................................... 3-3 Scan time ..................................................................................................... 3-3 Input response time delay ............................................................................ 3-3 1.2 User Memory .................................................................................................... 3-4 1.2.1 Program Capacity ............................................................................................... 3-4 Maximum number of lines in a program ....................................................... 3-4 Calculating the byte count used ................................................................... 3-4 1.3 Device Configuration ....................................................................................... 3-5 1.3.1 Device List .......................................................................................................... 3-5 Relay list ...................................................................................................... 3-5 List of I/O relays in basic units ..................................................................... 3-5 List of relays in expansion units ................................................................... 3-6 1.3.2 Relay No. ............................................................................................................ 3-7 Address No. ................................................................................................. 3-7 Contact No. .................................................................................................. 3-8 Channel No. ................................................................................................. 3-8 1.3.3 Assigning Relay Nos. .......................................................................................... 3-8 1.3.4 Input Relays ........................................................................................................ 3-9 Basic unit ..................................................................................................... 3-9 Expansion unit ........................................................................................... 3-10 1.3.5 Output Relays ................................................................................................... 3-10 Output operation time ................................................................................ 3-10 1.3.6 Internal Utility Relays ........................................................................................ 3-11 Retentive function of internal utility relays .................................................. 3-11 1.3.7 Special Utility Relays ........................................................................................ 3-12 Description ................................................................................................. 3-12 1.3.8 Special Utility Relay List ................................................................................... 3-14 Special relays and arithmetic operation flags ............................................ 3-14 Special utility relays for high-speed counter(0) .......................................... 3-14 Special utility relays for high-speed counter(1) .......................................... 3-15 Other special utility relays .......................................................................... 3-15 1.3.9 Timers and Counters ........................................................................................ 3-18
(19)