KEYENCE Visual KV Series User Manual
Page 10

(9)
Contents
3
Programming
Chapter 1
Programming
1.1
Before Creating Programs .............................................................................. 3-2
1.1.1
Flow from Introduction to Operation ................................................................... 3-2
1.1.2
Scan Time ........................................................................................................... 3-3
Scan time ..................................................................................................... 3-3
Input response time delay ............................................................................ 3-3
1.2
User Memory .................................................................................................... 3-4
1.2.1
Program Capacity ............................................................................................... 3-4
Maximum number of lines in a program ....................................................... 3-4
Calculating the byte count used ................................................................... 3-4
1.3
Device Configuration ....................................................................................... 3-5
1.3.1
Device List .......................................................................................................... 3-5
Relay list ...................................................................................................... 3-5
List of I/O relays in basic units ..................................................................... 3-5
List of relays in expansion units ................................................................... 3-6
1.3.2
Relay No. ............................................................................................................ 3-7
Address No. ................................................................................................. 3-7
Contact No. .................................................................................................. 3-8
Channel No. ................................................................................................. 3-8
1.3.3
Assigning Relay Nos. .......................................................................................... 3-8
1.3.4
Input Relays ........................................................................................................ 3-9
Basic unit ..................................................................................................... 3-9
Expansion unit ........................................................................................... 3-10
1.3.5
Output Relays ................................................................................................... 3-10
Output operation time ................................................................................ 3-10
1.3.6
Internal Utility Relays ........................................................................................ 3-11
Retentive function of internal utility relays .................................................. 3-11
1.3.7
Special Utility Relays ........................................................................................ 3-12
Description ................................................................................................. 3-12
1.3.8
Special Utility Relay List ................................................................................... 3-14
Special relays and arithmetic operation flags ............................................ 3-14
Special utility relays for high-speed counter(0) .......................................... 3-14
Special utility relays for high-speed counter(1) .......................................... 3-15
Other special utility relays .......................................................................... 3-15
1.3.9
Timers and Counters ........................................................................................ 3-18
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
Extended Ladder Diagrams .......................................................................... 3-29
1.5.1
Features of Extended Ladder Diagrams ........................................................... 3-29
1.5.2
Advantages of Extended Ladder Diagrams ...................................................... 3-30
1.5.3
Example of an Extended Ladder Diagram ........................................................ 3-31
KVNKA Front_Pro.p65
08.3.11, 0:13 PM
10