You are on page 1of 74

Chapter 5

KV-300 and KV-10/80 Hardware


This chapter describes the hardware specifications and wirings for KV-300 and KV-
10/80 Series.
5.1 System Configuration .................................................................... 1-166
5.1.1 KV-300 .................................................................................................. 1-166
5.1.2 KV-10/80 ............................................................................................... 1-167
5.2 Module/Unit Specifications .......................................................... 1-168
5.2.1 Wiring: KV-U4 Power Supply Module ................................................... 1-168
5.2.2 Wiring: KV-U5 DC Power Distribution Module ...................................... 1-169
5.2.3 Wiring: KV-300 CPU ............................................................................. 1-170
5.2.4 Wiring: KV-C16X/C32X Connector Input Module.................................. 1-171
5.2.5 Wiring: KV-C32T/B16R/B16S Connector Output Module ..................... 1-172
5.2.6 Wiring: KV-R1A I/O Distribution Module ............................................... 1-173
5.2.7 Wiring: KV-R8X/R16X/R8R/R16R/R8T/R16T I/O Terminal Modules.... 1-174
5.2.8 Module Names and Functions .............................................................. 1-175
5.2.9 Peripheral Equipment Names and Functions........................................ 1-176
5.3 Module/Unit Connections ............................................................. 1-178
5.3.1 Environmental Requirements ................................................................ 1-178
5.3.2 Installation Guidelines ........................................................................... 1-178
5.3.3 Assembling the System......................................................................... 1-179
5.3.4 Mounting to the DIN Rail ....................................................................... 1-180
5.3.5 Removing the Terminal Block ............................................................... 1-181
5.3.6 Connecting the AC Power Supply Module and
DC Power Distribution Module .............................................................. 1-182
5.3.7 I/O Connectors ...................................................................................... 1-183
5.3.8 I/O Terminal Modules: Communication Cables and Power Distribution 1-187
5.3.9 Connector Assembly Instructions.......................................................... 1-189
5.3.10 KV-300 CPU I/O Indicators ................................................................... 1-191
5.3.11 KV-10/80 Expansion Units .................................................................... 1-192
5.3.12 Mounting Environment .......................................................................... 1-194
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5.1 System Configuration
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-166
5.1 System Configuration
5.1.1 KV-300
MEMORY CARD 32K
MEMORY CARD 128K
KV-U5 Power
Distribution
Module
KV-U4 Power
Supply Module
CPU
KV-300
KV-R1A
I/O
Distribution
Module
KV-C32T
KV-C16X
KV-C32X
KV-B16R
KV-B16S
Refer to "Chapter 7 KV-L2 Serial
Interface Module" (p.1-239) and
"Chapter 8 KV-AN6 Analog I/O
Module" (p.1-311).
KV-L2
Serial
Interface
Module
KV-AN6
Analog I/O
Module
Programming support
software
KV-H6WE2 (Windows)
KV-H4E (DOS)
KV-R8X/R8R/R8T I/O Terminal Module
IBM PC-AT compatible computer
KV-R16X/R16R/R16T I/O Terminal Module
Note: Be sure to use specified cable only.
KV-P3E(01) Handheld Programmer
Refer to "Chapter 6 Handheld Programmer" (p.1-195).
Z-1 Card reader/writer
M-2
(32KB)
M-3
(128KB)
Memory Cards
Refer to "Chapter 6 Handheld Programmer" (p.1-195).
(Note: DOS only)
5.1 System Configuration
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-167
5.1.2 KV-10/80
KV-40R(W)/40T(2W)
KV-80R(W)/80T(W)
KV-24R(W)/24T(2W)
KV-10R(W)/10T(2W)
KV16R(W)/16T(2W)
MEMORY CARD 32K
MEMORY CARD 128K
Expansion units
(separate power supply not required)
Handheld programmer
KV-P3E(01)
Meomory card M-2
Meomory card M-3
Programming
Support
Software
KV-H6WE2 (Windows)
KV-H4E (DOS)
Card reader/writer Z-1
(Note: DOS only)
KV-8ER(W)/8ET(2W), 8EX(W), 8EYR(W)/8EYT(2W),
16EX(W), 16EYR(W)/16EYT(2W)
Power supply
KV-U2
Up to 3 expansion units can be connected to the
KV-40, and up to 4 units to the other models.
IBM PC/AT
or compatibles
Only one KV-AD4 or DA4
can be connected.
Analog I/O units
KV-AD4
KV-DA4
C0 C1 C2 C3
C4 C5 C6 C7
V0 V1 V2 V3
I0 I1 I2 I3
ANALOG IN
POWER
KEYENCE
KV - AD4
C0 C1 C2 C3
C4 C5 C6 C7
V0 V1 V2 V3
I0 I1 I2 I3
ANALOG OUT
KEYENCE
KV - DA4
POWER
KV-U3
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-168
5.2 Module/Unit Spec ific ations
5.2.1 Wiring: KV-U4 Power Supply Module
Parts and functions
1. POWER indicator (green) 2. Overcurrent indicator (red)
3. Heat radiation fin
4. Power supply input
terminals
100 to 240 VAC (M3)
5. Frame Ground terminal
(+) ()
6. 24 VDC output (service power supply)
No. Name Function
1 POWER indicator (green) Lights when AC power is supplied to power supply
input terminal 4.
2 Overcurrent indicator (red) Flashes when the service power supply is
short-circuited or the main power supply overloads.
3 Heat radiation fin For heat dissipation. Caution: May be hot; do not
touch.
4 Power supply input terminal For connection to 100 240 VAC power supply
(M3 screws) (50/60 Hz)
5 FG terminal (M3 screw) Frame ground terminal
6 24 VDC output 24 VDC output terminal for service power supply.
(M3 screws) Total output current: 1.4 A (including main power
supply output current)
Note 1: When the red overcurrent indicator flashes, special utility relay 2812 of the
KV-300 CPU turns ON.
If the main power supply is overloaded:
POWER indicator (green): ON
Overcurrent indicator (red): Flashing
If the service power supply is short-circuited:
POWER indicator (green): OFF
Overcurrent indicator (red): Flashing
Note 2: Install the KV-U4 in the leftmost position of the system. Install the KV-300
CPU immediately to the right of the KV-U4.
Note 3: If the overcurrent indicator flashes, turn OFF the power switch once for at
least one minute and take appropriate countermeasures.
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-169
5.2.2 Wiring: KV-U5 DC Power Distribution Module
Parts and functions
1. POWER indicator (green)
2. Power input terminal
(M3 screws) for 24 VDC
No. Name Function
1 POWER indicator (green) Lights when DC power is supplied to the power
input terminals 2.
2 Power input terminals For 24 VDC power supply
(M3 screws)
Do not connect an AC power supply to the power input terminals; doing so
will damage the KV-U5.
Note 1: Supply power of at least 1.5 times the input capacity to the power input
terminal.
Note 2: Install the KV-U5 in the leftmost position of the system. Install the KV-300
CPU immediately to the right of the KV-U5.
CAUTION
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-170
5.2.3 Wiring: KV-300 CPU
Parts and functions
1. SELECT indicator (green)
A
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
B
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
5V
VOLT
24V
INPUT
2. CPU operation indicator
(green, red, flasing
green/red)
3. 32 I/O indicators
(red)
4. Analog timers 0, 1
5. Modular connector
6. SELECT button
7. I/O
connector
(20-pin)
8. Input voltage selection switch
To change the I/O display mode, refer to page 1-191.
No. Name Function
1 SELECT indicator (green) Lights when I/O indicators show CPU I/Os
(0000-0009, 0500-0503).
2 CPU operation indicator LED Indicates CPU operation status.
(green, red, flashing Green: RUN mode
green/red) Red: PROGRAM mode
Alternating green/red flashing: Error indication
3 I/O indicators (red) Shows I/O status of the module selected with the
SELECT button
4 Analog timer (0, 1) Turning the trimmer changes the timer/counter set
value and internal register value. Allows easy
adjustment without a Handheld Programmer.
5 Modular connector RJ-11 Connector for cable (OP-26487 and 26486)
used to connect CPU to Handheld Programmer or
a personal computer.
6 SELECT button For selecting module whose operation is shown on
I/O indicators
7 I/O connector Connector (20-pin) for I/O built-in CPU
8 Input voltage selection switch For selecting input voltage of 24V or 5V
Note: Install the KV-300 CPU immediately to the right of the KV-U4/U5.
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-171
5.2.4 Wiring: KV-C16X/C32X Connector Input Module
Parts and functions
1. READY/SELECT indicator (green)
24V 5V 1ms 0ms 10ms
2. 34-pin input
connector
3. Input voltage selection switch
4. Input time constant
selection switch
KV-C32X KV-C16X
Includes OP-23139 34-pin connector.
No. Name Function
1 READY/SELECT indicator Green LED flashes when the module is selected to
(green) be displayed in CPU I/O indicators, lights when not
selected (during normal operation), and goes out
when an error occurs.
2 Input connector 32 input port connector (34-pin)
3 Input voltage selection For selecting input voltage of 24 V or 5 V
switch
4 Input time constant selection For selecting input time constant
switch (Choose between 25 s 20%,1 ms 20%,
or 10 ms 20%)
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-172
5.2.5 Wiring: KV-C32T/B16R/B16S Connector Output Module
Parts and functions
1. READY/SELECT indicator (green)
2. Output
connector
(34-pin)
3. Output terminal block KV-C32T KV-B16R/B16S
1. READY/SELECT indicator (green)
Note 1: The terminal block cover is included as an accessory.
Note 2: The OP-23139 34-pin connector is included with the KV-C32T.
Note: Only models KV-B16R/KV-B16S and KV-AN6 have removable terminal
blocks. (The KV-AN6 is described later in this manual.)
For instructions on removing the terminal block cover, refer to page 1-181.
No. Name Function
1 READY/SELECT indicator Flashes when the module is selected for display on
(green) CPU I/O indicators.
Lights when not selected (during normal operation).
2 Output connector 32-output port connector (34-pin)
3 Output terminal block Removable terminal block with 18 terminals,
including 16 output terminals.
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-173
5.2.6 Wiring: KV-R1A I/O Distribution Module
Parts and functions
1. Ready indicator (green)
2. Communications status
indicator (green/orange/red)
3. Communication cable terminal block (M3)
Use only the specified cable when connecting to terminal modules. Use of any
other cable may cause communication errors.
CAUTION
No. Name Function
1 READY indicator (green) Lights when power is ON.
2 Communication status Green: Normal communication
indicator (green/orange/red) Orange: No I/O terminal modules are connected
(or communication is poor).
Red: Communication with KV-300 CPU has failed
due to bad connection. Lights momentarily when
power switch is turned ON or OFF.
3 Communication cable For connection of cables used for communication
terminal block (M3 screws) with I/O terminal modules
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-174
No. Name Function
1 Communications status Green: Normal communication
indicator (green/orange/red) Orange: ADDRESS setting is incorrect or commu
nication is poor.
Red: KV-R1A I/O distribution module has failed or
transfer path has been disrupted.
2 I/O indicators Indicate I/O status (on KV-R8X/R8T/R8R, LEDs are
arranged in a single row); light when a signal is ON.
3 Cover for relay replacement Open to replace a relay. (KV-R16R/R8R only)
4 I/O terminal block Includes terminals for communication cables and
power supply input.
Refer to connection diagram on page 1-186.
5 ADDRESS setting switch For setting addresses of I/O terminal modules
04 ch: Input module addresses
59 ch: Output module addresses
6 Input time constant selection For selecting input time constant (KV-R16X/R8X
switch only). Choose between the following:
0 ms 1 ms 10 ms
25 s 20% 1 ms 20% 10 ms 20%
7 Error hold switch Holds output when an error occurs.
(KV-R16R/R16T/R8R/R8T only)
CLEAR: Turns all outputs OFF when an error
occurs.
HOLD: Holds output when an error occurs.
Note: Use ADDRESS setting switches 0 to 4 for I/O terminal input modules and
switches 5 to 9 for I/O terminal output modules.
An incorrect ADDRESS setting will cause a communication error.
Use only the specified cable when connecting to terminal modules. Use of
any other cable may cause communication errors.
CAUTION
0
1
2
3
4
DO
T
E
S
E
L
C
N
'
T
RESPONSE
6
7
8
9
5
CLEAR HOLD
ADDRESS ERROR MODE
0ms 1ms 10ms
D O
T
E
S
E
L
C
T
N
'
ADDRESS
1. Communications
status indicator 2. I/O indicator
3. Cover for relay replacement (R16R and R8R only)
KV-R16X/R16R/R16T KV-R8X/R8R/R8T
4. I/O terminal block
KV-R16X/R8X (input module) KV-R16R/R16T/R8R/R8T (output module)
Left side
view
5. ADDRESS setting switch
6. Input time constant selection switch 7. Error hold switch
5. ADDRESS setting switch
1. Communica-
tions status
indicator
2. I/O indicator
5.2.7 Wiring: KV-R8X/R16X/R8R/R16R/R8T/R16T I/O Terminal
Modules
Parts and functions
Left side
view
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-175
5.2.8 Module Names and Functions
Model Name Remarks
KV-300 CPU 10 inputs, 4 outputs
KV-U4 Power supply unit 24 VDC, 1.4 A (with service power supply
terminal)
KV-U5 Power distribution module 24 VDC, 3.5 A
KV-C32X Input module 32 inputs
KV-C16X 16 inputs
KV-B16R Output module 16 outputs (relay)
KV-B16S 16 outputs (triac)
KV-C32T 32 outputs (transistor)
KV-R1A I/O distribution module Connects I/O terminal modules to CPU.
See CAUTION.
KV-R16X I/O terminal module/input 16 inputs See CAUTION.
KV-R8X 8 inputs
KV-R16T I/O terminal module/output 16 outputs (transistor) See CAUTION.
KV-R8T 8 outputs (transistor)
KV-R16R 16 outputs (relay); replaceable relays
KV-R8R 8 outputs (relay); replaceable relays
KV-AN6 Analog I/O module Analog inputs (4 ch), analog outputs (2 ch)
KV-L2 Serial Interface module One RS-232C port
One RS-232C/RS-422A port (switchable)
KV-P3E(01) Handheld Programmer Models sold after Oct. 21, 1993, are compatible
with the KV-300 CPU.
Use only the specified cable when connecting to terminal modules. Use of
any other cable may cause communication errors.
For KV-10/80 users
CAUTION
Type Basic unit
Model KV-10R(W) KV-10T(2W) KV-16R(W) KV-16T(2W) KV-24R(W) KV-24T(2W) KV-40R(W) KV-40T(2W) KV-80R(W) KV-80T(W)
Number 6 10 16 24 48
of inputs
1.
Number 4 6 8 16 32
of outputs
Type of Relay BJT Relay MOS-FET Relay MOS-FET Relay MOS-FET Relay BJT
output
Power 24 VDC
supply
1. 24 VDC is applicable to inputs of all models.
1. 24 VDC is applicable to input of all models.
Type Expansion unit
Model KV-8ER(W) KV-8ET(2W) KV-8EX(W) KV-8EYR(W) KV-8EYT(2W) KV-16EX(W) KV-16EYR(W) KV-16EYT(2W)
Number of 4 8 16
inputs
1.
Number of 4 8 16
outputs
Type of Relay BJT Relay BJT Relay BJT
output
Power 24 VDC
supply
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-176
MEMORY CARD 32K MEMORY CARD 128K
5.2.9 Peripheral Equipment Names and Functions
Personal computer (PC)
IBM PC-AT compatible
computer
Programming Support
Software
KV-H6WE2 (Windows)
KV-H4E (DOS)
Memory Card Reader/
Writer
Z-1
Handheld Programmer
KV-P3E(01)
Memory Cards
Connection cable
3 1/2
Memory Card M-2
(32 KB)
Memory Card M-3
(128 KB)
OP-26487
[Included with
KV-P3E(01) Handheld
programmer]
OP-26486
(Included with
Programming Support
Software)
OP-90906
* Z-1 Connection cable
Crimping tool
OP-21734
Pressure pin (optional)
OP-22186
5.2 Module/Unit Specifications
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-177
For KV-10/80 users
1. Input terminals
Rated input signals for these terminals are 24 VDC.
2. Output terminals
Direct clock pulses as well as ordinary pulses are output through relays 0500 and
0501.
3. Power supply terminals
Supply 24 VDC.
4. POWER indicator
Lights when the power is ON.
5. RUN/ERROR indicator
Lights when the unit is in operation.
Flashes when error occurs during operation.
6. Input indicator
Lights when the input signal is ON.
7. Output indicator
Lights when the output signal is ON.
8. Connector cable port
Connects any KV PLC to the handheld programmer or to the external computer.
To make a connection, open the cover on the PLC.
9. Analog timer (Trimmer)
Open the cover to find the trimmer.
The timer/counter setting and the data on the register can be changed without
using the handheld programmer.
Refer to "2.4.2 Application Instructions" on page 3-95.
To avoid damage to the trimmer, do not use excessive force to turn it and
do not change the setting or data too frequently.
10. Channel setting switches
Assign an I/O channel number to each expansion unit.
KV-40R(W)/40T(2W)
1
4
5
6
7
24 input terminals
3 6 24 input terminals
8
9
1
6
7
10
4 input terminals
4 input terminals 2
KV-8ER(W)/8ET(2W)
CAUTION
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-178
Upright
Back
Side
30 mm
30 mm
30
mm
a
a
b
P
o
w
e
r
s
u
p
p
l
y
5.3 Module/Unit Connec tions
5.3.1 Environmental Requirements
Choose an appropriate location for installing the KV Series modules.
I Avoid the following:
Exposure to direct sunlight.
Exposure to temperatures below 0C (32F) or exceeding 50C (122F).
Exposure to humidity below 35%RH or exceeding 85%RH.
Areas where condensation occurs due to sudden drops in temperature.
Exposure to corrosive or flammable gases.
Exposure to airborne dust, metal particles, oil, or corrosive substances such as
salt.
Exposure to strong vibration or impact.
Locations where water, oil, or chemicals may splash the product.
Exposure to strong magnetic or electrical fields.
Use only the specified cable when connecting to terminal modules. Use of any
other cable may cause communication errors.
5.3.2 Installation Guidelines
Install the CPU upright, as shown.
Do not install the CPU on its back or side.
Maintain a 30 mm gap above and below the module so that a finger can be
inserted to release the lock lever and remove the module.
Maintain a 30 mm gap between the module
and adjacent equipment to avoid
interference from the power supply.
CAUTION
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-179
5.3.3 Assembling the System
Connecting modules
To connect the modules, follow the procedure below.
Connection procedure
To connect two modules as shown below:
1. Open the lock levers.
Open the two lock levers (upper and lower, as shown) of the right module (KV-
C32X) by pivoting them open.
2. Connect the modules.
Insert the lock lever of the right module (KV-C32X) into the slot of the left module
(KV-300 CPU). The bus connector of the KV-300 CPU connects to that of the
KV-C32X.
3. Close the lock levers.
Push down on the lock levers of the right module (KV-C32X) as shown until they
sit flush with the surface of the module. No gap should remain between the
modules.
KV-300 KV-C32X
Bus connector
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-180
5.3.4 Mounting to the DIN Rail
To mount the KV-300 Series to the DIN rail, follow the procedure below.
1. Engage the KV-300 with the upper edge of the DIN rail. Pivot the lower portion of
the KV-300 against the DIN rail until a click is heard.
2. Check that the unit is secured to the DIN rail with the clip as shown in A below.
Mount I/O terminal modules to the DIN rail in the same manner.
3. To remove a module, pull out the clip until it appears as shown in B above and
detach the module from the DIN rail.
4. To remount a removed module, push the clip (B) in the direction of the arrow until
it appears as A above, then engage the module with the rail.
B A
Connection order
When connecting modules, place the AC power supply module or DC power distri-
bution module (KV-U4/U5) at the leftmost position and connect the KV-300 CPU
immediately to the right of the KV-U4/U5. Connect the other modules to the CPU in
any order desired.*
Note: Connect the right-end plate only to the right-end module.
* I/O addressing may vary according to connection order.
CPU U5 U4
End plate
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-181
5.3.5 Removing the Terminal Block
To remove the terminal block cover of the KV-B16R/KV-B16S and KV-AN6, follow
the procedure below.
1. First, turn the power OFF. Pull open the terminal block cover from the top.
2. The terminal block is secured with a lock bar as shown below.
3. Remove the terminal block by pushing the terminal block lock bar to release the
terminal block.
Note: Only the KV-B16R/KV-B16S and KV-AN6 have a removable terminal block.
Terminal lock bar
Open
Terminal lock bar
Remove terminal block
Push
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-182
5.3.6 Connecting the AC Power Supply Module and DC
Power Distribution Module
KV-U4 AC Power Supply Module
KV-U5 DC Power Distribution Module
Use an external power supply with adequate output capacity. (1.5 times or more).
KV-U4
Using a 1:1 insulation transformer or
noise filter, line noise from the power
supply line can be reduced.
100 to
240 VAC
10%
Twisting the cables reduces
inductive influence.
Frame Ground
24 VDC service power supply
(Power supply to external unit)
KV-U5
+ 24 VDC external
power supply
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-183
5.3.7 I/O Connectors
KV-300 CPU
I/O connectors
24 VDC
L
L
L
L
L
L
L
L
Load voltage
(See Notes)
Pin No. I/O Signal
1 I Input COM
2 I (Interrupt) 0001
3 I (Interrupt) 0003
4 I (High speed counter 1) 0005
5 I (High speed counter 1 phase) 0007
6 I (High speed counter 1 RES) 0009
7 O (with resistor) 0500
8 O (with resistor) 0501
9 O (with resistor) 0502
10 O (with resistor) 0503
11 I (Interrupt) 0000
12 I (Interrupt) 0002
13 I (High speed counter 0) 0004
14 I (High speed counter 0 phase) 0006
15 I (High speed counter 0 RES) 0008
16 O 0500
17 O 0501
18 O 0502
19 O 0503
20 O Output COM
Modular connector
Note 1: Connecting the output load voltage with the incorrect polarity may damage
the output terminals built into the KV CPU.
Note 2: The output connectors of pin nos. 7 to 10 have built-in 1.6 k current
limiting resistors. Use these to connect drivers.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Modular connector
1 2 3 4 5 6
(Connector terminal Nos.)
I/O connector
A
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
B
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
I/O connector
Modular connector
Refer to page 189 for crimping cables to
connectors.
Pin No. I/O Signal
1
2 +5 V power supply output
3 I RD
4 SG
5 O SD
6
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-184
KV-C16X/C32X
<KV-C16X>
Note 1: Pin nos. 18 to 34 are NC contacts that
are short-circuited internally. These can be used
as relay terminals.
Note 2: The number of input terminals that can
turn ON or remain ON simultaneously must not
exceed 8 (50%); otherwise, the module may be
damaged.
Connector Pin
assignment
1 18
2 19
3 20
4 21
5 22
6 23
7 24
8 25
9 26
10 27
11 28
12 29
13 30
14 31
15 32
16 33
17 34
<KV-C32X>
1
18
17 34
Pin No. I/O Signal
1 I 000
2 I 001
3 I 002
4 I 003
5 I 004
6 I 005
7 I 006
8 I 007
9 I 008
10 I 009
11 I 010
12 I 011
13 I 012
14 I 013
15 I 014
16 I 015
17 I Input COM
18 NC
19 NC
20 NC
21 NC
22 NC
23 NC
24 NC
25 NC
26 NC
27 NC
28 NC
29 NC
30 NC
31 NC
32 NC
33 NC
34 NC
Pin No. I/O Signal
1 I 000
2 I 001
3 I 002
4 I 003
5 I 004
6 I 005
7 I 006
8 I 007
9 I 008
10 I 009
11 I 010
12 I 011
13 I 012
14 I 013
15 I 014
16 I 015
17 I Input COM
18 100
19 101
20 102
21 103
22 104
23 105
24 106
25 107
26 108
27 109
28 110
29 111
30 112
31 113
32 114
33 115
34 NC
24 VDC
24 VDC
Connector Pin
assignment
1 18
2 19
3 20
4 21
5 22
6 23
7 24
8 25
9 26
10 27
11 28
12 29
13 30
14 31
15 32
16 33
17 34
1 18
17 34
Note: The limit to simultaneous/continuous ON
terminals is shown in the graph in Appendix A.2,
P.1-384, comparing ambient temperature and
simultaneous/continuous ON terminals. The
module may be damaged if the ON rate exceeds
the recommendations shown in the graph.
For instructions on crimping connectors to cables,
refer to page 1-189.
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-185
KV-C32T/B16R/B16S
<KV-C32T>
Pin No. Signal
1 500
2 501
3 502
4 503
5 504
6 505
7 506
8 507
9 508
10 509
11 510
12 511
13 512
14 513
15 514
16 515
17 COM
18 600
19 601
20 602
21 603
22 604
23 605
24 606
25 607
26 608
27 609
28 610
29 611
30 612
31 613
32 614
33 615
34 COM
DC
DC
Note: Pins 17 and 34 of the
KV-C32T are connected
internally.
<KV-C32T>
For instructions on crimping
connectors to cables, refer
to p.1-189.
1 18
17 34
Connector Pin
assignment
<KV-C32T>
1 18
2 19
3 20
4 21
5 22
6 23
7 24
8 25
9 26
10 27
11 28
12 29
13 30
14 31
15 32
16 33
17 34
<KV-B16R/B16S>
<KV-B16S> <KV-B16R>
Signal
500
501
502
503
504
505
506
507
COM1
508
509
510
511
512
513
514
515
COM2
DC or AC
power
supply
DC or AC
power supply
Signal
500
501
502
503
504
505
506
507
COM1
508
509
510
511
512
513
514
515
COM2
AC
AC
For directions on removing
the terminal block, refer to
page 1-181.
Terminal block Nos.
<KV-B16R/B16S>
500
503
504
506
COM1
509
511
513
151
501
503
505
507
508
510
512
514
COM2
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-186
KV-R8X/R16X/R8R/R16R/R8T/R16T
Use only the specified cable when connecting to terminal modules. Use of any
other cable may cause communication errors.
KV-R8X/R16X
The terminals of the KV-R8X are 0 to 7 and A0 to B7.
The A and B terminals are internally connected to all A* and B* terminals,
respectively, within the module.
KV-R8R/R16R
The terminals of the KV-R8R are 0 to 7 and C0 to C8.
Terminals C0, C4, C8, and C12 are independent.
KV-R8T/R16T
The terminals of the KV-R8T are 0 to 7 and +0 to +7.
+ and +* are common within the module.
CAUTION
S+ S- A 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
B A0 A2 A4 A6 A8 A10 A12 A14 B1 B3 B5 B7 B9 B11 B13 B15 +
+
+
S+ S- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
RUN C0 A1 A3 A5 A7 A9 A11 A13 A15 A2 C4 A6 C8 A10 C12 A14 +
+ + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
~ ~ ~ ~
L L L L L L L L L L L L L L L L
S+ S- 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
RUN + +0 +2 +4 +6 +8 +10 +12 +14 +1 +3 +5 +7 +9 +11 +13 +15 +
+ L
L
L L L L L L L
L L L L L L L
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-187
5.3.8 I/O Terminal Modules: Communication Cables and
Power Distribution
Use only the specified cable when connecting to terminal modules. Use of any
other cable may cause communication errors.
Transmission distance by cable type
AWG18 twisted pair or VCTF 0.75 mm
2
120 m (Total length)
AWG16 twisted pair or VCTF 1.25 mm
2
120 m (Total length)
RG-58 coaxial or 3D-2V 200 m (Total length)
Connection patterns
Connections and branching between remote I/O terminal modules can be arranged
as desired; however, the total length of the wiring must not exceed that specified
above.
Refer to page 1-188 for power distribution lines.
CAUTION
K
V
-
R
1
A
R16/R8
R16/R8 R16/R8 R16/R8
R16/R8
Note: When connecting communication cables, connect S+ to S+ and S- to S-.
R16/R8: I/O terminal module
KV-R1A: I/O Distribution module
1 2 3
4
5
[Total length of wiring = (1) + (2) + (3) + (4) + (5)]
R16/R8
R16/R8
R16/R8
R16/R8
R16/R8
R16/R8
R16/R8
R16/R8
R16/R8
K
V
-
R
1
A
1
2
3
4
5
6
7
8
9
[Total length of wiring = (1) + (2)+ (3) + (4) + (5) + (6) + (7) + (8) + (9)]
S+
S
S+
S
S+
S
Correct Incorrect
* You can use either wire of the twisted pair
for S+ or S-. Also, you can use either the
core cable or the braided cable.
However, do not change the combination in
the system.
Use only the specified cable when connecting to terminal modules. Use of
any other cable may cause communication errors.
The cable can be selected from the three types shown above.
However, use only one type in a system. Mixing more than one type may
cause a malfunction.
CAUTION
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-188
Incorrect wiring patterns
a) Do not mix different types of cabling when connecting modules.
Do not leave any terminals unconnected as shown below.
b) Do not create loops.
Power distribution
a) Distributing power to each module from individual power supplies (A common
power supply is not required.)
b) Distributing power to all modules from one power supply
Note: The long communication cable used in the above power distribution pattern is
subject to voltage drop. In such a case, use a cable of sufficient thickness.
K
V
-
R
1
A
R16/R8 R16/R8
Unconnected terminals
K
V
-
R
1
A
+
R16/R8
+
+ S S
R16/R8
+
+ S S
R16/R8
+
S S +
Communication cable
Communication cable
DC power supply DC power supply DC power supply
K
V
-
R
1
A
+
R16/R8
+
+S S
R16/R8
+
+S S
R16/R8
+
+S S
Communication cable Communication cable
DC power
supply
K
V
-
R
1
A
R16/R8 R16/R8
R16/R8
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-189
5.3.9 Connector Assembly Instructions
Connector assembly
OP-21734 crimping tool
I Part names
I Applicable cables
Contact removal
To remove a contact from the connector, align the contact with the arrow mark on
the crimping tool. Pull the cable while pushing the contact against the tool. The
contact will remain in the contact holder.
Crimping contact to cable
1. Separate a contact from the contact carrier.
1
18
2
19
3
20
4
21
5
22
6
23
7
24
8
25
9
26
10
27
11
28
12
29
13
30
14
31
15
32
16
33
17
34
1
11
2
12
3
13
4
14
5
15
6
16
7
17
8
18
9
19
10
20
(The above figure represents the pin assignment of the
connector viewed from the left.)
Handle
Pressure punch
Crimping unit
Contact removal pin
Cover
Contact holder
Guide
Specifications
Cable size Sheath outer diameter
AWG 22 to 24 (stranded) Cross-section: 0.20.3 mm
2
1.1 1.5 mm dia.
Pull the cable while pushing the contact against the crimping tool.
Cable
Contact removal pin
Cut in this direction.
Cut here.
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-190
2. Insert the contact directly until it touches the contact holder.
3. Insert the cable directly to the end along the crimping slot.
4. Grip the handle until the contact clamp fully encircles the cable.
5. Gently pull the cable and remove the crimped contact from the contact holder.
Insert it into a housing containing no contact.
Crimping tool cautions
Choose an appropriate cable.
Cut the cable tip sharply so that no burrs remain. It is not necessary to peel back
the sheath.
After crimping, check the following:
The crimping tool is plastic and is designed to be lightweight. It may break if
excessive force is applied to the handle after crimping.
The precision mechanism of the crimping tool may malfunction if it is dropped or
jarred. Do not disassemble the tool.
The plastic material will melt upon contact with strong solvents such as acetone,
trichlene, or benzine. Do not allow solvents to contact the tool.
Even if no crimping tool is available, you may be able to solder the contact and
cable.
A flat cable can be used, as the connector conforms to the MIL Standard.
Crimping grooves
Crimping
punch
Cover
Guide
Cable Cable
Crimping punch
Cover
Guide
The clamp should fully encircle the cable.
Housing with no contact
The clamp must fully
encircle the cable.
The cable must be inserted
completely into the contact.
Special crimping tool Part no. OP-21734
34-pin connector Part no. OP-23139
20-pin connector Part no. OP-22185
Contacts (200) Part no. OP-22186
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-191
5.3.10 KV-300 CPU I/O Indicators
The KV-300 CPU has the I/O indicators (for 32 I/O ports) described below.
(CPU)
KV-300 KV-U4 KV-R1 KV-C16X KV-C32X KV-B16R
[Selecting module numbers to be indicated.]
Press and hold the SELECT button.
The indicator assigned to the selected module Note1
number lights while pressing
Release the SELECT button.
The ON/OFF information on I/Os of the selected Note2
module number is displayed. The SELECT indicator
of the selected module number flashes.
(The SELECT indicator of the KV-300 CPU lights.)
Every time the SELECT button is pressed, the selected module number is
shifted to the right module After the rightmost module is selected, the next
module to be selected comes to the KV-300.
Note 1: When module number 16 is selected, indicator 0 in line B lights;
when module number 17 is selected, indicator 1 in line B lights.
Note 2: I/O indicator line A corresponds to input ch 0000; line B corresponds
to input ch 0100 when input modules are selected. I/O indicator line A also
corresponds to output ch 0500; line B also corresponds to output ch 0600.
When the KV-300 CPU is selected, 0000 to 0009 are assigned to line A
indicators, and 0500 to 0503 are assigned to line B indicators.
KV-300
CPU Module No.7 Module No.8
Last module
no. connected

SELECT
RUN/
ERROR
SELECT
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
A B
SELECT
indicator(green)
SELECT
button
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-192
5.3.11 KV-10/80 Expansion Units
KV-80/40
KV-24/16/10
As illustrated above, up to 3 expansion units can be connected to the KV-80 or
KV-40 basic unit and up to 4 expansion units to the other models. (A maximum of
2 input only expansion units can be connected to the KV-80.)
Expansion units are compatible with all base units. Different types of expansion
units can also be connected simultaneously. For example, an 8 I/O terminal unit
and a 16 I/O terminal unit can be connected to the same base unit at the same
time. Also, relay-contact output units and BJT output units can be connected
simultaneously.
Connections
1. Slide and open the lid on the right side of a basic or expansion unit.
2. Insert the connector.
Securely insert connectors of expansion units into corresponding sockets to
ensure reliable operation.
Connect or remove expansion units only when the power for the basic unit is
OFF.
Basic units and expansion units can be mounted side by side.
Do not extend the cable of an expansion unit.
Expansion units KV-16EX(W), 16EYR(W)/16EYT(2W), KV-8EX(W),
8EYR(W)/8EYT(2W)
Expansion units KV-16EX(W), 16EYR(W)/16EYT(2W), KV-8EX(W),
8EYR(W)/8EYT(2W)
Base units
KV-80R(W)
KV-80T(W)
KV-40R(W)
KV-40T(2W)
Base units
KV-24R(W)
KV-24T(2W)
KV-16R(W)
KV-16T(2W)
KV-10R(W)
KV-10T(2W)
Use a finger
For KV-10/80 users
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
1
5
Chapter 5 KV-300 Hardware
1-193
Switch Expansion unit I/O relay No.
1 2
KV-8ER(W)/T(2W) KV-8EX(W) KV-8EYR(W)/T(2W) KV-16EX(W) KV-16EYR(W)/T(2W)
Input Output Input Output Input Output Input Output Input Output
OFF OFF
ON OFF
300 700 300 700 300 700
to 303 to 703 to 307 to 707 to 315 to 715
OFF ON
400 800 400 800 400 800
to 403 to 803 to 407 to 807 to 415 to 815
ON ON
900 900 900
to 903 to 907 to 915
1 2
ON
OFF
Switch Expansion unit I/O relay No.
1 2
KV-8ER(W)/T(2W) KV-8EX(W) KV-8EYR(W)/T(2W) KV-16EX(W) KV-16EYR(W)/T(2W)
Input Output Input Output Input Output Input Output Input Output
OFF OFF
100 600 100 600 100 600
to 103 to 603 to 107 to 607 to 115 to 615
ON OFF
200 700 200 700 200 700
to 203 to 703 to 207 to 707 to 215 to 715
OFF ON
300 800 300 800 300 800
to 303 to 803 to 307 to 807 to 315 to 815
ON ON
400 900 400 900 400 900
to 403 to 903 to 407 to 907 to 415 to 915
Assignment of I/O relay numbers to expansion units
To assign I/O relay numbers to expansion units, use the channel setting switches
on each unit.
When changing the channel settings, be sure to turn the power OFF.
The channel setting switches for each expansion unit must have different set-
tings. (This also applies to input or output only expansion units.)
After setting the channel setting switches, write the numbers on the attached
channel number label, and apply it on each expansion unit.
Channel setting switch
I Connection to KV-40, KV-24, KV-16 or KV-10
Do not set switches 1 and 2 to OFF on the KV-40. (Input relays 100 to 115 and
output relay 600 to 615 cannot be assigned to the KV-40.)
I Connection to KV-80
Do not set switches 1 and 2 to OFF on the KV-80. (A maximum of 2 input only
expansion units can be connected. When three input units are connected, input
relays of the unit with switches 1 and 2 ON cannot be used.)
5.3 Module/Unit Connections
K
V
-
3
0
0
K
V
-
1
0
/
8
0
5
Chapter 5 KV-300 Hardware
1-194
5.3.12 Mounting Environment
KV PLCs are highly reliable. Consider, however, the following before installation to
get the best result from your PLC.
Locations
Do not install your PLC in the following places:
Places directly exposed to sunlight
Places where the temperature drops below 0C (32F) or exceeds 50C (122F)
Places where the humidity drops below 35%RH or exceeds 85%RH
Places where condensation occurs due to sudden temperature drop
Places where there is corrosive or flammable gas
Places exposed to airborne dust, corrosive substances such as salt, metal
particles, or oil
Places where the PLC may be subjected to strong vibration or impact
Places where water, oil, or chemicals may splash the PLC
Places exposed to strong magnetic or electric field.
Installation site inside the panel
Ambient temperature
The operating temperature range of the PLC basic unit is 0 to 50C (32 to122F)
(No freezing).
The operating temperature range becomes 0 to 45C (32 to103F) when the PLC
is operated with the handheld programmer connected (No freezing).
Provide enough space for proper ventilation.
Do not install the PLC directly above equipment which emits large amount of
heat (heater, transducer, large capacitor, etc.).
Provide a fan or air conditioner, if the temperature exceeds 50C (122F).
Improving noise resistance
Do not install the PLC and high voltage equipment in the same control panel.
Isolate the PLC as far as possible from the power cables.
Do not route ducts or wires between the basic unit and the expansion units in
case that units are mounted side by side.
Accessibility
Isolate the PLC as far as possible from high voltage equipment and drive equipment
in order to ensure safe and easy access for adjustment and maintenance.
Wiring
M3.0 screws are employed from the terminals.
Use crimp terminals of the following types. (units: mm)
CAUTION
CAUTION
6.0 max.
6.0 max.
Chapter 6
Handheld Programmer
This chapter describes how to use the handheld programmer and memory card.
6.1 Using the Handheld Programmer ............................................ 1-196
6.1.1 Outline of the Handheld Programmer .................................................... 1-196
6.1.2 Precautions ............................................................................................ 1-198
6.2 Basic Operations ..................................................................... 1-200
6.2.1 Basic Programming Operation ............................................................... 1-200
6.3 Functions .................................................................................. 1-216
6.4 Memory Card ............................................................................ 1-230
6.4.1 Functions [used with KV-P3E(01)] ......................................................... 1-230
6.4.2 Storage Capacity.................................................................................... 1-230
6.1 Using the Handheld Programmer
Chapter 6 Handheld Programmer
1-196
6
6.1 Using the Handheld Programmer
The KV-P3E(01) handheld programmer is used not only for creating user programs,
but also for loading them into the KV PLC or switching the KV PLC between RUN
and PROGRAM (stop) mode. It also can be used to monitor PLC operation and
transmit data with a memory card.
6.1.1 Outline of the Handheld Programmer
Parts and functions
1. LCD
Is back-lit and displays program contents and information such as error mes-
sages.
Example
RUN mode
PROGRAM mode
See the following chapters for more information on the contents of these dis-
plays.
2. Memory card indicator
Lights when this programmer is communicating (using such instructions as
READ, WRITE, DELETE, and VERIFY) with the memory card. Do not pull out the
card while this indicator is lit to be sure that the desired operation is fully
completed. This indicator also lights when a memory card must be inserted in the
slot. Press [CLEAR] to turn it off.
Model Instruction PLC Memory card
KV-P3E(01) All KV-Series PLC instruc- All KV-Series PLCs M-2, M-3
tions (basic, application,
and arithmetic instructions)
RUN.....
00002 INSERT
LD 00000
Type of operation
Operand
Line No. Instruction
LD
7
LDB
4
SET
1
RES
0
DW
TMR
(T)
CTR
(C)
AND
8
ANB
5
ANL
2
W-ON
F
W-OFF
Li
END
DM

OR
9
ORB
6
ORL
3
W-UE
E
W-DE
Lo
ENDH
TM
OUT
A
OUB
B
MPS
C
MRD
D
MPP
ch
ITVL
#TM
@
#,$
FUN
CTC CTH
ON
OFF
8
1
2
3
7
6
5
4
6.1 Using the Handheld Programmer
Chapter 6 Handheld Programmer
1-197
1
6
3. Mode switch
Switches the operation mode of the KV PLC and the handheld programmer.
RUN mode
This mode is used to load the program stored in the handheld programmer to
the KV PLC to allow operation. In this mode, statuses and data can be moni-
tored, data changed, and OFFLINE EDITOR used during operation of the
PLC.
PROGRAM mode
This mode is used for creating or changing user programs on the handheld
programmer.
4. Operation keys
The KV-P3E(01) offers two types of beep. One short beep indicates correct
operation has been made whereas several beeps are the warning sign that the
operation just performed is incorrect.
Each operation key is designed for use with other keys for efficient operation and
programming. Refer to the later description for details of key functions and
operations.
5. INSTRUCTION/NUMERIC keys
Enter instruction or number.
The KV-P3E(01) determines whether to enter an instruction or number depend-
ing on the cursor position. Therefore, no additional operation is required by the
operator.
Example
Key Name Basic function
Function Selects one of the function Nos.
Backspace Cancels last numeric entry.
Insert Switches between INSERT and SAVE modes.
Delete Enables DELETE mode.
Scrolls to next program line or function No.
OFF Turns relay OFF.
Moves cursor on LCD.
Scrolls to previous program line or function No.
ON Turns relay ON.
Card Enables access to memory card (ACCS mode) in PROG mode.
monitor Enables Scan time, Multi, and ON/OFF monitors in RUN mode.
Enter & Loads program, function No. and any other entry on LCD.
R-Search Searches program backward in VERIFY mode.
Search
Searches program forward for specific lines from desired location in
VERIFY mode.
Fix
Is used to enter any arbitrary data in VERIFY mode.
Sets and clears FIX function when Multi-monitor is used.
Clear Clears error and cancels incorrect entry.
BS
FNC
INS
DEL
MON
CARD
ON
OFF
ENT
R-SRCH
SEARCH
*
FIX
CLEAR
LD
7
Instruction:
Enters LOAD (LD) instruction.
Numeric:
Keys A through F enter numbers in hex.
6.1 Using the Handheld Programmer
Chapter 6 Handheld Programmer
1-198
6
6. INSTRUCTION/OPERAND keys
Enter instruction or operand.
The KV-P3E(01) determines whether to enter an instruction or operand depend-
ing on the cursor position. Therefore, no additional operation is required by the
operator.
Example
Note 1: Programs entered with the KV-P3E(01) are written into the KV-P3E(01)s
RAM and are not directly written into the KV PLC. Hence, when the power switch is
turned OFF, the programs in the KV-P3E(01) RAM are lost. To save the program
currently created, write it to a memory card or complete the program and transfer it
to the KV PLC. (If an error message appears, programs cannot be transferred.
Correct the communication circuit and retry the transfer.)
Note 2: The KV-P3E(01), which can be used with the Visual KV Series, is the model
released on or after October 21st, 1993.
7. Connector cable port
Accommodates a cable connector that connects this programmer to any KV-
series PLC.
8. Memory card slot
Accommodates memory card (M-2 or M-3). To avoid malfunction of the program-
mer, do not insert anything other than these cards.
6.1.2 Precautions
This handheld programmer can be connected to or disconnected from the PLC
regardless of whether the KV is ON or OFF.
The handheld programmer can be connected to either communication port A or
B. However, two handheld programmers cannot be connected at the same time.
To disconnect the handheld programmer after the operation has started, be sure
to leave the mode switch set to RUN. This allows the operation to continue.
END
DM
Instruction:
Enters END instruction.
Numeric:
Keys # and $ indicate decimal and
hex numbers respectively.
Open the connector
cover and plug in
the connector.
Connector cable (2.5 m)
OP-26487
6.1 Using the Handheld Programmer
Chapter 6 Handheld Programmer
1-199
1
6
I Connection between the KV and Handheld Programmer
I Connector cable for handheld programmer
Do not leave the connector cable connected to the PLC for a long period of time
such as during normal operation. It can be left connected during programming,
trial operation, monitoring, or adjustments which only take a relatively short
amount of time.,
Avoid binding the KV-P3E(01) connection cable together with, or placing the KV-
P3E(01) connection cable near, high power lines or output load lines. Failure to
do so may cause an operation failure.
Do not apply excessive force to the KV-P3E(01) connection cable.
Use only the connector cable provided by KEYENCE to prevent malfunction of
the PLC.
The KV-P3E(01) connection cable cannot be extended.
Connection to KV Operation mode at power ON
Not connected RUN mode
Connected KV is set to mode switch setting.
Connected after power ON KV is switched to mode switch setting.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-200
6
6.2 Basic Operations
Through examples this section describes basic operations of the handheld program-
mer and its operation keys.
6.2.1 Basic Programming Operation
The handheld programmer is frequently used for programming. It is recommended
that you master the following operations to perform quick and efficient programming.
Mode: P: PROGRAM mode
R: RUN mode (OFFLINE EDITOR not used)
E: OFFLINE EDITOR [FNC67]
Operation Function Mode Key operation
Reference
page
CLEAR PRE
CLEAR
1-201
MOVE CURSOR PE 1-202
SCROLL PE Displays previous line....
ON
1-202
Displays next line....
OFF
Scrolls to arbitrary line....
1. ALL CLEAR P 1-203
2. ENTER PE When key for desired instruction is available: 1-203
INSTRUCTION
When key for desired instruction is not available:
3. ENTER PE 1-206
OPERAND
4. END PE 3-94
ENDH END..........
ENDH.......
F
o
r


c
r
e
a
t
i
n
g

p
r
o
g
r
a
m
Cancels input data
or deletes error
message.
Moves cursor
sequentially to
instruction position,
operand position,
and line (step) No.
position.
Scrolls to previous
line, next line, or to
arbitrary line.
Deletes previous
program. (Program
is replaced by
"NOP".)
Enters instruction.
(If cursor is not
located in instruction
position, move
cursor to position.)
Enters operand. (If
cursor is not located
in operand position,
move cursor to
position.)
Ends program by
entering ENDor
ENDH.
Instruction Operand Line No.
ENT
R-SRCH
Numeric key Press (Enter line No.)
6
FNC
ORB ENT
R-SRCH 0
RES ENT
R-SRCH
CLEAR
Numeric key Instr. key Press
(Enter timer or counter No.)
Numeric key
FNC
ON
OFF
ENT
R-SRCH
Press
or
or
or
then
(2nd step) (1st step) (3rd step)
Numeric key Press
(Enter operand type.)
Operand key
ENT
R-SRCH
(When two or more operands need to be entered.)
DM
ENT
R-SRCH
END
TM
ENT
R-SRCH
ENDH
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-201
1
6
Mode: P: PROGRAM mode
R: RUN mode (OFFLINE EDITOR not used)
E: OFFLINE EDITOR [FNC67]
To find function No. assigned to desired function: Press [FNC], and the cursor then
appears at the position where the function No. is to be entered. Pressing
ON
or
OFF
scrolls the functions and assigned Nos., making it easy to find the desired
function No.
BS key
When the line No., relay No., timer No., or counter No. is entered using the numeric
key, pressing BS key each time deletes lowest digit.
CLEAR
Pressing [CLEAR] allows the input data to be canceled or error message to be
deleted.
Press CLEAR:
To cancel an instruction or operand erroneously entered during the programming
and to return to the previous display. Pressing [CLEAR] deletes displayed data,
but does not delete instructions/operands that have already been stored.
To delete error message. If cause of error is removed, operation can be re-
sumed.
To cancel the entry of [FNC], [INS], [DEL], [SEARCH], or [CARD/MON].
Operation
01234
BS
00123 00012
BS
CLEAR
MON
CARD
RUN
TIME
SCAN
MON
CARD
MONITOR
MULTI
MON
CARD
MON
CARD
MONITOR
ON/OFF
F
o
r


c
r
e
a
t
i
n
g

p
r
o
g
r
a
m
Operation Function Mode Key operation
Reference
page
1. DISPLAY LINE PE See "SCROLL" on previous page. 1-202
2. CHANGE PE Follow same procedure as described in "ENTER 1-203
INSTRUCTION INSTRUCTION" on the previous page. New
instruction is overwritten on previous instruction.
3. CHANGE PE Follow same procedure as described in "ENTER 1-203
OPERAND OPERAND" on previous page. New operand is
overwritten on previous instruction.
INSERT LINE PE 1. Follow procedure described in "SCROLL" to 1-206
scroll to desired line.(To insert new line
between lines 2 and 3, scroll to line 3.)
2. Press
INS
to enter INSERT mode. ("INSERT"
is displayed.)
3. Enter desired instruction and operand.
*Press CLEAR to cancel INSERT mode.
DELETE LINE PE 1. Follow procedure described in "SCROLL" to 1-206
scroll to desired line.
2. Press
DEL
to enter DELETE mode and press
ENT
R-SRCH
("DELETE" is displayed.)
Press CLEAR to cancel DELETE mode.
MONITOR R 1-212
Displays line to be
changed.
Changes instruction.
(Move cursor to
instruction position first.)
when instruction does not
need to be changed, go
to next step (3) to change
operand.
Changes operand.
(Move cursor to operand
position first.)
Inserts new line.
Deletes line.
Monitors scan time,
current values, and ON/
OFF statuses.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-202
6
MOVE CURSOR
Pressing [] allows the blinking cursor to move to the desired position. (The cursor
moves sequentially to the instruction position, operand position, and line No.
position.)
Functions when the PROGRAM mode, the ON/OFF MONITOR mode, or
OFFLINE EDITOR [FNC67] is in use.
Operation
SCROLL
Scrolls to the previous line, the next line, or to an arbitrary line.
I Scrolling to the previous or following line
Functions when the PROGRAM mode, the MULTI-MONITOR mode, the ON/OFF
MONITOR mode, or OFFLINE EDITOR [FNC67] is in use.
Holding the key down allows the line to be successively moved.
Operation
ON
. . . Displays the previous line.
OFF
. . . Displays the next line.
I Scrolling to an arbitrary line
Functions when the PROGRAM mode, the ON/OFF MONITOR mode, or
OFFLINE EDITOR [FNC67] is in use.
When the line No. is set to 99999, the final line is displayed.
Move the cursor to the line No. position first.
Operation
Example: To scroll from line 0 to line 10:
Numeric keys serve also as instruction keys. When line No. is set, however,
numeric keys automatically serve as numeric keys.
High order zero(s) does not need to be entered.
00000
LD 00000
Operation
Instruction
00000
LD 00000
Operand
00000
LD 00000
Cursor
(blinking)
Cursor
(blinking)
Cursor
(blinking)
Line No.
00000
LD 00000
Cursor (blinking)
00010
OUT 00500
Cursor (blinking)
SET
1
RES
0
ENT
R-SRCH
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-203
1
6
ALL CLEAR [FNC60]
Deletes the entire program currently written in the KV. (The program is replaced by
"NOP"). Before creating a new program, be sure to execute ALL CLEAR.
Functions only when the PROGRAM mode is in use.
Even if ALL CLEAR is executed, the data in the data memory is not deleted but
remains stored.
Operation
Writing program
A new program is written on the line being displayed.
Functions when the PROGRAM mode or OFFLINE EDITOR [FNC67] is in use.
Description
The previous or following line can be successively displayed by scrolling up or
down using
ON
or
OFF
.
When [ENT/R-SRCH] is pressed after the entry of the instruction/operand, the
next line is automatically displayed.
[] is used to move the cursor between the instruction, operand and line No.
positions. The cursor must first be moved to the desired position to enter the
instruction/operand.
Pressing [DEL] or [INS] allows you to enter the DELETE or the INSERT mode.
Example 1: Entering the basic contact instruction
Entering "LD 0003"
ALL CLEAR
EXEC.OK?
RES
0
ENT
R-SRCH
ORB
6
FNC
ENT
R-SRCH
00000
NOP
Cursor (blinking)
ENT
R-SRCH
COMPLETED
00000
NOP
00000
LD 00000
LD
7
Cursor
(blinking)
LD 00003
ORL
3
Cursor
(blinking)
NOP
ENT
R-SRCH
Cursor
(blinking)
00000
00001
Cursor
(blinking)
Enter LOAD instruction
Cursor automatically moves to operand
position.
Enter "0003".
"LD 0003" has been set.
"LD 0003" has been entered.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-204
6
Example 3: Entering application instruction
Entering "DIFD 1000"
Enter DIFFERENTIATE DOWN instruction
[FNC09].
Cursor automatically moves to operand position.
Enter "1000".
"DIFD 1000" has been set.
"DIFD 1000" has been entered.
RES
0
RES
0
00002
NOP
FUN[09]
DIFD
OR
9
Cursor
(blinking)
DIFD 00000
Cursor
(blinking)
NOP
Cursor
(blinking)
00002
00003
Cursor
(blinking)
ENT
R-SRCH
DIFD 01000
00002
Cursor
(blinking)
RES
0
FNC
ENT
R-SRCH
SET
1
RES
0
"DIFD 1000" has been entered.
Example 2: Entering timer/counter instruction
Entering "TMR006#00055"
Enter TMR instruction.
00001
NOP
00001
TMR000 #00000
TMR
(T)
Cursor
(blinking)
TMR006 #00000
ORB
6
Cursor
(blinking)
NOP
Cursor
(blinking)
00001
00002
Cursor
(blinking)
ENT
R-SRCH
ANB
5
ANB
5
TMR006 #00055
00001
Cursor
(blinking)
Cursor automatically moves to timer
No. position.
Enter "6" as timer No.
Move cursor to operand position.
Enter "55" as timer preset value.
"TMR006#00055" has been set.
"TMR006#00055" has been entered.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-205
1
6
Example 4: Entering arithmetic instruction
Entering "LDA#01860"
I Changing contacts
To change contacts for timer/counters to input relays, output relays, or internal
utility relays, move the cursor to the contact to be changed using the [INS] key,
then press [DW/RELAY].
Enter LOAD A instruction [FNC23].
AND
8
SET
1
00003
NOP
FUN[23]
LDA
ORL
3
Cursor
(blinking)
LDA 00000
Cursor
(blinking)
NOP
Cursor
(blinking)
00003
00004
Cursor
(blinking)
ENT
R-SRCH
LDA #01860
00003
Cursor
(blinking)
ANL
2
FNC
ENT
R-SRCH
@
#, $
ORB
6
RES
0
Cursor automatically moves to operand position.
Enter "#1860"*.
"LDA#01860" has been set.
"LDA#01860" has been entered.
Line No. on display automatically changes to
next line No.
* To enter a hexadecimal number ($xxxx), press
@
#, $
once more. Then "$" is displayed.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-206
6
Inserting New Instruction/Operand into Program
Inserts a new instruction/operand into the line being displayed. All succeeding
instructions/operands are sequentially moved to the next lines.
Operation
To insert "DIFU1100" into line 2 (between lines 1 and 2.):
The instructions/operands entered on the previous or following lines can be
displayed sequentially by using
ON
or
OFF
.
When the insertion is completed, press [CLEAR] to exit the INSERT mode.
INSERT functions when the PROGRAM mode or OFFLINE EDITOR [FNC67] is
in use.
Deleting Instruction/Operand from Program
Deletes the instruction/operand on the line being displayed. All line Nos. following
the deleted line No. are decremented by the number of lines deleted.
Operation
To delete the instruction/operand entered on line 3:
Set INSERT mode.
00002 INSERT
DIFD 01000
RES
0
Cursor
(blinking)
DIFU 01100
00002 INSERT
SET
1
FNC
INS
Scroll to line 2.
ENT
R-SRCH
RES
0
SET
1
DIFU 00000
Cursor
(blinking)
00002 INSERT
SET
1
RES
0
ENT
R-SRCH
Cursor
(blinking)
DIFD 01000
00003 INSERT
Cursor (blinking)
INSERT mode.
Enter "DIFU" [FNC10].
Enter "1100".
"DIFU1100" has been inserted into line 2.
Instruction/operand on line 2 is moved to line 3.
Set DELETE mode.
DELETE mode
Execute DELETE.
Instruction/operand originally entered on line
4 is moved to line 3.
DIFD 01000
00003 DELETE
Scroll to line 3.
ENT
R-SRCH
LDA #01860
00003 DELETE
Cursor (blinking)
DEL
Cursor
(blinking)
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-207
1
6
The instructions/operands entered on the previous or following lines can be
displayed by using
ON
or
OFF
.
All succeeding instructions/operands sequentially move up, and "NOP" appears
on the lines deleted.
When the deletion is completed, press [CLEAR] to exit the DELETE mode.
DELETE functions when the PROGRAM mode or OFFLINE EDITOR [FNC67] is
in use.
The deleted instructions/operands are cleared and will not be stored in
memory.
Searching program
Searches the source program for an instruction/operand entered on and after the
specified line.
The following 3 methods are available for searching:
1. Searching for instruction
2. Searching for instruction and relay No. (operand)
3. Searching for relay No. (operand)
Only the instruction/operand entered on and after the specified line can be sequen-
tially searched by any of the above methods. (You can search forward or backward
through the program.)
SEARCH functions when the PROGRAM mode or OFFLINE EDITOR [FNC67] is in
use.
Procedure
1. Starting SEARCH
Enter the search data in the same way as you do for writing a program.
When [SEARCH] is pressed, searching starts according to the data shown on
the line being displayed.
When writing program:
Enter instruction + operand, then press [ENT/R-SRCH]
When searching program:
Enter instruction + operand, then press [SEARCH]
2. Continuous SEARCH and backward SEARCH
When [SEARCH] is pressed in the SEARCH mode, searching is repeated
according to the previous search data.
When there are no more instructions/operands matching the search data
(when the search is completed), "..OVER" appears on the display.
When [ENT/R-SRCH] is pressed in the SEARCH mode, backward searching
starts according to the previous search data.
Referemce: SEARCH mode
When search data is entered and [SEARCH] is pressed, "SEARCH" or "..OVER"
appears on the display of the handheld programmer. This status is referred to as
SEARCH mode.
3. Ending SEARCH mode
Pressing [CLEAR] ends the SEARCH mode.
When the SEARCH mode is accessed, the instruction, operand or line No.
cannot be entered. If the instruction, operand or line No. is entered in the
SEARCH mode, the SEARCH mode is automatically canceled.
See examples on the following pages.
CAUTION
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-208
6
I Searching for instruction
Example 1: Searching for the CON instruction
Example 2: Searching for the AND instruction
Enter CON instruction [FNC06]. 0
CON
00000
00004 SEARCH
FNC
Scroll to line 0
RES ORB ENT
R-SRCH 6
SEARCH
SEARCH
CON
00077 OVER
CON
Search data has been entered.
Searching starts.
Line with first occurrence of "CON" is displayed.
Press SEARCH repeatedly.
Searching is completed.
8
AND *****
00000
00007 SEARCH
Scroll to line 0
AND *
FIX
SEARCH
SEARCH
AND 00501
00121 OVER
AND 01000
Enter AND instruction.
Search data has been entered.
Searching starts.
Line with first occurrence of "AND" is displayed.
Press SEARCH repeatedly.
Searching is completed.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-209
1
6
I Searching for instruction and operand
Example 3: Searching for "LD C012"
Example 4: Searching for AND instruction that has TIMER as operand
Search data has been entered.
(C)
LD C012
00000
00010 SEARCH
Scroll to line 0
CTR SET ANL
1
SEARCH
SEARCH
00015 OVER
2 7
LD
LD C012
LD C012
Line with first occurrence of "LD C012" is dis-
played.
Press
SEARCH
repeatedly.
Lines with occurrence of "LD C012" are sequen-
tially displayed.
Searching starts.
8
AND T***
00000
00017 SEARCH
Scroll to line 0
AND TMR
(T)
SEARCH
SEARCH
AND T018
00086 OVER
AND T006
*
FIX
Search data has been entered.
Line with first occurrence of "AND T" is displayed.
Press SEARCH repeatedly.
Lines with occurrence of "AND T" are sequentially
displayed.
Searching is completed.
Searching starts.
Searching is completed.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-210
6
Example 5: Searching for the TMR instruction whose set value is "10".
Example 6: Searching for the line where "TMR010" is defined.
Search data has been entered.
Line with first occurrence of "TMR #00010" is
displayed.
Press
SEARCH
repeatedly.
Lines with occurrence of "TMR #00010" are
sequentially displayed.
Searching is completed.
Searching starts.
FIX
TMR*** #00010
00000
00009 SEARCH
Scroll to line 0
* SET
SEARCH
SEARCH
00032 OVER
1 (T)
TMR
TMR005 #00010
TMR014 #00010
RES
0
TMR010 #*****
00000
00052 OVER
Scroll to line 0
SEARCH
(T)
TMR
TMR010 #00020
RES
0
SET
1
*
FIX
Search data has been entered.
Lines with occurrence of "TMR010" are sequen-
tially displayed.
Searching is completed.
Searching starts.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-211
1
6
I Searching for operand
Example 7: Searching for line where relay No. 1800 is used as operand.
Example 8: Searching for the line where the data memory is used.
Note: Searching cannot be performed according to search data shown below.
Search data has been entered.
Line with first occurrence of "01800" is dis-
played.
Press SEARCH repeatedly.
Lines with occurrence of "01800" are sequen-
tially displayed.
Searching starts.
1
* 01800
00000
00060 SEARCH
Scroll to line 0
SET RES
SEARCH
SEARCH
0 FIX
*
LD 01800
00069 OVER
OUT 01800
RES
0
AND
8
DM
* DM****
00000
00010 SEARCH
Scroll to line 0
END
SEARCH
SEARCH
00097 OVER
FIX
*
LDA DM0000
STA DM0020
*
FIX
Search data has been entered.
Line with first occurrence of "DM" is displayed.
Lines with occurrence of "DM" are sequentially
displayed.
Searching starts.
Press SEARCH repeatedly.
Searching is completed.
* *****
00000
Searching is completed.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-212
6
MONITOR
Monitors the operation status of the KV while the KV is in operation.
Functions only when the "RUN" mode is in use. (Does not function when
OFFLINE EDITOR [FNC67] is in use.)
The scan time, current values, and ON/OFF statuses can be monitored.
1. SCAN TIME MONITOR
The current scan time is displayed for monitoring.
2. MULTI-MONITOR
A total of 16 elements (ON/OFF status of the relay contacts, current value or ON/
OFF status of the timers, counters or data memories, and ON/OFF statuses of a
group of contacts) can be registered and displayed for monitoring. Up to 2 registered
elements can be displayed at the same time.
3. ON/OFF MONITOR
The ON/OFF status of the relay contact corresponding to the operand on each line
of the program, or the current value of the timers, counters or data memories is
displayed for monitoring.
Basic operation
Press [CLEAR] to return to initial display "RUN".
SCAN TIME MONITOR
The current scan time is displayed.
Operation example
Scan time value is stored in temporary memory No. 31 (TM31). If required, it can be
read out using LDA instruction.
Refer to "1.3.11 Temporary Data Memory" on page 3-21, and "LDA Instruction" on page 3-140.
MULTI-MONITOR
A total of 16 elements (relay contacts, timers, counters, data memories) can be
registered for monitoring their ON/OFF status or current value. However, only two
elements can be monitored at the same time. Also, when a contact is specified using
the channel function, 15 succeeding contacts as well as the specified contact can be
monitored at the same time.
RUN
00000
LD 00000
Basic display in RUN mode
ON/OFF MONITOR
display
SCAN TIME (TM31)
0.3ms
MULTI MONITOR
MON
CARD
00000
MON
CARD
MON
CARD
MON
CARD
MULTI-MONITOR
display
Line 0 of the program is displayed.
SCAN TIME MONITOR display
Key operation Display Description
RUN Initial display
SCAN TIME (TM31) Access SCAN TIME MONITOR mode.
0.3 ms Current scan time is displayed.
RUN Return to initial display "RUN". CLEAR
MON
CARD
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-213
1
6
Description
The ON/OFF status/current value for one element (relay contact, timer, counter,
data memory, or channel) is displayed on one line on the display.
Up to 16 elements can be registered for monitoring. While scrolling up or down
using
ON
or
OFF
, the information for these elements can be successively
monitored.
Information for up to 2 elements can be displayed at the same time on the upper
and lower lines of the display.
To enter the monitoring element, the lower line is used.
The upper line can also be used for fixed display. In this case, the lower line
alone is scrolled.
Once the monitoring element is registered, it is stored even if the monitoring is
completed. The registered elements, however, are cleared when the power
supply is turned off, when ALL CLEAR or HANDHELD PROGRAMMER CLEAR
is executed, or when the program is transferred or received.
The registered element can be changed, by overwriting, inserting, or deleting.
Operation example
Monitoring element entered is automatically registered. (Up to 16 elements)
Displaying monitoring result
The ON and OFF statues of the contact are expressed by the following symbols:
... ON, ... OFF
To display the current value of the timer, counter, or data memory and ON/OFF
statuses of the channel, the following 4 types of display are selectable: decimal,
hexadecimal, ASCII, or binary display.
Key operation Display Description
RUN
MULTI MONITOR
00000
MULTI MONITOR
00500
00500
00000
00500
00011
00011
00000
00011
T005 00010
T005 00010
00000
T005 00010
DM0001 00125
DM0001 00125
00000
DM0001 00125
00500
RUN
Initial display
MON
CARD
MON
CARD
ANB
5
RES
0
RES
0
OFF
SET
1
ENT
R-SRCH
SET
1
OFF
TMR
(T)
ANB
5
ENT
R-SRCH
OFF
SET
1
ENT
R-SRCH
OFF
ANB
5
RES
0
RES
0
ENT
R-SRCH
CLEAR
END
DM
MPP
ch
Access MULTI-MONITOR mode.
Monitor-ing element can be
entered on lower line.
ON/OFF status of output relay No.
500 is monitored. (OFF)
Display next input line by scrolling
down.
ON/OFF status of input relay No.
0011 is monitored. (ON)
Display next input line by scrolling
down.
Display next input line by scrolling
down.
Display next input line by scrolling
down.
ON/OFF statuses of output relay
Nos. 500 through 515 are moni-
tored. (relay Nos. 501 503 and 504
are ON.)
Current value of data memory No.
1 is monitored. (125)
Current value and ON/OFF status
of timer 5 are monitored. (10 and
OFF)
ENT
R-SRCH
Return to initial display.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-214
6
MULTI MONITOR
DM0001 45678
MULTI MONITOR
DM0001
Decimal display
Binary display
MULTI MONITOR
DM0001 $B26E
MULTI MONITOR
Hexadecimal display
ASCII display
#, $
@
#, $
@
#, $
@
#, $
@
2
15
2
0
Binary display: ..... ON(1) ..... OFF(0)
DM0001
MULTI MONITOR
01005
Binary display
1104 1005
C
H

Enter element to be moni-


tored (relay contact, timer,
counter, data memory, or
channel.)

Press [INS]
to select
"REPLACE"
or "INSERT".
Press [ENT/
R-SRCH].

Press [DEL].
Press [ENT/
R-SRCH].

FTM01 00021
00001
Fixed display
Fixed display
Example
When the current value of data memory 1 is monitored (current value = 45678):
Here, "channel" means 16 contacts starting with an arbitrary contact.
Example
"1005ch" means 16 contacts of 1005 through 1015, and 1100 through 1104.
Changing registered element
Overwriting or inserting
Deleting
Fixed display
When monitoring by scrolling up or down using [/ON] or [/OFF], you can fix the
desired data on the upper line of display while scrolling only the lower line.
To cancel the fixed display, press
*
FIX
again.
Move cursor
to desired
line to using
ON
or
OFF
.
Move cursor
to desired
line to using
ON
or
OFF
.
Move cursor
to desired
line to using
ON
or
OFF
.
Same data remains
displayed on upper
section of display.
Program scrolls only on
lower section of display.
Press
*
FIX
.
6.2 Basic Operations
Chapter 6 Handheld Programmer
1-215
1
6
Operand code ON/OFF status
LD, LDB, AND, ANB, OR, ORB, ON/OFF status of operand(ON/OFF status of
OUT, OUB, SET, RES, KEEP, DIFU, operand "CTH" is not displayed.)(For "LDB", "ANB"
DIFD, STP, HSP, STG, JMP, INT and "ORB", output is inverted.)
SFT ON/OFF status of first operand
HKEY ON when key entry is detected.
W-ON, W-OFF, W-UE, W-DE ON/OFF status of latch relay (second operand)
TMR, TMH, TMS ON/OFF status of specified timer
C, UDC ON/OFF status of specified counter
CTC ON/OFF status of specified high speed counter
comparator
Others ON/OFF status is not monitored. (" " is displayed.)
Key operation Display Description
RUN Initial display
00000 Access ON/OFF MONITOR
LD 00000 mode.Line 0 is displayed.
00001 Scroll to next line.
OUT 00500
00002 - Scroll to next line.
END
0001 Scroll to previous line.
OUT 00500
RUN Return to initial display.
OFF
MON
CARD
ON
CLEAR
MON
CARD
MON
CARD
OFF
ON/OFF MONITOR
The ON/OFF status of the relay contact corresponding to the operand on each line
of the program is displayed for monitoring.
In the ON/OFF MONITOR mode, "SEARCH" and "SCROLL" can be executed,
while "OVERWRITE", "INSERT" and "DELETE" cannot be executed.
The ON/OFF statuses of the operand displayed in the ON/OFF MONITOR mode
are as follows:
... ON, ... OFF
Operation example
The ON/OFF monitor is disabled when the KV PLC is read-disabled.
6.3 Functions
Chapter 6 Handheld Programmer
1-216
6
ALL CLEAR
FNC[60] FNC[61]
P3E CLEAR
OFF
ON
6.3 Func tions
Function Nos. list
The KV has 16 functions for quick and easy programming or trial run.
A function No. [FNCxx] is assigned to each function. The functions are set using
[FNC] in the same way as entering the basic instructions, application instructions,
arithmetic instructions, or interrupt instructions.
Function Nos. list
MODE:
P: PROGRAM mode
R: RUN mode (OFFLINE EDITOR not used)
E: OFFLINE EDITOR in use
I To find function No. assigned to desired function:
Press [FNC], and the cursor appears at the position where the function No. is to be
entered. Pressing
ON
or
OFF
scrolls the functions and assigned Nos., making it
easy to find the desired function No.
Example
Function Function No. Mode Reference
page
[ALL CLEAR] 60 P 1-217
[P3E CLEAR] 61 P E 1-217
Handheld programmer Clear
[CTR CLEAR] 62 P 1-218
Counter Clear
[HIGH-SPEED CTR CLR] 63 P 1-218
High-Speed Counter Clear
[DM ALL CLEAR] 64 P 1-219
All Data Memory Clear
[L-RELAY ALL RST] 65 P 1-219
All Latching Relays Reset
[COMMUNICATION ] 66 P E 1-220
Program Sent or Received
[OFFLINE EDITOR] 67 R 1-221
Offline Editor Start
[QUIT OFF-L EDIT] 68 E 1-221
Offline Editor Stop
[CHG: T/C CURT-V] 69 P R 1-222
Timer/counter Current Value Change
[CHG: T/C SET-V] 70 PR 1-224
Timer/counter Setting Change
[FORCED SET/RESET] 71 PR 1-226
Relay On/Off
[DM WRITE] 72 PR 1-227
Write Into Data Memory
[TRIMMER MONITOR] 73 PRE 1-228
Read Trimmer Setting
[PROGRAM CHECK] 74 PE 1-228
Syntax Check
[PROGRAM SIZE] 75 PE 1-229
Program Capacity Check
6.4 Memory Card
Chapter 6 Handheld Programmer
1-217
1
6
ALL CLEAR [FNC60] PROGRAM mode
Function
Deletes entire program currently written into KV PLC and handheld programmer
[KV-P3E(01)].
When ALL CLEAR is executed, "NOP" appears on every line of the program.
Even if ALL CLEAR is executed, the data in the data memory is not cleared, but
remains stored. The counters, high speed counters, or internal utility relays
(latches) are cleared.
Key operation
Basic operation
Example of operation
HANDHELD PROGRAMMER CLEAR PROGRAM mode OFFLINE EDITOR
(P3E CLEAR) [FNC61]
Function
Deletes entire program currently written onto handheld programmer [KV-P3E(01)].
The program written into the KV PLC is not deleted.
Even when the KV PLC is read-disabled, you can edit a new program on the
programmer using this function.
Key operation
Basic operation
Example of operation
ORB
6
RES
0
ENT
R-SRCH
ENT
R-SRCH
FNC
ORB
6
SET
1
ENT
R-SRCH
ENT
R-SRCH
FNC
Key operation Display Description
00000
Display arbitrary line.
LD 00000
ALL CLEAR
Access ALL CLEAR function.
EXEC. OK?
Execute ALL CLEAR.
COMPLETED
00000
NOP
FNC
ORB
6
RES
0
ENT
R-SRCH
CLEAR
ENT
R-SRCH
Key operation Display Description
00000
Display arbitrary line.
LD 00000
P3E CLEAR Access HANDHELD PROGRAMMER
EXEC. OK? CLEAR [P3E CLEAR] function.
Execute HANDHELD PROGRAMMER
COMPLETED CLEAR.
00000
NOP
FNC
ORB
6
ENT
R-SRCH
CLEAR
ENT
R-SRCH
SET
1
6.3 Functions
Chapter 6 Handheld Programmer
1-218
6
Key operation Display Description
00000
Display arbitrary line.
LD 00000
HI-SPEED CTR CL Access HIGH SPEED COUNTER
EXEC. OK? CLEAR [HIGH SPEED CTR CLR] function.
Execute HIGH SPEED COUNTER.
COMPLETED
00000
Return to initial display.
LD 00000
FNC
ORB
6
ENT
R-SRCH
CLEAR
ENT
R-SRCH
ORL
3
COUNTER CLEAR (CTR CLEAR) [FNC62] PROGRAM mode
Function
Performs following operation:
Counter (C*** #*****):
The current value is reset to "0". The contact turns OFF.
Up-down counter (UDC*** #*****):
The current value is reset to "0". The contact turns OFF.
Key operation
Basic operation
Example of operation
HIGH-SPEED COUNTER CLEAR PROGRAM mode
(HIGH-SPEED CTR CLR) [FNC63]
Function
Performs following operation:
High-speed counter (CTH* *****):
The current value is reset to "0".
High-speed counter comparator (CTC* #*****):
The contact turns OFF.
Key operation
Basic operation
Example of operation
ORB
6
ANL
2
ENT
R-SRCH
ENT
R-SRCH
FNC
Key operation Display Description
00000
Display arbitrary line.
LD 00000
CTR CLEAR Access COUNTER CLEAR [CTR CLEAR]
EXEC. OK? function.
Execute COUNTER CLEAR.
COMPLETED
00000
Return to initial display.
LD 00000
FNC
ORB
6
ENT
R-SRCH
CLEAR
ENT
R-SRCH
ORB
6
ORL
3
ENT
R-SRCH
ENT
R-SRCH
FNC
ANL
2
6.3 Functions
Chapter 6 Handheld Programmer
1-219
1
6
ALL DATA MEMORY CLEAR PROGRAM mode
(DM ALL CLEAR) [FNC64]
Function
Deletes all data stored in data memory.
When ALL DATA MEMORY CLEAR is executed, all data values in the data memory
is reset to "00000".
Key operation
Basic operation
Example of operation
ALL LATCHING RELAYS RESET PROGRAM mode
(L-RELAY ALL RST) [FNC65]
Function
Resets all holds on internal utility relays, except for special utility relays 2700
through 2715.
"Refentive function of internal utility relays" (p.3-11)
Key operation
Basic operation
Example of operation
ORB
6
LDB
4
ENT
R-SRCH
ENT
R-SRCH
FNC
Key operation Display Description
00000
Display arbitrary line.
LD 00000
DM ALL CLEAR Access ALL DATA MEMORY CLEAR
EXEC. OK? [DM ALL CLEAR] function.
Execute ALL DATA MEMORY CLEAR.
COMPLETED
00000
Return to initial display.
LD 00000
FNC
ORB
6
ENT
R-SRCH
CLEAR
ENT
R-SRCH
ORB
6
ANB
5
ENT
R-SRCH
ENT
R-SRCH
FNC
Key operation Display Description
00000
Display arbitrary line.
LD 00000
L-RELAY ALL RST Access ALL LATCHING RELAYS RESET
EXEC. OK? [L-RELAY ALL RST] function.
Execute ALL LATCHING RELAYS RESET
COMPLETED
00000
Return to initial display.
LD 00000
FNC
ORB
6
ENT
R-SRCH
CLEAR
ENT
R-SRCH
ORL
3
ANB
5
6.3 Functions
Chapter 6 Handheld Programmer
1-220
6
PROGRAM SENT OR RECEIVED PROGRAM mode OFFLINE EDITOR
(COMMUNICATION ) [FNC66]
Function
Writes program on handheld programmer [KV-P3E(01)] into KV, reads program in
KV onto handheld programmer, or verifies program (compares programs on pro-
grammer and on PLC).
When the KV is read-disabled, READ and VERIFY cannot be executed.
WRITE: KV-P3E(01) Program KV
READ: KV-P3E(01) Program KV
Key operation
Basic operation
Example of operation (for executing VERIFY)
The program is also automatically read both when the handheld programmer
[KV-P3E(01)] is connected to the Visual KV and when OFFLINE EDITOR is
quitted.
The program is also automatically written and verified when the handheld pro-
grammer is switched from the PROGRAM mode to the RUN mode.
BASE WRITE
->READ VERIFY
ON
ORB
6
ORB
6
ENT
R-SRCH
FNC
OFF
BASE ->WRITE
READ VERIFY
ON OFF
Read
Write
BASE WRITE
READ ->VERIFY
Verify
OFF ON
ENT
R-SRCH
ENT
R-SRCH
Key operation Display Description
00000
Display arbitrary line.
LD 00000
BASE U. WRITE Access PROGRAM SENT OR RECEIVED
->READ VERIFY [COMMUNICATION...] function.
BASE U. WRITE
Select VERIFY.
READ ->VERIFY
VERIFY W/BASE U.
Execute VERIFY of program.
EXEC. OK?
VERIFY OK
PUSH CLR TO CON
00000
Return to initial display.
LD 00000
FNC
ORB
6
ENT
R-SRCH
CLEAR
ENT
R-SRCH
ORB
6
ON
ENT
R-SRCH
6.3 Functions
Chapter 6 Handheld Programmer
1-221
1
6
OFFLINE EDITOR START RUN mode
(OFFLINE EDITOR) [FNC67]
Function
Edits program using handheld programmer while KV is in operation.
The program can be edited by following the same procedure as in the PRO-
GRAM mode. (The accessible functions, however, are restricted.)
This function is used to edit the program for the memory card while the KV is in
use. Accordingly, when OFFLINE EDITOR is quitted [FNC68], the program is not
written into the KV, but the program in the KV is read onto the programmer.
When stopping the operation of the KV while OFFLINE EDITOR is in use, change
the mode switch to PROGRAM. You can enter the PROGRAM mode without
clearing the program on the handheld programmer.
Note: To write the edited program into the KV, use the PROGRAM SENT OR
RECEIVED function [FNC66] and then quit the OFFLINE EDITOR function. In this
case, the KV stops the operation to write the new program, and then starts the
operation from the top of the program. Note that the timer values will be reset.
Key operation
Basic operation
Example of operation
OFFLINE EDITOR STOP OFFLINE EDITOR
(QUIT OFF-L EDIT) [FNC68]
Function
Quits OFFLINE EDITOR.
When quitting the OFFLINE EDITOR function, the program is automatically verified
with that in the KV PLC. If two programs do not match, the program in the PLC is
read onto the programmer. If changes have already been made on the program in
the PLC, this program is automatically read onto the programmer.
Key operation
Basic operation
Example of operation
ORB
6
LD
7
ENT
R-SRCH
FNC
Key operation Display Description
RUN
Initial display (RUN mode)
FNC[67] Access OFFLINE EDITOR START
OFFLINE EDITOR [OFFLINE EDITOR] function.
00000
Line 0 is displayed.
LD 00000
FNC
ENT
R-SRCH
Key operation Display Description
00000
Display arbitrary line.
LD 00000
READ/LOAD OK When program differs from that in
PUSH CLR TO CONT KV PLC the latter is read.
RUN Return to initial display of RUN
mode.
FNC
ENT
R-SRCH
ORB
6
CLEAR
ORB
6
AND
8
ENT
R-SRCH
FNC
AND
8
6.3 Functions
Chapter 6 Handheld Programmer
1-222
6
TIMER/COUNTER CURRENT VALUE PROGRAM mode
CHANGE(CHG: T/C CURT-V) [FNC69] RUN mode
Function
Changes current value of timer/counter, or displays current value for monitoring.
Results obtained when TIMER/COUNTER CURRENT VALUE CHANGE is ex-
ecuted.
Mode of handheld
programmer
PROGRAM mode
RUN mode
Timer input: ON
Counter input: ON
*1
Specified value preset value:
The current value will be changed to
a value equal to the preset value.
Specified value < preset value:
The current value will be changed to
the specified value.
When the current value is 0,
however, the contact output goes
ON.
Timer input: OFF
Counter input:
OFF
*2
Current values are
not changed.
Current values are
not changed.
Current values are
not changed.
0.1-s timers (TMR)
0.01-s timers (TMH)
1-ms timers (TMS)
Current values are not changed.
Specified value preset value:
The current value will be
changed to a value equal to the
preset value.
Specified value < preset value:
The current value will be
changed to the specified value.
When the current value is equal
to the preset value, however, the
contact output goes ON.
Specified value preset value:
The current value will be
changed to a value equal to the
preset value.
Specified value < preset value:
The current value will be
changed to the specified value.
The contact output goes OFF.
The result varies according to the preset value of the CTC0 or CTC2 and the ON/OFF status
of the special utility relay (2103 or 2203).
When changing the current value of CTH0:
(When special utility relay 2103 is ON:)
Specified value for CTH0 preset value of CTC0:
The current value of CTH0 will be changed to "the preset value of CTC0 - 1".
Specified value for CTH0 < preset value of CTC0:
The current value of CTH0 will be changed to the specified value for CTH0.
(When special utility relay 2103 is OFF:)
The current value of CTH0 will be changed to the specified value for CTH0.
When changing the current value of CTH1:
(When special utility relay 2203 is ON:)
Specified value for CTH1 preset value of CTC2:
The current value of CTH1 will be changed to "the preset value of CTC2 - 1".
Specified value for CTH1 < preset value of CTC2:
The current value of CTH1 will be changed to the specified value for CTH1.
(When special utility relay 2203 is OFF:)
The current value of CTH1 will be changed to the specified value for CTH1.
Counters (CTR)
Up-down
counters (UDC)
High-speed
counters (CTH)
Type of timer/
counter
Specified value preset value:
The current value will be changed to
a value equal to the preset value.
Specified value < preset value:
The current value will be changed to
the specified value.
When the current value is equal to
the preset value, however, the
contact output goes ON.
Specified value preset value:
The current value will be changed to
a value equal to the preset value.
Specified value < preset value:
The current value will be changed to
the specified value.
The contact output goes OFF.
6.3 Functions
Chapter 6 Handheld Programmer
1-223
1
6
Any current value of the timer/counter which is not set on the program cannot be
changed.
Any current value of the timers cannot be changed in the PROGRAM mode.
TMH or TMS is specified using TMR. UDC is specified using CTR.
*1. In the case where the counter (C) input is ON and the up-down counter (UDC)
reset input is OFF:
*2. In the case contrary to the above *1:
Key operation
Basic operation
Example of operation (In the RUN mode)
When the TIMER/COUNTER CURRENT VALUE CHANGE function is accessed,
pressing
@
#, $
alternates between the decimal display and hexadecimal display.
CTH
ENT
R-SRCH
FNC
Timer (or counter) No.
ENT
R-SRCH
ENT
R-SRCH
Current value
OR
9
ORB
6
CTR
(C)
TMR
(T)
Key operation Display Description
RUN
Initial display (RUN mode)
LD 00000
T/C CURT-V #00010 Access TIMER/COUNTER CURRENT VALUE
TMR000 CHANGE [CHG: T/C CURT-V] function.
T/C CURT-V #00010 Specify CTR001. Then current value (10) is
CTR001 #00000 displayed.
T/C CURT-V #00010 Enter desired value as new current value.
CTR001 #00180
T/C CURT-V #00180
Current value has been changed.
CTR001
RUN Return to initial display of RUN
mode.
FNC
ENT
R-SRCH
ORB
6
CLEAR
SET
1
RES
0
ENT
R-SRCH
SET
1
ENT
R-SRCH
CTR
(C)
AND
8
AND
8
6.3 Functions
Chapter 6 Handheld Programmer
1-224
6
TIMER/COUNTER SETTING CHANGE PROGRAM mode
(CHG: T/C SET-V) [FNC70] RUN mode
Function
Changes preset value of timer/counter, or displays preset value for monitoring.
Result obtained when TIMER/COUNTER SETTING CHANGE is executed.
Mode of handheld
programmer
PROGRAM mode Timer input: ON
Counter input: ON
*1
Specified value current value:
The preset value will be changed to
the specified value.
Specified value < current value:
The preset value will be changed to
the specified value.
The current value will also be
changed to the specified value.
When the current value is 0,
however, the contact output goes
ON.
Timer input: OFF
Counter input:
OFF
*2
The preset value
will be changed to
the specified value.
The current value
will also be
changed to the
specified value.
The contact output
goes OFF.
The preset value
will be changed to
the specified value.
The current value
will also be
changed to the
specified value.
The contact output
goes OFF.
The preset value
will be changed to
the specified value.
The current value
will also be
changed to the
specified value.
The contact output
goes OFF.
0.1-s timers (TMR)
0.01-s timers (TMH)
1-ms timers (TMS)
The preset value will be changed
to the specified value.
The contact output goes OFF.
Specified value current value:
The preset value will be changed
to the specified value.
Specified value < current value:
The preset value will be changed
to the specified value.
The current value will also be
changed to the specified value.
When the current value is equal
to the preset value, however, the
contact output goes ON.
Specified value current value:
The preset value will be changed
to the specified value.
Specified value < current value.
The preset value will be changed
to the specified value.
The current value will also be
changed to the specified value.
The contact output goes OFF.
The preset value will be changed to the specified value.
When the preset value of CTC0 or CTC2 is changed, the current value of CTH0 or CTH1 also
varies according to the specified value for CTC0 or CTC2.
When changing the preset value of CTC0:
(When special utility relay 2103 is ON:)
Specified value for CTC0 current value of CTH0:
The current value of CTH0 will be changed to "the specified value for CTC0 - 1".
Specified value for CTC0 > current value of CTH0:
The current value of CTH0 will not be changed.
(When special utility relay 2103 is OFF:)
The current value of CTH0 will not be changed. The contact of CTC0, CTC1, CTC2, or CTC3
does not change.
When changing the preset value of CTC2:
(When special utility relay 2203 is ON:)
Specified value for CTC2 current value of CTH1:
The current value of CTH1 will be changed to "the specified value for CTC2 - 1".
Specified value for CTC2 > current value of CTH1:
The current value of CTH1 will not be changed.
(When special utility relay 2203 is OFF:)
The current value of CTH1 will not be changed.
Counters (CTR)
Up-down
counters (UDC)
High-speed
counter
comparators
(CTH)
Type of timer/
counter
Specified value current value:
The preset value will be changed to
the specified value.
Specified value < current value:
The preset value will be changed to
the specified value.
The current value will also be
changed to the specified value.
When the current value is equal to
the preset value, however, the
contact output goes ON.
Specified value current value:
The preset value will be changed to
the specified value.
Specified value < current value.
The preset value will be changed to
the specified value.
The current value will also be
changed to the specified value.
The contact output goes OFF.
RUN mode
6.3 Functions
Chapter 6 Handheld Programmer
1-225
1
6
When the KV is write-disabled, the preset value cannot be changed.
Any preset value of the timer/counter which is not set on the program cannot be
changed.
TMH or TMS is specified using TMR.UDC is specified using CTR.
The preset value in the source program is also changed.
*1. In the case where the counter (C) input is ON and the up-down counter (UDC)
reset input is OFF:
*2. In the case contrary to the above *1:
Key operation
Basic operation
Example of operation (In the PROGRAM mode)
When the TIMER/COUNTER SETTING CHANGE function is accessed, pressing
@
#, $
alternates between the decimal display and hexadecimal display.
CTC
ENT
R-SRCH
FNC
Timer (or counter) No.
ENT
R-SRCH
ENT
R-SRCH
Preset value
RES
0
LD
7
CTR
(C)
TMR
(T)
Key operation Display Description
RUN
Display arbitrary line.
LD 00000
T/C SET-V #00020 Access TIMER/COUNTER SETTING
TMR000 CHANGE [CHG: T/C SET-V] function.
T/C SET-V #00100 Specify CTR001. Then preset value of
CTR001 #00000 CTR001 is displayed.
T/C SET-V #00100 Enter desired value as new current
CTR001 #00200 value. (200)
T/C SET-V #00200
Preset value has been changed.
CTR001
00000
Return to initial display.
LD 00000
FNC
ENT
R-SRCH
CLEAR
SET
1
RES
0
ENT
R-SRCH
ENT
R-SRCH
RES
0
ANL
2
LD
7
CTR
(C)
AND
8
6.3 Functions
Chapter 6 Handheld Programmer
1-226
6
RELAY ON/OFF PROGRAM mode
(FORCED SET/RESET) [FNC71] RUN mode
Function
Forces relays to turn ON/OFF, or displays ON/OFF status of relay for monitoring.
Relays that can be forced ON/OFF (When Visual KV is used)
Relays that can be forced ON/OFF Marked by O in the above tables
Relays that cannot be forced ON/OFF Marked by X in the above tables
Timers/counters which are not set on the program
Relay Nos. vary with the model. Before using this function, check the relay Nos. on
the relay No. list.
Note:
1. Relays can be forced ON/OFF when special utility relay 2301 (Input refresh disable) is
turned ON. (Visual KV Only)
2. The output terminals turn ON/OFF at the same time.
3. Relays which are not used in the program can be forced ON/OFF. Relays which are used
in the program can be forced ON/OFF from when the scan time begins until the program
changes the status of the relays.
4. Relays 2000 through 2008 and 2010 through 2015 cannot be forced ON/OFF.
5. When the input is ON:
When the timer is forced ON, output turns ON and the current value is reset to "0000".
When the timer is forced OFF, output turns OFF and the current value is changed to a
value equal to the preset value.
When the input is OFF:
The timer can be forced ON/OFF from when the scan time begins until this timer instruc-
tion is executed in the program.
6. When the counter is forced ON, output turns ON and the current value is changed to a
value equal to the preset value.
When the counter is forced OFF, output turns OFF and the current value is reset to
"0000". (For UDC, the current value is reset to "0000".)
7. When the reset input is OFF:
When the counter is forced ON, output turns ON and the current value is retained as is.
When the counter is forced OFF, output turns OFF and the current value is reset to
"0000". (For UDC, the current value is reset to "0000".)
When the reset input is ON:
The counter can be forced ON/OFF from when the scan time begins until this counter
instruction is executed in the program.
8. The high speed counter comparators can be forced OFF only. (They cannot be forced
ON.)
Type of relays PROGRAM mode RUN mode
Input relays 0000 to 0415 X
1.
X
2.
Output relays 0500 to 0915 O
2.
O
2.
Internal utility relays 1000 to 1915 O
3.
O
3.
3000 to17915
Special utility relays 2000 to 2915 O
4.
O
4.
Timers T000 to T249 O O
5.
Counters CTR000 to CTR249 O
6.
O
7.
High speed counter CTC0 to CTC3
O
8.
O
8.
comparators
6.3 Functions
Chapter 6 Handheld Programmer
1-227
1
6
ON
OFF
LD
7
SET
1
ENT
R-SRCH
FNC Relay No.
Key operation Display Description
RUN
Initial display (RUN mode)
FORCED SET/RESET Access the RELAY ON/OFF [FORCED SET/RESET]
00000 function. ON/OFF status of input relay 0000 is displayed.
FORCED SET/RESET Specify output relay 500. (OFF)
00500
FORCED SET/RESET
Force output relay 500 ON.
00500
FORCED SET/RESET
Specify CTR001. (ON)
CTR001
FORCED SET/RESET
Force CTR001 OFF.
CTR001
RUN
Return to initial display of RUN mode.
FNC
ENT
R-SRCH
CLEAR
SET
1
RES
0
ANB
5
RES
0
ON
SET
1
OFF
LD
7
CTR
(C)
Key operation
Basic operation
Example of operation (In the RUN mode)
WRITE INTO DATA MEMORY PROGRAM mode
(DM WRITE) [FNC72] RUN mode
Function
Displays current data stored in data memory for monitoring, or changes it.
Pressing
@
#, $
alternates between decimal input and hexadecimal input.
The data stored in the temporary memory can also be displayed and changed.
(Note that data cannot be written into TM30 and TM31.)
Key operation
Basic operation
Example of operation (In the RUN mode)
Pressing [ENDH/TM] displays the data in the temporary memory, while pressing
[ENDH/TM] displays the data in the data memory.
#, $
LD
7
ANL
2
ENT
R-SRCH
FNC Data memory No.
ENT
R-SRCH
ENT
R-SRCH
Data value to be written
@
Key operation Display Description
RUN
Initial display (RUN mode)
DM VALUEM #00000 Access WRITE INTO DATA MEMORY [DM WRITE] function.
DM0000 Current data stored in DM000 is displayed on upper column.
DM VALUEM #00010
Specify DM003 to display data stored in it.
DM0003 #00000
DM VALUEM $000A
Change decimal display to hexadecimal display.
DM0003 $0000
DM VALUEM $000A
Enter desired data.
DM0003 $00FF
DM VALUEM $00FF
Data has been written.
DM0003
DM VALUEM #00255
Change hexadecimal display to decimal display.
DM0003
RUN
Return to initial display of RUN mode.
FNC
ENT
R-SRCH
CLEAR
ANL
2
ENT
R-SRCH
ENT
R-SRCH
LD
7
ORL
3
@
#, $
F
W-ON
F
W-ON
@
#, $
6.3 Functions
Chapter 6 Handheld Programmer
1-228
6
READ TRIMMER SETTING
(TRIMMER MONITOR) [FNC73]
Function
Displays trimmer setting value of analog timer(s) in real time.
The displayed value ranges from 0 to 9999.
The Visual KV Series is provided with two digital trimmers.
Key operation
Basic operation
Example of operation (In the RUN mode)
* The KV PLC allows setting of the digital trimmer value within the range of 0 to
65535. However, the handheld programmer supports the low-order 4 digits only.
Example: When the value of a digital trimmer is set to "25000", the handheld
programmer displays "5000".
SYNTAX CHECK PROGRAM mode
(PROGRAM CHECK) [FNC74] OFFLINE EDITOR
Function
Checks program throughout lines for syntax.
If the program has any syntax error, the error message is displayed. At this time,
press [CLEAR] to display the line with the error and change the program.
If the program has two or more errors, these errors will be displayed one at a
time.
The syntax of the program is checked, also when the operation mode is switched
from PROGRAM to RUN.
Key operation
Basic operation
Example of operation (In the RUN mode)
LD
7
ORL
3
ENT
R-SRCH
FNC
Key operation Display Description
RUN
Initial display (RUN mode)
0:0249 1:0000 Access READ TRIMMER SETTING [TRIMMER MONI-
2:0000 3:0000 TOR] function. Trimmer setting value is displayed.*
RUN
Return to initial display of RUN mode.
FNC
ENT
R-SRCH
SET
1
Key operation Display Description
00000
Display arbitrary line.
LD 00000
PROGRAM CHECK Access SYNTAX CHECK [PROGRAM CHECK] func-
EXEC. OK? tion.
PROG. CHECK OK Execute SYNTAX CHECK.(When the program has no
PUSH CLR TO CONT error)
00000 Return to initial display.
LD 00000
ENTER ENDH If program has any error, press [CLEAR] to display line
PUSH CLR TO CONT with error.
FNC
ENT
R-SRCH
LD
7
PROGRAM mode
RUN mode
OFFLINE EDITOR
LD
7
LDB
4
ENT
R-SRCH
FNC
LD
7
CLEAR
ENT
R-SRCH
CLEAR
LDB
4
ENT
R-SRCH
6.3 Functions
Chapter 6 Handheld Programmer
1-229
1
6
PROGRAM CAPACITY CHECK PROGRAM mode
(PROGRAM SIZE) [FNC75] OFFLINE EDITOR
Function
Displays program capacity of program on handheld programmer [KV-P3E(01)] in
units of block.
Up to 48 blocks of program can be written into KV. (Program capacity: 4000
steps)
The number of blocks used for entering instructions from the first to the last
(excluding "NOP"s) and timer/counter preset values are displayed as the program
capacity.
256 bytes are considered one block. If each instruction is assumed to require 3
bytes, one block comprises approx. 85 lines.
Note: Timer and counter preset values require almost one block of storage capacity.
Key operation
Basic operation
Example of operation
The program area of KV is 12,000 bytes. Since one block is 256 bytes, the
program area is 46 blocks as shown in the following.
12,000 256 = 46 (blocks)
In addition to the above 46 blocks, approximately one block is required for timer
and counter preset values, resulting in a total of 48 blocks.
Program storage capacity of memory cards
M-2: 125 blocks (24 programs max.)
M-3: 506 blocks (48 programs max.)
Key operation Display Description
00000
Display arbitrary line.
LD 00000
PROGRAM SIZE The number of blocks used for program
02 BLOCK is displayed.
000000
Return to initial display.
LD 00000
FNC
CLEAR
ENT
R-SRCH
ANB
5
LD
7
ANB
5
ENT
R-SRCH
FNC
LD
7
.
.
6.4 Memory Card
Chapter 6 Handheld Programmer
1-230
6
Function Description
CLEAR Initializes memory card. (required when using new memory
card.)
Deletes all programs in memory card.
NEW Writes new program into memory card.
Manages programs based on their names (3 of any characters
in hex: 0 to 9 and A to F) and dates.
ACCS SAVE Overwrites program on programmer onto desired program in
memory card.
LOAD Retrieves desired program from memory card.
VERIFY Compares desired programs on programmer and in memory
card.
DELETE Deletes desired program in memory card.
6.4 Memory Card
Memory card M-2/M-3 can store programs created on the handheld programmer
KV-P3E(01) or on a personal computer (using the programming support software KV
IncrediWare (DOS) and card reader/writer Z-1). These programs can be transferred
to the PLC.
6.4.1 Functions [used with KV-P3E(01)]
The memory card stores all programs including those written after ENDH instruc-
tion. (NOP instruction is not included.)
One memory card can store programs used on different KV PLCs.
The memory card can only be used in the handheld programmer when the mode
switch on this programmer is set to PROGRAM or when the OFFLINE EDITOR is
used.
Each program must have a name distinct from other programs stored in the
memory card.
6.4.2 Storage Capacity
The M-2 and M-3 have the following storage capacity:
1 block is made of 256 bytes.
Model Capacity Number of programs
M-2 32 Kbytes 24 programs max. (total number of blocks: 125 max.)
M-3 128 Kbytes 48 programs max. (total number of blocks: 506 max.)
6.4 Memory Card
Chapter 6 Handheld Programmer
1-231
1
6
Inserting the memory card
1. Set the mode switch to PROGRAM or use OFFLINE EDITOR [FNC67].
2. Insert the card into the slot with the KEYENCE logo facing up and arrow pointing
to the slot as shown on the left.
Note 1: Do not insert the memory card backwards.
Note 2: Do not insert or remove the card when the memory card indicator is lit.
Press [CLEAR] first to turn OFF the indicator before inserting or removing the card.
K
E
Y
N
C
E
K
V
P
-51
K
V
P
-O
P
P
O
K
V
P
K
V
P
Memory card indicator
Memory card slot
Handheld programmer
KV-P3E(01)
Memory card
M-2 or M-3
6.4 Memory Card
Chapter 6 Handheld Programmer
1-232
6
CLEAR PROGRAM mode or OFFLINE EDITOR
Function
Initializes the memory card.
Be sure to initialize every new card before using it.
Use this function to clear all programs in the card.
Example 1: Initializing the new memory card M-2 (32 kbytes)
(*) Press [ENT/R-SRCH] instead of [CLEAR] to continue initializing.
Example 2: Initializing the memory card M-3 (128 kbytes) with programs
stored
(*) Press [ENT/R-SRCH] instead of [CLEAR] to continue initializing.
Be sure to select the correct storage capacity for the M-2 and M-3 as follows:
M-2: 32 kbytes
M-3: 128 kbytes
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
NEWCARD
A prompt appears for confirmation.
INITIALIZE OK?
32 KBYTES CARD
Select memory capacity.
INITIALIZE?
FREE: 24PROGRAM
Available storage capacity is displayed.
125 BLOCK
00000
Return to initial display.
LD 00000
ENT
R-SRCH
MON
CARD
CLEAR
ENT
R-SRCH
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
FREE: 44 PROGRAM
Available storage capacity is displayed.
486 BLOCK
CARD NEW
Available functions are displayed.
->ACCS CLEAR
CARD NEW
Select "CLEAR".
ACCS ->CLEAR
32 KBYTES CARD
INITIALIZE?
128 KBYTES CARD
Select storage capacity.
INITIALIZE?
FREE: 48 PROGRAM
Memory card is initialized.
506 BLOCK
00000
Return to initial display.
LD 00000
ENT
R-SRCH
MON
CARD
CLEAR
ENT
R-SRCH
ENT
R-SRCH
ON OFF OFF
ON OFF
(*)
(*)
CAUTION
6.4 Memory Card
Chapter 6 Handheld Programmer
1-233
1
6
NEW PROGRAM mode or OFFLINE EDITOR
Function
Saves a new program in the memory card.
Use this function to save the new program currently on the programmer into the
memory card.
Up to 3 alphanumeric characters (0 to 9 and A to F) and up to 6 numeric char-
acters can be used respectively to specify the program name and date.
Example: Program name: ABC, date: 10-11-99
If necessary, press
ON
or
OFF
to move the cursor up or down to change the
program name and date.
Be sure to check beforehand that the memory card has enough storage capac-
ity available for saving the new program.
Assign each program a name distinct from other programs.
Desired Nos. (0 to 9) can be entered as a date for use as a version No.
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
FREE: 44 PROGRAM
Available storage capacity is displayed.
486 BLOCK
CARD -> NEW
Select "NEW".
ACCS CLEAR
NAME: 000 New display appears for entry of
DATE: 00-00-00 of program name and date.
NAME: ABC
Enter program name.
DATE: 00-00-00
NAME: ABC
Cursor moves down for date entry.
DATE: 00-00-00
NAME: ABC
Enter date.
DATE: 10-11-99
ABC: SAVE A prompt appears for confirmation.
EXEC. OK?
FREE: 48 PROGRAM Saving is completed and available
504 BLOCK storage capacity is displayed.
00000
Return to initial display.
LD 00000
ENT
R-SRCH
MON
CARD
CLEAR
ENT
R-SRCH
ENT
R-SRCH
OFF
ENT
R-SRCH
SET
1
RES
0
SET
1
OFF
SET
1
MPS
C
LDB
4
OUT
A
OUB
B
OR
9
6.4 Memory Card
Chapter 6 Handheld Programmer
1-234
6
ACCS PROGRAM mode or OFFLINE EDITOR
Function
Overwrites onto, retrieves, deletes, or compares the desired program in the memory
card.
This function cannot be accessed when no programs are stored in the memory card
such as after CLEAR has been executed.
SAVE
Overwrites the program currently on the programmer onto the desired program in
the memory card.
LOAD
Retrieves the desired program from the memory card onto the programmer. At this
time, the program in the memory card will be lost.
DELETE
Deletes the desired program in the memory card.
VERIFY
Compares the program currently on the programmer with the desired program in the
memory card to determine whether they are identical.
Basic operation
Select the desired function and press [ENT/R-SRCH] . Then, a prompt appears for
confirmation. Press [ENT/R-SRCH] again to execute or [CLEAR] to escape.
Available storage capacity is displayed.
CARD NEW
->ACCS CLEAR
<LOAD>
02 BLOCK
ABC 10-11-94
ON OFF
ENT
R-SRCH
02 BLOCK
777 10-19-94
DELETE SAVE
->LOAD VERIFY
ENT
R-SRCH
<DELETE>
->DELETE SAVE
LOAD VERIFY
OFF ON
<VERIFY>
DELETE SAVE
LOAD ->VERIFY
OFF ON
<SAVE>
DELETE->SAVE
LOAD VERIFY
OFF ON
OFF ON
FREE: 46 PROGRAM
502 BLOCK
CARD
MON
ENT
R-SRCH
Select ACCS.
Press ON or OFF to sequentially display each program line.
Select desired program.
6.4 Memory Card
Chapter 6 Handheld Programmer
1-235
1
6
OR
9
ACCS: SAVE PROGRAM mode or OFFLINE EDITOR
Example: Overwriting the program currently on the programmer onto program
"777" in the memory card
Program is automatically saved onto another program under the same name. Use
NEW to save the desired program separately under the different name.
Be sure to check beforehand that the memory card has enough storage capacity
available for saving the new program.
Use [BS] to delete incorrect date.
Desired Nos. (0 to 9) can be entered as a date for use as a version No.
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
FREE: 46 PROGRAM
Available storage capacity is displayed.
502 BLOCK
CARD NEW
Select "ACCS".
->ACCS CLEAR
ABC 10-11-94 Arbitrary program in memory card
02 BLOCK is displayed.
777 10-19-94
Select desired program.
02 BLOCK
->LOAD VERIFY
DELETE SAVE
LOAD VERIFY
Select "SAVE".
DELETE ->SAVE
NAME: 777
DATE: 00-00-00
NAME: 777
Enter date.
DATE: 11-01-99
777: SAVE
A prompt appears for confirmation.
EXEC. OK?
FREE: 46 PROGRAM Saving is completed and available
501 BLOCK storage capacity is displayed.
00000
Return to initial display.
LD 00000
ENT
R-SRCH
MON
CARD
CLEAR
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
RES
0
SET
1
SET
1
OFF
SET
1
OFF
ENT
R-SRCH
OFF OFF OFF ON
ENT
R-SRCH
ENT
R-SRCH
OR
9
6.4 Memory Card
Chapter 6 Handheld Programmer
1-236
6
ACCS: LOAD PROGRAM mode or OFFLINE EDITOR
Example: Retrieving program "ABC" from the memory card onto the
programmer
ACCS: VERIFY PROGRAM mode or OFFLINE EDITOR
Example: Comparing program "ABC" in the memory card with the program on
the programmer
If two programs are not identical, "VERIFY ERROR" is displayed.
Press [ENT/R-SRCH] or [CLEAR] to clear this message.
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
FREE: 46 PROGRAM
Available storage capacity is displayed.
501 BLOCK
CARD NEW
Select "ACCS".
->ACCS CLEAR
ABC 10-11-94
Select desired program.
02 BLOCK
->LOAD VERIFY
Select "LOAD".
DELETE SAVE
ABC: LOAD A prompt appears for confirmation.
EXEC.OK? Press + again to execute.
READ/ LOAD OK Loading is completed and available
storage capacity is displayed.
00000
Return to initial display.
LD 00000
ENT
R-SRCH
MON
CARD
CLEAR
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
( )
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
FREE: 46 PROGRAM
Available storage capacity is displayed.
501 BLOCK
CARD NEW
Select "ACCS".
->ACCS CLEAR
ABC 10-11-94
Select desired program.
02 BLOCK
->LOAD VERIFY
DELETE SAVE
->LOAD VERIFY
Select "VERIFY".
DELETE SAVE
ABC: LOAD
A prompt appears for confirmation.
EXEC.OK?
VERIFY OK Verifying is completed and available
storage capacity is displayed.
00000
Return to initial display.
LD 00000
ENT
R-SRCH
MON
CARD
CLEAR
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
( )
OFF OFF
6.4 Memory Card
Chapter 6 Handheld Programmer
1-237
1
6
ACCS: DELETE PROGRAM mode or OFFLINE EDITOR
Example: Deleting program "777" in the memory card
Program transfer between KVs
Programs can be transferred between different models in the KV Series using the
memory card. However, contact comments cannot be transferred. Use the "KV
incrediWare (DOS)" or "LADDER BUILDER for KV" programming support software
to transfer contact comments.
Note: Visual KV and KV-300 only
Key operation Display Description
00000
Display arbitrary line in program.
LD 00000
FREE: 46 PROGRAM
Available storage capacity is displayed.
501 BLOCK
CARD NEW
Select "ACCS".
->ACCS CLEAR
ABC 10-11-94
Arbitrary program is displayed
.
02 BLOCK
777 10-11-94
Select desired program.
03 BLOCK
LOAD VERIFY
->DELETE SAVE
LOAD VERIFY
Select "DELETE".
->DELETE SAVE
777: LOAD
A prompt appears for confirmation.
EXEC.OK?
FREE: 46 PROGRAM Deleting is completed and available
501 BLOCK storage capacity is displayed.
00000
Return to initial display.
LD 00000
ENT
R-SRCH
MON
CARD
CLEAR
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
ENT
R-SRCH
( )
OFF
OFF
ENT
R-SRCH
6.4 Memory Card
Chapter 6 Handheld Programmer
1-238
6
Precautions for handling memory cards
I Memory card specifications
The battery service life is 5 years at normal operating temperatures (0 to 40C)
(32 to 104F)(no freezing). The service life is shortened at temperatures higher
than 40C (104F).
Do not use the memory card at high temperatures or expose it to direct sunlight
for long periods of time.
Avoid splashes of water coming in contact with the memory card and do not
store the memory card in a humid location.
Do not bend, drop, or subject the memory card to strong shocks.
Store the memory card in the card case provided to protect it from static elec-
tricity and dust.
Avoid allowing dust and dirt from entering the connector. (Do not insert foreign
matter, such as a pin, into the connector.)
I To replace battery
1. Loosen the two screws with a jewelers screwdriver and remove the cover.
2. Replace the battery (model No. CR2016). Make sure that the "+" sign on the
battery faces up.
3. Put the cover back on the card.
The data in the card will be automatically lost when the battery is removed.
Be sure to prepare a backup copy of the stored data beforehand.
Model M-2 M-3
Memory capacity 32 Kbytes 128 Kbytes
Battery service life 5 years within 0 to +40C (32 to 104F), No freezing
Ambient temperature 0 to 40C (32 to 104F) during operation,
-20 to 60C (-4 to 140F) during non-operation, No freezing
Relative humidity 10 to 90%, No condensation
CAUTION

You might also like