KV-700 Series: User's Manual
KV-700 Series: User's Manual
KV-700 Series: User's Manual
Programmable Controller
KV-700 Series
User's Manual
Preface
The NEW VISUAL PLC KV-700 Series is equipped with a hyper access window. This
access window allows you to check at a glance the I/O information and error
information of Expansion Units that has not been possible up till now unless a tool was
connected. The NEW VISUAL PLC KV-700 Series is also provided with a Memory
Card slot. This enables exchange of programs using auto-load, logging of production
information and other extensive functions.
Store this manual in a safe place so that you can retrieve it whenever necessary.
See to it that this manual reaches the last person who is going to use the KV-700 Series.
Store this manual in a safe place so that you can retrieve it whenever necessary.
See to it that this manual reaches the last person who is going to use the KV-700 Series.
Symbols
This manual uses the following symbols to alert you to important information.
Failure to follow these instructions may lead to death or serious
DANGER injury.
[Tip]
Indicates useful information or information that aids understanding of text descrip-
tions.
General Precautions
• At startup and during operation, be sure to monitor the functions and performance
of the KV-700 Series.
• Provide a safety circuit that does not pass via the programmable controller to ensure
that, even if an abnormality occurs on the programmable controller body, the overall
system functions on the safe side from the failsafe point onwards.
• Correct control operations might no longer be possible if output circuits or internal
circuits malfunction. Be sure to provide a safety circuit for control operations that
might cause fire and other serious accidents.
• Do not modify the KV-700 Series or use it in any way other than described in the
specifications. The functions and performance of products used or modified in this
way cannot be assured.
• When the KV-700 Series is used in combination with other equipment, functions and
performance may be degraded depending on operating conditions, surrounding
environment and other factors. Fully take this into consideration before using the KV-
700 Series in this way.
• Do not use this product for the purpose to protect a human body or part of a
human body.
• This product is not intended for use as an explosion-proof product. Do not use this
product in a hazardous location and/or potentially explosive atmosphere.
183GB i
Remarks:
These specifications do not give any guarantee that the end-product with this product incorporated
complies with the essential requirements of EMC Directive. The manufacturer of the end-product is solely
responsible for the compliance on the end-product itself according to EMC Directive.
ii
■ UL Certificate
The KV-700 Series is an UL Listed Product.
UL-certified products display the UL mark on the label found on the side of each product.
• UL File No. E207185
• Category NRAQ
Be sure to consider the following specifications when using this product as an UL Listed product.
• When installing the KV-700 Series, it must be installed in an enclosure (Industrial control panel)
with IP54 or higher.
• Supply power to the KV-700 Series using either the exclusive Keyence KV-U7 power supply, or a
power supply that provides Class 2 output defined in NFPA 70 (NEC: National Electrical Code).
• When using a Keyence KV-U7 as the power supply of the KV-700 Series, be sure to connect the
protective earthing terminal located on the input terminal to the protective earthing conductor in the
building installation wiring as the KV-U7 is designed as a Class I equipment.
• Use stranded copper wire having a gage of AWG#14 to #22 and temperature rating of 105°C or higher
as the lead for wiring to the terminal block on the KV-U7. The tightening torque is 0.6N·m.
• For wiring to the power supply terminal block on KV-700, use stranded copper wire having a
gage of AWG#20 and temperature rating of 60°C or higher. The tightening torque is 0.5 N·m (4.4 lb-in).
• For wiring to the terminal block on the special units except for the KV-DN20 or I/O units, use stranded
copper wire having a gage of AWG#16 to #22 and temperature rating of 60°C or higher (105°C or
higher for the KV-B16RA). The tightening torque is 0.56 N·m (4.94 lb-in).
• For wiring to the functional grounding terminal on the KV-DN20, use stranded copper wire having a
gage of AWG#12 to #22 and temperature rating of 60°C or higher. The tightening torque is 1.8N·m.
• For wiring to the DeviceNet connector on the KV-DN20, use stranded copper wire having a gage of
AWG#12 to #30 and temperature rating of 60°C or higher. The tightening torque is 0.6N·m.
• The KV-700 (CPU Unit) has a built-in replaceable lithium battery. When replacing the lithium
battery, be sure to use the Replacement Lithium Battery (OP-42139 for KV-700) specified in this
manual. The lithium battery may explode if mistreated. Explosion hazard. Never charge, dismantle
or throw the battery into fire.
iii
iv
Chapter 5 INTERRUPTS
7
This chapter describes functions for executing interrupt programs when there is a request
(generation of an interrupt cause) from an external input or high-speed comparator during
operation of the KV-700.
8
This chapter describes the types of interrupt causes and I/O during interrupt processing.
9
Chapter 6 HIGH-SPEED COUNTERS
This chapter describes high-speed counters and high-speed counter comparators that
enable high-speed pulse measurement and pulse output unreliant on scan time. 10
Chapter 7 FREQUENCY COUNTERS
This chapter describes how high-speed counter functions can be used for frequency 11
counters.
Appendices
These appendices present tables for the relays, timers, counters, memory Nos. and
special relays for each model of the KV-700 Series. Refer to these appendices when using
the KV-700 CPU.
vi
vii
Chapter 4 PROGRAMMING
Chapter 5 INTERRUPTS
viii
ix
xi
Appendices
xii
Save and read program data to and from the Memory Card by operation on the
access window as follows. follows after a section is
Chapter title broken down into smaller
Make sure that the Memory Card is in-
serted in the Memory Card slot on the KV-700.
units.
Name of Keyence Corporation
24
V
5V
Sub-heading
KV-
70
product
0A
Data is automatically read to the Memory 0
1
2
0
1
B
USB
1.DeviceMode
2.Trrimer
M
Operation keys
3.Date
4.CPU Mon
Screen
Note: Note: • Never remove Memory Cards while the Memory Card access LED is
blinking.
Describes cautions for • In environments subject to severe noise, it may take time to access the
easily mistaken operations. Memory Card. (In the worst case, this might damage the card or FAT.) In
such cases, attach a ferrite core onto the power cable before use. Also,
Be sure to read these. install the KV-700 away from equipment that emits strong electromagnetic
fields.
While the Memory Card accessing LED is lit (reading and writing of data to the Memory
CAUTION Card), never remove the Memory Card or turn the KV-700 OFF. Doing so might corrupt
the data inside the Memory Card.
Caution
Failure to observe the caution
described here may result in
product trouble.
3-2
* This page was made for the purpose of explaining page components,
and differs form an actual page.
Terminology
This manual uses the following terminology excluding some instances.
Term Description
Main body This refers to the Programmable Controller KV made by Keyence
Corporation.
KV, These are generic names for KV Series.
Visual KV Series
Expansion Unit This refers to the Expansion Input Unit, Expansion Output Unit, and
Expansion Mixed I/O Unit other than the Basic Unit in the Visual KV
Series.
PLC This refers to the overall system of a programmable controller.
PC Stands for personal computer. Generally, this refers to an IBM PC
and PC-AT compatible machine (DOS/V).
xiii
xiv
1 -1
System Configuration
The KV-700 Series basic system is configured as possible.
0V
1.8A
Expansion
memory RUN
PROG
N CARD SD RD USB
INPUT
100-240V
AC
50/60Hz
0.98A
L
SERIAL
OP-42138
Start Unit
(provided with CPU)
Memory Card
OP-42137
1 -2
Cable
(1 m)
(OP-42142)
Cable
(2 m)
(OP-42141)
1 -3
■ General specifications
Item Specification
Power voltage 24 VDC (±10%)
Internal current CPU Unit KV700: 160 mA or less
consumption Expansion KV-C64XA: 25 mA or less KV-C32XA: 15 mA or less
(excluding Input Unit KV-B16XA: 15 mA or less
current for input
Expansion KV-C64TA: 100 mA or less KV-C32TA: 55 mA or less
circuit drive)
Output Unit KV-B16RA: 120 mA or less KV-B16TA: 35 mA or less
Extension Unit KV-EB1S: 15 mA or less
KV-EB1R: 25 mA or less
Operating surrounding air temperature 0 to 50°
C (freezing not allowed)*1, *2
Storage temperature -20 to 70°
C*1
Operating ambient humidity 35 to 85°
C (condensation not allowed)*1, *2
Withstand voltage 1500 VAC across power terminal and I/O terminals, and across all external termi-
nals and case
Resistance to line noise 1500 V peak-to-peak or more, pulse width 1 µs, 50 ns (by noise simulator)
IEC standard compliancy (IEC61000-4-2/3/4/6)
Resistance to vibration In conformity In presence of an intermittent vibration Scan iterations
with Frequency Acceleration Amplitude 10 iterations
JIS B 3502 (over 80 min.)
IEC61131-2 10 to 58 Hz — 0.075 mm
for each of X, Y, Z
57 to 150 Hz 9.8 m/s2 —
directions
In presence of a continuous vibration
Frequency Acceleration Amplitude
10 to 58 Hz — 0.035 mm
57 to 150 Hz 4.9 m/s2 —
Insulation resistance 50 MΩ or more (across power terminal and I/O terminals, and all external terminals
and case by 500 VDC megger)
Operating atmosphere Excessive dirt, dust and corrosive gases not allowed
Overvoltage category II (with KV-U7 in use)
Pollution degree 2
Weight CPU Unit KV-700: Approx. 240 g Extended memory (OP-42138) 10 g End Unit 30 g Start Unit 30 g
Expansion Input Unit KV-C64XA: Approx. 140 g KV-C32XA: Approx. 110 g KV-B16XA: Approx. 120 g
Expansion Output KV-C64TA: Approx. 140 g KV-C32TA: Approx. 100 g KV-B16TA: Approx. 130 g
Unit KV-B16RA: Approx. 190 g
Extension Unit KV-EB1S: Approx. 90 g KV-EB1R: Approx. 115 g
Power Unit KV-U7: Approx. 190 g
1 -4
■ Performance specifications
Item Specifications 1
Arithmetic operation control method Stored program system
1 -5
specifications.
+ –
1 -6
* MIL-C-83503 compliant
Do not connect the USB cable to the serial port. Doing so might damage the unit.
CAUTION
1 -7
Specifications
1 ■ Input specifications
CONFIGURATION OF THE KV-700 SERIES & SPECIFICATIONS
Prevent the input simultaneous continuous ON rate from exceeding the specification
CAUTION range. Otherwise, the unit might become damaged.
40°C 45°C
(typical example) 100
35
Response frequency (kHz)
30
80
25
60
20
50%
15 40
26.4V input
5V mode response 24V input 36%
10 frequency characteristics
diagram (typical example) 20
5
0 0
4.5 4.7 4.9 5.1 5.3 5.5 0 10 20 30 40 50
Input voltage (V) Ambient temperature (°C)
1 -8
■ Output specifications
00500 to 00503 (4 outputs) 1
Item Specifications
1 -9
27.3
90 35.9
3.5 55 80
100
(131.3)
Bottom view
19.4
Unit: mm
90 90
8 9 8 80 Unit: mm
1-10
4 Be sure to attach the KV-U7 or Start Unit onto the left side of the body.
Note: • When mounting extended memory, pay attention to static electricity.
• Before mounting or removing extended memory, be sure to perform an
all clear first.
"All Clear" page 2-42
1-11
KEYENCE KV-700 A B
0 0
1 1
2
3
4
2
3
4
Connector terminal No.
5 5
6 6
7 7
8
9
8
9
1 11
10 10
11
12
13
11
12
13
2 12
HYPER ACCESS WINDOW
14 14
15 15
3 13
4 14
6 16
CARD SD RD USB I/O connector 7 17
8 18
SERIAL
9 19
1 2 3 4 5 6 10 20
I/O connector
24 VDC/5 VDC
Terminal Signal Name
No. Direction
1 Input Input common COM0
2 Input (Interrupt) 001
3 Input (Interrupt) 003
4 Input (high-speed counter 1) 005
5 Input (high-speed counter 1-phase) 007
6 Input (high-speed counter 1 reset) 009
7 Output (w/ resistor) 500 L
8 Output (w/ resistor) 501 L
9 Output (w/ resistor) 502 L
10 Output (w/ resistor) 503 L
11 Input (Interrupt) 000
Modular connector 12 Input (Interrupt) 002
13 Input (high-speed counter 0) 004
Terminal Direction Signal Name
No. 14 Input (high-speed counter 0-phase) 006
1 +5V power output 15 Input (high-speed counter 0 reset) 008
2 +5V power output 16 Output 500 L
4 – SG 18 Output 502 L
[Tip]
A current limiting resistor of 1.6 kΩ (1/2W) is built in as the output w/ resistor for pin
Nos.7 to 10. So, use these pins for motor driver connection.
1-12
Internal circuit
IN 5V/24V
switching
circuit
COM0
Photocoupler isolation
Input power
Output circuit
L
Internal
circuit 500 to 503
COM1
During connections, do not mistake the polarity of the load power on the output side.
CAUTION Connecting the load power with polarities reversed may damage the KV-700 Series.
1-13
and specifications.
KV-U7
(1) Output
bar LED
OC
(2) Terminal
block
cover 24V OUT
(4) FG
terminal
N
INPUT
(5) Power 100-240V
AC
input L
50/60Hz
0.98A
terminal
100 to
240 VAC
1-14
OC
Current used has little margin with respect to power capacity
when LED No.5 (yellow) is lit. Use a separate power supply,
for example.
(2) Terminal block Cover
cover
(3) 24 VDC output 24 VDC power terminal for service power supply (M4
screws) Total 1.8 A including main power supply
(4) FG terminal Frame ground terminal for connecting earth lead (M4
screws)
(5) Power input Connected to 100 to 240 VAC (50/60 Hz) power supply (M4
terminal screws)
(6) Lock lever Locks the unit coupling.
(7) KV-700, EB1R Connector for KV-700/EB1R
connector
• During an overcurrent (LED No.6 lit (red)), turn the unit OFF and remove the cause
CAUTION of the overcurrent.
• When an overvoltage is applied, output stops. (Output indicator goes out.)
Turn the power OFF, and wait at least 30 seconds before turning the power ON again.
• When the KV-U7 is used, do not supply power from the power terminal on the KV-
700.
Note: • Be sure to connect the KV-U7 immediately to the left of the KV-700 or
Extension Unit. Also, when the KV-U7 is used, 24V is not output to the
power terminal on the KV-700.
• When using the KV-U7, limit the total current consumption of the unit to 70%
(LED No.4 lit (green), approx. 1.3 A) of the KV-U7's output capacity to
protect defective startup caused by rush current on the unit.
1-15
Specifications
1 ■ Specifications
CONFIGURATION OF THE KV-700 SERIES & SPECIFICATIONS
Item KV-U7
Input power voltage 100 to 240 VAC ±10% (50/60 Hz)
Output voltage 24 VDC ±10%
Output capacity 1.8 A (total of power supply to each unit
and service power supply)
Power consumption 135 VA or less
Instantaneous power interruption time 10 ms or less
Startup time Max. 2 s or less
■ External dimensions
2.8
KV-U7
OC 27.3
24V OUT
24VDC
1.8A
0V 90 35.9
N
INPUT
100-240V
AC
50/60Hz
0.98A
L
3.5 80
35 5.2 93.2 Unit: mm
1-16
KV-U7
KV-U7
OC
24V OUT
24VDC
1.8A
0V
Sensor or other
N
INPUT
100-240V
external device
AC
50/60Hz
0.98A
L
Class D earth
Insulating transformer
noise filter, etc.
Note: • To reduce line noise, connect an insulated transformer or noise filter in a 1:1
configuration.
• To reduce dielectric influence, use twisted cables.
• When connecting the Power Unit, be sure to connect to a protective ground.
1-17
24V 24V
5V 5V
L H
(4) Input (1) Input voltage selector (2) Input connector (5) Lock lever
terminal block switch
*1: This LED lights (green) in the following instances even if operation is not normal:
(1) When the number of connected units differs from the unit information on the CPU unit when
the power is turned ON
(2) When the model type different from the unit information on the CPU unit is connected when
the power is turned ON
In these cases, an error will be displayed in the access window.
*2: This LED lights (red) in the following instances even if the state is not a unit error state:
(1) When the unit information on the CPU unit is for a one CPU configuration when the power is
turned ON
In this case, an error will be displayed in the access window.
* The 34-pin connector for KV-C32XA/C64XA connection is available as an option.
Note: The terminal blocks on the KV-B16XA, KV-B16RA, KV-B16TA, KV-AD40, and KV-DA40
can be removed.
(For details on the KV-AD40/KV-DA40, refer to the KV-AD40/DA40 User's Manual.)
1-18
Specifications
■ Specifications
1
*1 MIL-C-83503 compliant
*2 Two COMs are provided on the KV-C32XA and the KV-B16XA, and are common internally.
*3 Four COMs are provided on the KV-C64XA, are common internally at each of the location on the H side (two points)
and L side (two points).
*4 Relay Nos. 108 to 115, 308 to 315 (2-lead type supported)
*5 Relay Nos. 000 to 015, 100 to 115, 200 to 215, 300 to 307 (2-lead type unsupported)
"KV-B16XA internal circuit diagram" page 1-21, "KV-C32XA internal circuit diagram" page 1-22
"KV-C64XA internal circuit diagram" page 1-23
• The unit may become damaged when the number of inputs that simultaneously turn
CAUTION ON exceeds the specification range.
• With the KV-C64XA Unit, 2-lead wire unsupported terminals can be turned ON 100%
regardless of the ambient temperature.
• With the KV-C64XA Unit, the relationship between the ambient temperature and the
continuous simultaneous ON rate on 2-lead wire supported terminals is shown by the
following graph:
120 120
17°C 30°C 48℃
43°C 48°C
100 100
80 80
75%
60 60
26.4V input 26.4V input
40 40
24V input 24V input
20 20 20%
0 0
0 10 20 30 40 50 0 10 20 30 40 50
Ambient temperature (°C) Ambient temperature (°C)
1-19
■ External dimensions
1 KV-B16XA
2.8
CONFIGURATION OF THE KV-700 SERIES & SPECIFICATIONS
27.3
90 35.9
3.5 80
9 29 3 (96.5) Unit: mm
KV-C32XA
2.8
27.3
90 35.9
3.5 80
9 23 3 96.3
(125) Unit: mm
KV-C64XA
2.8
27.3
90 35.9
3.5 80
9 29 3 96.3
(125) Unit: mm
1-20
Terminal No.
1
0
3
2
5 000 to 015 4.3KΩ
Internal circuit
4
7 IN
6 5V/24V
switching
C0 circuit
8 COM0
9 Photocoupler isolation
10
11 Input power
COM1
12
13
14
15
C1
24 VDC/ 5VDC
COM internally shorted
1-21
1 18
2 19
3 20
4 21
5 22
000 to 015
6 23 100 to 115 4.3 KΩ
Internal circuit
7 24 IN
5V/24V
8 25 switching
circuit
9 26 COM0
10 27 Photocoupler isolation
COM1
11 28 Input power
12 29
13 30
14 31
15 32
16 33
17 34
Pin No. Direction Signal Name Pin No. Direction Signal Name
1 Input 000 18 Input 100
2 Input 001 19 Input 101
3 Input 002 20 Input 102
4 Input 003 21 Input 103
5 Input 004 22 Input 104
6 Input 005 23 Input 105
7 Input 006 24 Input 106
8 Input 007 25 Input 107
9 Input 008 26 Input 108
10 Input 009 27 Input 109
11 Input 010 28 Input 110
12 Input 011 29 Input 111
13 Input 012 30 Input 112
14 Input 013 31 Input 113
15 Input 014 32 Input 114
16 Input 015 33 Input 115
17 Input COM0 34 Input COM1
Prevent the input simultaneous continuous ON rate from exceeding the specification
CAUTION range. Otherwise, the unit might become damaged.
"KV-C32XA derating precautions" page 1-19
1-22
Internal circuit
IN
3 20 3 20
330Ω
4 21 4 21 COM0 to 3
5 22 5 22 Photocoupler isolation
6 23 6 23 Input power
7 24 7 24
8 25 8 25
2-wire type incompatible input
(Relay No.000 to 015, 100 to 107, 200 to 215,
9 26 9 26
300 to 307)
10 27 10 27
11 28 11 28
15KΩ
12 29 12 29
Internal circuit
IN
13 30 13 30
2.7kΩ
14 31 14 31 COM0 to 3
15 32 15 32 Photocoupler isolation
16 33 16 33 Input power
17 34 17 34
24 VDC 24 VDC
Restrictions are applied on the 2-lead wire supported input simultaneous continuous
CAUTION ON rate. Prevent the input simultaneous continuous ON rate from exceeding the
specification range. Otherwise, the unit might become damaged.
"KV-C64XA derating precautions" page 1-19
Note: Use the OP-42224 connector (34-pin) for the 64-input units.
The OP-23139 cannot be used.
1-23
(3) Output terminal block (1) Output connector (4) Lock lever
*1: This LED lights (green) in the following instances even if operation is not normal:
(1) When the number of connected units differs from the unit information on the CPU unit when
the power is turned ON
(2) When the model type different from the unit information on the CPU unit is connected when
the power is turned ON
In these cases, an error will be displayed in the access window.
*2: This LED lights (red) in the following instances even if the state is not a unit error state:
(1) When the unit information on the CPU unit is for a one CPU configuration when the power is
turned ON
In this case, an error will be displayed in the access window.
* The 34-pin connector for KV-C32TA/C64TA connection is available as an option.
Note: The terminal blocks on the KV-B16XA, KV-B16RA, KV-B16TA, KV-AD40, and KV-DA40
can be removed.
(For details on the KV-AD40/KV-DA40, refer to the KV-AD40/DA40 User's Manual.)
1-24
Specifications
■ Specifications
1
*1 MIL-C-83503 compliant
*2 Two COMs are provided on the KV-C32TA and the KV-B16TA, and are common internally.
*3 Four COMs are provided on the KV-C64TA, and are common internally.
"KV-C32TA internal circuit diagram" page 1-29, "KV-B16RA internal circuit diagram" page 1-27
"KV-B16TA internal circuit diagram" page 1-28, "KV-C64TA internal circuit diagram" page 1-30
The unit may become damaged when the number of outputs that simultaneously turn
CAUTION ON exceed the specification range.
The relationship between the ambient temperature and the continuous simultaneous
ON rate is shown by the following graph:
KV-B16RA derating
30°C
Continuous simultaneous ON rate (%)
100
80
60
40
37.5%
20
0
0 10 20 30 50
Ambient temperature(°C)
1-25
■ External dimensions
1 KV-B16RA/B16TA
2.8
CONFIGURATION OF THE KV-700 SERIES & SPECIFICATIONS
27.3
90 35.9
3.5 80
9 29 3 (96.5) Unit: mm
KV-C32TA
2.8
27.3
90 35.9
3.5 80
9 23 3 96.3
(125) Unit: mm
KV-C64TA
2.8
27.3
90 35.9
12.3 80
3.5
9 29 3 96.3
(125) Unit: mm
1-26
Terminal No.
1
0
3
2 000 to 007
5 (008 to 015)
4 OUT
Internal circuit
7 Load
6
C0
8
9 COM0
10
11 (COM1)
12
13
14
15 Load power supply
C1
1 Output 001 L
2 Output 002 L
3 Output 003 L
4 Output 004 L
5 Output 005 L
6 Output 006 L
7 Output 007 L
C0 Output COM
8 Output 008 L
9 Output 009 L
10 Output 010 L
11 Output 011 L
12 Output 012 L
13 Output 013 L
14 Output 014 L
15 Output 015 L
C1 Output COM
1-27
1 Isolated
0 power
3
2 supply
5
4
7 000 to 015
6
C0
Internal circuit
8 OUT
9
10 Load
11
12
13
14
15 Photocoupler COM0
C1 isolation
COM1
Load power supply
10 Output 010 L
11 Output 011 L
12 Output 012 L
13 Output 013 L
14 Output 014 L
15 Output 015 L
C1 Output COM1
DC
1-28
Internal circuit
OUT
9 26 Load
10 27
11 28
12 29 Photocoupler COM0
13 30 isolation
14 31 COM1
15 32 Load power supply
16 33
17 34
Pin No. Direction Signal Name Pin No. Direction Signal Name
1 Output 000 L 18 Output 100 L
2 Output 001 L 19 Output 101 L
3 Output 002 L 20 Output 102 L
4 Output 003 L 21 Output 103 L
5 Output 004 L 22 Output 104 L
6 Output 005 L 23 Output 105 L
7 Output 006 L 24 Output 106 L
8 Output 007 L 25 Output 107 L
9 Output 008 L 26 Output 108 L
10 Output 009 L 27 Output 109 L
11 Output 010 L 28 Output 110 L
12 Output 011 L 29 Output 111 L
13 Output 012 L 30 Output 112 L
14 Output 013 L 31 Output 113 L
15 Output 014 L 32 Output 114 L
16 Output 015 L 33 Output 115 L
17 Output COM0 34 Output COM1
DC DC
1-29
Internal circuit
OUT
8 25 8 25 Load
9 26 9 26 COM0
10 27 10 27 COM1
11 28 11 28 Photocoupler COM2
12 29 12 29 isolation
13 30 13 30 COM3
14 31 14 31 Load power supply
15 32 15 32
16 33 16 33
17 34 17 34
Pin Signal Name Signal Name Pin Pin Signal Name Signal Name Pin
No. No. No. No.
L 1 000 100 18 L L 1 200 300 18 L
L 2 001 101 19 L L 2 201 301 19 L
L 3 002 102 20 L L 3 202 302 20 L
L 4 003 103 21 L L 4 203 303 21 L
L 5 004 104 22 L L 5 204 304 22 L
L 6 005 105 23 L L 6 205 305 23 L
L 7 006 106 24 L L 7 206 306 24 L
L 8 007 107 25 L L 8 207 307 25 L
L 9 008 108 26 L L 9 208 308 26 L
L 10 009 109 27 L L 10 209 309 27 L
L 11 010 110 28 L L 11 210 310 28 L
L 12 011 111 29 L L 12 211 311 29 L
L 13 012 112 30 L L 13 212 312 30 L
L 14 013 113 31 L L 14 213 313 31 L
L 15 014 114 32 L L 15 214 314 32 L
L 16 015 115 33 L L 16 215 315 33 L
17 COM0 COM1 34 17 COM2 COM3 34
Note: Use the OP-42224 connector (34-pin) for the 64-output units.
The OP-23139 cannot be used.
1-30
(6) OP cable
(5) KV-U7 connector Connector for KV-U7 Power Unit connection *3, *4
(6) Extension cable This is for connecting the KV-EBIS and KV-EBIR.
(OP-42142 1 m) (OP-42141 2 m)
*1 When the LED lights orange or red, a probable cause is that the power voltage has dropped. Check
the power supply.
*2 Pay sufficient attention to reverse connection of the power supply. The unit has a built-in reverse
connection protection circuit. However, protection may not function depending on the power supply
connection.
Pay attention to the current consumption of the Expansion Unit to prevent the current supplied from
the terminal block from falling to 3.5 A or below.
*3 When the power capacity on the KV-700 side is limited, power is supplied to units on the extended
side from here.
*4 When the KV-U7 is connected, pay attention to the current consumption of the extended unit.
Note: Before switching the power supply selector switch, be sure to turn the power OFF.
1-31
Specifications
1 ■ Specifications
CONFIGURATION OF THE KV-700 SERIES & SPECIFICATIONS
60 mm or more
Vertical
■ About connection
• When extension cable 1 m (OP-42142) is used
Up to 3 vertical levels (max. 48 units can be connected)
• When extension cable 2 m (OP-42141) is used
Up to 2 vertical levels (max. 32 units can be connected)
■ About installation
When the Extension Unit is used, allow 60 mm of space between the upper and
lower level units to allow heat to escape.
If the temperature inside the panel (temperature at the bottom of the unit) exceeds
the operating ambient temperature of the unit, lower the temperature, for example,
by forced air cooling or by providing more space between mounted units and the
surrounding area to improve ventilation.
• Power supply wiring methods
"Wire the power supply to levels 1, 2 and 3 when a separate power supply is used
on the same system. If the power supply is turned OFF on the 1st level during
operation when separate power supplies are used for the 1st level, and for the 2nd
and 3rd levels, operation of the units on the 2nd and 3rd level will enter the state
when instructions are executed with the power supply OFF. Pay sufficient
attention to operation when the power supply is OFF."
• Noise countermeasures
"When EB1 is used, and three levels are added on, and a DC power supply is used
as each power supply, insert two ferrite cores on the power cable, and when KV-
U7 is used, adopt noise countermeasures such as grounding of the FG."
1-32
■ External dimensions
KV-EB1S
2.8
27.3
35.9
90
9 29 3.5 80
(130)
KV-EB1R
27.3
35.9
90
3.5 80
29 3 (105)
(130)
Unit: mm
1-33
Installation Environment
Do not install the KV-700 in the following places.
Locations subject to direct sunlight Locations subject to ambient temperature Locations subject to ambient humidity
out of 0 to +50°C range out of 35 to 85%RH range
Locations subject to condensation Locations subject to corrosive and flam- Locations subject to large amounts of
caused by sudden temperature change mable gases dirt and dust, salt, iron and oil smoke
ER
NG
DA
Locations directly subject to vibration Locations that may be splashed with wa- Locations where strong magnetic and
and shock ter, oil or chemical mist electrical fields are generated
Che
mic
als
1-34
Mounting Position
■ Mounting orientation
1
H
Y
P
K
E
R
V 12 34
A
-70 2
C
C
000 1
E
S
S
A
W
4
IN
B
5
D
6
O
5
7
W
6
8
M
7
9
10
8
11
9
10
12
11
13
12
14
13
15
14
CA
15
RD
SD
RD
US
24
24V
B
V
5V 24
5V
V
CK 5V
KV LO
-70
0A
B LO
CK
0
1 0
KV
2
3
1
2 -B1
HY 4 3 6X
PE
R AC
5
6
4
5
A
CE
SS
7 6
KV
8 7
-C
KV-700 A B
WIN
DO 9 8
32
M W 10
11
9
10 XA
12 11
0
1
13 12
2
3
24
0
14 13
4
V
5
2
15 14
6
3
7
4
15
8
5
5V
9
10 10
6
11 11
7
12 12
8
CA
13 13
9
RD
14 14
15 15
SD
RD
US
B
USB
LOCK
RD
SD
CARD
■ Distance between surrounding areas
Be sure to leave at least 30 mm of space between the wall at the inner side of the
device and other devices.
30 mm
30 mm
Respective unit Bottom
Allow 30 mm of space to allow you to put
in your finger to remove unit.
30 mm
Bottom left
Allows 30 mm of space to allow heat to escape.
Note: If the temperature inside the panel (temperature at the bottom of the unit)
exceeds the operating ambient temperature of the unit, lower the tempera-
ture, for example, by forced air cooling or by providing more space between
mounted units and the surrounding area to improve ventilation.
When the Extension Unit is used, allow 60 mm of space between the upper
and lower level units to allow heat to escape.
1-35
DIN rail.
Start Unit
or
HYPER ACCESS WINDOW 13 29
14 30
15 31
Power Unit
RUN
STOP
KV-U7
CARD RD SD USB
KV-U7 SERIAL
CC
24V OUT
24VDC
1.8A
0V
N
INPUT
100-240VAC
50/60Hz
0.98A
When two Extension Units are used, up to 48 units can be connected to the CPU
Unit.
With some special units, 48 units cannot be connected to the CPU Unit.
Refer to the manual for each unit.
1-36
24
V
5V
KV
-70
0A
B
CA
RD
SD
RD
US
B
2 Insert the lock lever on the unit on the right into the
lock lever slot of the unit on the left to connect.
24
V
KV
-70
0A
B
0
1 0
US
B
3 Lock the lock levers at the top and bottom of the unit
on the right.
• Following the same procedure as in (1), hook your finger
24
V
5V
KV
-70
0A
B
into the indentation and slide towards the rear of the unit.
0
1 0
KV
2
3
1
2 -B1
HY 4 3 6X
PE
R AC
5
6
4
5
A
CE 7 6
SS 8 7
WIN 8
9
DO
M W 10
11
9
10
12 11
13 12
14 13
15 14
15
CA
RD
SD
RD
US
B
1-37
■ Mounting units
LO
CK
the top of the unit.
Upper claw
DIN rail
5V
24
V
ing claw at the bottom of the unit.
• The black claw at the bottom is
LO
C
K
designed to move by means of a
spring. Press in this claw until you
hear it click into place.
Lower black claw
• In difficult to mount locations, re-
move all locks, mount the unit on
the DIN rail, and then lock.
Locked Unlocked
■ Removing units
Loose
1-38
Input
RL
Output
Be sure to separate connecting leads for the Extension Unit away from power leads.
1-39
■ Grounding precautions
1 • Provide a class D earth (maximum resistance of 100 Ohms) individually for each
of the devices.
CONFIGURATION OF THE KV-700 SERIES & SPECIFICATIONS
• If a separate ground is not possible, ground using a shared grounding point. Note,
however, that in this case the leads must of the same length.
B
A B A
Contact
L L
a b
L L
Zener diode
Varistor
1-40
Compatible dimensions
L B: 6 mm min.
L: 13 mm min.
Dimensions of Y-shaped terminal
d2: 3.2 mm max.
B: Distance between prong outsides
d1: Diameter of lead insert section
d2: Distance between prong insides
(screw fit section) width
L: Total length
d1
This unit is made of synthetic resin, and may melt if it comes in contact with acetone,
CAUTION trichlene, benzene, and other solvents with strong dissolving power. Also, note that the
unit may be damaged if excessive force is applied during fastening.
Note: Use the OP-42224 connector (34-pin) for the 64-output units.
The OP-23139 cannot be used.
1-41
Note: The lead must be soldered if you do not have the Exclusive Pressure-contact
Tool.
Names of parts
Handle
Press-fastener punch
Body
Housing
OP-23139 OP-42224
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
Down
Mark Up
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
Down
1-42
Carrier
2 Insert the contact straight into the contact holder of the Exclusive Pressure-
contact Tool as far as possible. (Figure A)
3 Insert the lead wire straight in as far as possible along the crimping groove
of the contact. (Figure B)
Press-fastener
Fig.A Fig.B
punch
Crimping groove
Contact
View from side
Handle
Press-fastener
punch
Press-fastener punch
Cover
Body
Electrical Guide
lead
Contact extractor pin
Guide Cover
Contact holder
4 Grip the handle of the Exclusive Pressure-contact Tool until the clamp is
completely wrapped around the lead wire.
1-43
sure-contact Tool.
Electrical lead
Housing
To remove contacts
Remove contacts from the connector as follows.
1-44
Note: Be sure to turn the power OFF before you remove the terminal block.
5V
ing screws. 24
5V
V
KV
amount of force.
KV
V
24
5V
1-45
1-10 Maintenance
1
This section describes how to inspect and perform daily care on units, and how to
CONFIGURATION OF THE KV-700 SERIES & SPECIFICATIONS
■ Daily care
Dirt adheres to the CPU Unit or each of the units when they are used for a long time.
Clean off any dirt from the KV-700 using a clean, dry cloth.
Dust and dirt on fine components can be removed with a cotton bud after first
removing the connector.
1-46
• The battery life is five years at an ambient temperature of 25°C. Replace the battery
CAUTION every five years regardless of the operating environment of the unit. Note that use
of the unit in an environment that exceeds this temperature will reduce the battery's
service life.
• When the unit is used under a high-temperature environment (ambient temperature:
40°C or more), replace the battery within the total unit operation time of 17,520 hours
(two years).
Failure to do so might damage the battery.
• Data is sometimes lost if the battery is not energized before it is replaced.
• Limit the battery replacement time to within ten minutes.
KV
-70
0A
B
0
1 0
KV
-70
0A
B
0
1 0
2 1
3 2
HY 4 3
PE 5 4
RA 6 5
CC
ES 7 6
SW 8 7
IN 9 8
DO 10 9
W
11 10
12 11
13 12
14 13
15 14
15
1-47
1-48
ACCESS WINDOW
ACCESS WINDOW
This chapter describes the access window that allows the user to
change data and easily perform monitoring.
2-1
2-1 Outline
This manual describes an outline of the access window and examples of how to use
the access window.
2
ACCESS WINDOW
·Load 0
1
0
1
TRMO Direct
·Save 2
3
2
3
0
·File List 4
5
4
5
L _____
·Free Space 6
7
6
7
1
8 8
9 9
10 10
11 11
12 12
HYPER ACCESS WINDOW 13 13
14 14
15 15
RUN
PROG
2-2
ACCESS WINDOW
Unit Monitor mode
In this mode, the state of the unit can be monitored on the access window by pressing
the direct access switch on the unit connected to the CPU.
"2-2 Unit Monitor" page 2-6
Device mode
Up till now, Ladder Support Software KV BUILDER and Programming Console were
used for displaying internal devices. KV-700 uses the access window to display
internal devices.
Access window also allows the user to change settings.
"2-3 Device Mode" page 2-8
Clock
In this mode, the CPU internal clock can be displayed and the time set.
"2-5 Displaying and Setting the Date/Time" page 2-21
Alarm
In this mode, the alarm monitor and alarm record can be checked.
"2-8 Alarm Monitor" page 2-30
Memory Card
In this mode, operations such as saving/loading files in Memory Card, and displaying
a list of files can be performed.
"2-6 Memory Card Operations" page 2-24
Clearing SRAM
In this mode, device values can be cleared.
"2-10 Clearing SRAM" page 2-40
All clear
In this mode, all settings can be cleared.
"2-11 All Clear" page 2-42
CPU monitor
In this mode, the state of the CPU positioning, frequency counter, and cam switch
functions can be monitored.
"2-7 CPU Monitor" page 2-25
2-3
2 1. Device Mode DM
CM
ACCESS WINDOW
TM
T
C
CTH/CTC
TRM
HM
RLY
CR
2. Trimmer Trimmer display
3. Date Date display Date/time setting/adjustment
4. CPU Mon Positioning X-axis current value
X-axis relay
Y-axis current value
Y-axis relay
X-/Y-axis current value
Frequency counter
Cam switch
5. Alarm Monitor
Record
Clear record
6. Memory Card Load
Save
File List Delete file
Free Space
7. AW Setting Contrast (3 to 9)
Language (English/Japanese)
8. S-RAM Clr Execute/cancel clear
9. All Clr Execute/cancel clear
2-4
2
0 0
1 1
2 2
3 3
4 4
5 5
6
7
8
6
7
8
(1) Display window
ACCESS WINDOW
9 9
10 10
11 11
12 12
HYPER ACCESS WINDOW 13 13
14 14
15 15
RUN
(2) Setting/operation keys
PROG
CARD SD RD USB
SERIAL
Menu items
Pressing the "M" key displays the menu.
If menu items do not fit in the screen, press the ▼
" " key to display the rest of the menu.
Pressing the "▲" and "▼" scrolls the menu up and down.
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
When screens are displayed in a language other than English, re-select the display
language.
The following table shows the CPU menu items.
CPU Menu
1. DeviceMode
2 Trimmer
3 Date
4. CPU Mon
5. Alarm
6. MemoryCard
7. AW Setting
8. S-RAM Clr
9. All Clr
2-5
2
Units can be monitored and set on the access window by pressing the direct access
ACCESS WINDOW
switch on special units or expansion units such as the I/O unit connected to the CPU.
To return to the original screen from the expansion unit or special unit, press the direct
access switch of the unit currently displayed on the access window.
For details on monitor items and settings for each unit, refer to the User's Manual for
the respective unit.
KV-700 A B KV-C32XA
0
1
0
1
Direct access switch
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
HYPER ACCESS WINDOW 13 13
14 14
15 15
RUN
STOP
CARD SD RD USB
SERIAL
2-6
2 The relay No. and relay ON/OFF state assigned to the unit is displayed.
The LED indication changes as follows according to the currently selected unit.
RLY30100
76543210
M
2
L __ ■ ____ ■
ACCESS WINDOW
H■ ___ ■ ___
0 0
1
2
1
2
On the two 16-LED rows (left row: +0 to15, right
3 3 row: +100 to +115), for example, the leading No.
RLY30000 4
5
4
5 of relays occupied by C32XA are displayed.
76543210 6 6
L __ ■ ____ ■ 7 7 In the figure on the left, the top left of the LED
8 8
H■ ___ ■ ___ 9 9 indicates relay 30000, and the bottom right
10 10
11 11 indicates relay 30015.
12 12
13 13
14 14
15 15
3 Press the "M" key with the direct access switch on the unit flashing (se-
lected).
The menu for the unit is displayed.
M
Monitor
Filter
4 Select the filter using the up/down keys, and then press the " " key.
The currently set filter state can be checked.
KV-C32XA M
Filter
10ms
5 Hold down the " " key for at least one second in this state.
The setting value flashes, and the unit enters the change mode. (This operation is
not possible in the Run mode. Values can be changed only in the Program mode.)
KV-C32XA M
Filter
10ms
6 Change the setting value using the up/down keys, and hold down the " " key
for at least one second.
The setting value stops flashing, and is set. (Holding down the " " key for less than
one second cancels the newly set value.)
M
KV-C32XA
Filter
1ms
2-7
2
Devices That Can Be Displayed and Whose Settings Can be Changed
ACCESS WINDOW
The following table summarizes devices that can be displayed and whose settings can
be changed.
Display Name Display Name
RLY Relay T Timer
CR Control Relay C Counter
DM Data Memory CTH High-speed Counter
CM Control Memory CTC High-speed Counter Comparator
TM Temporary Data Memory TRM Digital Trimmer
2-8
ACCESS WINDOW
■ Moving to the Device mode
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
2-9
RLY600
ON
RLY601
OFF
RLY601
ON
RLY602
OFF
2-10
ACCESS WINDOW
·TM
displayed.
The current device No. is displayed on the 3rd line.
The numerical value displayed on the 4th line is the
Jump device No. change increment.
TM
000 Change the device No. using the "▲" and "▼" keys.
10
The device No. change increment increases tenfold by
pressing the " " key.
Determine the desired device No. using the "▲", "▼" and
" " keys.
TM53
0 Press the " " key. This displays the TM of the specified
TM54 No.
000
2 Press the " " key with the list of device types displayed.
2-11
2 Disp Form
M
On/Off
ACCESS WINDOW
5 Press the " " key. This displays the monitor value in the selected display
format.
The display format selected here is applied to all devices.
The following table summarizes the display formats that can be selected.
Format Description
Default According to device type (see separate table)*
ON/OFF ON/OFF display
16Bit-BASE10 Data width 16-bits, decimal number display
16Bit-BASE16 Data width 16-bits, Hex number display
16Bit-BASE2 Data width 16-bits, binary number display
32Bit-BASE10 Data width 32-bits, decimal number display
32Bit-BASE16 Data width 32-bits, Hex number display
[Example]
2-12
ACCESS WINDOW
CM (default)
TM (default)
TMR (default)
CTR (default)
CTH/CTC (default)
TRM (default)
The display format that can be selected varies according to device type. When a
display format that cannot be applied to a specific device is selected, the default display
format is selected.
2 Press the " " key with the list of device types displayed.
2-13
4 Press the " " key in the display format selection screen.
2
M
Disp Format
Default
ACCESS WINDOW
M
Device Name
Comment
6 Press the " " key. This selects the comment display, and the display returns
to the Device mode monitor.
The following screen shows comment "SensorA " registered to RLY0, and no
comment registered to RLY1:
Sensor A
OFF
RLY1
OFF
2-14
1 Hold down the " " key for at least one second with the device to change
displayed.
2
If two devices are currently displayed in one screen, the device whose value can
ACCESS WINDOW
be changed is the device displayed on the top row of the screen. (In this case, the
device on the bottom row is no longer displayed.)
3 Set the desired device value to write, and hold down the " " key for at least
one second.
Flashing stops and writing of the entered device value is executed. If the " " key
is held down for less than one second, writing is not executed, and the screen
returns to the monitor display.
2-15
2
1 Hold down the " " key for at least one second with the device to change
ACCESS WINDOW
displayed.
2-16
ACCESS WINDOW
6 Press the "▲" key once.
The device value is incremented by the amount set to the change increment, and
the device No. display changes to [201].
(At this stage in the procedure, writing of the device value is not executed.)
7 When you have set the new value to write as the device value, hold down the
" " key for at least one second.
Writing of the new device value is executed, and the screen returns to the monitor
display.
To cancel writing midway, hold down the " " key for less than one second.
This returns to the monitor display without executing writing of the device value.
2-17
CTH value
Trimmer value
(high-speed counter)
Trimmer upper limit value
CTC value
(high-speed counter The upper limit value is
comparator) not displayed if it is not
set.
"MEMSW Instruction"
2-18
ACCESS WINDOW
Names and Functions of Setting/Operation Keys
The following table summarizes key operations when changing the trimmer values.
Setting/operation Key Function
M Menu display
Changes the number of the trimmer to display.
Each press increments the device number.
▲ Increments the trimmer value.
▼ Decrements the trimmer value.
Change the increment/decrement amount. Each press incre-
ments the digit. (When the 10th digit is exceeded, the 1st digit is
returned to.
Changing trimmer values involves changing values in the Device mode. So, in the
Digital Trimmer mode, changes to values are reflected directly as they are without
pressing the " " key.
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
M
TRM0 Direct
1
L 10000
1
The value of the 3rd row indicates the trimmer upper limit value. When the
upper limit value setting is not used, nothing is displayed on this row. For
details on use and selection of the upper limit value, refer to "MEMSW
Instruction" on page 3-8 of the Instruction Reference Manual.
2-19
3 The trimmer No. to be displayed can be changed by the " " key.
Select the desired trimmer No. to change.
2 TRM0 Direct M
1
ACCESS WINDOW
L 0
10
M
TRM0 Direct
11
L 0
10
5 Pressing the "▲" key increases the trimmer value by the increment amount,
and pressing the "▼" key decreases the trimmer value by the decrement
amount.
The Digital Trimmer mode differs from the Device mode in that changes to values
are reflected directly as they area without pressing the " " key.
[Tip]
• The upper limit value can be set on the ladder or access window Device mode.
• The upper limit value is stored to CM.
• The current trimmer value is loaded by the TMIN instruction.
• To enable the upper limit value, use the MEMSW instruction.
• Even if use of the upper limit value has been set by the MEMSW instruction,
the upper limit value becomes 4294967295 when "0" is entered for the upper
limit setting value.
2-20
2
About the Date/Time Display
ACCESS WINDOW
The time display conforms to the 24-hour clock.
The day of the week is displayed as follows:
Method of Operation
To check the menu configuration of the access window, refer to the "access window
menu tree."
"Access Window Menu Tree" page 2-4
■ Date/time setting
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
2-21
2 Press the "▼" key twice and then the " " key.
[3. Date] is displayed.
2 1.DeviceMode M
2.Trrimer
ACCESS WINDOW
3.Date
4.CPU Mon
M
2000/09/18
15:58:44
Mon
4 Select the desired item to set by pressing the " " key.
Each press of the " " key switches the item as follows:
"Year" → "Month" → "Day" → "Hours" → "Minutes" → "Seconds" → "Day of week"
→ "Year" and so forth
M
2000/09/18
15:58:50
Mon
6 Repeat steps 4 and 5. When you have finished setting the date/time, hold
down the " " for at least one second.
[Exec] is displayed at the right of the bottommost row of the display to prompt setting
of the date/time.
(At this stage in the procedure, setting of the date/time has not been executed.)
Release the " " key. This executes setting of the date/time, and returns the screen
to the date/time display.
M
2000/09/18
15:58:44
Mon
Exec
If you release the " " key before [Exec] is displayed, the date/time setting is not
executed, and the screen returns to the date/time display.
2-22
■ Time adjustment
Time adjustment is a function for setting the second value for "0" seconds.
ACCESS WINDOW
0 to 29 Second value only is set to "0".
30 to 59 Minute value is incremented, and second value only is set to "0".
M
2000/09/18
15:59:44
Mon
2 [Adjust] is displayed on the bottommost row to indicate that the time can be
adjusted.
(To cancel time adjustment, press the " " key again. The [Adjust] display disap-
pears, and the screen returns to the date/time display.)
M
2000/09/18
15:59:44
Mon
Adjust
M
2000/09/18
16:00:00
Mon
Adjust Exec
If you release the " " key before [Exec] is displayed, the time adjustment is not
executed, and the screen returns to the date/time display.
2-23
·Load
·Save
·File List
·Free Space
Item Description
Load Loads the file in the specified directory (project folder) to the CPU Unit.
Save Saves the CPU data to Memory Card. Programs, DM, CM, RCY, CR,
device comments, and unit setup information are saved.
File List Displays a list of directories and files in Memory Card. Files in the list
can also be deleted.
Free Space Displays free space on the Memory Card.
Accessing of the Memory Card is possible only in the Program mode. Before you use
the Memory Card, switch to the Program mode.
Only files in the directories one level down in the root directory can be accessed.
In the following example file configuration, files under directory B cannot be viewed by
"File List."
2-24
ACCESS WINDOW
·Pos Control
·Freq Count
·Cam Switch
Item Description
Pos Control Monitors CPU Unit positional functions.
Freq Count Monitors CPU Unit frequencies.
Cam Switch Monitors CPU cam switches.
Positioning Monitor
To check the menu configuration of the access window, refer to the "access window
menu tree." "Access Window Menu Tree" page 2-4
Monitor positioning functions. "Chapter 9 MOTOR CONTROL (POSITIONING
CONTROL)" page 9-1
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
2 Press the "▼" three times to select [4. CPU Mon], and press the " " key.
The CPU special functions menu is displayed.
M
·Pos Control
·Freq Count
·Cam Switch
3 [Pos Control] is displayed flashing. Press the " " key as it is.
M
·Pos Control
·Freq Count
·Cam Switch
2-25
2 Each of these functions can be selected by using the "▲" and "▼" keys.
The following describes each of these functions.
ACCESS WINDOW
X
M-Code 0 If an error occurs, the error No. is displayed here.
P +0
V 0
P Current value
V Current speed
X CR3000 CR3000
76543210 to
L __ ■ _ ■ _ ■■ CR3000
H _ ■ _ ■■ ___ CR3008 CR3015
CR3015
Y
M-Code 0 P Current value
P +0
V 0 V Current speed
Y CR3100 CR3100
76543210 to
L __ ■ _ ■ _ ■■ CR3100
H _ ■ _ ■■ ___ CR3108 CR3115
CR3115
• Monitoring X-axis current value, current speed, Y-axis current value, and current
speed
2-26
Frequency Counter
To check the menu configuration of the access window, refer to the "access window
menu tree." "Access Window Menu Tree" page 2-4
Display the frequency counter. "Frequency Counters" page 7-2 2
ACCESS WINDOW
1 Press the "M" key.
The menu is displayed.
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
2 Press the "▼" three times to select [4. CPU Mon], and press the " " key.
The CPU special functions menu is displayed.
M
·Pos Control
·Freq Count
·Cam Switch
3 [Pos Control] is displayed flashing. Press the "▼" key once to select [Freq
Count].
M
·Pos Control
·Freq Count
·Cam Switch
M
Freq Counter
+12345
Hz
M
Freq Counter
+12345
rpm
2-27
Freq Counter
2 _____
ACCESS WINDOW
Cam Switches
To check the menu configuration of the access window, refer to the "access window
menu tree." "Access Window Menu Tree" page 2-4
Monitor cam switches.
"Cam Switch Function" page 8-2
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
2 Press the "▼" three times to select [4. CPU Mon], and press the " " key.
The CPU special functions menu is displayed.
M
·Pos Control
·Freq Count
·Cam Switch
3 [Pos Control] is displayed flashing. Press the "▼" key twice to select [Cam
Switch].
M
·Pos Control
·Freq Count
·Cam Switch
2-28
ACCESS WINDOW
The following details are monitored.
Current angle
Cam Sw 3100
76543210
L __ ■ _ ■ _ ■■
H _ ■ _ ■■ ___
Cam Sw 3100
76543210
L __ ■ _ ■ _ ■■ 3100
H _ ■ _ ■■ ___
3115
When a cam switch is not used, or the multi-stage comparator mode is used, the
display is as follows if the cam switch output relay No. is incorrectly specified.
Cam Sw
_____
2-29
The following table summarizes the alarm functions in the access window.
Function Description
Monitor Monitors ON alarm relays in real time.
Record Monitors the alarm ON/OFF record.
Clear record Clears the alarm ON/OFF record.
Note: Be sure to manipulate alarm relays by the SET and RES instructions. Alarm
relays can be batch cleared by the ARES instruction.
2-30
ACCESS WINDOW
<Resetting of alarm relays> 32 CRs (CR3300 to CR3415)
Be sure to execute the RES instruction to reset alarm relays.
When CR3501 is ON, a record of when alarm relays turn OFF is already recorded.
Set CR3501 to ON to leave behind a record of alarm relay OFF times.
Use the ARES instruction to batch reset alarm relays, reset alarm actuation relays, and
batch clear records.
2-31
2 Press. Alarm
The smallest relay No. of the two currently
occurring alarms is displayed.
Currently occurring alarms (contact
ACCESS WINDOW
Pressing the "▲" and "▼" keys on the access window switches the alarm display.
Pressing the "▲" and "▼" keys on the access window switches the alarm display.
The entire record and all alarm relays can be reset by the ARES instruction or
access window operations.
2-32
ACCESS WINDOW
The following describes the procedure for monitoring alarms in the access window.
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
M
·Monitor
·Record
·Clr Record
4 Press the "▲" and "▼" keys to select [Monitor], and press the "" " key.
The alarm relay monitor is displayed.
In the following screen example, the CR3302 is ON, two of the other alarm relays
are ON while the other is OFF.
(1)
M
Alarm Mon
01/03
CR3302
(2)
2-33
(1) [01/03]
[01] indicates that the No. of the alarm relay having the highest priority among
currently ON alarm relays.
2 [03] is the total number of currently ON alarm relays.
ACCESS WINDOW
(2) [CR3302]
This indicates the currently displayed alarm relay. If a comment is registered to the
alarm relay, the comment is displayed instead of the device name. Only single-byte
alphanumerics can be displayed in comments.
(Same as the comment display in the Device mode)
Alarm Mon
03/03
Work Error
Pressing the "▼" displays the next alarm relay in order of priority.
When the display changes to the highest priority alarm relay No., the screen flashes,
and the highest priority alarm relay No.
(Note, however, that the screen does not change even if the display changes to the
highest priority alarm relay No. in the alarm relay record display or clear alarm relay
record display.)
In the above screen example, CR3301 is displayed and the entire screen flashes when
CR3301 turns ON.
M
Alarm Mon
01/04
CR3301
To stop flashing, press any one of the " ", "▲", "▼" or " " keys.
Pressing the "M" key returns the screen to the alarm menu display.
When the currently displayed alarm relay turns OFF, the relay having the next highest
priority is displayed.
Alarm Mon
No Alarm
2-34
1 Press the "▲" and "▼" keys with the alarm menu displayed to select [Record]. 2
ACCESS WINDOW
M
·Monitor
·Record
·Clr Record
M
Record 01/04 (1)
(2) CR3400
(4) 2000/07/11
15 : 49 : 39 (3)
(1) [01/04]
[01] indicates the newest item in the currently displayed record.
[04] indicates the total number of items in the records.
(2) [CR3400]
This is the device currently targeted for recording. If a comment is registered to the
device, the comment is displayed instead of the device name. Only single-byte
alphanumerics can be displayed in comments.
(Same as the comment display in the Device mode)
(3) "↓
↓" indicates that the record is for a device whose alarm relay state changed
from ON to OFF. Records for a device whose alarm relay state changed from
OFF to ON are indicated by "↑ ↑".
M
Record 02/04
Power On
2000/07/11
15 : 49 : 22
2-35
Record
No Record
M
·Monitor
·Record
·Clr Record
M
Clr Record
Clr OK?
3 To execute clearing of the record, hold down the " " key again for at least one
second.
If you press the "M" key, clearing of the record is canceled, and the screen returns
to the alarm menu display.
If you press the "M" key, the screen returns to the alarm menu display.
2-36
2
Setup Functions Available in Access Window Setup
ACCESS WINDOW
The following two functions are available in access window setup.
Contrast Adjusts LCD contrast.
Language Sets the display language. Either Japanese and English can be selected.
Contrast
To check the menu configuration of the access window, refer to the "access window
menu tree."
"Access Window Menu Tree" page 2-4
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
2 Select [7. AW Setting] using the "▲" and "▼" keys, and press the " " key.
The AW setup menu is displayed.
M
·Contrast
·Language
3 Select [Contrast] using the "▲" and "▼" keys, and press the " " key.
M
Contrast
6
2-37
4 Increment or decrement the contrast using the "▲" and "▼" keys to adjust the
LCD to an easy-to-view contrast.
You can set the contrast within the range 3 to 9.
2
M
ACCESS WINDOW
Contrast
5
Display Language
Select either English or Japanese as the display language.
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
2 Select [7. AW Setting] using the "▲" and "▼" keys, and press the " " key.
The AW setup menu is displayed.
M
·Contrast
·Language
3 Select [Language] using the "▲" and "▼" keys, and hold down the " " key for
at least one second.
M
Language
English
2-38
4 Switch between English and Japanese using the "▲" and "▼" keys.
2
M
Language
English
ACCESS WINDOW
5 Hold down the " " key fro at least one second.
This sets the display language.
2-39
Clearing SRAM
This function allows you to batch clear currently stored device values and the alarm
record. It also restores details set by access window setup to their defaults.
SRAM clear can be executed in only the Program mode.
Executing this function initializes CM, DM, R, and CR. It does not initialize ladder
programs,. unit setup information, comments, T, C, setting values, and CTC.
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
2 Select [8. S-RAM Clr] using the "▲" and "▼" keys.
The clear SRAM confirmation message is displayed.
M
S-RAM Clr
Clr OK?
+
3 Press down the " " key for at least one second with the " " key held down.
The confirmation message is displayed again.
M
S-RAM Clr
Clr OK?
Clr OK?
2-40
4 Holding down the " " key for at least one second with the second confirma-
tion message displayed executes SRAM clear.
The screen changes as follows while SRAM clear is being executed.
2
ACCESS WINDOW
Wait...
When execution of SRAM clear ends after the above message is displayed, access
window is automatically rebooted. If the [NEW VISUAL PLC KV-700] message is
displayed, this indicates that SRAM clear is completed.
Note: If the " " key is not held down for at least one second, the [NEW VISUAL PLC
KV-700] message is not displayed, and SRAM clear is canceled.
2-41
2
All Clear
ACCESS WINDOW
All clear returns all settings to their defaults. (This means that the ladder program and
device values are cleared.)
All clear can be executed in only the Program mode.
M
1.DeviceMode
2.Trimmer
3.Date
4.CPU Mon
2 Select [9. All Clr] using the "▲" and "▼" keys.
The all clear confirmation message is displayed.
M
All Clr
Clr OK?
+
3 Press down the " " key for at least one second with the " " key held down.
The confirmation message is displayed again.
M
All Clr
Clr OK?
Clr OK?
If you press the "M" key or " " key, all clear is canceled, and the screen returns to
the menu display.
2-42
4 Holding down the " " key for at least one second with the second confirma-
tion message displayed executes all clear.
The screen changes as follows while all clear is being executed.
When execution of all clear ends, access window is automatically reset and
2
rebooted.
ACCESS WINDOW
Wait...
Note: If the " " key is not held down for at least one second, the [NEW VISUAL PLC
KV-700] message is not displayed, and all clear is canceled.
2-43
2
About the User Message Display
ACCESS WINDOW
"User message" is a function for displaying any numerical value or ASCII code string
on the access window from the ladder program.
User messages come in two types, user message 1 an, user message 2. User
message 1 indicates values currently stored to CM1720, and user message 2 indicates
up to 24 single-byte ASCII codes or the characters preceding ASCII code "00" stored
starting from CM1721.
To select user message 1, set CR2900 to ON, and to set user message 2, set CR2901
to ON.
When both CR2900 and CR2900 are set to ON, the CR2900 setting is given priority
over CR2901.
(The user message stored to CR2900 is displayed.)
■ User message 1
When CR2900 is set to ON, the values currently in CM1720 are displayed on
screen.
In the screen example, the value for CM1720 is set to "12345", and the entire screen
flashes.
UsrMessage1:
12345
■ User message 2
When CR2901 is set to ON, up to 24 single-byte ASCII codes or the characters
preceding ASCII code "00" stored starting from CM1721 are displayed.
UsrMessage2:
Emergency
Stop!!
2-44
ACCESS WINDOW
CM1725 $7920 y_(blank)
CM1726 $2020 _ _ (blank) (blank)
CM1727 $2020 _ _ (blank) (blank)
CM1728 $2020 _ _ (blank) (blank)
CM1729 $5374 St
CM1730 $6f70 op
CM1731 $2021 _!
CM1732 $2100 ! (00)
2-45
Setting of inhibited operation is assigned to single bits in each bit on CM1738. Set the
following numerical values.
Bit Description
Bit 15 to Bit 7 Reserved for system
Bit 6 All clear, SRAM clear inhibit
Bit 5 AW settings, changes to setting inhibit
Bit 4 Memory Card, file load/save/delete inhibit
Bit 3 Alarm record clear inhibit
Bit 2 Trimmer, device writing inhibit
Bit 1 Device mode, device writing inhibit
Bit 0 Expansion Unit, setting change inhibit
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
AW Message:
Key Input
Disabled
2-46
[Example]
● When writing in the Digital Trimmer mode is inhibited
$0004
DW
CM1738
2
ACCESS WINDOW
● When reading/writing to Memory Card is inhibited
$0010
DW
CM1738
$0002
DW
CM1738
$0020
DW
CM1738
2-47
1 Press down the "M" key down for at least three seconds with " " key held
down.
The following screen is displayed to indicate that the key lock function is applied.
AW Message
Key Lock
This screen is displayed even if an operation other than that intended to cancel key
lock is performed while the key lock function is applied.
2 To cancel the key lock, press down the "M" key down for at least three
seconds with " " key held down.
The following screen is displayed to indicate that the key lock is canceled.
AW Message
Key UnLock
Note: • Direct access switches are not selected even if pressed while the key lock
function is applied.
• The key lock function cannot be applied while the unit is monitoring.
2-48
MEMORY CARD
MEMORY CARD
This chapter describes how to exchange ladder programs with the
PLC and exchange data with various units using the Memory Card.
3-1
Memory Cards allow you to transfer ladder programs, and save and read device
values by operation on the KV-700's access window without the need for KV
BUILDER.
• Logging function
Devices to be logged are registered on the ladder, and the data of these devices
is stored to Memory Card at a trigger pre-determined by the user. "3-4 Logging
Function" page 3-17.
Note: • Never remove Memory Cards while the Memory Card access LED is
blinking.
• In environments subject to severe noise, it may take time to access the
Memory Card. (In the worst case, this might damage the card or FAT.) In
such cases, attach a ferrite core onto the power cable before use. Also,
install the KV-700 away from equipment that emits strong electromagnetic
fields.
While the Memory Card accessing LED is lit (reading and writing of data to the Memory
CAUTION Card), never remove the Memory Card or turn the KV-700 OFF. Doing so might corrupt
the data inside the Memory Card.
3-2
24
MEMORY CARD
V
5V
KV
-70
Memory Card when the power is 0
0A
B
"AUTOLOAD."
RA 6 5
CC
ES 7 6
SW 8 7
IN 9 8
DO
M W 10
11
9
10
12 11
13 12
14 13
15 14
15
CA
RD
SD
RD
US
B
■ System requirements
* In the case of a PC (laptop PC) that has a PCMCIA socket
■ When the device is equipped with a PCMCIA slot (laptop PC, etc.)
Connect the Memory Card to the card adapter, and insert the card adapter into the
PCMCIA slot on the PC.
INSERT
Memory Card
OP-42137
PC with PCMCIA slot PC Card Adapter (MMC)
3-3
* In the case of a PC (desktop PC) that does not have a PCMCIA socket
■ When the device is not equipped with a PCMCIA slot (desktop PC, etc.)
Connect the card reader-writer to the PC. Next, connect the Memory Card to the
card adapter, and insert the card adapter into the card reader-writer.
3 INSERT
MEMORY CARD
PC w/out PCMCIA slot Card Reader/Writer PC Card Adapter (MMC) Memory Card
OP-42137
ABCD.ZDC
ABCD.ZCT
ABCD.ZLB
Note: The folder structure in the Memory Card goes down only one layer.
Other project folders cannot be made within project folders.
The file names and folder names that can be handled on the access window and
Memory Cards are restricted as follows.
Length 8 characters + 3-character extension
Characters usable in file 1-byte characters (Kanji and other 2-byte characters are
names not allowed.)
The data format of the data stored on Memory Cards differs from that of data saved by
regular save operations. When saving data to Memory Cards, be sure select [Save to
Memory Card] on KV BUILDER.
3-4
MEMORY CARD
CM CM.ZDV
RLY R.ZDV
CR CR.ZDV
CPU positioning function CPUMB.ZSH
Parameter file
Operation Method
To check the menu configuration on the access window, see "Access window menu
tree."
"Access Window Menu Tree" page 2-4
M
1.DeviceMode
2.Trrimer
3.Date
4.CPU Mon
3-5
M
3.Date
4.CPU Mon
3 5.Alarm
6.MemoryCard
MEMORY CARD
M
·Load
·Save
·File List
·Free Space
M
KVSAVE00 <D>
KVSAVE01 <D>
AUTO <D>
[Tip]
You can check for a file time stamp by the " " key.
"Checking the time stamp" page 3-11
5 Select the directory (project folder) to load by the "▲" and "▼" keys.
Press the " " key.
After you select the directory (project folder), the load confirmation message is
displayed.
M
Load
Load OK?
KVSAVE00 < D >
3-6
6 To execute the load, hold down the " " key for at least one second.
The display is as follows during execution of the load.
To cancel the load, hold down the "M" or " " key for at least one second.
Load
M
3
KVSAVE00.ZCT
MEMORY CARD
62%
M
Load
Load Done
Load
Protected
Load OK?
KVSAVE01 < D >
M
DM .ZDV
2000/08/28
11:25:00
125KByte
3-7
M
1.DeviceMode
2.Trrimer
3.Date
4.CPU Mon
M
3.Date
4.CPU Mon
5.Alarm
6.MemoryCard
M
·Load
·Save
·File List
·Free Space
4 [Load] is displayed blinking. Press the "▼" key once to select [Save].
M
·Load
·Save
·File List
·Free Space
M
Save
Save OK?
3-8
6 To execute the save, hold down the " " key for at least one second.
The following screen is displayed during execution of the save.
This indicates the progress of the save operation on the file currently being saved.
3
M
Save
DM .ZDV
MEMORY CARD
80%
To cancel the save, hold down the "M" or " " key for at least one second.
This cancels the save, and returns the display to the Memory Card menu.
7 When the save ends, the directory (project folder) in which the data is saved
is displayed.
Pressing the "M" key returns the display to the Memory Card menu.
M
Save
Save Done
Dir Name..
KVSAVE00
Files for MOTION BUILDER are not generated. These files are saved together with
other CMs as CM device values.
Data for PROTOCOL BUILDER is saved to file together with other DMs as DM
device values.
3-9
■ File list
Before you execute file list, insert the Memory Card into the CPU.
1.DeviceMode
2.Trrimer
3.Date
4.CPU Mon
M
3.Date
4.CPU Mon
5.Alarm
6.MemoryCard
M
·Load
·Save
·File List
·Free Space
4 [Load] is displayed blinking. Press the "▼" key twice to select [File List].
M
·Load
·Save
·File List
·Free Space
3-10
MEMORY CARD
Files in the directory (project folder) are displayed by selecting the directory (project
folder) by "▲" and "▼", and pressing the " " key.
M
DM .ZDV
2000/08/28
11:25:00
125KByte
3-11
■ Deleting files
Delete the directory (project folder) or files selected at [File List]. (Delete can be
executed only in the program mode.)
<File>
Delete
Delete OK?
KVSAVE00.ZCD
[Tip] <Directory>
Delete OK?
Delete Dir +
Contens
KVSAVE00 < D >
3 To execute the delete, hold down the " " key for at least one second.
The "Delete Wait..." message is displayed.
M
Delete
Wait...
4 When the delete ends, the display returns to the File List display.
Pressing the "M" key returns the display to the Memory Card menu.
Note: If you delete a directory, all of the files under that directory also will be
displayed. Be sure to check the content of a directory before you execute a
delete.
3-12
■ Free space
You can check free space on the Memory Card. (Checking can be executed only
in the program mode.)
MEMORY CARD
M
1.DeviceMode
2.Trrimer
3.Date
4.CPU Mon
M
3.Date
4.CPU Mon
5.Alarm
6.MemoryCard
M
·Load
·Save
·File List
·Free Space
4 [Load] is displayed blinking. Press the "▼" key three times to select [Free
Space].
M
·Load
·Save
·File List
·Free Space
3-13
M
Free Space
3 Wait...
MEMORY CARD
6 After the KV-700 finishes verifying free space, free space on the Memory Card
is displayed.
Pressing the "M" key returns the display to the Memory Card menu.
M
Free Space
5864Kbyte
AW Message:
File Err
KVSAVE00.ZLB
3-14
MEMORY CARD
M
3.Date
4.CPU Mon
5.Alarm
6.MemoryCard
2 Select the name of the project folder containing the ladder to be read.
(To save data, specify the project folder to save the data to.)
M
·Load
·Save
·File List
·Free Space
For details on access window operations, read "Access Window" page 2-2.
3-15
3-3 DM Transfer
DM data can be transferred from the Memory Card to the CPU, or vice versa.
DM data can be transferred on the access window or by KV BUILDER.
Card. However, only DM values can be transferred to the PLC from the Memory Card
by storing only specific data such as DM data or program data in the project folder in
a Memory Card.
To create a Memory Card (project folder (sub-directory)) containing only DM data, use
KV BUILDER's on-line device editing functions.
Also, to copy only DMs from other CPU units, create a project file containing only DM
data either by saving the DM values only to Memory Card after capturing the device
values by KV BUILDER, or by saving the DM data for each program file to Memory Card
directly from the CPU, and deleting unwanted program files from the project folder on
a PC.
Normally, files in the following format are created if a save is executed on the access
window.
Delete unwanted files from these saved files.
"Deleting files" page 3-12
3-16
About Logging 3
"Logging" refers to monitoring and recording of what kind of states devices are in at a
MEMORY CARD
certain timing or how these states are changing.
The information of devices or triggers to be monitored on the ladder is registered to
control memory or control relay, and saved to Memory Card. This logging data is saved
in CSV format so it can be imported to Excel or other spreadsheet software for analysis.
Data is logged in order starting with data having the oldest time stamped (if time-
stamped) in order through to the newest, and then in order from devices having the
smallest registered control memory No.
Control Memory Logging Device Control Memory Logging Device Control Memory Logging Device Control Memory Logging Device
CM2600 CM2601 Registration 1 CM2616 CM2617 Registration 9 CM2632 CM2633 Registration 17 CM2648 CM2649 Registration 25
CM2602 CM2603 Registration 2 CM2618 CM2619 Registration 10 CM2634 CM2635 Registration 18 CM2650 CM2651 Registration 26
CM2604 CM2605 Registration 3 CM2620 CM2621 Registration 11 CM2636 CM2637 Registration 19 CM2652 CM2653 Registration 27
CM2606 CM2607 Registration 4 CM2622 CM2623 Registration 12 CM2638 CM2639 Registration 20 CM2654 CM2655 Registration 28
CM2608 CM2609 Registration 5 CM2624 CM2625 Registration 13 CM2640 CM2641 Registration 21 CM2656 CM2657 Registration 29
CM2610 CM2611 Registration 6 CM2626 CM2627 Registration 14 CM2642 CM2643 Registration 22 CM2658 CM2659 Registration 30
CM2612 CM2613 Registration 7 CM2628 CM2629 Registration 15 CM2644 CM2645 Registration 23 CM2660 CM2661 Registration 31
CM2614 CM2615 Registration 8 CM2630 CM2631 Registration 16 CM2646 CM2647 Registration 24 CM2662 CM2663 Registration 32
3-17
To register logging devices, specify a number obtained by adding an offset No. specific
to the device type to the device No. as a double word.
[Example]
To register (RLY) 200 as a logging device
3 #100200
DW.D
CM2600
MEMORY CARD
(This becomes 100200 as RLY offset 100000 is added to RLY No. 200.)
The tables below summarize the specified offsets specific to device type.
Type Offset No. Example Specified
Numerical Value
RLY 100000 1000 #101000
CR 200000 CR2000 #202000
DM 300000 DM01000 #301000
CM 400000 CM0100 #400100
TM 500000 TM010 #500010
C (current value) 600000 C100 (current value) #600100
C (setting value) 700000 C100 (setting value) #700100
T (current value) 800000 T050 (current value) #800050
T (setting value) 900000 T050 (setting value) #900050
CTH 1000000 CTH0 #1000000
CTC 1100000 CTC1 #1100001
TRM 1200000 TRM3 #1200003
Bit devices (RLY and CR) are logged in channel (16 points) units.
When specifying bit devices, be sure to specify the leading No. (lower 2 digits "00") of
the channel.
If device registration spans three or more control memories, a registration error occurs
(CR3206 turns ON), and logging cannot be started.
3-18
01000
3
MOV.D
0002
#0000101000 CM2600 Relay 1000
00000
Logging device
registration 1
MEMORY CARD
MOV.D
0003
#0000202000 CM2602 CR200
00000
Logging device
registration 2
MOV.D
0004
#0000301000 CM2604 DM01000
00000
Logging device
registration 3
MOV.D
0005
#0000400100 CM2606 CM0100
00000
Logging device
registration 4
MO V.D
0006
#0000500010 CM2608 TM010
00000
Logging device
registration 5
MOV.D
0007
C100 (current value)
Logging device
registration 6
MOV.D
0008
#0000700100 CM2612 C100 (setting value)
00000
Logging device
registration 7
MOV.D
0009
#0000800050 CM2614 T050 (current value)
00000
Logging device
registration 8
MOV.D
0010
#0000900050 CM2616 T050 (setting value)
00000
Logging device
registration 9
MOV.D
0011
#0001000000 CM2618 CTH0
00000
Logging device
registration 10
MOV.D
0012
#0001100001 CM2620 CTC0
00000
Logging device
registration 11
MOV.D
0013
#0001200003 CM2622 TRM3
00000
Logging device
registration 12
0014
00000
0015
MOV
0016
00000 #00012 CM2671 Number of logging
devices 12
Number of
logging devices
0017
3-19
3-20
MEMORY CARD
CM2666 Date (1 to 31)
CM2667 h (0 to 23)
CM2668 m (0 to 59)
CM2669 s (0 to 59)
CM2670 Weeks (0 to 6)*
* 0=Sunday, 1=Monday, 2=Tuesday, 3=Wednesday, 4=Thursday, 5=Friday, 6=Sat-
urday
You can exclude specific devices from the trigger conditions by setting "$FFFF" to
the device.
[Example]
To perform logging once every hour, logging will be performed each time that the
"minutes" (CM2668) device becomes "0" after logging is started if "0" is stored to
CM2668 and "$FFFF" is set to other devices.
[Example]
#110005 CM2664
To specify No. 10005, set as follows LDA.D STA.D
[Example]
#110005 CM2664
To specify No. 10005, set as follows LDA.D STA.D
3-21
■ Operation method
Note: Data will not be saved if the power is turned OFF during logging.
■ Error information
The table below summarizes error information during logging:
No. Error
CR3204 Write present during logging operation and in RUN mode
CR3205 Temporary abort during logging operation (buffer over)
CR3206 Device/trigger registration error
CR3207 Write error
CR3208 Specified size, end of write
CR3209 Run out of memory error
3-22
CR3204
This alarm indicates that there was a write in the RUN mode during logging.
Though logging continues, there is the risk that the Memory Card can no longer be
accessed during the write in the RUN mode. So, the CPU internal buffer will fill up.
3
There is the risk that the CPU buffer might overflow, logging is temporarily
MEMORY CARD
discontinued, and accurate logging no longer possible.
CR3205
Logging data is transferred to buffer memory for temporary storage in the CPU, and
written to Memory Card from this buffer memory. When a large volume of data is
logged at high speed, writing to the Memory Card can no longer keep up, and a buffer
overflow occurs.
At this time, the CPU automatically turns CR3205 ON to temporarily discontinue
logging. (CR3203 stays ON.) Note, however, that writing to Memory Card is
performed continuously.
It sometimes takes several hundreds of msec to write to Memory Card depending on
the volume of data, number of files on the Memory Card, and other factors. Pay
attention to the logging interval.
When the user resets CR3205, logging is restarted, and logged data starts to be
stored in the CPU's internal buffer. For this reason, data that has been logged once
in the buffer cannot be overwritten until it is written to Memory Card.
CR3206
This control relay turns ON when the registration data in CM2600 to 2671 is in error.
CR3203 turns OFF when this error occurs.
CR3207
This control relay turns ON when writing to the Memory Card is not possible.
A probable cause is a Memory Card error, so check the Memory Card using a disk
scan or other tool.
CR3208
This control relay turns ON when data has been recorded to the capacity determined
by CM2672 when there is little free space left on the Memory Card.
Logging automatically ends (CR3203 turns OFF) when CR3208 turns ON.
Data up to before the overflow occurred is written as logging data.
CR3209
This control relay turns ON when there is little free space on the Memory Card.
Logging is not performed (CR3203 turns OFF) when CR3209 turns ON.
3-23
Sample Program
01000 MOV.D
3 0002 #0000111000 CM2600 Relay 11000 to 11015
Logging device
registration 1
MEMORY CARD
MOV.D
0003 #0000200000 CM2602 CR0000 to 0015
Logging device
registration 2
MOV.D
0004 #0000300015 CM2604 DM00015
Logging device
registration 3
MOV.D
0005 #0000401480 CM2606 CM1480
Logging device
registration4
MOV.D
0006 #0000401481 CM2608 CM1481
Logging device
registration 5
MOV.D
0007 #0000500010 CM2610 TM010
Logging device
registration 7
MOV.D
0009 #0000700005 CM2614 C005 (setting value)
Logging device
registration 8
MOV.D
0010 #0000800010 CM2616 T010 (current value)
Logging device
registration 9
MOV.D
0011 #0000900010 CM2618 T010 (setting value)
Logging device
registration 10
MOV.D
0012 #0001000000 CM2620 CTH0
Logging device
registration 11
MOV.D
0013 #0001100000 CM2622 CTC0
Logging device
registration 12
MOV.D
0014 #0001200000 CM2624 Digital trimmer 0
Logging device
registration 13
01000 MOV
0016 #00013 CM2671 Number of logging
devices13
Number of
logging devices
0017 • Selection of trigger content
3-24
3
method method
designation designation
01000 MOV
0019 $FFFF CM2664 Year
MEMORY CARD
Not specified
Trigger
conditions
MOV
0020 $FFFF CM2665 Month
01000 CR3202
0027 SET Time stamp ON
Trigger
method
designation
0028 • Setting of Memory
Card stored content
01000 MOV
0029 #00000 CM2672 Upper limit not set
Memory
Card
contents
0030 • Logging start
01000 CR3203
0031 SET Start logging
Start
logging
01001 CR3203
0033 RES End logging
0034 END
00036
3-25
2001/01/07, 23 : 35 : 15, 0000H, 0000H, 00000, 00000, 00000, 00000, 0000000010, 0000000000, 0000000000, 0000000000, 0000000000, 0000000000
2001/01/07, 23 : 36 : 15, 0000H, 0000H, 00000, 00000, 00000, 00000, 0000000010, 0000000000, 0000000000, 0000000000, 0000000000, 0000000000
3 2001/01/07, 23 : 37 : 15, 0100H, 0000H, 00000, 00000, 00000, 00000, 0000000010, 0000000000, 0000000000, 0000000000, 0000000000, 0000000000
annotation.
0100H→ OFF OFF OFF OFF OFF OFF OFF ON OFF OFF OFF OFF OFF OFF OFF OFF
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
The folder "Logging" is generated in the Memory Card's root directory, and logging
data is saved to the file "Log**.csv" inside that folder.
An unused number starting from 00 is assigned to "**" as the file name.
Up to 100 files from Log00.csv to Log99.csv can be generated.
• Bit devices RLY and CR are logged appended with H (Hex) in channel (16 points)
units.
• 16-bit word devices DM, CM and TM are logged in decimal in 1-word (16 bits)
units.
• 32-bit word devices T, C, CTH and TRM are logged in decimal in 2-word (32 bits)
units.
3-26
PROGRAMMING
PROGRAMMING
This chapter describes the procedures for making programs, basic
knowledge regarding device configuration, relay assignments and
other information, and special functions and extended ladder lan-
guage for setting and checking KV-700 operation. Be sure to read the
descriptions in this chapter before you start making programs.
For a detailed description of instructions, see "Instruction Reference
Manual."
4-1
4 setting items.
In the following example, a "self-holding circuit" is programmed as the KV-700
program.
PROGRAMMING
Installation
Time chart RL
ON
PB1 contact
OFF
ON
PB2 contact
OFF
ON
PL OFF PL
Next, write the program so that the same operation as this circuit can be controlled by the PLC.
Actual operation
4-2
Input processing Read the ON/OFF state of all input terminals to input
memory before program execution.
Program execution
Read the ON/OFF state of each element (internal auxiliary
relays, timers/counters, etc.) and perform arithmetic
4
operations on these states. The operation results are
PROGRAMMING
written to output memory.
The time required for complete sequential execution of the ladder program is called
the "scan time" (or "cycle time").
The scan time changes according to the length of the user program or the type of
instructions that are in use in the ladder program.
OFF
Read Read
Output processing
Output processing
Output processing
Output processing
Output processing
Input processing
Input processing
Input processing
Input processing
Input processing
[Tip]
The minimum and maximum values for the I/O response time are calculated as
follows:
Maximum value: Input time constant + scan time x 2 + output response delay
Minimum value: Input time constant + scan time + output response delay
Note: • Even if the input time constant is set to a short value, inputs sometimes fails
to be captured due to the HSP instruction or the setting of control relay
CR2305 and control memory CM1620 unless the signal is longer than the
scan time.
• The INT instruction is not reliant on the scan time.
• The minimum scan time is 100 µs (in case of CPU Unit only).
4-3
Program Size
The KV-700 can store programs of about 16,000 steps (about 16,000 instructions) in
standard internal memory. When extended memory (OP-42138) is mounted, about
and the number of bytes (object size) of the objects (internal executable data) compiled
internally on the KV-700.
For details on the number of bytes of each instruction and object sizes, read the
"Instruction Reference Manual."
For example, to calculate the number of writable steps from memory used for
instructions
80,000 bytes ÷ 5 bytes (average number of bytes for each instruction) = 16,000
steps's worth
Note: If either of the total number of bytes used for instructions in the program or the
total number of bytes used for objects exceeds the capacity, the program
cannot be written or executed.
4-4
[Tip]
When the ladder program is transferred to the KV-700, object memory use (%) is
displayed on the KV BUILDER's screen.
PROGRAMMING
[Tip]
When a ladder program currently being edited is converted on the KV BUILDER,
the number of instructions used is displayed under the line No. (CON, MPS and
other instructions are counted in the number of instructions.)
4-5
List of Devices
4 ■ Relays
Relay No. Regular Use High-speed Use
PROGRAMMING
0000
0001 Interrupt input
0002 INT0 to INT3
0003 Input relays
0004 (direct inputtable area) High-speed counter 0 A phase input
0005 High-speed counter 1
0006 High-speed counter 0 B phase input
0007 High-speed counter 1
0008 High-speed counter 0 Preset input
0009 High-speed counter 1
0010 to 0415 Reserved for system
0500
0501 Output relays For pulse output
0502 (direct outputtable area)
0503
0504 to 0915 Internal auxiliary relays
1000 to 59915 Input relays/output relays/internal auxiliary relays
[Tip]
Relays 1000 to 59915 can be held even after a power interruption by setting the
MEMSW instruction.
Contact No.
Channel No. (00 to 15)
12515
Device No.
The device No. is a relay No. that is obtained by assigning the number of relays
occupied by each unit starting from 00000.
4-6
Input Relays
ON/OFF signals from external input devices are captured by input relays.
Note: • Input relays function as contacts in the program. They cannot be used as
relay coils (outputs).
• No restrictions apply to the type of contact (a or b), order in which relay Nos.
are used, and the number of relays used.
4
PROGRAMMING
● Hardware inputs (not reliant on scan time)
• High-speed counter instructions With input relays 0004, 0005, 0006, 0007,
0008 and 0009 for CTH0 and CTH1, the input
response becomes maximum 40 kHz/single-
phase (at 24 V) and 30 kHz/2-phase (at 24 V).
(Also, set the time constant.)
• INT instruction 0000 to 0003
Signals longer than the input time constant can
be captured regardless of the scan time.
Note: • When CR2305 is turned ON, the input time constant of all input relays on
the CPU Unit is specified. "About the Input Time Constant" page 11-4
• The input time constant specified by data memory CM1620 is set by the up
edge of CR2035. To change the input time constant, you must change data
memory CM1620, and then turn CR2305 OFF then back ON again.
• When CR2305 is programmed at the same time as the HSP instruction, the
HSP instruction is given priority.
• Inputtable signals are not reliant on the scan time only in the case of high-
speed counter inputs or when the INT instruction is programmed.
4-7
Output Relays
Output relays output the result of program execution in either of two formats, relay or
transistor.
Note: • Output relays function as contacts and relay coils in the program.
• No restrictions apply to the type of contact (a or b), order of relays, and the
number of relays used.
4
PROGRAMMING
• Transistor output
OFF→ON 50 µs or less (10 µs or less for 500 to 503)
ON→OFF 250 µs or less (10 µs or less for 500 to 503, and 100 µs or less for
other KV-700 outputs)
• Relay output
OFF→ON 10 ms or less
ON→OFF 10 ms or less
4-8
Note: • Internal auxiliary relays function as contacts and relay coils in the program.
• No restrictions apply to the type of contact (a or b), order of relays, and the
4
number of relays used.
PROGRAMMING
■ Internal auxiliary relay hold function
All relays turn OFF when the state changes to an operation stopped state due to
switching of the operation mode or turning the power OFF. When operation is
resumed, relays stay OFF except relays whose input condition is ON. However,
hold ON/OFF can be set to internal auxiliary relays by the memory switch
(MEMSW).
When hold is set to ON, the previous ON/OFF state is memorized even after the
power is turned OFF.
For details on how to set the memory switch, refer to "MEMSW instruction" (page
3-8) in the "Instruction Reference Manual."
MEMSW1
$0001
01001 #00010
T001
END
Rise
ENDH
(00501)
4-9
Control Relays
Control relays each hold their own unique functions. Effective use of control relays can
simplify programs and increase control capabilities.
Note: • A control relay of the same number can be used repeatedly in a single
program.
• Though read-only control relays can be used as contacts, do not use them
4 for output.
PROGRAMMING
For details on read-only relays, see "Control Relay Lists" (page 4-11).
■ Explanations
CR2002 Always ON CR2007 OFF only for 1 scan at start
When an output relay is turned ON by of operation
CR2002, CR2002 can be used as "output This is used when a signal is required
during operation." after a fixed period of time (one scan time)
CR2002 HSP
has elapsed after start of operations. It is
00000 also used for initial reset processing at the
CR2002 00000 start of operation.
LDA
ON continues after one scan.
DM0000
STA
01000 CR2007 #00100
C005
00000
The input time constant of 00000 is set to
10 µs. The current value of C005 is cleared
The ON/OFF data of 000ch is transferred (restored to "0") at start of operation.
to DM0000.
CR2008 ON only for 1 scan at start
CR2003 Always OFF of operation
Conversely to CR2002, this is used at This is used for initial reset processing at
locations that do not need to be turned start of operation.
ON. For example, it is inserted in DW OFF continues after one scan.
(down) input when an up-down counter is 00000 SFT
used only at the "up" setting. D
1100
01000
CLK
CR2004 10 ms cycle CR2008
1115
RES
CR2005 100 ms cycle
CR2006 1S cycle
All internal auxiliary relays currently used
With each of these control relays, the time by the shift instruction are turned OFF at
ratio is ON:OFF=1:1. the start of operation.
(Accordingly, the ON time of CR2005 is
CR2008 #00000
0.05 seconds/pulse.) LDA
4-10
Attribute
Device No. R: Read only Function
Blank: R/W
CR0000 Reserved for system
:
CR0715 4
CR0800 Reserved for system
PROGRAMMING
:
CR0915
CR1000 Reserved for system
:
CR1715
CR1800 Reserved for system
CR1801 Reserved for system
CR1802 Reserved for system
CR1803 Reserved for system
CR1804 Reserved for system
CR1805 Reserved for system
:
CR1813
CR1814 Cam switch function, absolute/incremental ON: Absolute
OFF: Incremental
CR1815 Cam switch function, cam switch function stopped when turn ON
and OFF during operation
CR1900 Reserved for system
:
CR2001
CR2002 R ON at all times
CR2003 R OFF at all times
CR2004 R 10 ms clock pulse (at 50% duty)
CR2005 R 100 ms clock pulse (at 50% duty)
CR2006 R 1s clock pulse (at 50% duty)
CR2007 R OFF only for 1 scan at start of operation
CR2008 R ON only for 1 scan at start of operation
CR2009 ON when result of arithmetic operation is minus or overflows
CR2010 R ON when result of arithmetic operation is zero
CR2011 R ON when result of arithmetic operation is plus
CR2012 R ON at arithmetic operation execution error
CR2013 Reserved for system
:
CR2015
4-11
Attribute
Device No. R: Read only Function
Blank: R/W
CR2100 R CTH0 dedicated internal clock (1 µs)
CR2101 R CTH0 dedicated internal clock (10 µs)
CR2102 R CTH0 dedicated internal clock (100 µs)
ON: Execute.
CR2103 Automatically clear CTH0.
Operation when OFF:
ON:
Do not execute.
Disable output.
CR2104 highspeed counter Disable/enable direct output to 00500. OFF: Enable output.
ON: Execute.
4
CR2105 comparator CTC0 is ON Turn OFF direct output to 00500. OFF: Do not execute.
ON: Execute.
CR2106 Turn ON direct output to 00500. OFF: Do not execute.
CR2107 Invert ON/OFF of output to 00500 each time that high-speed counter
PROGRAMMING
ON: Execute.
OFF: Do not execute.
comparator CTC0 turns ON.
ON: Disable output.
CR2108 Operation when Disable/enable direct output to 00500. OFF: Enable output.
ON: Execute.
CR2109 highspeed counter Turn OFF direct output to 00500. OFF: Do not execute.
CR2111 Invert ON/OFF of output to 00500 each time that high-speed counter ON: Execute.
OFF: Do not execute.
comparator CTC1 turns ON.
ON: Execute.
CR2112 Automatically clear CTH0 when high-speed counter comparator CTC1 is ON. OFF: Do not execute.
CR2207 Invert ON/OFF of output to 00501 each time that high-speed counter ON: Execute.
CR2211 Invert ON/OFF of output to 00501 each time that high-speed counter ON: Execute.
OFF: Do not execute.
comparator CTC3 turns ON.
ON: Execute.
CR2212 Automatically clear CTH1 when high-speed counter comparator CTC3 is ON. OFF: Do not execute.
Single-phase 1X 2X 4X 2 pulses
CR2213 High-speed counter
W/out direction W/ direction
CTH1 count input mode
CR2214 CR2213 OFF ON OFF ON OFF ON
selection.
CR2214 OFF OFF ON ON OFF OFF
CR2215 CR2215 OFF OFF OFF OFF ON ON
ON: Execute.
CR2300 Disable external outputs OFF: Do not execute.
ON: Execute.
CR2301 Disable external input refreshing OFF: Do not execute.
CR2304 R ON for 1 scan only at fixed scan time setting value exceeded
CR2305 Set input time constant of all CPU Unit inputs. ON: Set.
OFF: Do not set. (10 ms)
(Determine referring to CM1620 when ON.)
CR2306 R ON at backup battery error
CR2307 Reserved for system
:
CR2315
4-12
Attribute
Device No. R: Read only Function
Blank: R/W
Unused Up edge Down edge Level
CR2400 CTH0 external signal preset
CR2400 OFF ON OFF ON
CR2401 CR2401 OFF OFF ON ON
ON: Use.
CR2402 CTH0 ring counter OFF: Do not use.
4
CR2404 CTH1 external signal preset
CR2400 OFF ON OFF ON
CR2405 CR2405 OFF OFF ON ON
PROGRAMMING
ON: Use.
CR2406 CTH1 ring counter OFF: Do not use.
CR2509 Cam switch, output response impossible warning (generated when output does not track during
cam switch operation)
CR2510 R Cam switch, error
CR2511 Reserved for system
:
CR2615
CR2700 INT0 interrupt polarity Up edge Down edge Both edges
CR2700 OFF ON OFF ON
CR2701 CR2701 OFF OFF ON ON
4-13
Attribute
Device No. R: Read only Function
Blank: R/W
CR2803 R Serial communications, ON for 1 scan only at text data receive error
CR2804 Serial communications, start sending text data (ON while data is being sent)
ON: Perform.
CR2805 Serial communications, receive text data in word units OFF: Do not perform.
ON: Perform.
CR2806 Serial communications, send text data in word units OFF: Do not perform.
ON: Execute.
CR2815 Omit + sign during execution of DASC.S and DASC.L. OFF: Do not execute.
ON: Execute.
CR2900 Access window, display user message 1 OFF: Do not execute.
ON: Execute.
CR2901 Access window, display user message 2 OFF: Do not execute.
4-14
Attribute
Device No. R: Read only Function
Blank: R/W
CR3200 Logging function, trigger setting
CR3201
CR3202 Logging function, time stamp ON
CR3203 Logging function, start
CR3204 Logging function, write during operation
4
CR3205 Logging function, CPU buffer overflow
CR3206 Logging function, registered device error
CR3207 Logging function, write error
PROGRAMMING
CR3208 Logging function, MMC data overflow
CR3209 Logging function, MMC insufficient free space
CR3210 Logging function, logging execution in progress
CR3211 Reserved for system
:
CR3215
CR3300 Alarm relay Alarm 0
: :
CR3415 Alarm 31
CR3500 R Turn ON if one of alarm relays CR3300 to CR3415 is ON.
ON: Leave history.
CR3501 Leave history when alarm relay state changes to OFF from ON. OFF: Do not leave history.
4-15
Timers/Counters
Timers/counters can be set on the program, and their outputs can be used as contacts. (No restrictions
apply to a/b contacts or the order in which timers/counters are programmed.)
The same number cannot be used on timers/counters. T005 and C005 cannot be assigned in a single
program.
■ Timers/counters
4 Name Contact Coil (instruction) Number of
Timers/Counters
PROGRAMMING
■ Explanations
Timer
• With 0.1 second timers (MTR) or high-speed 1 ms timers (TMS), the number when these timers are
used as contacts becomes Tnnn in both cases. Note, however, that with instructions used when
setting timers, numbers become as follows:
Timers: TMR nnn #ddddd
High-speed timers: TMH nnn #ddddd
High-speed 1 ms timers: TMS nnn #ddddd
Up-down timers: UDT nnn #ddddd (nnn: timer No., ddddd: timer setting value)
• The same timer No. cannot be assigned to TMR nnn and TMH nnn, and TMS nnn and UDT nnn in
a single program.
• When operation is stopped, all timers are reset, and the current value equals the setting value. The
current value of UDTs is held.
Counters
• With counters (C) or up-down counters (UDC), the number when these counters are used as contacts
becomes Cnnn in both cases. Note, however, that with instructions used when setting counters,
numbers become as follows:
Counters: C nnn #ddddd
Up-down counters: UDC nnn #ddddd
• The same number cannot be assigned to counters and up-down counters in a single program.
• All counters memorize the previous value also after operation is stopped.
For details of the "TMR Instruction," "TMH Instruction," "TMS Instruction," "UDT Instruction," "C
Instruction" and "UDC Instruction," refer to the "Instruction Reference Manual."
4-16
Control Memory
With control memory (CM0000 to CM39999), you can set various special CPU Unit functions.
Control memory reserved for the system cannot be used.
Attribute
Device No. R: Read only Function
Blank: R/W
CM0000 1st line display device setting
CM0001 1st line display device setting 4
CM0002 2nd line display device setting
PROGRAMMING
CM0003 2nd line display device setting
CM0004 Operation panel KV-D30 3rd line display device setting
page 0
CM0005 3rd line display device setting
CM0006 4th line display device setting
CM0007 4th line display device setting
CM0008 Reserved for system
CM0009
CM0010 Page 1, display device setting
: Operation panel KV-D30 :
CM0189 Page 18, display device setting
CM0190 1st line display device setting
CM0191 1st line display device setting
CM0192 2nd line display device setting
CM0193 2nd line display device setting
CM0194 Operation panel KV-D30 3rd line display device setting
page 19
CM0195 3rd line display device setting
CM0196 4th line display device setting
CM0197 4th line display device setting
CM0198 Reserved for system
CM0199
CM0200 1st line display attribute setting
CM0201 1st line display attribute setting
CM0202 2nd line display attribute setting
CM0203 2nd line display attribute setting
CM0204 Operation panel KV-D30 3rd line display attribute setting
page 0
CM0205 3rd line display attribute setting
CM0206 4th line display attribute setting
CM0207 4th line display attribute setting
CM0208 Template 1 setting
CM0209 Template 2 setting
4-17
Attribute
Device No. R: Read only Function
Blank: R/W
CM0210 Page 1, display attribute setting
: Operation panel KV-D30 :
CM0389 Page 18, display attribute setting
CM0390 1st line display attribute setting
CM0391 1st line display attribute setting
CM0392 2nd line display attribute setting
4 CM0393
Operation panel KV-D30
2nd line display attribute setting
CM0394 3rd line display attribute setting
page 19
PROGRAMMING
4-18
Attribute
Device No. R: Read only Function
Blank: R/W
CM1100 Number of sent text data
CM1101 R Received sent data 1
: :
CM1199 Received sent data 99
CM1200 Reserved for system
:
CM1399
CM1400 Cam switch function, set leading output relay No.
4
CM1401 Cam switch function, comparator value in multi-stage compare mode
PROGRAMMING
CM1402 Cam switch function, number of pulses in cycle of device input to CTH0
CM1403 Cam switch function, absolute type input address
CM1404 R Cam switch function, current angle
CM1405 R Cam switch function, error No.
CM1406 Reserved for system
:
CM1409
CM1410 Cam switch function, angle setting value for turning output relay ON/OFF
CM1411
CM1412 Cam switch function, : angle setting value for turning output +1 relay ON/OFF
: :
CM1471 angle setting value for turning output +30 relay ON/OFF
CM1472 Cam switch function, angle setting value for turning output +31 relay ON/OFF
CM1473
CM1474 Reserved for system
:
CM1479
CM1480 R Frequency counter function, frequency measurement results (Hz/rpm)
CM1481 R
CM1482 Frequency counter function, measurement cycle (ms)
CM1483 Frequency counter function, average number of measurements
CM1484 Reserved for system
:
CM1489
CM1490 Specified frequency pulse output function, set frequency (Hz)
CM1491
CM1492 Reserved for system
:
CM1499
CM1500 R Reserved for system
:
CM1531
CM1532 R Reserved for system
:
CM1563
4-19
Attribute
Device No. R: Read only Function
Blank: R/W
CM1564 R Reserved for system
CM1565 Reserved for system
:
CM1569
CM1570 Reserved for system
:
4 CM1577
CM1578 Reserved for system
:
PROGRAMMING
CM1599
CM1600 CTH0 ring counter upper limit value
CM1601
CM1602 CTH1 ring counter upper limit value
CM1603
CM1604 CTH0 preset input
CM1605
CM1606 CTH1 preset input
CM1607
CM1608 Reserved for system
CM1609
CM1610 R Input capture at INT0 generation
CM1611 R
CM1612 R Input capture at INT1 generation
CM1613 R
CM1614 R Input capture at INT2 generation
CM1615 R
CM1616 R Input capture at INT3 generation
CM1617 R
CM1618 Reserved for system
CM1619
CM1620 Input time constant setting ( "Input Time Constant Selection Function" page 11-4)
CM1621 Reserved for system
:
CM1699
CM1700 Digital trimmer 0 upper limit value
CM1701
CM1702 Digital trimmer 1 upper limit value
CM1703
CM1704 Digital trimmer 2 upper limit value
CM1705
CM1706 Digital trimmer 3 upper limit value
CM1707
CM1708 Digital trimmer 4 upper limit value
CM1709
CM1710 Digital trimmer 5 upper limit value
CM1711
4-20
Attribute
Device No. R: Read only Function
Blank: R/W
CM1712 Digital trimmer 6 upper limit value
CM1713
CM1714 Digital trimmer 7 upper limit value
CM1715
CM1716 Reserved for system
:
CM1719 4
CM1720 Access window, user message 1
PROGRAMMING
CM1721 Access window, user message 2 (max. 32 characters)
:
CM1737
CM1738 Access window, operation disabled setting
CM1739 Reserved for system
:
CM1999
CM2000 X-axis, I/O setting
CM2001 X-axis, sensor enable
CM2002 X-axis, current value comparator 0
CM2003
CM2004 X-axis, current value comparator 1
CM2005
CM2006 X-axis, zero return: startup frequency
CM2007 X-axis, zero return: acceleration/deceleration time
CM2008 X-axis, zero return: operation frequency
CM2009
CM2010 X-axis, jog operation: startup frequency
CM2011 X-axis, jog operation: acceleration/deceleration time
CM2012 X-axis, jog operation: operation frequency
CM2013
CM2014 X-axis, change current value setting value
CM2015
CM2016 X-axis, change operation speed setting value in speed control mode
CM2017
CM2018 Reserved for system
CM2019 X-axis, M code
CM2020 R X-axis, output pulse current value
CM2021 R
CM2022 R X-axis, output frequency current value
CM2023 R
CM2024 X-axis, error code
CM2025 X-axis, operation point No.
CM2026 Reserved for system
:
CM2029
4-21
Attribute
Device No. R: Read only Function
Blank: R/W
CM2030 Y-axis, I/O setting
CM2031 Y-axis, sensor enable
CM2032 Y-axis, current value comparator 0
CM2033
CM2034 Y-axis, current value comparator 1
4
CM2035
CM2036 Y-axis, zero return: startup frequency
CM2037 Y-axis, zero return: acceleration/deceleration time
PROGRAMMING
4-22
Attribute
Device No. R: Read only Function
Blank: R/W
CM2370 Target value/travel
CM2371 Startup frequency
CM2372 Acceleration/deceleration time
CM2373 Operation frequency
CPU positioning function
CM2374
Point parameter 31
4
CM2375 Operation mode
CM2376 Number of specified stop sensor pulses
CM2377 Reserved for system
PROGRAMMING
CM2378
CM2379
CM2380 Reserved for system
:
CM2599
CM2600 Logging function, device type 0
CM2601
CM2602 Logging function, device type 1
: :
CM2661 device type 30
CM2662 Logging function, device type 31
CM2663
CM2664 Logging function, trigger selection details 0
: :
CM2670 trigger selection details 6
CM2671 Logging function, number of registered devices
CM2672 Logging function, Memory Card storage capacity
CM2673 Reserved for system
:
CM3999
4-23
TM No. Application
TM000 For arithmetic operations
TM001
4 TM002
TM003
TM0004 to TM511 User area (for indirect specification)
PROGRAMMING
Note: • Temporary data memory is initialized when the power is turned ON.
• TM00, TM01, TM02, and TM03 are used by the MUL, DIV and ROOT
instructions, so do not use these for other instructions. "Instruction
Reference Manual"
Data Memory
Data memories are 16-bit word devices that can be freely used by the user.
The content of data memories is held after a power interruption. "Power Interruption
Hold Function" (page 11-5)
Standard
DM00000 to DM19999
4-24
PROGRAMMING
written at all positions except the left edge, thus enabling programs such as the one
shown below to be written.
Input/output circuit
Branches can be input only from Branches can also be input from
input contacts. output coils.
4-25
[Example]
4 The content of DM0000 turns 500 ON at the same time as 1000
turns 501 ON at the same time as 2000
PROGRAMMING
CR2002 #02000
CMP In conventional ladder languages, it was difficult to tell
at a glance what the program executed. With extended
CR2010 00501
ladder language, you can tell at a glance.
CR2002 #03000
CMP
CR2010 00502
[Example]
When the Start switch is turned ON, the indicator lights for three seconds, the buzzer
sounds for two seconds, and motor operation is started.
00000 01100 01100 01000 When the start switch (00000) turns ON, the lamp
DIFU SET (00500) lights and timer 0 starts to operate.
01000 00500 #00030 T000 01001 When timer 0 turns ON 3 seconds later, the lamp
STG T000 JMP goes out, the buzzer (00501) sounds, and timer 1
starts to operate.
01001 00501 #00020 T001 01002
STG T001 JMP When timer 1 turns ON 2 seconds later, the buzzer
stops, and motor (00502) operation starts.
01002 00502 00000
STG ENDS When the start switch (00000) turns OFF, the motor
stops, and devices are reset.
4-26
PROGRAMMING
the desired order, and even beginners new to relay
01002 01002 sequences can understand the content of processing if an
extended ladder is used.
T001 T002 #00030 Double coils can also be used by combining the STG
T002 instruction in the program.
01003 01003
01001 00500
01003
01002 00501
01003
[Tip]
If you use the extended ladder language, the number of rungs in the ladder diagram
can be reduced. This, however, does not mean that the number of mnemonics is
reduced.
00501
LD 00000 LD 00000
OUT 00500 OUT 00500
OUT 00501 CON
OUT 00501
Connection instruction CON increases.
(This does not affect the scan time.)
4-27
4
PROGRAMMING
4-28
INTERRUPTS
INTERRUPTS
The interrupt processing function is a function for executing an
interrupt program when there is a request (an interrupt cause is
generated) from an external input or a high-speed comparator during
operation of the KV-700.
This chapter describes the types of interrupt causes and I/O during
interrupt processing.
5-1
Input processing
Direct input
Interrupt input processing
generated (00000 to 0009)
Execution
Scan time
Program of
execution interrupt
processing
Return to
instruction following Direct output
interrupt generation processing
(00500 to 00503)
Output processing
5-2
■ Execution of interrupts
The interrupt instruction "INT" is used for executing interrupts. At the start of operation, interrupts are
prohibited, so to execute the "INT" operation, the enable interrupt instruction "EI" must be executed. Also, to
shorten the input time constant, the HSP instruction (10µs) must be executed or the input time constant must
be set at data memory CM1620 and CR2305 set to ON.
For details on the input time constant, read "Input Time Constant Selection Function" (page 11-4).
CR2008
CR2008 #00000 CR2305 EI
EI DW SET or
CM1620 CR2002 HSP
00000
INTERRUPTS
Types of Interrupts
There are two types of interrupts, "externally input interrupts" and "interrupts from high-speed counter
comparators." The following describes these types of interrupts.
Externally input interrupts
Interrupts are executed by input relays 0000 to 0003. Set which polarity (up edge or down edge) is to be taken
as the interrupt cause by the control relays.
Interrupts from high-speed counter comparators
Interrupt processing is executed when the current value of a high-speed counter CTH and the setting value of
a high-speed counter comparator CTC become the same value.
Note: Set ON/OFF of the special auxiliary relays by the SET/RES instructions.
5-3
■ Input capture
External interrupt causes are each provided with an input capture function. This
function is for acquiring to control memory the current value of a high-speed counter
when an interrupt is generated. The current value of high-speed counters is
automatically transferred to CM1610 to CM1617 when an interrupt is generated
even if this function is not set.
Note: • Set ON/OFF of the special auxiliary relays by the SET/RES instructions.
• The input capture execution timing is reliant on the interrupt polarity setting
that is set at CR2700 to CR2707.
Interrupt Priority
When two more interrupts are generated successively, the first generated interrupt is
given priority.
When interrupts are generated simultaneously, the order of priority is as follows:
00000>00001>00002>00003>CTC2>CTC3>CTC0>CTC1
5-4
Interrupt Program
The interrupt program is executed when an interrupt is generated.
To execute the interrupt program, the enable interrupt "EI" instruction must be
executed.
Also, to temporarily disable interrupts, execute the disable interrupt "DI" instruction.
When interrupts are disabled, interrupts are not processed even if they are generated,
and are put on hold until interrupts are next enabled.
"Instruction Reference Manual" page 5-54
CR2008
EI The interrupt program cannot be executed unless the EI instruction
5
is executed.
INTERRUPTS
HSP Input time constant must be set short at HSP (10 µs) and CR2305
00000
must be turned ON.
END
INT
00000
RETI
ENDH
Note: • To shorten the input time constant, the HSP instruction (10 µs) must be
executed or the input time constant must be set at data memory CM1620
and CR2305 set to ON.
• For details on the input time constant, read "Input Time Constant Selection
Function" ( page 11-4).
• Do not use the OUT and OUTB instructions within the interrupt program.
Use the SET and RES instructions.
5-5
Direct Input
The direct input function can be used during interrupt processing. "Direct input" is an
input mode that allows the input states of input relays to be captured during execution
of the interrupt program.
Only input relays 00000 to 00009 can be captured by direct input.
5 CR2008
EI
• The HSP instruction must be executed, or CR2305
CR2002 HSP
set to ON and the input time constant set to 10 ∝s.
INTERRUPTS
00000
HSP
00005 • Input information that has been obtained by direct
01000 0500 input is valid only during the interrupt program, and
must be made to via the internal auxiliary relays.
END
INT
00000
00005 01000
SET
RETI
ENDH
Direct Output
"Direct output" is an output mode that allows the ON/OFF states of output relays to be
output during execution of the interrupt program. Only output relays 00500 to 00503
can be output by direct input.
CR2008
EI
• Direct output does not influence the scan time.
CR2002 HSP
00000
• The SET and RES instructions are used when
HSP
00001 outputting by direct output.
END
INT
00000
CR2002 00500
SET
RETI
INT
00001
CR2002 00501
SET
RETI
ENDH
5-6
Scan
5
ON
INTERRUPTS
Input 00000
OFF
ON
Output 00500 ON ON ON
OFF
1 sec. 1 sec. 1 sec.
■ Ladder diagram
• The minute pulse that is input by input relay 00000 is converted to a pulse having
an ON width of one second from output relay 00500.
• Output relay 00500 turns ON for one second from the up edge of input relay
00000.
CR2008
0001 EI • Interrupt is enabled when
power is started up.
CR2002 HSP
0002 00000 • The input time constant of
input 0000 is set to 10 µs.
00500 #00010 T0000 00500
0003 T000 RES • Output 00500 turns OFF
when output 00500
END turns ON for 1 sec.
0004
INT
0005 00000 • Output 00500 turns ON
when input 0000 is
CR2002 00500 input.
0006 SET
RETI
0007
ENDH
0008
5-7
Application example:
Filling a container pills
Scan
Sensor
ON
Input 00004
5
OFF
ON
Input 00000
INTERRUPTS
OFF
ON
Output 00500 ON
OFF
■ Ladder diagram
• When the high-speed counter input value from input relay 00004 becomes 10000,
output relay 00500 turns ON.
• When input relay 00000 turns ON, output relay 00500 turns OFF.
00000 00500
0005 RES • Output 00500 turns OFF
when input 00000 turns ON.
END
0006
INT
0007 CTC0 • When the high-speed
counter input value becomes
CR2002 00500 10000, an interrupt is executed,
0008 SET and output 00500 turns ON.
RETI
0009
ENDH
0010
5-8
HIGH-SPEED COUNTERS 6
HIGH-SPEED COUNTERS
This chapter describes high-speed counters and high-speed counter
comparators that enable high-speed pulse measurement and pulse
output independent of scan time.
6-1
Internal clock 2
CR2200 (1.0 µs) Control circuit 00501 *
CR2201 (10.0 µs) (direct clock pulse)
CR2202 (100.0 µs) CH0 setting value
High-speed counter
A phase 00005 External input comparator Interrupt function
00005 CTC2
(B phase 00007) (00007)
INT CTC2
CTC3 INT CTC3
6-2
HIGH-SPEED COUNTERS
Single-phase, Single-phase, 1X 2X 4X 2 pulses
W/out direction W/ direction
CR2113 CTH0 count input OFF ON OFF ON OFF ON
CR2114 method selection OFF OFF ON ON OFF OFF
CR2115 OFF OFF OFF OFF ON ON
At ON At OFF
CR2402 Ring counter use by CTH0 Execute. Do not execute.
[Tip]
The initial state of CR2104 and CR2108 is ON. Otherwise, these devices are OFF.
6-3
At ON At OFF
CR2404 Ring counter use by CTH1 Execute. Do not execute.
[Tip]
The initial state of CR2204 and CR2208 is ON. Otherwise, these devices are OFF.
6-4
HIGH-SPEED COUNTERS
CTH1 00005 00007 0009
Short externally input signals are counted. Single-phase, phase difference and 2-
pulse can be input.
The count method is set by control relays.
For details on preset (reset) inputs, see "Preset Function" (page 6-13).
[Example]
CTH0
Count of external input 00004 00004
The internal clock is counted. As the time can be measured from the count value,
this input can be used as a high-precision timer.
[Example]
CTH0
Count of internal clock (1.0 µs) CR2100
by CTH0
Pulses output by the direct clock pulse function can be counted without being wired
externally.
See "Direct Clock Pulse Output" page 11-7.
[Example]
CTH0
Direct from 00501 00501
6-5
[Example] CTH0
00004
Setting of CTC0 and CTC1
#00100
CTC 0
#100000
CTC 1
Note: CTCs do not turn ON when the current value is rewritten with the same
value as the CTC.
CTCs turn ON only when the current value has equaled CTC after a count
up or count down.
6-6
CTH0 to 100
6
Note: • Current values are overwritten as 32-bit data even if they are changed by
HIGH-SPEED COUNTERS
the MOV.U instruction.
• When the current value has been changed to a value greater than the CTC
to which an automatic reset is specified, the current value is changed to
"value of CTC - 1". The current value cannot be changed to a value greater
than the CTC to which an automatic reset is specified.
Note: Setting values are overwritten as 32-bit data even if they are changed by the
MOV.U instruction.
6-7
W/out W/ 1X 2X 4X
direction direction
CR2213 OFF ON OFF ON OFF ON
CR2214 OFF OFF ON ON OFF OFF
CR2215 OFF OFF OFF OFF ON ON
Important: Do not set to combinations other than those described in the above
tables.
(1) Single-phase
Set this when counting single-phase pulses.
W/ direction The count is incremented at the up edge of the A phase when the
B phase is OFF.
The count is decremented at the up edge of the A phase when the
B phase is ON.
6-8
1X The count is incremented at the up edge of the A phase when the B phase is OFF.
The count is decremented at the down edge of the A phase when the B phase is OFF.
ON
(A phase)
0004
OFF
ON
(B phase)
0006 OFF
(counter value)
CTH0
0 1 2 3 4 3 2 1 0
6
2X The count is incremented at the up edge of the A phase when the B phase is OFF.
HIGH-SPEED COUNTERS
The count is decremented at the down edge of the A phase when the B phase is OFF.
The count is decremented at the up edge of the A phase when the B phase is ON.
The count is incremented at the down edge of the A phase when the B phase is ON.
ON
(A phase)
0004 OFF
ON
(B phase)
0006 OFF
(counter value)
CTH0
0 1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 0
4X The count is incremented at the up edge of the A phase when the B phase is OFF.
The count is decremented at the down edge of the A phase when the B phase is OFF.
The count is decremented at the up edge of the A phase when the B phase is ON.
The count is incremented at the down edge of the A phase when the B phase is ON.
The count is decremented at the up edge of the B phase when the A phase is OFF.
The count is incremented at the down edge of the B phase when the A phase is OFF.
The count is incremented at the up edge of the B phase when the A phase is ON.
The count is decremented at the down edge of the B phase when the A phase is ON.
ON
(A phase)
0004 OFF
ON
(B phase)
0006 OFF
(counter value)
CTH0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
6-9
(3) 2-pulse
The pulse that is input in 2-pulse method is counted.
The pulse is incremented at the up edge of the A phase, and decremented at the
up edge of the B phase.
ON
(A phase)
0004 OFF
ON
(B phase)
0006 OFF
(counter value)
CTH0
0 1 2 3 4 3 2 1 0
6
HIGH-SPEED COUNTERS
The A and B phases can be used as regular input. (Counter operation is not
influenced.)
The A and B phases can be used as regular input. (Counter operation is not
influenced.)
6-10
Reset Method
Clearing the current value of a high-speed counter is called a "reset."
There are four reset methods:
Reset by RES instruction
Reset by execution condition OFF
Automatic reset by a count up
Reset by external input
HIGH-SPEED COUNTERS
CTH current value
[Example]
CTH0
Reset by RES instruction RES
Scan
Execution condition
[Example]
Execution condition CTH0
Reset by execution condition OFF 00004
The current value is reset
when execution condition turns OFF.
6-11
and CTC3.
Scan
CTH
CTH=CTC
Note: When the current value has been changed to a value greater than CTC to
which an automatic reset is specified, the current value is changed to
"value CTC - 1". The current value cannot be changed to a value greater
than the CTC to which an automatic reset is specified.
* The current value is reset when the external reset input turns ON.
Scan
CTH
[Tip]
With resets by "execution condition OFF" or the "RES instruction," a delay of one
scan maximum until the reset is performed occurs. With resets by "automatic reset
by a count up" or "external input," the reset is performed without the scan time being
influenced.
6-12
Preset Function
The preset function changes the current value of the high-speed counter to the preset
value. The current value is changed by external input.
High-speed Preset Input Preset Value Storage Destination
Counter Upper Lower
CTH0 00008 CM1605 CM1604
CTH1 00009 CM1607 CM1606
HIGH-SPEED COUNTERS
ON ON Reset for duration that input 00008 is On
When the preset value is set to "0" and the preset is executed, the preset can be used
as a reset for the high-speed counters.
[Example]
To reset at the up edge of 00008 CR2008 CR2400 CR2401 #00000 CM1604
(high-speed counter reset), the set- SET RES LDA.D STA.D
ting for presetting CTH0 to "0"
6-13
CTH0 setting
Relay No. Description ON OFF
CR2104 When CTC0 is ON, direct output (00500) Disable output. Enable output.
CR2105 When CTC0 is ON, direct output (00500) OFF Execute. Do not execute.
CR2106 When CTC0 is ON, direct output (00500) ON Execute. Do not execute.
CR2107 When CTC0 is ON, direct output (00500) ON/OFF reversal Execute. Do not execute.
CR2108 When CTC1 is ON, direct output (00500) Disable output. Enable output.
CR2109 When CTC1 is ON, direct output (00500) OFF Execute. Do not execute.
6 CR2110 When CTC1 is ON, direct output (00500) ON Execute. Do not execute.
CR2111 When CTC1 is ON, direct output (00500) ON/OFF reversal Execute. Do not execute.
HIGH-SPEED COUNTERS
CTH1 setting
Relay No. Description ON OFF
CR2204 When CTC2 is ON, direct output (00501) Disable output. Enable output.
CR2205 When CTC2 is ON, direct output (00501) OFF Execute. Do not execute.
CR2206 When CTC2 is ON, direct output (00501) ON Execute. Do not execute.
CR2207 When CTC2 is ON, direct output (00501) ON/OFF reversal Execute. Do not execute.
CR2208 When CTC3 is ON, direct output (00501) Disable output. Enable output.
CR2209 When CTC3 is ON, direct output (00501) OFF Execute. Do not execute.
CR2210 When CTC3 is ON, direct output (00501) ON Execute. Do not execute.
CR2211 When CTC3 is ON, direct output (00501) ON/OFF reversal Execute. Do not execute.
Set this function to "direct output enabled" and "output ON" when CTC is ON.
This function is output without being influenced by the scan time.
To set this function to OFF, write a program for setting this function to OFF.
6-14
Overflow Overflow
HIGH-SPEED COUNTERS
4294967294 1 Upper limit value -1 1
2 2
4 3 4 3
[Example]
Ring counter setting for upper limit CR2008 #100000 CM1600
LDA.D STA.D
value 100000 for CTH0
CR2402
SET
Note: • When the current value of the high-speed counter has been changed to a
value greater than the upper limit value of the ring counter, the current value
is changed to the upper limit value. The current value cannot be changed
to a value greater than the upper limit value.
• When the upper limit value is set to a value smaller than the current value,
the current value equals the upper limit value. (at END processing)
6-15
Extended Functions
High-speed counters have the following three extended functions in addition to regular high-speed
counting. These functions use the high-speed counter.
Note that extended functions cannot be used in combination with regular high-speed counting.
Though extended functions can be used in combination, some combinations are not possible.
The following table summarizes the restrictions applied to combinations of extended functions.
Function High-speed High-speed Specified Frequency Cam switch Cam switch
counter counter frequency counter (absolute) (incremental)
CTH0 CTH1 pulse output
High-speed — X X
counter
CTH0
High-speed — X
counter
CTH1
Specified X —
frequency
pulse output
Frequency X — X
counter
Cam switch — X
(absolute)
Cam switch X X X —
(incremental)
For details of extended functions, see "Chapter 7 FREQUENCY COUNTERS" and "Chapter 8
CAM SWITCHES."
6-16
FREQUENCY COUNTERS
7-1 Frequency Counters ...........................................................7-2
7-1
7 Control relays
Control Memory Description
FREQUENCY COUNTERS
When CR2504 is turned ON, the speed of rotation (rpm) can be measured even on rotating bodies
that are not capable of inputting pulses at equal intervals.
Control memories
Control Memory Description
CM1480 Measurement result (lower)
CM1481 Measurement result (upper)
CM1482 Number of pulses per rotation (when tachometer rpm is selected) 0 to 65535
CM1483 Average processing scan count (0 to 65535). However, when 0, the count is set to
100 scan average.
Measurement results are stored to CM1480 and CM1481 (32 bits) with a sign (2's complement).
7-2
■ Flow of processing
• When the frequency counter (Hz) is used (CR2503 OFF)
The time between external input pulses set at control relays CR2501 and CR2502
is measured continuously.
↓
The frequency is calculated from the time between pulses by END processing.
Frequency (Hz) = 1/time between pulses
↓
The measurement results are stored to CM1480 and CM1481.
• When the tachometer (rpm) is used, CR2503 is ON, and CR2504 is OFF
The time between external input pulses set at control relays CR2501 and CR2502
is measured continuously.
↓
7
The speed of rotation is calculated from the time between pulses and the number
FREQUENCY COUNTERS
of pulses per single rotation set to CM1482 by END processing.
Speed of rotation (rpm) = 60/(time between pulses x number of pulses per
single rotation)
↓
The measurement results are stored to CM1480 and CM1481.
Note: • When the frequency counter function is used, the HSP instruction or control
relays must be used to set the input time constant to 10µs. (Measurement
is possible to 40 kHz/single-phase (at 24 V), 30 kHz/2-phase (24 V). At 5
V, see page 1-8.)
• The frequency counter cannot be used when CTH0 is programmed in the
ladder.
• Do not manipulate control relays relating to CTH0, CTC0, CTC1, and the
cam switch function (incremental type).
• The CTH0 and cam switch function (incremental type) cannot be used
when the frequency counter is used.
7-3
HSP
0006
00000 CR2500
CR2002 MOV.D
CM1480 DM00000
END
ENDH
7
At encoder input A phase 0004, B phase 0006, number of pulses per rotation 256
FREQUENCY COUNTERS
[Example]
To store the speed of rotation (rpm) CR2002 HSP
to DM0000 and DM0001 0004
HSP
0006
CR2002 MOV.D
CM1480 DM00000
END
ENDH
7-4
FREQUENCY COUNTERS
CR2415 Specified frequency pulse output error flag
Turns ON when CM1490 and CM1491 is other than 0 to
100,000.
Control memories
Data Memory Description
CM1490, 1491 Specified frequency pulse output Write setting value
(lower) (upper)
■ Setting method
• Set the output frequency (Hz) to CM1490 and CM1491. The output frequency can
be set within the range 0 Hz to 100 kHz (0 to 100000).
• Pulse output is performed for the duration that control relay CR2414 is ON. When
CR2414 turns OFF, pulse output is turned OFF.
• When a frequency that is not compatible with pulse output is specified, the control
relay CR2415 error relay is activated, to turn control relay CR2414 OFF and stop
pule output.
Note: Output stop/start and frequency change processing are executed at the end
of each scan.
Important: When the specified frequency pulse output function is used, CTH1 and
control relays CR2200 to CR2215 cannot be used.
7-5
END
ENDH
Synchronized control
[Example]
At encoder input A phase 0004, B CR2008 CR2501 CR2502 CR2503 CR2500 CR2414
7
RES SET RES SET SET
phase 0006
CR2002 MOV.D
Synchronous control is made pos- CM1480 CM1490
FREQUENCY COUNTERS
7-6
CAM SWITCHES
This chapter describes how high-speed counter functions can be
used for cam switch functions.
CAM SWITCHES
8-1 Cam Switch Function ......................................................... 8-2
8-1
Control memories
• When an absolute encoder is connected (when CR1814 is ON), also set CM1403.
Attribute
Device No. R: Read only Function
Blank: R/W
CM1400 Specifies the leading output relay No.*
CM1401 Comparison value in multi-level comparator mode
CM1402 Resolution of a single cycle of connected encoder. Specify "#65535" when the
multi-level comparator mode is used.
CM1403 Specifies the leading input relay No. when an absolute type encoder is used*
CM1404 R Current angle (stored in 0.1 degree units)
CM1405 R Error No.
CM1406 Reserved for system
:
CM1409
CM1410 Angle setting value where output relay +0 turns ON
CM1411 Angle setting value where output relay +0 turns OFF
CM1412 Angle setting value where output relay +1 turns ON
CM1413 Angle setting value where output relay +1 turns OFF
: :
CM1472 Angle setting value where output relay +31 turns ON
CM1473 Angle setting value where output relay +31 turns OFF
8-2
When "absolute" is selected, values other than those determined for the number of pulses per cycle that
are stored in CM1402 result in an error.
Specify one of the following.
Available resolutions: 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768 8
CAM SWITCHES
Note: • When an incremental encoder is used, CTH0 cannot be used.
• When the cam switch function is used, 32 relays are occupied regardless of whether the relay is used or
not starting with the relay No. specified by CM1400, and the relays cannot be used for other applications.
• When the cam switch function (incremental type) is used, CTH0 and the frequency counter function cannot
be used as the input terminal is used as a cam switch.
• The cam switch function cannot be used when CTH0 is programmed in the ladder for an incremental type
encoder.
• Do not manipulate control relays relating to CTH0, CTC0, CTC1, and the frequency counter function when
an incremental type encoder is used.
• When the cam switch function starts to operate, the scan time is extended by a maximum of 5 ms.
• The state of the cam switch function in operation relay CR1815 is held even if the mode is changed (RUN
to PROG or PROG to RUN) or the power is turned OFF.
• The relay ON/OFF state is checked or updated by END processing.
• When an incremental encoder is used in the cam switch mode, and the encoder operated while the power
was OFF, a deviation will occur for the duration from when the power is turned ON up to input of the next
Z phase.
• Counting of encoder pulses is not performed while the power is OFF in the incremental cam switch
mode.
(Counting is performed even in the PROG mode when the power is ON.)
Important: When an incremental encoder is used in the cam switch mode, and the encoder operated while the
power was OFF, a deviation will occur for the duration from when the power is turned ON up to input
of the next Z phase.
8-3
8 Device No.
Attribute
R: Read only Function
CAM SWITCHES
Blank: R/W
CR1814 Selection of incremental type/absolute type encoder
ON: Absolute (gray code)
OFF: Incremental
CR1815 In operation relay (operation stops when OFF)
CR2508 Operation start relay
CR2509 R Output response relay
CR2510 R Setup error relay. Error No. is entered to CM1405.
Control memories
Attribute
Device No. R: Read only Function
Blank: R/W
CM1400 Leading output relay No.*1
CM1402 Resolution of a single rotation of connected encoder*2
CM1403 Leading connected input relay No. of absolute encoder
CM1404 R Current angle (stored in 0.1 degree units)
CM1405 R Error No.
CM1410 Angle setting value (0.1 degree units) where output relay +0 turns ON *3
CM1411 Angle setting value (0.1 degree units) where output relay +0 turns OFF *3
CM1412 Angle setting value (0.1 degree units) where output relay +1 turns ON *3
CM1413 Angle setting value (0.1 degree units) where output relay +1 turns OFF *3
: :
CM1472 Angle setting value (0.1 degree units) where output relay +31 turns ON *3
CM1473 Angle setting value (0.1 degree units) where output relay +31 turns OFF *3
8-4
Operation
↑↓
↓: Cam switch operation is executed according to
start relay ladder program.
CR2508
In operation
↑ ↓: Cam switch operation is executed automatically by 8
relay
KV-700.
CAM SWITCHES
CR1815
Description: When the operation start relay CR2508 turns
Cam switch
Stop Execution Stop ON, KV-700 recognizes this to automatically turn
function
the operation start relay CR2508 OFF, and turns the
"in operation" relay CR1815 ON to set the cam
switch function execution mode.
When the "in operation" relay CR1815 is turned
OFF, the cam switch function is stopped.
[Example] In the case of an absolute encoder
Example of resolution 256 set to a single rotation of the connected encoder
CR2002 #10000 #00256 #31000 CR1814 Set the input time constant of the Input Unit to which the
DW DW DW SET encoder is connected to 25 µsec on Unit Editor.
CM1400 CM1402 CM1403
CR2002 #00100 #00200
DW DW No.10000 is turned ON at 10.0 to 20.0 degrees.
CM1410 CM1411
#00300 #00400
DW DW No.10001 is turned ON at 30.0 to 40.0 degrees.
CM1412 CM1413
#00500 #00600
DW DW No.10002 is turned ON at 50.0 to 60.0 degrees.
CM1414 CM1415
#00700 #00800
DW DW No.10003 is turned ON at 70.0 to 80.0 degrees.
CM1416 CM1417
#00900 #01000
DW DW No.10004 is turned ON at 90.0 to 100.0 degrees.
CM1418 CM1419
#01100 #01200
DW DW No.10005 is turned ON at 110.0 to 120.0 degrees.
CM1420 CM1421
00000 CR2508
SET
00001 CR1815
RES
10000 30000
10001 30001
10002 30002
10003 30003
10004 30004
10005 30005
END
ENDH
8-5
Control memories
Attribute
Device No. R: Read only Function
Blank: R/W
CM1400 Leading output relay No.*1
CM1402 Number of pulses for a single rotation of connected encoder x 2
CM1404 R Current angle
CM1405 R Error No.
CM1410 Angle setting value where output relay +0 turns ON*2 (0.1 degree units)
CM1411 Angle setting value where output relay +0 turns OFF*2 (0.1 degree units)
CM1412 Angle setting value where output relay +1 turns ON*2 (0.1 degree units)
CM1413 Angle setting value where output relay +1 turns OFF*2 (0.1 degree units)
: :
CM1472 Angle setting value where output relay +31 turns ON*2 (0.1 degree units)
CM1473 Angle setting value where output relay +31 turns OFF*2 (0.1 degree units)
*1: Specify the leading relay No. of the channel
*2: Specify in range 0 to 3599.
8-6
4. Specify the angle (within range 0 to 65534 in 0.1 degree units) at which the 1st relay turns OFF in
CM1411.
5. Specify the angle (within range 0 to 65534 in 0.1 degree units) at which the 2nd relay turns ON in
CM1412.
6. Specify the angle (within range 0 to 65534 in 0.1 degree units) at which the 2nd relay turns OFF in
CM1413.
7. Repeat steps 3 to 6 for the number of relays (maximum 32) to be used.
8. Turn control relay CR2508 ON.
When the cam switch function enters the execution mode, CR2508 automatically turns OFF, and
CR1815 turns ON.
9. To stop operation, turn CR1815 OFF.
↑ ↓: Cam switch operation is executed according to
Operation
start relay ladder program.
CR2508
↑ ↓: Cam switch operation is executed automati-
In operation
relay cally by KV-700.
CR1815
Description: When the operation start relay CR2508
Cam switch
turns ON, KV-700 recognizes this to automati-
8
function Stop Execution Stop
cally turn the operation start relay CR2508
OFF, and turns the "in operation" relay CR1815
CAM SWITCHES
ON to set the cam switch function execution
mode.
When the "in operation" relay CR1815 is turned
OFF, the cam switch function is stopped.
00001 CR1815
RES
10000 30000
10001 30001
10002 30002
10003 30003
10004 30004
10005 30005
END
8-7
Attribute
Device No. R: Read only Function
Blank: R/W
CM1400 Leading output relay No.*1
CM1401 Comparison value in multi-level comparator mode
CM1402 Number of pulses for a single rotation of connected encoder*2
CM1405 R Error No.
CM1410 Setting value where output relay +0 turns ON*3
CM1411 Setting value where output relay +0 turns OFF*3
CM1412 Setting value where output relay +1 turns ON*3
CM1413 Setting value where output relay +1 turns OFF*3
: :
CM1472 Setting value where output relay +31 turns ON*3
CM1473 Setting value where output relay +31 turns OFF*3
*1: Specify the leading relay No. of the channel.
*2: To use the cam switch function in the multi-level comparator mode, enter "#65535".
*3: Specify in range 0 to 65534.
8-8
8
[Example] In the case of a multi-level comparator
CAM SWITCHES
Example where the value of DM00000 is compared with the setting value to turn the output
ON/OFF
CR2002 #10000 #65535 CR1814
DW DW RES
CM1400 CM1402
CR2002 #00100 #00200
DW DW No.30000 is turned ON by #100 to 200.
CM1410 CM1411
#00300 #00400
DW DW No.30001 is turned ON by #300 to 400.
CM1412 CM1413
#00500 #00600
DW DW No.30002 is turned ON by #500 to 600.
CM1414 CM1415
#00700 #00800
DW DW No.30003 is turned ON by #700 to 800.
CM1416 CM1417
#00900 #01000
DW DW No.30004 is turned ON by #900 to 1000.
CM1418 CM1419
#01100 #01200
DW DW No.30005 is turned ON by #1100 to 1200.
CM1420 CM1421
CR2002 MOV
DM00000 CM1401
00000 CR2508
SET
00001 CR1815
RES
10000 30000
10001 30001
10002 30002
10003 30003
10004 30004
10005 30005
END
8-9
8
CAM SWITCHES
8-10
9-1
■ Trapezoidal control
"Trapezoidal control" is an output function represented by a timing chart comprising
the startup speed, run speed and acceleration/deceleration times that forms a
trapezoid as shown below. Trapezoidal control is automatically performed if the
pulse frequency, startup speed, run speed and acceleration/deceleration times are
set in advance.
Frequency (Hz)
Target value/travel amount (number of output pulses)
9 Run speed
MOTOR CONTROL (POSITIONING CONTROL)
Start speed
(stop speed)
Time (ms)
Acceleration Deceleration
time time
■ Parameter setup
Settings such as startup speed, run speed, and acceleration/deceleration time that
are set for trapezoidal control are called "parameters." Set parameters using KV
BUILDER's "Edit CPU positioning parameters" function.
Yes
Change parameters
9-2
There are two types of parameters: point parameters and system parameters.
Point parameters
These parameters are the basic parameters for trapezoidal control as they set
movement destination points (positions), run/startup speed, and acceleration/decel-
eration time.
"Point Parameters" page 9-4
System parameters
These parameters are for setting sensor input, pulse output, comparators, and zero
return/jog operation.
"System Parameters [I/O Setup]" page 9-9
"System Parameters [Comparator Setup]" page 9-13
"System parameters [Zero Return/Jog]" page 9-15
■ Main functions
• Point parameters for 32 points can be set in advance on KV BUILDER.
If more than 32 points are set, the ladder program overwrites the contents of
control memory (CM). 9
[Tip]
Parameters are stored in control memories CM2000 to CM2379. So, a ladder
program for 1000 or more positioning points can be made by rewriting the content
of control memory.
"Positioning Control Exceeding 32 Points" page 9-43
Note: The above functions are set using KV BUILDER’s "Edit CPU positioning
parameters" function.
9-3
Parameter Setup
Set parameters at "Edit CPU positioning parameters" on KV BUILDER.
2 Select {Edit CPU positioning parameters (I)} from the pulldown menu.
The dialog box is displayed.
(1)
Once parameters are set, they are stored to CM (control memory) on the CPU. Point
parameters are used for both X- and Y-axes.
"Device Lists [Point parameters]" page 9-25
9-4
...
No.
0 to 31
Point Nos. are used as operands for the PLSX and PLSY instructions.
Execution condition 01
PLSX
When the above ladder rung is executed, pulses are generated according to the point
parameter of point No.1.
Operation mode 9
With position control, axes are made to travel to the target value (i.e. by a specified
Positioning (incremental)
In this mode, positioning is controlled by incremental values.
Specify the distance from the current position of the workpiece to its travel destination
as the travel amount. For example, to move a workpiece at position A in the figure below
to position B, set the travel amount to "+100". Next, to move the workpiece from position
B to position C, set "+200". Finally, to return the workpiece from position C to position
B, set "-200".
A B C
+100 +200
-200
Coordinates
0 (origin) 100 200 300
Positioning (absolute)
In this mode, positioning is controlled by absolute values.
Specify the distance from the origin to the workpiece travel destination as the target
value. For example, to move a workpiece at position A in the figure below to position
B, set the target value to "+100". Next, to move the workpiece from position B to position
C, set "+300". Finally, to return the workpiece from position C to position B, set "+100".
A B C
100 300
100
Coordinates
0 (origin) 100 200 300
9-5
Speed control CW
Pulses are continuously output in the CW (clockwise) direction at the specified speed
regardless of the number of output pulses.
Speed
CW
Time
CCW
CCW
Speed
Parameter storage location: This parameter is stored as follows to bits 0 and 1 of CM2066
+ (point No. x 10)
0 1 Positioning (absolute)
1 0 Speed control CW
1 1 Speed control CCW
Frequency (Hz)
Target value/travel amount (number of output pulses)
Run speed
Start speed
(stop speed)
Time (ms)
Acceleration Deceleration
time time
9-6
Startup speed
When positioning control is performed, set the output pulse speed at startup. This
setting is for ensuring smooth start of motor operation.
Setting range: 50 to 65535 (pulses per second) (Note, that the start speed
must be set lower than the run speed.)
Parameter storage location: CM2062 + (point No. x 10)
Acceleration/deceleration time
Acceleration time: This is the time it takes for startup speed to reach run speed.
Setting a smaller value results in more sudden acceleration and a
shorter travel time.
Deceleration time: This is the time it takes for run speed to reach stop speed. Setting
a smaller value results in more sudden deceleration and a shorter
travel time.
On the KV-700, the acceleration time and deceleration time are set to the same values.
Run speed
When positioning control is performed, set the speed at which pulses are output to the
motor during operation.
Setting range: 50 to 100000 (pulses per second) (Note, that the run speed
must be set to the start speed or greater.)
Parameter storage location: CM2065 + (point No. x 10) • ( CM2064 + (point No. x 10)
Upper 16 bits Lower 16 bits
Note: Operation is as shown in the following chart when the startup speed is set the
same as the run speed.
Speed
0 Time
9-7
Parameter storage location: This parameter is stored as follows to bit 4 ofCM2066 + (point
No. x 10).
Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Bit4 Description
00000000000 0000
0 Do not use stop sensor.
1 Use stop sensor.
9
MOTOR CONTROL (POSITIONING CONTROL)
Specified number
of pulses
When the specified number of pulses is set to "0", pulse output stops immediately when
stop sensor input turns ON.
The deceleration time is ignored.
Immediate stop
When the specified number of pulses is set to "65535" (maximum value), the motor
decelerates from the moment that stop sensor input turns ON, and pulse output stops
after the deceleration time has elapsed.
9-8
(1)
Storage location
device name
(3)
(1)
(5)
(4)
(7)
(6)
(9)
(8)
(10)
(11)
Storage location
device name
9
Name of Function Setting Range Default See Page
9-9
Home sensor
The "home" is the position that is used as the reference for position control. A home
sensor is installed at the position defined as the axis origin.
CR3002 (CR3102) ......... Sets CR3002 (X-axis) and CR3102 (Y-axis) as the home
sensor.
IN000 to IN003 ............... Sets input relays 00000 to 00003 as the home sensor.
NO/NC ............................ Sets the home sensor input logic.
When IN000 to IN003 have been set, zero return is performed taking the preset input
as the home sensor input.
To use inputs other than IN000 to IN003 as the home sensor input, set this parameter
to CR3002 (CR3102), and turn CR3002 (CR3102) ON and OFF by the ladder program.
[Example]
When using input relay 30000 as the X- 30000 CR3002
axis home sensor input
Stop sensor
If a moving object moves to the stop sensor during operation and causes the stop
sensor to turn ON, the workpiece decelerates to a stop from that position, or
decelerates to a stop after moving by a predetermined distance (specified number of
stop sensor pulses).
CR3003 (CR3103) ......... Sets CR3003 (X-axis) and CR3103 (Y-axis) as the stop
sensor.
IN000 to IN003 ............... Sets input relays 00000 to 00003 as the stop sensor.
NO/NC ............................ Sets the stop sensor input logic.
When IN000 to IN003 have been set, workpiece movement stops taking the preset
input as the stop sensor input.
To use inputs other than IN000 to IN003 as the stop sensor input, set this parameter
to CR3003 (CR3103), and turn CR3003 (CR3103) ON and OFF by the ladder program.
[Example]
When using input relay 30001 as the X- 30001 CR3003
axis stop sensor input
9-10
The limit switch installed at the end of CW travel is called "limit switch CW."
CW movement
CCW CW
The limit switch installed at the end of CCW travel is called "limit switch CCW."
CCW movement
CCW CW
Bit11 Description
0 CCW limit SW NO
1 CCW limit SW NC
[Example]
When using the X-axis CW limit switch for 30002 CR3000
use connected to input relay 30002, and
the CCW limit switch for use connected to
30003 CR3001
input relay 30003
When a limit switch is turned ON, a limit error occurs, and pulse output is stopped.
Remove the cause of the error, and reset error relays CR3007/CR3107 to clear the
error.
• For safety's sake, be sure to use NC (normally closed) type limit switches. If NO
CAUTION (normally open) type limit switches are used, the limit switch may not operate if a line
break occurs, which may cause a hazard.
• When installation of positioning devices is completed, be sure to check that the limit
switches function properly.
• Allow sufficient travel allowance for the limit switch detection dog to prevent the
workpiece from overtraveling the limit switch when the motor makes an emergency
stop.
9-11
[Connection example]
1 axis connection
1 pulse output 2 pulse output
driver
Motor
Motor
Direction of rotation Reverse rotation pulse
000501 000501
9 2 axis connection
1 pulse output 2 pulse output
driver
Motor
Motor
Direction of rotation Reverse rotation pulse
000501 000501
driver
Motor
Motor
Direction of rotation Reverse rotation pulse
000503 000503
For details on zero return, see "Zero return locus" page 9-16.
For details on CW/CCW directions, see "Limit switch CW/Limit switch CCW" page 9-11.
9-12
(1)
(2)
(3) Storage location
device name
(4)
(5)
About comparator
During positioning control or speed control, the pulse that is output is counted as the
"current value." This current value can be compared with the setting values of (3) and
(5), and the same operation as that specified at (2) and (4) can be performed when
these values match.
9-13
Function selection
Disabled ........................ No operation is performed according to the comparator
number.
Stop sensor .................. The same operation as input by the stop sensor is per-
formed.
Limit switch CW ........... The same operation as input by limit switch CW is per-
formed.
Limit switch CCW ......... The same operation as input by limit switch CCW is per-
formed.
Y CM2030 0000000000000000
0 0 Disabled
0 1 Used as stop sensor
1 0 Used as CW limit switch
1 1 Used as CCW limit switch
* When comparator 0 is set when the same function is set on comparators 0 and 1,
comparator 1 becomes invalid.
Set value
Set the value (comparator value) to be used for comparing the output pulse with the
"current value."
9-14
(1)
(2)
(3)
(4)
Storage location
(5) device name
(6)
(7)
(8)
(9)
9-15
9 Start point
MOTOR CONTROL (POSITIONING CONTROL)
9-16
Start speed
Set the output pulse speed at startup for zero return and jog operation.
Setting range: 50 to 65535 (pulses per second) (Note, that the start speed
must be set lower than the run speed.)
Parameter storage location: Axis Storage Axis Storage
Location Location
Zero X CM2006 Jog X CM2010
return Y CM2036 operation Y CM2040
Acceleration/deceleration time
Acceleration time: This is the time it takes for start speed to reach zero return/jog run
speed. Setting a smaller value results in sudden acceleration and
a shorter travel time.
Deceleration time: This is the time is takes for zero return/jog run speed to each start
speed. Setting a smaller value results in sudden deceleration and
a shorter travel time.
On the KV-700, the acceleration time and deceleration time are set to the same values.
9
Setting range: 0 to 4000
Run speed
Set the number of pulses to be output to the motor during zero return and jog operation.
Note: Operation is as shown in the following chart when the start speed is set the
same as the run speed.
Speed
0 Time
9-17
With the current value change setting, set the default to be stored to control memory.
9 With the run speed change setting, set the default to be stored to control memory.
MOTOR CONTROL (POSITIONING CONTROL)
Axis Corresponding Run Speed Change No. of Control Memory for Storing
Request Relay Setting Value
X CR3012 CM2016, CM2017
Y CR3112 CM2046, CM2047
The acceleration speed is the same as the currently executing point No. setting.
9-18
9-19
change request
9-20
(1) Executing the PLSX0 instruction starts pulse output, turns ON the pulse output in progress relay
CR3009, and writes operation point No.0 to CM2019.
(2) Executing the PLSX1 instruction starts pulse output, turns ON the pulse output in progress relay
CR3009, and writes operation point No.1 to CM2019.
(3) Executing the ORGX instruction starts zero return, turns ON the pulse output in progress relay
CR3009 and zero return in progress relay CR3004, and writes 1000 (zero return code) to CM2019.
(4) Executing the JOG instruction starts jog operation turns ON the pulse output in progress relay
CR3009, turns OFF the zero return completed relay CR3005, and writes 1001 (jog operation code)
to CM2019.
9-21
Device Lists
System parameters and statuses
9-22
9-23
9 Bit8
0
Home Sensor Polarity
NO (normally open: A contact)
1 NC (normally open: B contact)
MOTOR CONTROL (POSITIONING CONTROL)
9-24
Point parameters
Control relays
9-25
Errors/warnings
9 90 Stop
limit switch.
System error
MOTOR CONTROL (POSITIONING CONTROL)
9-26
Change parameter
The content of control memory can be directly
No
settings during ladder program rewritten by the LD instruction, etc. without
execution? using KV BUILDER to change the contents of
parameters.
Yes
Change parameters
For details on how to operate KV BUILDER, refer to "Edit CPU Point Parameters"
in the KV BUILDER User's Manual.
9-27
Ladder diagram
Execution condition S
PLSX
Execution condition S
PLSY
Description of Operation
The pulse is output by the point parameter setting specified by S at the up edge of
the execution condition.
Frequency (Hz)
Target value/travel amount (number of output pulses)
Run
9
speed
Start speed
MOTOR CONTROL (POSITIONING CONTROL)
(stop speed)
Time (ms)
Acceleration Deceleration
time time
The pulse output in progress flags CR3009 (X-axis) and CR3109 (Y-axis) turn ON
during point operation, and turn OFF when point operation ends. The currently
operating point parameter No. is stored to CM2025 (X-axis) and CM2055 (Y-axis).
To perform an emergency stop, turn CR3009 (X-axis) and CR3109 (Y-axis) OFF.
When an emergency stop has been made, the emergency stop error occurs, error code
30 is stored to CM2024 (X-axis) and CM2054 (Y-axis), the pulse output in progress
flags turn OFF, and the error flags CR3007 (X-axis) and CR3107 (Y-axis) turn ON.
9-28
Execution Timing
PLSX and PLSY are executed when their execution conditions turn ON. PLSX and
PLSY can also be used in interrupt routines.
"Program Example High-speed Execution" in "Speed Control Reference Ex-
amples"
Scan
ON
Execution
condition OFF
PLSX, PLSY Execute Execute
Sample Program
Pulse is output by the setting of point parameter No.00 at the up edge of input relay
00000.
00000 00
PLSX
9-29
JOGX
JOGX CW
CCW
High
Jog operation X-axis Starts X-axis jog operation.
JOGY
JOGY
CW
CCW Jog operation Y-axis Starts Y-axis jog operation.
High
CW signal JOGY
CW
CCW signal
CCW
High signal
High
Acceleration/deceleration time and run speed in jog operation are set using the
parameter setup functions of KV BUILDER.
9 Description of Operation
Pulse output is started at the start speed when the CW or CCW signals turn ON.
MOTOR CONTROL (POSITIONING CONTROL)
Frequency (Hz)
Run
speed
Start speed
(stop speed)
Time (ms)
When the CW (or CCW) signal is ON and the High signal is ON, the start speed
accelerates to the run speed. When the High signal turns OFF, the run speed
decelerates to the start speed. If the CW (or CCW) signal turns OFF even if the High
signal turns ON, the run speed decelerates to the start speed and movement stops.
During operation, pulse output in progress flags CR3009 (X-axis) and CR3109 (Y-axis)
turn ON, and turn OFF when operation ends.
Axis movement within the operating ranges of the limit switches is possible even if a
limit error occurs.
To perform an emergency stop, turn CR3009 (X-axis) and CR3109 (Y-axis) OFF.
When an emergency stop has been made, axis movement stops immediately. The
emergency stop error occurs, CR3007 (X-axis) and CR3107 (Y-axis) turn ON, error
code 30 is stored to CM2024 (X-axis) and CM2054 (Y-axis), and the pulse output in
progress flags turn OFF.
"1001" is stored to CM2019 (X-axis) and CM2049 (Y-axis) when jog operation is
performed.
9-30
• New jog operations cannot be started during pulse output. (If you attempt to execute
CAUTION the JOGX and JOGY instructions during pulse output, these instructions will be
ignored.)
• When an error has occurred, instructions will not be accepted and will be ignored.
• Current position information is not guaranteed when pulse output has stopped due
to an emergency stop.
Execution Timing
The JOGX and JOGY instructions are calculated at each scan while the execution
conditions are ON.
Scan
ON
Execution
condition OFF
JOGX, JOGY Execute Execute
Sample Program
Jog operation is performed CW when input 00000 turns ON and CCW when input
00001 turns ON. Jog operation is performed at high speed when input 00002 turns ON 9
simultaneously with inputs 00000 and 00001.
9-31
Ladder diagram
Execution condition
ORGX
Execution condition
ORGY
Description of Operation
Zero return operation starts when the execution condition turns ON.
During a zero return, zero return in progress flags CR3004 (X-axis) and CR3104 (Y-
axis), pulse output in progress flags CR3009 (X-axis) and CR3109 (Y-axis) turn ON,
and "1000" is stored to CM2019 (X-axis) and CM2049 (Y-axis).
To cancel zero return (perform an emergency stop), turn pulse output in progress flags
CR3009 (X-axis) and CR3109 (Y-axis) OFF. When an emergency stop has been
made, the emergency stop error occurs, error code 30 is stored to CM2024 (X-axis)
and CM2054 (Y-axis), the pulse output in progress flags turn OFF, and the error flags
9 CR3007 (X-axis) and CR3107 (Y-axis) turn ON.
MOTOR CONTROL (POSITIONING CONTROL)
When zero return ends, the zero return in progress flags and pulse output in progress
flags turn OFF, the current value is reset to "0", and the zero return completed relays
CR3005 (X-axis) and CR3105 (Y-axis) turn ON.
Execution Timing
The JOGX and JOGY instructions are calculated at each scan while the execution
conditions are ON.
Scan
ON
Execution
condition OFF
Sample Program
00000
ORGX
00000
ORGY
9-32
9-33
TCHX TCHX TCHX Teaching X-axis Captures the current X-axis position.
TCHY TCHY TCHY Teaching Y-axis Captures the current Y-axis position.
Ladder diagram
Execution condition
TCHX
Execution condition
TCHY
Description of Operation
These instructions store the current values to the target values/travel amounts of the
specified point parameter Nos. at the up edge of the execution conditions.
(1) Store the point parameter No. to store the current value to as the target value/travel
amount to CM2025 (X-axis) and CM2055 (Y-axis) within the range 0 to 31.
• These instructions are ignored when the specified point No. is outside of the range
0 to 31.
(2) The position moved to by execution of the JOGX instruction becomes the current
value.
9 • Whether or not to operate current values as either absolute values or incremental
values conforms to the settings of the point parameter operation mode.
MOTOR CONTROL (POSITIONING CONTROL)
(3) When the TCHX and TCHY instruction execution condition turns ON, the current
value is stored to the target value/travel amount of the point parameter No. specified
at (1). Example) "0" is stored to CM2060 and CM2061, and "1" is stored to CM2070
and CM2071.
• The new target values/travel amounts can be confirmed using KV BUILDER.
[Example]
Store current values to the target value/travel amount of the point parameter No.
specified at CM2025 at the up edge of the execution conditions.
00000 #00000
DW TCHX
CM2025
00001 #00010
DW TCHY
CM2055
9-34
Execution Timing
The TCHX and TCHY instructions are executed at the up edge of the execution
conditions.
Scan
ON
Execution
condition OFF
Sample Program
9
Set the current value moved to by jog operation as the target value of point No.0.
9-35
00502
motor
MOTOR CONTROL (POSITIONING CONTROL)
00503
1 Click the button on the KV BUILDER tool bar, and open the Edit CPU
Positioning Parameters window.
Select the button on the tool bar of the {Edit CPU Positioning Param-
eters} window.
9-36
■ Program example
00004 CR3000
00005 CR3001
30000
ORGX
30001 JOGX
CW
30002
CCW
30003
HIGH
30011 01
PLSX
30012 02
PLSX
30013 03
PLSX
30014 04
PLSX
END
ENDH
9-37
9
MOTOR CONTROL (POSITIONING CONTROL)
9-38
■ Program example
Turn speed change request relay ON at the up edge of relay 30000, write setting value
"3000" to CM2016 and CM2017 (speed change setting value), and start pulse output
by the PLSX0 instruction.
Write "5000" to CM2016 and CM2017 (speed change setting value) at the up edge
of relay 30001.
Write "6000" to CM2016 and CM2017 (speed change setting value) at the up edge
of relay 30002.
Write "7000" to CM2016 and CM2017 (speed change setting value) at the up edge
of relay 30003.
Turn speed change request relay OFF at the up edge of relay 30004, turn ON stop
sensor input CR3003, and stop deceleration.
30001 #0000005000
DW.D
CM2016
30002 #0000006000
9
DW.D
CM2016
END
ENDH
9-39
30000 01
PLSX
9 01000 CM2019
=
01000
(RES)
#00000
MOTOR CONTROL (POSITIONING CONTROL)
END
ENDH
9-40
High-speed pulse output is started without being influenced by the scan time by
executing the PLSX instruction in the interrupt routine.
Start pulse output at the up edge of input 000.
CR2008
EI
HSP
00000
END
INT
00000
CR2002 00
PLSX
9
ENDH
9-41
KV-10/16/24/40 Compatibility
On KV-10/16/24/40, pulse output is performed by writing each of the settings to the DMs
below, and turning output start relay 2310 ON.
On KV-700, pulse output is basically performed by the PLSX and PLSY instructions.
However, CR3010, CR3009, and CM2025 are available so that ladder programs can be
made by the same programming method as on the KV-10/16/24/40.
9 When CR3010 is turned ON, pulse output starts based upon the control memory that
stores the data of the point No. specified by CM2025.
MOTOR CONTROL (POSITIONING CONTROL)
9-42
For example, the target value of point No. can be changed by rewriting the contents
of CM2060 and CM2061.
[Example]
00000 #0000010000 00
DW.D PLSX
CM2060
00001 #0000200000 00
DW.D PLSX
CM2060
00002 #0000600000 00
DW.D
CM2060
PLSX
9
9-43
9
MOTOR CONTROL (POSITIONING CONTROL)
9-44
SERIAL COMMUNICATIONS
The KV-700 can be connected to external devices having an RS-
232C-compliant interface to perform communications.
This chapter describes communications specifications, connection
methods and communications methods.
SERIAL COMMUNICATIONS
10-4 Explanation of Commands and Responses ................... 10-7
10-1
Communications Specifications
The table on the right lists the
Item Specification
serial communications of the
Communications mode Full duplex
KV-700.
Transmission mode Start-stop
Set the communications con- Transmission port ASCII
ditions of serially connected
Baud rate 9600 bit/s
external devices matched to
the conditions in the table on Data length 8 bit
the right. Parity check Even
Stop bit length 1 bit
Data delimiter CR
10
How to Connect to the KV-700
SERIAL COMMUNICATIONS
To connect the KV-700 to an external device having an RS-232C terminal, use the
exclusive connector cable (straight: OP-26487, reverse: OP-96607) and D-Sub 9-pin
connector (OP-26486) or D-Sub 25-pin connector (OP-26485) to connect to the RS-
232C connector.
KEYENCE KV-700 A B
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 11
12 12
HYPER ACCESS WINDOW 13 13
14 14
15 15
RUN
PROG
CARD SD RD USB
SERIAL
[Tip]
When the connected device is defined as a modem, use cross cable OP-96607
instead of OP-26487.
10-2
Send Break signal. Initialize the buffer and baud rate settings for KV-700
communications.
Send communications
start command (CR). Start communications with KV-700.
Send command.
Send commands to the KV-700, and instruction operations.
Receive response.
Receive responses to commands, and confirm the responses.
Send communications
end command (CQ). End communications with KV-700.
SERIAL COMMUNICATIONS
communications is started with the KV-700. Once com-
munications is established, the Break signal need not be
sent again.
The figure on the right illustrates how the Break signal is
sent.
Note: • To establish serial communications without turning the KV-700 OFF after
communications is established between KV-700 and KV BUILDER, the
Break signal must be sent again.
• When the Break signal cannot be sent to the PC, the communications setup
with the KV-700 can be initialized by turning the KV-700 OFF then back ON
again. Try establishing communications again.
• Allow at least 10 ms after sending the Break signal before you start
communications.
• If the duration between individual bytes of the command is one second or
more, a time-out will occur, and an error response will be returned.
10-3
When a command is sent to the KV-700 from the PC, a response is returned to the
PC.
When writing a program that is controlled on a PC, program so that the response
is confirmed before the next command is sent.
Command format
Conform to the following format when sending commands to the KV-700 from a PC.
C (carriage return) is the delimiter. The KV-700 ignores L (line feed), and recognizes
R F
text following L F as the next command.
10
Command C
R
SERIAL COMMUNICATIONS
or Command C L
R F
Response format
The KV-700 returns responses to commands according to the following format. When
writing programs on a PC, programs can be processed according to this response
format.
Response C L
R F
10-4
Commands/Responses List
Function Command Response See page
Start of communications CR CC 10-7
End of communications CQ CF 10-7
Mode change Mn OK 10-8
Error clear ER OK 10-8
Error No. confirmation ?E ddd 10-9
Model query ?K dd 10-10
Operation mode confirmation ?M f 10-10
Counter RD_Cnnn f,dddddddddd,dddddddddd 10-11
Continuous counters RDS_Cnnn_n f,dddddddddd,dddddddddd_f,dddddddddd,dddddddddd_‥ 10-11
High-speed counter RD_CTHn 0,dddddddddd,0000000000 10-13
Continuous high-speed counters RDS_CTHn_n 0,dddddddddd,0000000000_0,dddddddddd,0000000000_.. 10-14
High-speed counter comparator RD_CTCn f,dddddddddd,dddddddddd 10-15
Continuous high-speed counter RDS_CTCn_n f,dddddddddd,dddddddddd_f,dddddddddd,dddddddddd_ .. 10-15
comparators
SERIAL COMMUNICATIONS
Continuous timers RDS_Tnnn_n f,dddddddddd,dddddddddd_f,dddddddddd,dddddddddd_ .. 10-17
Digital trimmer value RD_ATn dddddddddd 10-19
Continuous digital trimmer values RDS_ATn_n dddddddddd_dddddddddd_. . . . 10-20
Relay/control RD_nnnnn f 10-21
Read
Relay contact
RD_CRnnnn
Relay/control RDS_nnnnn_n f_f_. . . . 10-22
Continuous relay contacts
RDS_CRnnnn_n
Data memory/ RD_DMnnnnn ddddd 10-23
control memory
RD_CMnnnn
Data memory/ RDS_DMnnnnn_n ddddd_ddddd_ . . . . 10-23
continuous control memory
RDS_CMnnnn_n
Temporary data memory RD_TMnnn ddddd 10-24
Continuous temporary data memory RDS_TMnnn_n ddddd_ddddd_. . . . 10-25
Comment RDC_dev* Device comment (32 characters) 10-26
* dev:nnnnn, CRnnnn,
DMnnnnn, CMnnnn,
TMnnn, Tnnn, Cnnn, CTHn,
CTCn
10-5
DMnnnnn, CMnnnn,
TMnnn, TCnnn, TSnnn,
CCnnn, CSnnn, CTHn,
CTCn, ATn
10-6
CR Start communications
This command is sent when starting communications with the KV-700.
Other commands can be sent when the response to the communications start
command is returned normally.
■ Command
C R C
R
43H 52H
■ Response
C C C L
R F
43H 43H
SERIAL COMMUNICATIONS
CQ End communications
This command ends serial communications with the KV-700.
■ Command
C Q C
R
43H 51H
■ Response
C F C L
R F
43H 46H
10-7
Mn Change mode
This command switches the CPU Unit to the PROGRAM mode or the RUN mode.
■ Command
Mode C
M No. R
4DH
Mode No.: When "0" is specified, the CPU Unit switches to the PROGRAM
mode.
When "1" is specified, the CPU Unit switches to the RUN mode.
■ Response
O K C L
R F
4FH 4BH
10
ER Clear error
SERIAL COMMUNICATIONS
This command cancels errors that are currently occurring on the CPU Unit.
■ Command
E R C
R
45H 52H
■ Response
O K C L
R F
4FH 4BH
10-8
■ Command
? E C
R
3FH 45H
■ Response
Error code C L
R F
Error code: The content of the error currently occurring on the CPU is
entered as an error No. (within three digits). If no errors are
occurring, the error code becomes "000".
If the command is not processed successfully, "E1" is entered.
For details on how to remedy errors, see "Appendices 2 Error Message Lists" (page
A-15).
10
SERIAL COMMUNICATIONS
10-9
?K Model query
This command investigates the model of the PLC.
■ Command
? K C
R
3FH 4BH
■ Response
Model C L
R F
10
■ Command
SERIAL COMMUNICATIONS
? M C
R
3FH 4DH
■ Response
Data CR LF
Data: The current mode of the CPU Unit is entered as a number. If the
CPU Unit is in the PROGRAM mode or the ladder is not
registered, "0" is entered. If the CPU Unit is in the RUN mode,
"1" is entered.
If the command is not processed successfully, "E1" is entered.
"Responses during an Error" page 10-51
10-10
■ Command
R D C Read No. C
R
52H 44H 20H 43H
■ Response
SERIAL COMMUNICATIONS
Data 3: The setting value (dddddddddd) of the counter specified by the
command is entered. The range of values is 0000000000 to
4294967295 (decimal).
■ Command
Read start No.: Specifies the start No. (nnn) of the counters whose contacts are
to be read. Specify the No. in the range 000 to 511.
Read count: Specifies how many data items from the counter are to be read
starting from the "Read start No.". The number of data items
that can be read is 1 to 8.
10-11
■ Response
Data
3n-2
, Data 3n-1 , Data 3n C
R
L
F
2CH 2CH
Data 1, 4, ..., 3n-2: The state (f) of the counter at "Read start No." specified by the
command is entered to data 1, and the state (f) of the next No.
counter at "Read start No." specified by the command is
entered to data 4. From here on, the state of counters is entered
in the same way in order from "Read start No." until the state (f)
of the counter for the "Number of reads" (nth) is read continu-
ously from "Read start No." specified by the command and is
output to data 3n-2. If the state of the counter contact is OFF,
"0" is entered, and "1" is entered if the state if ON.
Data 2, 5, ..., 3n-1: The current value (dddddddddd) of the counter at "Read start
No." specified by the command is entered to data 2, and the
current value (dddddddddd) of the next No. counter at "Read
start No." specified by the command is entered to data 5. From
here on, the current value of counters is entered in the same
10 way in order from "Read start No." until the current value
(dddddddddd) of the counter for the "Number of reads" (nth) is
read continuously from "Read start No." specified by the
SERIAL COMMUNICATIONS
Data 3, 6, ..., 3n: The setting value (dddddddddd) of the counter at "Read start
No." specified by the command is entered to data 3, and the
setting value (dddddddddd) of the next No. counter at "Read
start No." specified by the command is entered to data 6. From
here on, the setting value of counters is entered in the same
way in order from "Read start No." until the setting value
(dddddddddd) of the counter for the "Number of reads" (nth) is
read continuously from "Read start No." specified by the
command and is output to data 3n. The range of values is
0000000000 to 4294967295 (decimal).
10-12
■ Command
R D C T H Read C
No. R
52H 44H 20H 43H 54H 48H
Read No.: Specifies a No. (n) of the high-speed counter CTH whose
current value is to be read. Specify either the CTH0 and CTH1
as the No. of the high-speed counter.
■ Response
SERIAL COMMUNICATIONS
If the command is not processed successfully, "E0" or "E1" is
entered.
"Responses during an Error" page 10-51
10-13
■ Command
Read Read C
R D S C T H start No. count R
52H 44H 53H 20H 43H 54H 48H 20H
Read start No.: Specifies the start No. (n) of the high-speed counters CTH
whose current values are to be read. Specify 0 or 1 as the No.
Read count: Specifies how many data items from the counter are to be read
starting from the "Read start No.". The number of data items
that can be read is 1 or 2.
10
Data 1, 4: The value is fixed to "0" for both data 1 and data 4.
SERIAL COMMUNICATIONS
Data 3, 6: The value is fixed to "0000000000" for both data 3 and data 6.
10-14
■ Command
R D C T C Read C
No. R
52H 44H 20H 43H 54H 43H
Read No.: Specifies the No. (n) of the high-speed counter comparator
CTC whose setting value is to be read. Specify 0 or 3 as the No.
■ Response
SERIAL COMMUNICATIONS
by the command is entered. The range of values is 0000000000
to 4294967295 (decimal).
■ Command
Read Read C
R D S C T C start No. count R
52H 44H 53H 20H 43H 54H 43H 20H
Read start No.: Specifies the start No. (n) of the high-speed counter compara-
tors CTC whose setting values are to be read. Specify 0 or 3 as
the No.
Read count: Specifies how many data items from the high-speed counter
comparator are to be read starting from the "Read start No.".
The number of data items that can be read is 1 to 4.
10-15
■ Response
Data
3n-2 , Data 3n-1 , Data 3n C
R
L
F
2CH 2CH
Data 1, 4, ..., 3n-2: The state (f) of the high-speed counter comparator at "Read
start No." specified by the command is entered to data 1, and
the state (f) of the next No. high-speed counter comparator at
"Read start No." specified by the command is entered to data
4. From here on, the state of high-speed counter comparators
is entered in the same way in order from "Read start No." until
the state (f) of the high-speed counter comparator for the
"Number of reads" (nth) is read continuously from "Read start
No." specified by the command and is output to data 3n-2. If the
state of the high-speed counter comparator contact is OFF, "0"
is entered, and "1" is entered if the state if ON.
Data 2, 5, ..., 3n-1: The current value (dddddddddd) of the high-speed counter
Data 3, 6, ..., 3n: The setting value (dddddddddd) of the high-speed counter
comparator at "Read start No." specified by the command is
entered to data 3, and the setting value (dddddddddd) of the
next No. high-speed counter comparator at "Read start No."
specified by the command is entered to data 6. From here on,
the setting value of high-speed counter comparators is entered
in the same way in order from "Read start No." until the setting
value (dddddddddd) of the high-speed counter comparator for
the "Number of reads" (nth) is read continuously from "Read
start No." specified by the command and is output to data 3n.
The range of values is 0000000000 to 4294967295 (decimal).
10-16
■ Command
R D T Read No. C
R
52H 44H 20H 54H
Read No.: Specifies a No. (nnn) of the counter whose contact is to be read.
Specify the No. in the range 000 to 511.
■ Response
Data 1: The state (f) of the timer specified by the command is entered.
If the timer contact is OFF, "0" is entered, and "1" is entered if
the state is ON.
SERIAL COMMUNICATIONS
Data 3: The setting value (dddddddddd) of the timer specified by the
command is entered. The range of values is 0000000000 to
4294967295 (decimal).
■ Command
Read start No.: Specifies the start No. (nnn) of the timers whose contacts are
to be read. Specify the No. in the range 000 to 511.
Read count: Specifies how many data items from the timer are to be read
starting from the "Read start No.". The number of data items
that can be read is 1 or 8.
10-17
■ Response
Data
3n-2 , Data 3n-1 , Data 3n C
R
L
F
2CH 2CH
Data 1, 4, ..., 3n-2: The state (f) of the timer at "Read start No." specified by the
command is entered to data 1, and the state (f) of the next No.
timer at "Read start No." specified by the command is entered
to data 4. From here on, the state of timers is entered in the
same way in order from "Read start No." until the state (f) of the
timer for the "Number of reads" (nth) is read continuously from
"Read start No." specified by the command and is output to data
3n-2. If the state of the timer contact is OFF, "0" is entered, and
"1" is entered if the state if ON.
Data 2, 5, ..., 3n-1: The current value (dddddddddd) of the timer at "Read start No."
specified by the command is entered to data 2, and the current
value (dddddddddd) of the next No. timer at "Read start No."
specified by the command is entered to data 5. From here on,
10 the current value of timers is entered in the same way in order
from "Read start No." until the current value (dddddddddd) of
the timer for the "Number of reads" (nth) is read continuously
SERIAL COMMUNICATIONS
Data 3, 6, ..., 3n: The setting value (dddddddddd) of the timer at "Read start No."
specified by the command is entered to data 3, and the setting
value (dddddddddd) of the next No. timer at "Read start No."
specified by the command is entered to data 6. From here on,
the setting value of timers is entered in the same way in order
from "Read start No." until the setting value (dddddddddd) of
the timer for the "Number of reads" (nth) is read continuously
from "Read start No." specified by the command and is output
to data 3n. The range of values is 0000000000 to 4294967295
(decimal).
10-18
■ Command
R D A T Read C
No. R
52H 44H 20H 41H 54H
Read No.: Specifies a No. (ATn) of the digital trimmer whose value is to be
read. Specify the No. in the range 0 to 7.
■ Response
Data C L
R F
SERIAL COMMUNICATIONS
10-19
■ Command
Read
R D S A T start Read C
No. count R
52H 44H 53H 20H 41H 54H 20H
Read start No. Specifies the start No. (n) of the digital trimmers whose values
are to be read. Specify the No. in the range 0 to 7.
Read count Specifies how many data items from the digital trimmer are to
be read starting from the "Read start No.". The number of data
items that can be read is 1 or 8.
■ Response
Data 1 Data 2
20H 20H
Data n C L
R F
10 Data 1, 2 ...: The value (dddddddddd) of the digital trimmer at "Read start
No." specified by the command is entered to data 1, and the
SERIAL COMMUNICATIONS
10-20
■ Command
or
Read No.: Specifies a No. (nnnnn) of the relay or control relay whose
contact is to be read. Specify the relay No. in the range 00000
to 59915 or control relay No. in the range 0000 to 3915.
■ Response
Data CR LF
Data: The state (f) of the relay specified by the command is entered
at "data".
If the state of the relay contact is OFF, "0" is entered, and "1" is
10
entered if the state is ON.
SERIAL COMMUNICATIONS
If the command is not processed successfully, "E0" or "E1" is
entered.
"Responses during an Error" page 10-51
10-21
■ Command
Read C
R D S Read start No. count R
52H 44H 20H 20H
or
Read C
R D S C R Read start No. count R
52H 44H 20H 43H 52H 20H
Read start No. Specifies the start No. (nnnnn) of the relay or control relay
whose contact is to be read. Specify the relay No. in the range
00000 to 59915 or control relay No. in the range 0000 to 3915.
Read count Specifies how many data items are to be read starting from the
"Read start No.". The number of data items that can be read is
1 or 8.
10 ■ Response
20H 20H
Data 1, 2 ...: The state (f) of the relay at "Start read No." specified by the
command is entered at data 1, and the state (f) of the next No.
relay at "Read start No." specified by the command is entered
to data 2. From data 3 onwards, the state (f) of the relay of
corresponding Nos. is entered. If the state of each of the relay
is OFF, then "0" is entered, and "1" is entered if the state is "1".
If the command is not processed successfully, "E0" or "E1" is
entered.
"Responses during an Error" page 10-51
10-22
■ Command
R D D M Read No. C
R
52H 44H 20H 44H 4DH
or
R D C M Read No. C
R
52H 44H 20H 43H 4DH
Read No.: Specifies a No. (nnnnn) of the data memory or control memory
whose data is to be read. Specify the data memory No. in the
range 00000 to 19999 (39999 when memory is added on) or
control memory No. in the range 0000 to 3999.
■ Response
Data C L
R F
SERIAL COMMUNICATIONS
If the command is not processed successfully, "E0" or "E1" is
entered.
"Responses during an Error" page 10-51
■ Command
Read C
R D S D M Read start No. count R
52H 44H 53H 20H 44H 4DH 20H
or
Read C
R D S C M Read start No. count R
52H 44H 53H 20H 43H 4DH 20H
Read start No.: Specifies the start No. (nnnnn) of the data memory or control
memory whose data is to be read. Specify the data memory No.
in the range 00000 to 19999 (39999 when memory is added on)
or control memory No. in the range 0000 to 3999.
Read count: Specifies how many data items whose data is to be read
starting from the "Read start No.". The number of data items
that can be read is 1 or 8.
10-23
■ Response
Data 1, 2 ...: The data (ddddd) at "Start read No." specified by the command
is entered at data 1, and the data (ddddd) of the next No. relay
at "Read start No." specified by the command is entered to data
2. From data 3 onwards, the data (ddddd) of corresponding
Nos. is entered. Each of the data ranges is 00000 to 65535
(decimal).
If the command is not processed successfully, "E0" or "E1" is
entered.
"Responses during an Error" page 10-51
■ Command
R D T M Read No. C
R
52H 44H 20H 54H 4DH
10
Read No.: Specifies a No. (nnn) of the temporary data memory whose
SERIAL COMMUNICATIONS
■ Response
Data C L
R F
10-24
■ Command
Read start No.: Specifies the start No. (nnn) of temporary data memories
whose data is to be read. Specify the No. in the range 000 to
511.
Read count: Specifies how many data items whose data is to be read
starting from the "Read start No.". The number of data items
that can be read is 1 or 8.
■ Response
Data 1, 2 ...: The data (ddddd) at "Start read No." specified by the command
is entered at data 1, and the data (ddddd) of the next No. relay 10
at "Read start No." specified by the command is entered to data
SERIAL COMMUNICATIONS
2. From data 3 onwards, the data (ddddd) of corresponding
Nos. is entered. Each of the data ranges is 00000 to 65535
(decimal).
If the command is not processed successfully, "E0" or "E1" is
entered.
"Responses during an Error" page 10-51
10-25
■ Command
R D C Device name C
R
52H 44H 43H 20H
Data C L
R F
10-26
■ Command
■ Response
C L
10
O K R F
4FH 4BH
SERIAL COMMUNICATIONS
OK: When the command is processed successfully, "OK" the code
indicating this is entered.
If the command is not processed successfully, "E0" or "E1" is
entered.
"Responses during an Error" page 10-51
10-27
■ Command
■ Response
O K C L
R F
4FH 4BH
10-28
■ Command
M B R C
R
4DH 42H 52H
■ Response
Data 1, 2 ...: The monitor result of the devices currently registered to the bit
device registration table is entered. The monitor result is in the
same format as the response when a bit device such as a relay
is specified by the RDS command.
If the command is not processed successfully, "E0" or "E1" is
entered.
"Responses during an Error" page 10-51
SERIAL COMMUNICATIONS
■ Command
M W R C
R
4DH 57H 52H
■ Response
Data 1, 2 ...: The monitor result of the devices currently registered to the
word device registration table is entered. The monitor result is
in the same format as the response when a word device or
double-word device such as a data memory is specified by the
RDS command.
If the command is not processed successfully, "E0" or "E1" is
entered.
"Responses during an Error" page 10-51
10-29
■ Command
Write No.: Specifies the No. (nnn) of the counter whose current value is to
be written. Specify the No. in the range 000 to 511.
■ Response
O K C L
R F
4FH 4BH
■ Command
Write
W R S C Write start No. count Data 1
57H 52H 53H 20H 54H 20H 20H 20H
Data 2 Data n C
R
20H
Write start No.: Specifies the start No. (nnn) of the counter whose current value
is to be written. Specify the No. in the range 000 to 511.
Data 1, 2 ...: Specifies the current value (dddddddddd) to write to the counter
specified by the "Write start No." to data 1, and specifies the
current value (dddddddddd) to write to the next No. counter at
"Write start No." to data 2. From data 3 onwards, the current
value (dddddddddd) to write to the corresponding No. is speci-
fied. The data range is 0000000000 to 4294967295 (decimal).
10-30
■ Response
O K C L
R F
4FH 4BH
■ Command
Write No.: Specifies the No. (nnn) of the counter whose setting value is to
be written. Specify the No. in the range 000 to 511. 10
SERIAL COMMUNICATIONS
Data: Specifies the setting value (dddddddddd) to be written to the
counter specified by "Write No.". The range of values is
0000000000 to 4294967295 (decimal).
■ Response
O K C L
R F
4FH 4BH
10-31
■ Command
Write
W S S C Write start No. count Data 1
57H 53H 53H 20H 43H 20H 20H 20H
Data 2 Data n C
R
20H
Write start No.: Specifies the start No. (nnn) of the counter whose setting value
is to be written. Specify the No. in the range 000 to 511.
Data 1, 2 ...: Specifies the setting value (dddddddddd) to write to the counter
specified by the "Write start No." to data 1, and specifies the
setting value (dddddddddd) to write to the next No. counter at
10 "Write start No." to data 2. From data 3 onwards, the setting
value (dddddddddd) to write to the corresponding No. is speci-
fied. The data range is 0000000000 to 4294967295 (decimal).
SERIAL COMMUNICATIONS
■ Response
O K C L
R F
4FH 4BH
10-32
■ Command
Forced change No.: Specifies the No. (nnn) of the counter whose contact is to be
forcibly turned ON. Specify the No. in the range 000 to 511.
■ Response
O K C L
R F
4FH 4BH
SERIAL COMMUNICATIONS
RS_C Write counter contact reset
This command forcibly turns counter contacts OFF, and sets counter current values
to "0".
■ Command
Forced change No.: Specifies the No. (nnn) of the counter whose contact is to be
forcibly turned OFF. Specify the No. in the range 000 to 511.
■ Response
O K C L
R F
4FH 4BH
10-33
■ Command
W R C T H Write
Data C
No. R
57H 52H 20H 43H 54H 48H 20H
Write No.: Specifies the No. (n) of the high-speed counter CTH to write the
current value to. Specify 0 or 1 as the No.
■ Response
O K C L
R F
4FH 4BH
■ Command
Write Write
W R S C T H start No. count Data 1
57H 52H 53H 20H 43H 54H 48H 20H 20H 20H
Data 2 C
R
Write start No.: Specifies the start No. (n) of the high-speed counters CTH to
write the current value to. Specify 0 or 1 as the No.
10-34
Data 1, 2 ...: Specifies the current value (dddddddddd) to write to the high-
speed counter specified by the "Write start No." to data 1, and
specifies the current value (dddddddddd) to write to the next
No. high-speed counter at "Write start No." to data 2. The data
range is 0000000000 to 4294967295 (decimal). When the
"Write count" is set to "1", data 2 is not required.
■ Response
O K C L
R F
4FH 4BH
■ Command
10
W S C T C Write
Data C
No. R
SERIAL COMMUNICATIONS
57H 53H 20H 43H 54H 43H 20H
Write No.: Specifies the No. (n) of the high-speed counter CTC to write the
setting value to. Specify 0 to 3 as the No.
■ Response
O K C L
R F
4FH 4BH
10-35
■ Command
Write Write
W S S C T C start No. count Data 1
57H 53H 53H 20H 43H 54H 43H 20H 20H 20H
Data 2 Data n C
R
20H
Write start No.: Specifies the start No. (n) of the high-speed counter compara-
tors CTC to write the setting value to. Specify 0 to 3 as the No.
Data 1, 2 ...: Specifies the setting value (dddddddddd) to write to the high-
speed counter comparator specified by the "Write start No." to
data 1, and specifies the setting value (dddddddddd) to write to
10 the next No. high-speed counter comparator at "Write start No."
to data 2. From data 3 onwards, the setting value (dddddddddd)
to write to the corresponding No. is specified. The data range
SERIAL COMMUNICATIONS
■ Response
O K C L
R F
4FH 4BH
10-36
■ Command
Forced
R S C T C change C
No. R
52H 53H 20H 43H 54H 43H
Forced change No.: Specifies the No. (n) of the high-speed counter comparator
CTC whose contact is to be forcibly turned OFF. Specify 0
or 3 as the No.
■ Response
O K C L
R F
4FH 4BH
SERIAL COMMUNICATIONS
10-37
■ Command
Write No.: Specifies the No. (nnn) of the timer whose current value is to be
written. Specify the No. in the range 000 to 511.
■ Response
O K C L
R F
4FH 4BH
■ Command
Write
W R S T Write start No count Data 1
57H 52H 53H 20H 43H 20H 20H 20H
Data 2 Data n C
R
20H
Write start No.: Specifies the start No. (nnn) of the timer whose current value is
to be written. Specify the No. in the range 000 to 511.
Write count: Specifies how many timers data is to be written to starting from
the "Write start No.". The number of data items that can be
written is 1 to 8.
10-38
Data 1, 2 ...: Specifies the current value (dddddddddd) to write to the timer
specified by the "Write start No." to data 1, and specifies the
current value (dddddddddd) to write to the next No. timer at
"Write start No." to data 2. From data 3 onwards, the current
value (dddddddddd) to write to the corresponding No. is speci-
fied. The data range is 0000000000 to 4294967295 (decimal).
■ Response
O K C L
R F
4FH 4BH
■ Command
10
W S T Write No. Data C
R
SERIAL COMMUNICATIONS
57H 53H 20H 54H 20H
Write No.: Specifies the No. (nnn) of the timer whose setting value is to be
written. Specify the No. in the range 000 to 511.
■ Response
O K C L
R F
4FH 4BH
10-39
■ Command
Write
W S S T Write start No. count Data 1
57H 53H 53H 20H 54H 20H 20H 20H
Data 2 Data n C
R
20H
Write start No.: Specifies the start No. (nnn) of the timer whose setting value is
to be written. Specify the No. in the range 000 to 511.
Write count: Specifies how many timers data is to be written to starting from
the "Write start No.". The number of data items that can be
written is 1 to 8.
Data 1, 2 ...: Specifies the setting value (dddddddddd) to write to the timer
specified by the "Write start No." to data 1, and specifies the
setting value (dddddddddd) to write to the next No. timer at
"Write start No." to data 2. From data 3 onwards, the setting
10 value (dddddddddd) to write to the corresponding No. is speci-
fied. The data range is 0000000000 to 4294967295 (decimal).
SERIAL COMMUNICATIONS
■ Response
O K C L
R F
4FH 4BH
10-40
■ Command
Forced change No.: Specifies the No. (nnn) of the timer whose contact is to be
forcibly turned ON. Specify the No. in the range 000 to 511.
■ Response
O K C L
R F
4FH 4BH
10
RS_T Write timer contact reset
SERIAL COMMUNICATIONS
This command forcibly turns timer contacts OFF, and also sets the timer current value
to the same value as the setting value.
■ Command
Forced change No.: Specifies the No. (nnn) of the timer whose contact is to be
forcibly turned OFF. Specify the No. in the range 000 to 511.
■ Response
O K C L
R F
4FH 4BH
10-41
■ Command
Forced change No.: Specifies the No. (nnn) of the relay whose contact is to be
forcibly turned ON. Specify the No. in the range 00000 to
59915.
■ Response
O K C L
R F
4FH 4BH
■ Command
Change C
S T S Forced change start No. count R
53H 54H 53H 20H 20H
Forced change start No.: Specifies the start No. (nnnnn) of the relays whose
contacts are to be forcibly turned ON. Specify the No. in
the range 00000 to 59915.
■ Response
O K C L
R F
4FH 4BH
10-42
■ Command
Forced change No.: Specifies the No. (nnn) of the relay whose contact is to be
forcibly turned OFF. Specify the No. in the range 00000 to
59915.
■ Response
O K C L
R F
4FH 4BH
SERIAL COMMUNICATIONS
RSS Write continuous relay contact resets
This command forcibly turns a specified number of relay contacts OFF.
■ Command
Change C
R S S Forced change start No. count R
52H 53H 53H 20H 20H
Forced change start No.: Specifies the start No. (nnnnn) of the relays whose
contacts are to be forcibly turned OFF. Specify the No.
in the range 00000 to 59915.
■ Response
O K C L
R F
4FH 4BH
10-43
■ Command
Forced change No.: Specifies the No. (nnnn) of the control relay whose contact
is to be forcibly turned ON. Specify the No. in the range 0000
to 3915.
■ Response
O K C L
R F
4FH 4BH
■ Command
Change C
S T S C R Forced change start No. count R
53H 54H 53H 20H 43H 52H 20H
Forced change start No.: Specifies the start No. (nnnn) of the control relays whose
contacts are to be forcibly turned ON. Specify the No. in
the range 0000 to 3915.
■ Response
O K C L
R F
4FH 4BH
10-44
■ Command
Forced change No.: Specifies the No. (nnnn) of the control relay whose contact
is to be forcibly turned OFF. Specify the No. in the range
0000 to 3915.
■ Response
O K C L
R F
4FH 4BH
SERIAL COMMUNICATIONS
RSS_CR Write continuous control relay contact resets
This command forcibly turns a specified number of control relay contacts OFF.
■ Command
Change C
R S S C R Forced change start No. count R
53H 54H 53H 20H 43H 52H 20H
Forced change start No.: Specifies the start No. (nnnn) of the control relays whose
contacts are to be forcibly turned OFF. Specify the No.
in the range 0000 to 3915.
■ Response
O K C L
R F
4FH 4BH
10-45
■ Command
or
Write No.: Specifies a No. (nnnnn) of the data memory or control memory
to which data is to be written. Specify the data memory No. in
the range 00000 to 19999 (39999 when memory is added on)
or control memory No. in the range 0000 to 3999.
10 ■ Response
SERIAL COMMUNICATIONS
O K C L
R F
4FH 4BH
10-46
■ Command
Write
W R S D M Write start No. count Data 1
57H 52H 53H 20H 44H 4DH 20H 20H 20H
Data 2 Data n C
R
20H
or
Write
W R S C M Write start No. count Data 1
57H 52H 53H 20H 43H 4DH 20H 20H 20H
Data 2 Data n C
R
20H
Write start No.: Specifies the start No. (nnnnn) of the data memory or control
memory to which data is to be written. Specify the data memory
No. in the range 00000 to 19999 (39999 when memory is added
on) or control memory No. in the range 0000 to 3999.
Write count: Specifies how many data items are to be written to starting from 10
the "Write start No.". The number of data items that can be
SERIAL COMMUNICATIONS
written is 1 to 8.
Data 1, 2 ...: Specifies the data (ddddd) to write to the data memory or
control memory specified by the "Write start No." to data 1, and
specifies the data (ddddd) to write to the next No. data memory
or control memory at "Write start No." to data 2. From data 3
onwards, the data (ddddd) to write to the corresponding No. is
specified. The data range is 00000 to 65535 (decimal).
■ Response
O K C L
R F
4FH 4BH
10-47
■ Command
Write No.: Specifies the No. (nnn) of the temporary data memory to write
data to. Specify the No. in the range 000 to 511.
■ Response
O K C L
R F
4FH 4BH
10-48
■ Command
Write
W R S T M Write start No. count Data 1
57H 52H 53H 20H 54H 4DH 20H 20H 20H
Data 2 Data n C
R
20H
Write start No. Specifies the start No. (nnn) of the temporary data memory to
write data to. Specify the No. in the range 000 to 511.
Data 1, 2 ...: Specifies the data (ddddd) to write to the temporary data
memory specified by the "Write start No." to data 1, and
specifies the data (ddddd) to write to the next No. temporary
data memory at "Write start No." to data 2. From data 3
onwards, the data (ddddd) to write to the corresponding No. is
specified. The data range is 00000 to 65535 (decimal).
10
SERIAL COMMUNICATIONS
■ Response
O K C L
R F
4FH 4BH
10-49
■ Command
Data 1: Enter the lower two digits of the year according to the Western
calendar. "00" is the year 2000. Enter a value in the range 0 to
99.
Data 2: Enter two digits for the month within the range 01 to 12.
Data 3: Enter two digits for the day within the range 01 to 31.
Data 4: Enter two digits for the hour within the range 00 to 23.
Data 5: Enter two digits for the minute within the range 00 to 59.
Data 6: Enter two digits for the second within the range 00 to 59.
Data 7: Enter one digit for the day of the week. The table below shows
the correspondence between day of the week and input value.
Input a value within the range 0 to 6.
Input value 0 1 2 3 4 5 6
10 Day of the week Sun Mon Tues Wed Thurs Fri Sat
SERIAL COMMUNICATIONS
■ Response
O K C L
R F
4FH 4BH
10-50
SERIAL COMMUNICATIONS
E5 Unit error • The "M1 (switch to RUN mode)" was • Cancel the error on the KV-700, elimi-
sent without the error on the KV-700 nate the cause of the error, and then re-
canceled. send the command.
E6 No comment • Comments are not registered to the • If necessary, register the comment to the
device selected by the "Read comment device.
RDC" command.
10-51
10 STX Text data (99 bytes or less, or 198 bytes or less) ETX
SERIAL COMMUNICATIONS
Leading CM1000 Leading CM+1 Leading CM+2 Leading CM+3 Leading CM+99
Data memory (Number of data bytes)
15 00
Data memory
bits 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1
10-52
When CR2805 is ON
"00" is written to the upper eight bits of the data memory, and text data is written to the
lower eight bits in ASCII code.
When CR2085 is ON, text data is stored 2 bytes at a time to a single control memory.
Leading CM1000 Leading CM+1 Leading CM+2 Leading CM+3 Leading CM+99
Data memory (Number of data bytes)
15 00
Data memory
bits 0 0 1 1 0 0 1 0 0 0 1 1 0 0 0 1
Relay No.
CR2801
Description
On for one scan only when text data is received
10
SERIAL COMMUNICATIONS
CR2802 On for one scan only when text data is received while CR2801 is
ON or CR2803 is ON
CR2803 On for one scan only when a text data receive error has oc-
curred
Note: • To establish serial communications without turning the KV-700 OFF after
communications is established between KV-700 and KV BUILDER, the
Break signal must be sent again.
• When the Break signal cannot be sent to the PC, the communications
program can be initialized by turning the KV-700 OFF then back ON again.
Try establishing communications again.
• Allow at least 10 ms after sending the Break signal before you start
communications.
• If an ETX is found in the read data of the text data, the data preceding the
ETX is transferred to data memory. Data following ETX is not captured.
• If a parity error occurs during text data reception, that text data will not be
transferred to data memory, and control relays CR2082 and CR2083 turn
ON for one scan only.
10-53
15 00
Data memory
bits 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1
Data memory Leading CM1000 Leading CM+1 Leading CM+2 Leading CM+3 Leading CM+99
Number of data bytes
When CR2806 is ON
Write "00" to the upper eight bits of the control memory, and write text data to the lower
eight bits in ASCII code.
15 00
Data memory
bits 0 0 1 1 0 0 1 0 0 0 1 1 0 0 0 1
Data memory Leading CM1000 Leading CM+1 Leading CM+2 Leading CM+3 Leading CM+99
Number of data bytes
10-54
Note: • To establish serial communications without turning the KV-700 OFF after
communications is established between KV-700 and KV BUILDER, the
Break signal must be sent again.
• When the Break signal cannot be sent to the PC, the communications
program can be initialized by turning the KV-700 OFF then back ON again.
Try establishing communications again.
• Allow at least 10 ms after sending the Break signal before you start
communications.
SERIAL COMMUNICATIONS
The communications program on the KV-700 itself is initialized after the Break
signal is sent.
CR2800 #10
0003 T000
0008
0014
END
0015
ENDH
0016
0017
10-55
10
SERIAL COMMUNICATIONS
10-56
VARIOUS FUNCTIONS
11-5 Direct Clock Pulse Output ............................................... 11-7
11-1
When this function is used, a wait is caused by END processing to keep the scan time
at a fixed value. When the scan time is longer than the preset time, the scan time
changes. Always set the time after having actually measured the scan time to confirm
the time of the program to be executed.
When the scan time exceeds the setting value, CR2304 turns ON, and the scan time
is stored to CM0722. (1 msec units)
Note: • Be sure to set a value larger than the measured scan time (stored to
CM0720). The value is stored to CM0720 in 0.1 msec units.
• When the power is turned ON or at a reset, the content of CM0721 is
cleared. When fixed scan time operation is used, set the value of CM0721
in the program.
11-2
■ Method of use
Inhibit/enable inputs by the content set to CR2301.
Control relay Details of Operation
CR2301 ON: Inhibits input refresh processing in END processing.
The content of the input relay is not updated.
OFF: Enables input refresh processing in END processing.
The content of the input relay is updated according to the
state of the input signal.
VARIOUS FUNCTIONS
■ Method of use
Inhibit/enable outputs by the content set to CR2300.
Control relay Details of Operation
CR2300 ON: Inhibit output processing in END processing.
OFF: Enables output processing in END processing.
The content of output coils is output for the output.
Note: Positioning pulse output, arbitrary frequency output, and direct clock pulse
output cannot be inhibited even if CR2300 is set to ON.
The access window and the I/O indicator LED turn ON/OFF.
11-3
■ How to change the input time constant of the KV-700 CPU Unit
The input time constant of the KV-700 can be switched by setting control relay
CR2305 and control memory CM1620.
Normally, the input time constant is 10 ms. However, it can be changed to a value
batch-set in CM1620 when control relay CR2305 is turned ON.
11 3
4
1 ms
2.5 ms
VARIOUS FUNCTIONS
5 5 ms
6 10 ms
7 or more Do not set this value.
Note, however, that when the HSP instruction and control relay CR2305 are used
simultaneously, the HSP instruction is given priority, and the specified relay cannot
be changed to the value set at CM1620.
Control relay CR2305
OFF: Sets the input time constant to 10 ms.
ON: References the value entered at CM1620 to determine the time constant.
Note: The input time constant is set after one scan has ended. Accordingly,
specified details are enabled from the next scan onwards.
■ How to change the input time constant of the Expansion Input Unit
Change the input time constant of the Expansion Input Unit on the Unit Editor.
For details on how to set on Unit Editor, refer to the "KV BUILDER User's Manual."
For details on access window operations, see "Chapter 2 Access Window."
11-4
Latch Function
The state of data memories or relays can be held in the event of a power interruption.
Set the latch function by the MEMSW instruction. ( Refer to the Instruction Refer-
ence Manual.)
MEMSW0
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 MEMSW0
$1120
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SW1
SW2
SW3
SW4
VARIOUS FUNCTIONS
1 program
SW1
2 Reserved for system – –
3 Counter, CTH and CTC values Clear Hold
Set digital trimmer upper limit
0 value Enabled Disabled
SW2 1 Reserved for system – –
2 Reserved for system – –
3 Reserved for system – –
DM00000 to DM09999 at power
0 ON Clear Hold
1 DM10000 to DM19999 at power Clear Hold
SW3 ON
DM20000 to DM29999 at power
2 ON Clear Hold
DM30000 to DM39999 at power
3
ON Clear Hold
0 Reserved for system – –
SW4 1 Reserved for system – –
2 Reserved for system – –
3 Reserved for system – –
11-5
MEMSW1
3 2 1 0 3 2 1 0 3 2 1 0 3 2 1 0 MEMSW0
$3210
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SW1
SW2
SW3
SW4
11 Note: Set holding of relays set by MEMSW1 only to internal auxiliary relays.
Do not set this function to I/O Units and special units (units other than I/O
VARIOUS FUNCTIONS
Units). When this function is set to I/O relays, the relays do not hold the
content of devices. When this function is set to relays assigned to special
units, the program may not function normally. In the case of programs that
detect the up edge of relays at the first scan after operation is started, the up
edge may not be able to be detected and the unit may not operate if that relay
is held.
[Example]
11-6
The cycle (frequency) of the clock pulse that can be set can be changed as desired
within the following ranges by the program.
For the pulse output, the internal clock pulse is counted by the high-speed counter
(CTH). Each time that the current value becomes equal to the setting value of high-
speed counter comparator (CTC), the ON/OFF states of output relays 00500 and 11
00501 changes to generate a pulse.
VARIOUS FUNCTIONS
Count value
CTC
ON ON
Note: • The ON/OFF states of output relays 00500 and 00501 is determined by the
settings of the control relays.
• For details on how to set control relays, read "Outline of High-speed
Counters " ( page 6-2).
• Output at start of direct clock pulse output always starts from an OFF state.
• During direct clock pulse output, ootput relays 00500 and 00501 cannot be
used by the regular program.
11-7
OFF Pulse
width
Pulse cycle
Pulse width (µs) = CTC0 setting value x internal clock cycle (µs)
Pulse cycle (µs) = CTC0 setting value x 2 x internal clock cycle (µs)
OFF Pulse
width
Pulse cycle
Pulse width (µs) = CTC1 setting value x internal clock cycle (µs)
Pulse cycle (µs) = CTC0 setting value x internal clock cycle (µs)
• The pulse width can be varied by varying the setting value of CTC1.
• The pulse cycle can be varied by varying the setting value of CTC0.
Note: The pulse width determined above becomes the pulse width that is output
internally on the KV-700.
Actually, the pulse is output after passing through the output circuit. So, the
pulse width fluctuates due to the response delay or the influence of the
connected load. Set the pulse width after having measured the actual output
waveform by an oscilloscope in advance. (Use a pulse of variable pulse
width.)
11-8
■ Pulse cycle
Pulse cycle (µs) = 1000000 ÷ frequency (Hz)
ON
OFF Pulse
width
Pulse cycle
ON
OFF Pulse
width
Pulse cycle
CTC setting value for pulse width = Pulse width (µs) ÷ internal clock (µs)
11
VARIOUS FUNCTIONS
CTC setting value for pulse cycle = Pulse cycle (µs) ÷ internal clock (µs)
Note: • When CR2100 and CR2200 are set as the operands of the high-speed
counter (CTH), set the setting value of CTC to five or more. When the setting
value is set to a value smaller than five, the clock pulse will not be output
correctly.
• The pulse width changes according to the load that is connected. Set the
pulse width after having measured the actual output waveform by an
oscilloscope in advance.
• When CTC0 and CTC1, or CTC2 and CTC3 are used to generate the clock
pulse, do not set the setting values of CTC0 and CTC1 or CTC2 and CTC3
to the same value.
11-9
11 • The SET, RES or STA instructions are used to turn CR2103 to CR2112 ON/OFF.
• Control of 00500 is enabled by turning CR2104 and CR2108 OFF.
VARIOUS FUNCTIONS
• To vary the pulse cycle, be sure to set CR2103 or CR2112 ON, and automatically clear the current value
of CTH0. The pulse cycle cannot be changed unless CR2103 or CR2112 are turned ON.
• The clock pulse can be output or stopped by turning CR2105 ON/OFF.
Note: When multiple relays are turned ON each within the ranges CR2104 to CR2107 and CR2108 to CR2111,
the relay having the smallest No. is given priority.
CTC0 CTC0
CTC1
ON ON ON ON ON ON
11-10
High-speed Control
Counter Relays Operation when CTH1 (current value) = CTC (setting value)
Comparator
CTC2 CR2203 Automatic clear of CTH1 current value ON: Execute OFF: Do not execute
CR2204 Inhibit control of 00501. ON: Inhibit OFF: Enable
CR2205 Turn direct output of 00501 OFF. ON: Execute OFF: Do not execute
CR2206 Turn direct output of 00501 ON. ON: Execute OFF: Do not execute
CR2207 Invert 00501 output ON/OFF. ON: Execute OFF: Do not execute
CTC3 CR2208 Inhibit control of 00501. ON: Inhibit OFF: Enable
CR2209 Turn direct output of 00501 OFF. ON: Execute OFF: Do not execute
CR2210 Turn direct output of 00501 ON. ON: Execute OFF: Do not execute
CR2211 Invert 00501 output ON/OFF. ON: Execute OFF: Do not execute
CR2212 Automatic clear of CTH1 current value ON: Execute OFF: Do not execute
VARIOUS FUNCTIONS
• The clock pulse can be output or stopped by turning CR2205 ON/OFF.
Note: When multiple relays are turned on each within the control relay ranges CR2204 to CR2207 and CR2208
to CR2211, the relay having the smallest No. is given priority.
ON ON ON ON ON ON
11-11
Example of Direct Clock Pulse Output (output example of ON/OFF ratio 1:1)
To output a clock pulse of cycle 1 ms (1 kHz) from output 00500
The following describes an example of a program for outputting a clock pulse of pulse
ON/OFF ratio 1:1 from output 00500 using high-speed counter (CTH0) and high-speed
counter comparator (CTC0).
■ Program example
CR2008 CR2103 CR2104 CR2105 CR2106 CR2107 CTH0 • Set the pulse output to output 00500 by
00001 SET RES RES RES SET RES
CR2104 to CR2107.
CR2002 CTH0
00002 CR2101 In the example, set so that direct output to
#00050 00500 is enabled (CR2104: OFF), and out-
00003 CTC0 put to 00500 is reversed (CR2107: ON)
each time that CTH0=CTC0.
• Set CR2103 to ON, and specify clearing of
CTH0 by CTC0.
Count value
By this setting, clearing of the current value
CTC0 of CTH0 by the value set at CTC0 is re-
peated.
Note: When high-speed counter enable input is used for starting and stopping clock
pulse output, the response is delayed by a maximum of one scan when clock
pulse output is started.
11-12
■ One-point advice
When controlling (enabling/disabling) clock pulse output by external inputs, control
output by CR2105 ON/OFF.
CR2105 ON/OFF is executed by the SET, RES or KEEP instructions.
Accordingly, clock pulse output always starts from "OFF" and ends at "OFF".
When the program in either of the figures below is added to the example on the
previous page, the clock pulse is output from 00500 only when 00000 is "ON".
11
VARIOUS FUNCTIONS
11-13
11
■ Program example
VARIOUS FUNCTIONS
CR2008 CR2203 CR2204 CR2205 CR2206 CR2207 CTH1 • Set the pulse output to output 00501 from
00001 SET RES RES RES SET RES CR2204 to CR2207.
CR2002 CTH1
00002 CR2201
In the example, set so that direct output to
00501 is enabled (CR2204: OFF), and out-
#00050
00003 CTC2 put of 00501 is reversed (CR2207: ON)
each time that CTH1=CTC2.
• Set CR2203 to ON, and specify clearing of
CTH1 by CTC2.
Count value
By this setting, clearing of the current value
CTC2 of CTH1 by the value set at CTC2 is re-
peated.
• The current value of CTH1 (RES CTH1
ON ON
section of program) is cleared at the start of
operation.
By this setting, the pulse width of the clock
pulse is output correctly from the 1st pulse.
• The enable input relay of CTH1 is always
used at ON during clock pulse output.
Note: When high-speed counter enable input is used for starting and stopping clock
pulse output, the response is delayed by a maximum of one scan when clock
pulse output is started.
11-14
■ One-point advice
When controlling (enabling/disabling) clock pulse output by external inputs, control
output by CR2205 ON/OFF.
CR2205 ON/OFF is executed by the SET, RES or KEEP instructions.
Accordingly, clock pulse output always starts from "OFF" and ends at "OFF".
When the program in either of the figures below is added to the example on the
previous page, the clock pulse is output from 00501 only when 00000 is "ON".
11
VARIOUS FUNCTIONS
11-15
In the above equation, substitute pulse width=200 µs, pulse cycle=500 µs and
11 internal clock=10 µs (CR2101) in the calculation to calculate the setting values of
CTC0 and CTC1.
VARIOUS FUNCTIONS
The setting value of CTC1 becomes "20" and the setting value of CTC0 becomes
"50".
Refer to the table on the right for values calculated by other internal clocks.
Control relay Internal Clock CTC0 Value CTC1 Value
CR2100 1.0 µs 500 200
CR2101 10.0 µs 50 20
CR2102 100.0 µs 5 2
■ Program example
CR2008 CR2103 CR2104 CR2105 CR2106 CR2107 • Set the pulse output to output 00500 by
00001 SET RES RES SET RES
CR2104 to CR2107 and CR2108 to
CR2108 CR2109 CR2110 CR2111 CR2112 CTH0 CR2111.
00002 RES SET RES RES RES RES
ON ON ON ON
11-16
Note: • When high-speed counter enable input is used for starting and stopping
clock pulse output, the response is delayed by a maximum of one scan
when clock pulse output is started.
• Refer to "One-point advice" below for details on starting and stopping clock
pulse output.
■ One-point advice
When controlling (enabling/disabling) clock pulse output by external inputs, control
output by CR2105 ON/OFF.
CR2105 ON/OFF is executed by the SET, RES or KEEP instructions.
Accordingly, clock pulse output always starts from "OFF" and ends at "OFF".
When the program in either of the figures below is added to the example on the
previous page, the clock pulse is output from 00501 only when 00000 is "ON".
• The cycle (frequency) of the clock pulse can be varied by using the STA
instruction to rewrite the setting value of high-speed counter comparator CTC0.
For details on varying the clock pulse cycle, read "Setting Pulse Output by
High-speed Counter Comparator" (page 11-8).
11
VARIOUS FUNCTIONS
11-17
To output a pulse of cycle 500 µs (2 kHz) and pulse width 200 µs from output 00501
The following describes an example of a program for outputting a clock pulse for
varying the pulse width from output 00501 using high-speed counter (CTH1) and high-
speed counter comparators (CTC2, CTC3).
In the above equation, substitute pulse width=200 µs, pulse cycle=500 µs and
internal clock=10 µs (CR2201) in the calculation to calculate the setting values of
CTC2 and CTC3.
11 The setting value of CTC3 becomes "20" and the setting value of CTC2 becomes
"50".
VARIOUS FUNCTIONS
Refer to the table on the right for values calculated by other internal clocks.
Control relay Internal Clock CTC2 Value CTC3 Value
CR2200 1.0 µs 500 200
CR2201 10.0 µs 50 20
CR2202 100.0 µs 5 2
■ Program example
CR2008 CR2203 CR2204 CR2205 CR2206 CR2207 • Set the pulse output to output 00501 from
00001 SET RES RES SET RES
CR2204 to CR2207 and CR2208 to
CR2208 CR2209 CR2210 CR2211 CR2212 CTH1 CR2211.
00002 RES SET RES RES RES RES
ON ON ON ON
11-18
Note: When high-speed counter enable input is used for starting and stopping clock
pulse output, the response is delayed by a maximum of one scan when clock
pulse output is started.
■ One-point advice
When controlling (enabling/disabling) clock pulse output by external inputs, control
output by CR2205 ON/OFF.
CR2205 ON/OFF is executed by the SET, RES or KEEP instructions.
Accordingly, clock pulse output always starts from "OFF" and ends at "OFF".
When the program in either of the figures below is added to the example on the
previous page, the clock pulse is output from 00501 only when 00000 is "ON".
• The cycle (frequency) of the clock pulse can be varied by using the STA
instruction to rewrite the setting value of high-speed counter comparator CTC2.
11
VARIOUS FUNCTIONS
11-19
The following table shows the internal clock and CTC0, CTC1 setting values.
Control relay Internal Clock CTC0 Value CTC1 Value
CR2100 1.0 µs 500 200
CR2101 10.0 µs 50 20
CR2102 100.0 µs 5 2
■ Program example
CR2008 CR2103 CR2104 CR2105 CR2106 CR2107 • Set the pulse output to output 00500 by
00001 EI SET RES SET SET RES
CR2104 to CR2107 and CR2108 to
11
CR2108 CR2109 CR2110 CR2111 CR2112 CR2111.
00002 RES SET RES RES RES
In the example, set so that direct output to
CR2203 CTH0 CTH1 00500 is enabled (CR2104: OFF), and out-
00003 SET RES RES
put to 00500 is turned ON by CTC0
VARIOUS FUNCTIONS
00000 01000 01000 CR2105 (CR2106: ON) and OFF by CTC1 (CR2109:
00004 DIFU RES
ON).
CR2002 CTH0
00005 • Set CR2103 to ON, and specify clearing of
CR2101
CTH0 by CTC0.
#00050
00006 CTC0 By this setting, the pulse width of the clock
pulse is output correctly from the 1st pulse.
#00020
00007 CTC1 • Enable interrupts by the EI instruction.
Clock pulse output is stopped by the inter-
CR2002 CTH1
00008 00500 rupt program (INT CTC2) when the current
value of high-speed counter CTH1 becomes
#10000
00009 CTC2 equal to the setting value of high-speed
END
comparator CTC2.
00010 • Set CR2203 to ON, and specify clearing of
INT CTH1 by CTC2.
00011 CTC2 By this setting, repeated operation can be
CR2002 CR2105 performed at the specified pulse (10,000).
00012 SET • The enable input relay of CTH0 is always
RETI used at ON during clock pulse output.
00013 • The enable input relay of CTH1 is always
ENDH used at ON during clock pulse counting.
00014
• Specify the internal clock (CR2101) for
clock input of high-speed counter CTH0,
and specify 00500 for clock input of high-
speed counter CTH1.
By this setting, CTH0 is used for clock pulse
output, and CTH1 is used for clock pulse
counting.
• Set the number of clock pulses by the
setting value of high-speed counter com-
parator CTC2.
• Clock pulse output is started by input 00000
turning ON.
To restart clock pulse output after it has
stopped, turn input 00000 ON again.
11-20
■ One-point advice
ON/OFF of CR2103 to CR2111 can also be set by the LDA and STA instructions
in addition to the Set and RES instructions.
The figure below shows how the sample program is rewritten with the LDA and STA
instructions. The number of rungs and steps used in the program can be reduced.
CR2008 CR2103 CR2104 CR2105 CR2106 CR2107 CR2008 $0268 CR2100 CTH0 CR2203 CR2813 CTH1
EI SET RES SET SET RES EI LDA STA RES SET SET RES
Internal register 0 0 0 0 0 0 1 0 0 1 1 0 1 0 0 0
When STA CR2100 is executed, the values of the internal registers are assigned
to auxiliary relays CR2100 to CR2115.
** : 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Control relay
CR21 ** 0 0 0 0 0 0 1 0 0 1 1 0 1 0 0 0
11
VARIOUS FUNCTIONS
11-21
Clock Function
The KV-700 CPU Unit has a built-in clock. The current "year, month, day, hours,
minutes, seconds and day of the week" data can be read from this clock and used in
the program.
The clock's accuracy is ±20 ppm (25°C) and ±60 s/month. The clock operates even if
the CPU Unit is turned OFF.
Bit Bit
15 0
CM700 Year 0 to 99 The lower two digits of the calendar year are displayed as the year.
CM701 Month 1 to 12
CM702 Day 1 to 31
CM703 Hour 0 to 23 All data is described in 16-bit binary data format.
CM704 Minute 0 to 59
CM705 Second 0 to 59
11-22
The KV-700 CPU Unit can memorize not only programs but also the content of contact
comments assigned to each of the contacts in KV BUILDER. Programs that are difficult
to understand by device Nos, alone can be debugged more easily and programs made
more efficiently by assigning comments to contacts.
For details on how to assign comments and KV BUILDER operations, refer to "KV
BUILDER User's Manual."
For details on how to set, input and change password, and KV BUILDER operations, 11
refer to "KV BUILDER User's Manual."
VARIOUS FUNCTIONS
11-23
The KV-700 can rewrite the ladder program in KV BUILDER while the program is in the
WARNING RUN mode.
Pay sufficient attention to safety when rewriting the ladder program while the system
is in the RUN mode.
Rewriting the ladder program while the system is in the RUN mode may cause a
hazardous situation depending on the state of the control devices connected to the
PLC and the ladder program in use.
Pay sufficient attention to this when executing a ladder program.
Each of the functions act as follows when the ladder program is written while the system is in the RUN mode.
11 Internal auxiliary/
Used → used/unused → unused
Hold
Current state is held.
control relays
VARIOUS FUNCTIONS
Note: When writing is performed when the program is in the RUN mode, and an error occurs on the KV
body, transfer the program again.
11-24
APPENDICES
A-1
A-2
KV-700 Devices
Control relays CR
With control relays (CR0000 to CR3999), you can check the operation state of the CPU Unit, set input time constants,
set high-speed counters, and make other settings.
Control relays reserved for the system cannot be used.
Attribute
Device No. R: Read only Function
Blank: R/W
CR0000 Reserved for system
:
CR0715
CR0800 Reserved for system
:
CR0915
CR1000 Reserved for system
:
CR1715
CR1800 Reserved for system
CR1801 Reserved for system
CR1802 Reserved for system
CR1803 Reserved for system
CR1804 Reserved for system
CR1805 Reserved for system
:
CR1813
CR1814 Cam switch function, absolute/incremental ON: Absolute
OFF: Incremental
CR1815 Cam switch function, cam switch function stopped when turn ON
and OFF during operation
CR1900 Reserved for system
:
APPENDICES
CR2001
CR2002 R ON at all times
CR2003 R OFF at all times
CR2004 R 10 ms clock pulse (at 50% duty)
CR2005 R 100 ms clock pulse (at 50% duty)
CR2006 R 1s clock pulse (at 50% duty)
CR2007 R OFF only for 1 scan at start of operation
CR2008 R ON only for 1 scan at start of operation
CR2009 ON when result of arithmetic operation is minus or overflows
CR2010 R ON when result of arithmetic operation is zero
CR2011 R ON when result of arithmetic operation is plus
CR2012 R ON at arithmetic operation execution error
CR2013 Reserved for system
:
CR2015
A-3
Attribute
Device No. R: Read only Function
Blank: R/W
CR2100 R CTH0 dedicated internal clock (1 µs)
CR2101 R CTH0 dedicated internal clock (10 µs)
CR2102 R CTH0 dedicated internal clock (100 µs)
ON: Execute.
CR2103 Automatically clear CTH0.
Operation when OFF:
ON:
Do not execute.
Disable output.
CR2104 highspeed counter Disable/enable direct output to 00500. OFF: Enable output.
ON: Execute.
CR2105 comparator CTC0 is ON Turn OFF direct output to 00500. OFF: Do not execute.
ON: Execute.
CR2106 Turn ON direct output to 00500. OFF: Do not execute.
CR2107 Invert ON/OFF of output to 00500 each time that high-speed counter ON: Execute.
OFF: Do not execute.
comparator CTC0 turns ON.
ON: Disable output.
CR2108 Operation when Disable/enable direct output to 00500. OFF: Enable output.
ON: Execute.
CR2109 highspeed counter Turn OFF direct output to 00500. OFF: Do not execute.
CR2111 Invert ON/OFF of output to 00500 each time that high-speed counter ON: Execute.
OFF: Do not execute.
comparator CTC1 turns ON.
ON: Execute.
CR2112 Automatically clear CTH0 when high-speed counter comparator CTC1 is ON. OFF: Do not execute.
CR2207 Invert ON/OFF of output to 00501 each time that high-speed counter ON: Execute.
APPENDICES
CR2211 Invert ON/OFF of output to 00501 each time that high-speed counter ON: Execute.
OFF: Do not execute.
comparator CTC3 turns ON.
ON: Execute.
CR2212 Automatically clear CTH1 when high-speed counter comparator CTC3 is ON. OFF: Do not execute.
Single-phase 1X 2X 4X 2 pulses
CR2213 High-speed counter
W/out direction W/ direction
CTH1 count input mode
CR2214 CR2213 OFF ON OFF ON OFF ON
selection.
CR2214 OFF OFF ON ON OFF OFF
CR2215 CR2215 OFF OFF OFF OFF ON ON
ON: Execute.
CR2300 Disable external outputs OFF: Do not execute.
ON: Execute.
CR2301 Disable external input refreshing OFF: Do not execute.
CR2304 R ON for 1 scan only at fixed scan time setting value exceeded
CR2305 Set input time constant of all CPU Unit inputs. ON: Set.
OFF: Do not set. (10 ms)
(Determine referring to CM1620 when ON.)
CR2306 R ON at backup battery error
CR2307 Reserved for system
:
CR2315
A-4
Attribute
Device No. R: Read only Function
Blank: R/W
Unused Up edge Down edge Level
CR2400 CTH0 external signal preset
CR2400 OFF ON OFF ON
CR2401 CR2401 OFF OFF ON ON
ON: Use.
CR2402 CTH0 ring counter OFF: Do not use.
CR2509 Cam switch, output response impossible warning (generated when output does not track during
cam switch operation)
CR2510 R Cam switch, error
CR2511 Reserved for system
:
APPENDICES
CR2615
CR2700 INT0 interrupt polarity Up edge Down edge Both edges
CR2700 OFF ON OFF ON
CR2701 CR2701 OFF OFF ON ON
A-5
Attribute
Device No. R: Read only Function
Blank: R/W
CR2803 R Serial communications, ON for 1 scan only at text data receive error
CR2804 Serial communications, start sending text data (ON while data is being sent)
ON: Perform.
CR2805 Serial communications, receive text data in word units OFF: Do not perform.
ON: Perform.
CR2806 Serial communications, send text data in word units OFF: Do not perform.
CR3015
CR3100 Y-axis, limit switch CW input
CR3101 Y-axis, limit switch CCW input
CR3102 Y-axis, origin sensor input
CR3103 Y-axis, stop sensor input
CR3104 R Y-axis, zero return in operation
CR3105 Y-axis, zero return completed
CR3106 Reserved for system
CR3107 Y-axis, error/clear error
CR3108 Y-axis, warning/clear warning
CR3109 Y-axis, ON during pulse output/emergency stop
CR3110 Y-axis, start driver operation
CR3111 Y-axis, change current value request (level detection)
CR3112 Y-axis, change operation speed request (level detection)
CR3113 Reserved for system
:
CR3115
A-6
Attribute
Device No. R: Read only Function
Blank: R/W
CR3200 Logging function, trigger setting
CR3201
CR3202 Logging function, time stamp ON
CR3203 Logging function, start
CR3204 Logging function, write during operation
CR3205 Logging function, CPU buffer overflow
CR3206 Logging function, registered device error
CR3207 Logging function, write error
CR3208 Logging function, MMC data overflow
CR3209 Logging function, MMC insufficient free space
CR3210 Logging function, logging execution in progress
CR3211 Reserved for system
:
CR3215
CR3300 Alarm relay Alarm 0
: :
CR3415 Alarm 31
CR3500 R Turn ON if one of alarm relays CR3300 to CR3415 is ON.
ON: Leave history.
CR3501 Leave history when alarm relay state changes to OFF from ON. OFF: Do not leave history.
APPENDICES
CR3702 Operation panel KV-D30, F3 (customized switch 3)
CR3703 Operation panel KV-D30, F4 (customized switch 4)
CR3704 Operation panel KV-D30, LED1 (customized lamp 1)
CR3705 Operation panel KV-D30, LED2 (customized lamp 2)
CR3706 Operation panel KV-D30, LED3 (customized lamp 3)
CR3707 Operation panel KV-D30, LED4 (customized lamp 4)
CR3708 Operation panel KV-D30, green backlight (lights when ON)
CR3709 Operation panel KV-D30, red backlight (lights when ON)
ON: Japanese
CR3710 Operation panel KV-D30, system message display OFF: English
ON: Sound.
CR3711 Operation panel KV-D30, sound buzzer OFF: Turn off.
ON: Positive display
CR3712 Operation panel KV-D30, screen display setting OFF: Negative display
ON: Enabled
CR3713 Operation panel KV-D30, enable alarm interrupt OFF: Disabled
A-7
Control memory CM
With control memory (CM0000 to CM3999), you can set various special CPU Unit functions.
Control memory reserved for the system cannot be used.
Attribute
Device No. R: Read only Function
Blank: R/W
CM0000 1st line display device setting
CM0001 1st line display device setting
CM0002 2nd line display device setting
CM0003 2nd line display device setting
CM0004 Operation panel KV-D30 3rd line display device setting
page 0
CM0005 3rd line display device setting
CM0006 4th line display device setting
CM0007 4th line display device setting
CM0008 Reserved for system
CM0009
CM0010 Page 1, display device setting
: Operation panel KV-D30 :
CM0189 Page 18, display device setting
CM0190 1st line display device setting
CM0191 1st line display device setting
CM0192 2nd line display device setting
CM0193 2nd line display device setting
CM0194 Operation panel KV-D30 3rd line display device setting
page 19
CM0195 3rd line display device setting
CM0196 4th line display device setting
CM0197 4th line display device setting
CM0198 Reserved for system
CM0199
CM0200 1st line display attribute setting
APPENDICES
A-8
Attribute
Device No. R: Read only Function
Blank: R/W
CM0210 Page 1, display attribute setting
: Operation panel KV-D30 :
CM0389 Page 18, display attribute setting
CM0390 1st line display attribute setting
CM0391 1st line display attribute setting
CM0392 2nd line display attribute setting
CM0393 2nd line display attribute setting
Operation panel KV-D30
CM0394 3rd line display attribute setting
page 19
CM0395 3rd line display attribute setting
CM0396 4th line display attribute setting
CM0397 4th line display attribute setting
CM0398 Template 1 setting
CM0399 Template 2 setting
CM0400 Operation panel KV-D30, move enable/disable setting
CM0401 Operation panel KV-D30, page switching setting
CM0402 Operation panel KV-D30, current display page
CM0403 Reserved for system
:
CM0409
CM0410 Operation panel KV-D30, used by CM direct accessing
:
CM0415
CM0416 Reserved for system
:
CM0699
CM0700 R Read from calendar (year)
CM0701 R Read from calendar (month)
CM0702 R Read from calendar (day)
CM0703 R Read from calendar (hour)
APPENDICES
CM0704 R Read from calendar (minute)
CM0705 R Read from calendar (second)
CM0706 R Read from calendar (day of week)
CM0707 Reserved for system
:
CM0719
CM0720 R Scan time measurement value (Average value of each tens scans is entered to this memory.) (in
0.1 ms units)
CM0721 Fixed scan time operation setting value (in 1 ms units)
CM0722 R Scan time (in 1 ms units) when the setting value is exceeded during fixed scan time operation is
entered to this memory.
CM0723 Reserved for system
:
CM0999
CM1000 Number of received text data
CM1001 R Received text data 1
: :
CM1099 Received text data 99
A-9
Attribute
Device No. R: Read only Function
Blank: R/W
CM1100 Number of sent text data
CM1101 R Received sent data 1
: :
CM1199 Received sent data 99
CM1200 Reserved for system
:
CM1399
CM1400 Cam switch function, set leading output relay No.
CM1401 Cam switch function, comparator value in multi-stage compare mode
CM1402 Cam switch function, number of pulses in cycle of device input to CTH0
CM1403 Cam switch function, absolute type input address
CM1404 R Cam switch function, current angle
CM1405 R Cam switch function, error No.
CM1406 Reserved for system
:
CM1409
CM1410 Cam switch function, angle setting value for turning output relay ON/OFF
CM1411
CM1412 Cam switch function, : angle setting value for turning output +1 relay ON/OFF
: :
CM1471 angle setting value for turning output +30 relay ON/OFF
CM1472 Cam switch function, angle setting value for turning output +31 relay ON/OFF
CM1473
CM1474 Reserved for system
:
CM1479
CM1480 R Frequency counter function, frequency measurement results (Hz/rpm)
CM1481 R
CM1482 Frequency counter function, measurement cycle (ms)
CM1483 Frequency counter function, average number of measurements
APPENDICES
A-10
Attribute
Device No. R: Read only Function
Blank: R/W
CM1564 R Reserved for system
CM1565 Reserved for system
:
CM1569
CM1570 Reserved for system
:
CM1577
CM1578 Reserved for system
:
CM1599
CM1600 CTH0 ring counter upper limit value
CM1601
CM1602 CTH1 ring counter upper limit value
CM1603
CM1604 CTH0 preset input
CM1605
CM1606 CTH1 preset input
CM1607
CM1608 Reserved for system
CM1609
CM1610 R Input capture at INT0 generation
CM1611 R
CM1612 R Input capture at INT1 generation
CM1613 R
CM1614 R Input capture at INT2 generation
CM1615 R
CM1616 R Input capture at INT3 generation
CM1617 R
CM1618 Reserved for system
APPENDICES
CM1619
CM1620 Input time constant setting ( "Input Time Constant Selection Function" page 11-4)
CM1621 Reserved for system
:
CM1699
CM1700 Digital trimmer 0 upper limit value
CM1701
CM1702 Digital trimmer 1 upper limit value
CM1703
CM1704 Digital trimmer 2 upper limit value
CM1705
CM1706 Digital trimmer 3 upper limit value
CM1707
CM1708 Digital trimmer 4 upper limit value
CM1709
CM1710 Digital trimmer 5 upper limit value
CM1711
A-11
Attribute
Device No. R: Read only Function
Blank: R/W
CM1712 Digital trimmer 6 upper limit value
CM1713
CM1714 Digital trimmer 7 upper limit value
CM1715
CM1716 Reserved for system
:
CM1719
CM1720 Access window, user message 1
CM1721 Access window, user message 2 (max. 32 characters)
:
CM1737
CM1738 Access window, operation disabled setting
CM1739 Reserved for system
:
CM1999
CM2000 X-axis, I/O setting
CM2001 X-axis, sensor enable
CM2002 X-axis, current value comparator 0
CM2003
CM2004 X-axis, current value comparator 1
CM2005
CM2006 X-axis, zero return: startup frequency
CM2007 X-axis, zero return: acceleration/deceleration time
CM2008 X-axis, zero return: operation frequency
CM2009
CM2010 X-axis, jog operation: startup frequency
CM2011 X-axis, jog operation: acceleration/deceleration time
CM2012 X-axis, jog operation: operation frequency
CM2013
APPENDICES
A-12
Attribute
Device No. R: Read only Function
Blank: R/W
CM2030 Y-axis, I/O setting
CM2031 Y-axis, sensor enable
CM2032 Y-axis, current value comparator 0
CM2033
CM2034 Y-axis, current value comparator 1
CM2035
CM2036 Y-axis, zero return: startup frequency
CM2037 Y-axis, zero return: acceleration/deceleration time
CM2038 Y-axis, zero return: operation frequency
CM2039
CM2040 Y-axis, jog operation: startup frequency
CM2041 Y-axis, jog operation: acceleration/deceleration time
CM2042 Y-axis, jog operation: operation frequency
CM2043
CM2044 Y-axis, change current value setting value
CM2045
CM2046 Y-axis, change operation speed setting value in speed control mode
CM2047
CM2048 Reserved for system
CM2049 Y-axis, M code
CM2050 R Y-axis, output pulse current value
CM2051 R
CM2052 R Y-axis, output frequency current value
CM2053 R
CM2054 Y-axis, error code
CM2055 Y-axis, operation point No.
CM2056 Reserved for system
:
APPENDICES
CM2059
CM2060 Target value/travel
CM2061 Startup frequency
CM2062 Acceleration/deceleration time
CM2063 Operation frequency
CPU positioning function
CM2064
Point parameter 0
CM2065 Operation mode
CM2066 Number of specified stop sensor pulses
CM2067 Reserved for system
CM2068
CM2069
CM2070 CPU positioning function Point parameter 1
: :
CM2369 Point parameter 30
A-13
Attribute
Device No. R: Read only Function
Blank: R/W
CM2370 Target value/travel
CM2371 Startup frequency
CM2372 Acceleration/deceleration time
CM2373 Operation frequency
CPU positioning function
CM2374
Point parameter 31
CM2375 Operation mode
CM2376 Number of specified stop sensor pulses
CM2377 Reserved for system
CM2378
CM2379
CM2380 Reserved for system
:
CM2599
CM2600 Logging function, device type 0
CM2601
CM2602 Logging function, device type 1
: :
CM2661 device type 30
CM2662 Logging function, device type 31
CM2663
CM2664 Logging function, trigger selection details 0
: :
CM2670 trigger selection details 6
CM2671 Logging function, number of registered devices
CM2672 Logging function, Memory Card storage capacity
CM2673 Reserved for system
:
CM3999
APPENDICES
A-14
APPENDICES
20 Code Size The ladder code size has exceeded
the maximum size.
30 Cycletime Over Scan time is 300 ms or faster. Review the program.
Make sure that there are not too many
repeated FOR to NEXT instructions.
Make sure that the interrupt program is
not being executed at a fast rate.
40 No Ladder The program is not registered. Register the ladder program before
operating the main unit.
50 Unit Kobetu Expansion and Special Unit settings Use the Ladder Support software or
Chksum are corrupted. Memory Card to register unit setup
51 Unit Conf Info Unit setup information is not set. information.
A-15
again.
If this error occurs frequently, contact
your agent.
87 Memory Card Error A probable cause is that the Write protect (memory switch)
Memory Card is damaged, data is ↓
incorrect, or magnetism or noise
Remove the memory switch.
has caused the Memory Card to
stop functioning. File content is in error.
↓
Store programs and data files matched
to the environment.
* Only device values and alarm values can be cleared by executing SRAM clear. In this case, the ladder
program is not cleared from memory.
A-16
APPENDICES
A-17
Upper 4 bits
N D SP
U
L
L
E 0 P p
S D
O
H
C
1 1 A Q a q
S D
T
X
C
2 2 B R b r
E D
T
X
C
3 3 C S c s
E D
O
T
C
4 4 D T d t
E N
NQ A
K 5 E U e u
Lower 4 bits
A S
CK Y
N 6 F V f v
B E
E
L
T
B 7 G W g w
BS C
A
N 8 H X h x
HT E 9 I Y i y
M
L F SU J Z j z
B
VT E
S
C K k
FF → L l
CR ← M m
SO ↑ N n
S I ↓ O o
APPENDICES
A-18
4 Index [C]
Cam Switch Function ............................................ 8-2
This index of terms used in this manual is
Cam switch function device specifications ....... 8-2
arranged in alphabetical order.
Cam switch operation chart ............................. 8-3
Cam Switch Mode (absolute encoder) .................. 8-4
[A] Devices used in the cam switch mode (absolute) .
About comparator ................................................ 9-13 ......................................................................... 8-4
About direct input/output ....................................... 5-2 How to specify items in the cam switch function8-5
About protection of contacts................................ 1-40 Cam Switch Mode (incremental encoder) ............. 8-6
About Relay Nos. .................................................. 4-6 Devices used in the cam switch mode (incremen-
About Scan Time................................................... 4-3 tal) .................................................................... 8-6
About input response delay ............................. 4-3 How to specify items in the cam switch function8-6
Scan time ......................................................... 4-3 Cam Switches ............................................. 2-28, 8-1
About the Alarm Monitor Function....................... 2-30 Cautions When Connecting Units ....................... 1-36
About the exclusive pressure-contact tool .......... 1-42 Clearing Alarm Relay Records ............................ 2-36
About the User Message Display ........................ 2-44 Clearing SRAM ................................................... 2-40
User message 1 ............................................. 2-44 Clock Function .................................................. 11-22
User message 2 ............................................. 2-44 How to read clock data ................................ 11-22
About zero return ................................................ 9-15 How to write clock data (time setting) .......... 11-22
Absolute management current position (PLS) .... 9-20 Commands/Responses List ................................ 10-5
AC Power Unit (KV-U7) ....................................... 1-14 comment display ................................................. 2-14
External dimensions ....................................... 1-16 Connecter for extended memory ........................... 1-6
Names and Functions of Parts ....................... 1-14 Connecting to terminal block units ...................... 1-41
Power Unit Wiring Method ............................. 1-17 Connecting Units ................................................. 1-36
Specifications ................................................. 1-16 connector ............................................................ 1-42
Acceleration/deceleration time .................... 9-7, 9-17 Connector for Extended Memory ........................ 1-11
ACCESS WINDOW ............................................... 2-1 Contrast............................................................... 2-37
Menu Tree ........................................................ 2-4 Control Memories for Positioning Control ........... 9-20
APPENDICES
Modes .............................................................. 2-3 Control Memory ................................................... 4-17
Names and Functions of Access Window Parts2-5 Control memory ............................................ 1-5, A-8
Outline .............................................................. 2-2 Control Relay Lists .............................................. 4-11
Access Window Setup ........................................ 2-37 Control Relays ..................................................... 4-10
Setup Functions Available in Access Window Explanations .................................................. 4-10
Setup .............................................................. 2-37 Control relays ....................................................... A-3
Alarm Monitor ...................................................... 2-30 Control Relays for Positioning Control ................ 9-19
real time display ............................................. 2-32 Counters ................................................................ 1-5
record display ................................................. 2-32 CPU Monitor........................................................ 2-25
Alarm record clear inhibit .................................... 2-46 CPU Unit (KV-700) ................................................ 1-6
All Clear ............................................................... 2-42 CPU Unit Wiring ............................................. 1-12
All clear, SRAM clear inhibit ................................ 2-46 External dimension diagrams (CPU) .............. 1-10
ASCII Code Table ................................... 10-56, A-18 External dimension diagrams (Start Unit, End Unit)
Assembling and Wiring Connectors .................... 1-41 ....................................................................... 1-10
Assembling the Unit ............................................ 1-37 Input specifications .......................................... 1-8
AW settings, changes to setting inhibit ............... 2-46 Internal Circuit Diagrams ............................... 1-12
Names and Functions of Parts ......................... 1-6
[B] Output specifications ........................................ 1-9
Current value (CTH) .............................................. 6-6
Backup battery ...................................................... 1-6
Current value change setting .............................. 9-18
A-19
A-20
Format of Commands and Responses ............... 10-4 Input Refresh Inhibit Function ........................ 11-3
free space ........................................................... 3-14 Output Inhibit Function ................................... 11-3
Frequency Counter ..................................... 2-27, 7-1 I/O setting details ................................................ 9-23
Frequency Counter Functions ............................... 7-2 Input capture ......................................................... 5-4
Data update cycle ............................................ 7-2 Input Relays .......................................................... 4-7
Flow of processing ........................................... 7-3 Input relays............................................................ 1-5
Function selection ............................................... 9-14 Input Time Constant Selection Function ............. 11-4
About the Input Time Constant ...................... 11-4
[G] How to change the input time constant of the
KV-700 CPU Unit ........................................... 11-4
Grounding precautions ........................................ 1-40
Inspection ............................................................ 1-46
Installation Environment ...................................... 1-34
[H]
Internal auxiliary relay hold function ...................... 4-9
HIGH-SPEED COUNTERS ................................... 6-1
Internal Auxiliary Relays........................................ 4-9
High-speed Counters .................................... 1-5, 6-2
Internal auxiliary relays ......................................... 1-5
Automatic reset by a count up ....................... 6-12
Interrupt Priority ..................................................... 5-4
Comparator Match Output ............................. 6-14
Interrupt Processing .............................................. 5-2
Configuration of high-speed counters, high-speed
Interrupt Program .................................................. 5-5
couter comparators .......................................... 6-2
INTERRUPTS ....................................................... 5-1
Count input types ............................................. 6-5
Current value (CTH) ......................................... 6-6
Direct clock pulse input .................................. 6-10
[J]
Extended Functions ....................................... 6-16 Jog operation X-axis ........................................... 9-30
External input setting ....................................... 6-8 Jog operation Y-axis ........................................... 9-30
High-speed Counter Specifications .................. 6-5 JOGX instruction ................................................. 9-30
Internal clock input setting ............................. 6-10 JOGY instruction ................................................. 9-30
Preset Function .............................................. 6-13
Reading/changing current values, rewriting setting [K]
values ............................................................... 6-6 Key Lock ............................................................. 2-48
APPENDICES
Reset by execution condition OFF ................. 6-11 How to Set Key Lock ...................................... 2-48
Reset by external input .................................. 6-12 KV-10/16/24/40 Compatibility.............................. 9-42
Reset by RES instruction ............................... 6-11 KV-700 .................................................................. 1-6
Reset Method ................................................. 6-11 KV-700 Series Specifications ................................ 1-4
Ring Counter Function ................................... 6-15 General specifications ...................................... 1-4
Setting Count Input .......................................... 6-8 Performance specifications .............................. 1-5
Setting value (CTC) ......................................... 6-6 KV-B16RA/B16TA/C32TA/C64TA ...................... 1-24
Home sensor ....................................................... 9-10 KV-B16XA/C32XA/C64XA .................................. 1-18
How to calculate the pulse cycle and comparator KV-EB1S/KV-EB1R ............................................. 1-31
setting value ........................................................ 11-9
KV-U7 .................................................................. 1-14
ON/OFF ratio 1:1 pulse (when one comparator is
KV-U7 connector ................................................... 1-6
used) .............................................................. 11-9
Pulse cycle ..................................................... 11-9
[L]
Pulse of variable pulse width ......................... 11-9
Setting range of CTC by internal clock .......... 11-9 Latch Function (Power Interruption Hold) ........... 11-5
How to Monitor Alarms ........................................ 2-33 Limit switch CCW ................................................ 9-11
How to Register Alarms ...................................... 2-30 Limit switch CW ................................................... 9-11
List of Devices ....................................................... 4-6
[I] Logging Function ................................................. 3-17
About Logging ................................................ 3-17
I/O Inhibit Function .............................................. 11-3
How to Register Logging Devices .................. 3-17
A-21
A-22
Positioning pulse output ........................................ 1-5 How to Connect to the KV-700 ...................... 10-2
Power Unit Wiring Method .................................. 1-17 Send Break signal .......................................... 10-3
Internal Circuit Diagrams ............................... 1-17 Set value ............................................................. 9-14
Precautions during wiring (OP-22185, OP-23139, Setting Inhibited Operation .................................. 2-46
OP-42224) ........................................................... 1-41 Modes in Which Operation Can be Inhibited . 2-46
Precautions When Wiring to Each Unit ............... 1-39 Setting Pulse Output by High-speed Counter Com-
Precautions when wiring to I/O devices .............. 1-39 parator ................................................................. 11-8
Precautions When Writing the Ladder Program in the ON/OFF ratio 1:1 pulse .................................. 11-8
the RUN Mode ................................................. 11-24 Pulse of variable pulse width ......................... 11-8
Preset Function ................................................... 6-13 Setting the polarity of externally input interrupt ..... 5-3
Program Example Continuous Operation Reference Setting Up Parameters .......................................... 9-4
Example .............................................................. 9-40
Setting value (CTC)............................................... 6-6
Program size ......................................................... 1-5
Specified Frequency Pulse Output ........................ 7-5
PROGRAMMING .................................................. 4-1
Comparator Match Output ............................... 7-5
Before You Start Programming ........................ 4-2
Setting method ................................................. 7-5
Flow of Operation from Installation to Actual
Specified number of stop sensor pulses ............... 9-8
Operation ......................................................... 4-2
Specified point No. .............................................. 9-20
Pulse output in progress/emergency stop ........... 9-19
Start of driver operation ....................................... 9-19
Start speed .......................................................... 9-17
[R]
Startup speed ........................................................ 9-7
Reading/changing current values, rewriting setting
Stop sensor ......................................................... 9-10
values .................................................................... 6-6
System Configuration ............................................ 1-2
Receiving Text Data .......................................... 10-52
System Parameters [Comparator Setup] ............ 9-13
Receive data format and internal data memories .
..................................................................... 10-52 Axis ................................................................ 9-13
Relay, Timer, Counter and Memory Nos. by Model ... Function selection .......................................... 9-14
............................................................................. A-2 Set value ........................................................ 9-14
Relays ................................................................... 4-6 System Parameters [I/O Setup] ............................ 9-9
Removing the Terminal Block ............................. 1-45 Axis .................................................................. 9-9
APPENDICES
Replacing the Battery .......................................... 1-46 Home sensor .................................................. 9-10
Responses during an Error ............................... 10-51 Limit switch CCW ........................................... 9-11
Ring Counter Function ........................................ 6-15 Limit switch CW ............................................. 9-11
Run speed ................................................... 9-7, 9-17 Stop sensor .................................................... 9-10
Run speed change request ................................. 9-20 Zero return direction ....................................... 9-12
Run speed change setting value ......................... 9-18 System Parameters [Zero Return/Jog] ................ 9-15
RUN-PROG Selector Switch ............................... 1-11 Acceleration/deceleration time ....................... 9-17
Rung Comment Store Function ......................... 11-23 CM defaults for changing setting values ........ 9-15
Current value change setting ......................... 9-18
[S] Jog ................................................................. 9-15
Sample Interrupt Programs ................................... 5-7 Run speed ...................................................... 9-17
Example of Application of an Interrupt Using a Run speed change setting value .................... 9-18
High-speed Counter ......................................... 5-8 Start speed ..................................................... 9-17
Example of Interrupt Application ...................... 5-7 Zero return ..................................................... 9-15
Sending commands and receiving responses .... 10-4
Sending Text Data ............................................ 10-54 [T]
Send data format and internal data memory 10-54 Target value/travel amount ................................... 9-6
Sensor enable details.......................................... 9-24 TCHX instruction ................................................. 9-34
SERIAL COMMUNICATIONS ............................. 10-1 TCHY instruction ................................................. 9-34
Command Send Procedure ........................... 10-3 Teaching X-axis .................................................. 9-34
Communications Specifications ..................... 10-2 Teaching Y-axis .................................................. 9-34
A-23
[U]
Unit Monitor ........................................................... 2-6
Method of Operation (example: on I/O unit) ..... 2-6
Names and Functions of Setting/Operation Keys .
......................................................................... 2-6
Use of stop sensor ................................................ 9-8
User Memory ......................................................... 4-4
Calculating the number of bytes used .............. 4-4
Program Size ................................................... 4-4
User Messages ................................................... 2-44
[W]
APPENDICES
[Z]
Zero return completed ......................................... 9-19
Zero return direction ............................................ 9-12
Zero return in progress ........................................ 9-19
Zero return locus ................................................. 9-16
Zero return X-axis ............................................... 9-32
Zero return Y-axis ............................................... 9-32
A-24
APPENDICES
A-25
(1) KEYENCE warrants the Products to be free of defects in materials and workmanship for a period of one (1) year from
the date of shipment. If any models or samples were shown to Buyer, such models or samples were used merely to
illustrate the general type and quality of the Products and not to represent that the Products would necessarily
conform to said models or samples. Any Products found to be defective must be shipped to KEYENCE with all
shipping costs paid by Buyer or offered to KEYENCE for inspection and examination. Upon examination by
KEYENCE, KEYENCE, at its sole option, will refund the purchase price of, or repair or replace at no charge any
Products found to be defective. This warranty does not apply to any defects resulting from any action of Buyer,
including but not limited to improper installation, improper interfacing, improper repair, unauthorized modification,
misapplication and mishandling, such as exposure to excessive current, heat, coldness, moisture, vibration or
outdoors air. Components which wear are not warranted.
(2) KEYENCE is pleased to offer suggestions on the use of its various Products. They are only suggestions, and it is
Buyer's responsibility to ascertain the fitness of the Products for Buyer’s intended use. KEYENCE will not be
responsible for any damages that may result from the use of the Products.
(3) The Products and any samples ("Products/Samples") supplied to Buyer are not to be used internally in humans, for
human transportation, as safety devices or fail-safe systems, unless their written specifications state otherwise.
Should any Products/Samples be used in such a manner or misused in any way, KEYENCE assumes no
responsibility, and additionally Buyer will indemnify KEYENCE and hold KEYENCE harmless from any liability or
damage whatsoever arising out of any misuse of the Products/Samples.
(4) OTHER THAN AS STATED HEREIN, THE PRODUCTS/SAMPLES ARE PROVIDED WITH NO OTHER
WARRANTIES WHATSOEVER. ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIES, INCLUDING,
WITHOUT LIMITATION, THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
AND NON-INFRINGEMENT OF PROPRIETARY RIGHTS, ARE EXPRESSLY DISCLAIMED. IN NO EVENT SHALL
KEYENCE AND ITS AFFILIATED ENTITIES BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DIRECT,
INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT
LIMITATION, ANY DAMAGES RESULTING FROM LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF
INFORMATION, LOSS OR INACCURACY OF DATA, LOSS OF PROFITS, LOSS OF SAVINGS, THE COST OF
PROCUREMENT OF SUBSTITUTED GOODS, SERVICES OR TECHNOLOGIES, OR FOR ANY MATTER ARISING
OUT OF OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE PRODUCTS, EVEN IF KEYENCE OR
ONE OF ITS AFFILIATED ENTITIES WAS ADVISED OF A POSSIBLE THIRD PARTY’S CLAIM FOR DAMAGES
OR ANY OTHER CLAIM AGAINST BUYER. In some jurisdictions, some of the foregoing warranty disclaimers or
damage limitations may not apply.
E 1101-3
Copyright (c) 2003 KEYENCE CORPORATION. All rights reserved. 084053E 1042-17 183GB Printed in Japan