As 48117 KV-H20S H40S Um - GB WW 0025-1
As 48117 KV-H20S H40S Um - GB WW 0025-1
As 48117 KV-H20S H40S Um - GB WW 0025-1
KV-H20S/H40S
User's Manual
This manual provides a brief description of the
KV-H20S/H40S Positioning Unit and the
KZ-HP1/KV-HPD1 Teaching Unit, and describes
specifications, installation, parameter setup,
and how to program the units.
Contents
Chapter 1 OUTLINE
1-1 Checking the Contents of the Package ............................................................. 1-1
1-2 Names and Functions of Parts ........................................................................... 1-2
KV-H20S/H40S Positioning Unit ................................................................................ 1-2
KZ-HP1 Teaching Unit ............................................................................................... 1-3
KV-HPD1 Teaching Unit ............................................................................................ 1-4
Chapter 2 SPECIFICATIONS
2-1 Specifications ....................................................................................................... 2-1
KV-H20S/H40S Positioning Unit ................................................................................ 2-1
KZ-HP1 Teaching Unit ............................................................................................... 2-4
KV-HPD1 Teaching Unit ............................................................................................ 2-5
Chapter 3 WIRING
3-1 Items to Prepare for Wiring ................................................................................. 3-1
Applicable Lead Wire ................................................................................................. 3-1
Pressure-contact Tool ............................................................................................... 3-1
Cable Connector Parts .............................................................................................. 3-1
Connector Conversion Unit with Terminal Block & Exclusive Cable ......................... 3-2
Crimped Terminal ...................................................................................................... 3-2
3-2 Connecting the Drive Unit and Input Devices ................................................... 3-3
Wiring the Drive Unit and Input Devices .................................................................... 3-3
3-3 Wiring I/O Connectors ......................................................................................... 3-5
Wiring I/O Connectors ............................................................................................... 3-5
1
4-4 Speed Parameters ............................................................................................. 4-30
Parameters to be Set ............................................................................................... 4-30
4-5 Point Parameters ............................................................................................... 4-31
About the Run Mode ................................................................................................ 4-33
Setting Up Parameters ............................................................................................ 4-36
2
Teaching Function ................................................................................................... 6-54
Help Function .......................................................................................................... 6-55
Screen Displayed during an Error ........................................................................... 6-55
Chapter 7 TROUBLESHOOTING
7-1 Remedy Errors ..................................................................................................... 7-1
Remedying Errors ...................................................................................................... 7-1
7-2 List of Error Codes and Error Details ................................................................ 7-2
List of Errors .............................................................................................................. 7-2
APENDICES
1 Drive Unit Wiring Diagrams ................................................................................... A-1
2 List of Connector Conversion Units with Terminal Blocks ................................ A-7
3 Details of Origin Return Path ................................................................................ A-9
Detailed Explanation ................................................................................................. A-9
3
MEMO
4
1 OUTLINE
OUTLINE
The package contains the following items. Before you start using the KV-H20S/H40S, make sure
that the package contains everything that it is supposed to contain.
KV-1000/700
Series
(Special Unit)
Instruction Manual
Instruction Manual
Unit
1-1
1-2 Names and Functions of Parts
This section describes the names and functions of parts on the KV-H20S/H40S Positioning Unit
and the KZ-HP1/KV-HPD1 Teaching Unit.
X2/Y2 connector
1-2
1-2 Names and Functions of Parts
OUTLINE
(4)Sliding hook
(1)Screen
FAST X Y
INDEX STOP STOP EMG
X X Y Y
(2)Operation
7 8 9 CLR
keys
4 5 6 DEL
TEACH
1 2 3 JOG
0 ENT
(3)Connector
1-3
1-2 Names and Functions of Parts
(1)Screen
(3)EMG button
(4)HELP button
(5)ESC button
(6)JOG/TEACH button (8)Rotating connector
1-4
1
2 SPECIFICATIONS
1 2-1 Specifications 1
This section describes the specifications and presents the external dimensions of the KV-
H20S/H40S Positioning Unit and the KZ-HP1/KV-HPD1 Teaching Unit.
2
SPECIFICATIONS
KV-H20S/H40S Positioning Unit
■ General specifications
Item Specifications
Power voltage Unit side: Supplied from CPU Unit, I/O side: 24 VDC±10%
Power KV-H20S: 120 mA or less, 200 mA or less when HP1/HPD1 is connected, I/O side: 90 mA or less
consumption KV-H40S: 130 mA or less, 220 mA or less when HP1/HPD1 is connected, I/O side: 180 mA or less
Operating ambient 0 to 50°C (freezing not allowed)*1, *2
environment
Storage temperature -20 to 70°C*1
Operating ambient 35 to 85%RH (condensation not allowed)*1
humidity
Noise resistance 1500 V peak-to-peak, pulse width 1 µs, 50 ns (by noise simulator)
Withstand voltage 1500 VAC (1 min.) across power terminal and I/O terminals, and across all external
terminals and case
Insulation 50 MΩ or more
resistance (across PLC power terminal and I/O terminals, and all external terminals and case
by 500 VDC megger)
Permissible momentary 2 ms (During operation. Basically, compliant with CPU Unit specifications)
power interruption
Vibration JIS B 3502/ When intermittent vibration is present Number of sweeps
resistance IEC61131-2 Frequency Acceleration Amplitude 10 times in
compliant each X, Y and
10 to 57 Hz — 0.075 mm
Z directions
57 to 150 Hz 9.8 m/s2 —
(for 80 minutes)
When continuous vibration is present
Frequency Acceleration Amplitude
10 to 57 Hz — 0.035 mm
2
57 to 150 Hz 4.9 m/s —
Operating atmosphere Excessive dirt, dust or corrosive gases not allowed
Weight KV-H20S: approx. 150g KV-H40S: approx. 200g
Safety standards IEC61131-2, UL508 Listed
*1 Assured range as a system
*2 Specified by the temperature on the bottom side of the unit in a control panel
2-1
2-1 Specifications
■ Performance specifications
Specifications
Item
KV-H20S KV-H40S
2 Model KV-H20S Positioning Unit KV-H40S Positioning Unit
SPECIFICATIONS
2-2
2-1 Specifications
Specifications
Item
KV-H20S KV-H40S
Origin return 2 types: high-speed origin return, and CCW limit switch and origin sensor shared type origin return
mode Origin detection can be set by origin sensor and AND condition of Z-phase. 2
Automatic origin return function at power ON
SPECIFICATIONS
Automatic move to home function after end of origin return
Positioning to origin by detection of both edges of the origin sensor is possible.
M codes Nos. 1 to 255, WITH/AFTER mode
Momentary power Axis movement is stopped after momentary power interruption error is generated.
interruption detection
Self-diagnostic Diagnostics possible by hardware error, various parameter errors, error No. and messages
function
Parameter setup Possible by setting data memory and controlling relays by KZ-HP1, KV-HPD1, or MOTION BUILDER
■ External dimensions
27.3
90 90 35.9
80
3.5 3.5 96.3
9 29 3 9 35 3 (130) 4.4
Unit: mm
2-3
2-1 Specifications
■ Performance specifications
2
Item Specifications
SPECIFICATIONS
■ General specifications
Item Specifications
Power voltage 5 VDC supplied from KV-H20S/H40S
Power consumption Approx. 90 mA (at conversion to 24 VDC)
Operating ambient 0 to 50°C (freezing not allowed)
environment
Operating ambient 35 to 85% (condensation not allowed)
humidity
Vibration resistance Conforming with KV-H20S/H40S
Operating atmosphere Excessive dirt, dust or corrosive gases not allowed
Weight Approx. 210g
■ External dimensions
93.5 30
171
69.5 26.5
Unit: mm
2-4
2-1 Specifications
■ Performance specifications
2
Item Specifications
SPECIFICATIONS
Model KV-HPD1 Teaching Unit
Applicable unit KV-H20S/H40S
Display functions 16-digit, 4-line LCD (two colors: green, red) w/ LED backlight, Japanese (katakana)/English display
■ General specifications
Item Specifications
Power voltage 5 VDC supplied from KV-H20S/H40S
Power consumption Approx. 90 mA (at conversion to 24 VDC)
Operating ambient 0 to 50°C (freezing not allowed)
environment
Operating ambient 35 to 85% (condensation not allowed), according to absolute humidity of 40°C at
humidity 40°C or higher
Vibration resistance Conforming with KV-H20S/H40S
Operating atmosphere Excessive dirt, dust or corrosive gases not allowed
Weight Approx. 120g
■ External dimensions
75 28.3
4 x φ3.5 holes
16.5
100
φ30
+0.5
-0
111
23.2
45 25
2.3
50
(21.6) (8)
Panel cutout
Unit: mm
2-5
2-1 Specifications
MEMO
2
SPECIFICATIONS
2-6
3
1 WIRING
WIRING
Applicable Lead Wire
Use the following wire for connecting the drive unit and other I/O devices.
Standard (packaged with optional connector set) Fine-lead contacts (when OP-30594 is used)
• Lead size: AWG22 to 24 • Lead size: AWG26 to 28
• Cross-section area: 0.2 to 0.3 mm2 • Cross-section area: 0.08 to 0.14 mm2
• Sheath O.D.: φ 1.1 to φ 1.5 • Sheath O.D.: φ 1.1 to φ 1.3
Pressure-contact Tool
The Exclusive Pressure-contact Tool comes in handy when wiring the drive unit, sensors, and
other I/O devices. The lead must be soldered if you do not have the Exclusive Pressure-contact
Tool.
Housing
OP-22184 OP-51404
3-1
3-1 Items to Prepare for Wiring
Motor
Connector Conversion Unit Driver
with Terminal Block
List of Models
Connector Conversion Unit with Terminal Block KV-HTC1 to 6
Board Module KV-HM1 to 6
Connector Between Conversion Unit and KV H20S/H40S KV-HC1
cable Between Conversion Unit and Motor Driver KV-HC2 to 4
* For details on compatible motor driver, contact your agent.
Crimped Terminal
When connecting the KV-HTC Connector Conversion Unit with Terminal Block to electrical lead
wire or I/O devices such as limit switch, use 2-pronged terminals of sizes shown below.
B
d2
Descriptions of indicated
dimensions of 2-pronged Applicable dimensions
terminal B: 6 mm or less
B: Distance between L: 13 mm or less
L
external flats d2: 3.2 mm or more
d1: Lead insertion section
d2: Distance between
internal flats (screw
gripping section)
L: Total length
d1
Recommended terminals
3-2
3-2 Connecting the Drive Unit and Input Devices
WIRING
■ Wiring the drive unit and input devices
In the case of the KV-H20S, wire the drive signals of the X1/Y1 axes and input devices such as
limit switches as follows.
CPU Unit KV-H20S Drive unit
M X-axis
X1/Y1 connector
For details on wiring the drive unit and input devices, “3-3 Wiring I/O Connectors” (page 3-5).
3-3
3-2 Connecting the Drive Unit and Input Devices
In the case of the KV-H40S, the layout of the X1/Y1 connector and X2/Y2 connector pins are as
follows.
CPU Unit KV-H20S Drive unit
3 M X-axis
WIRING
X1/Y1 connector
X2/Y2 connector
Pin No. Signal Name Function I/O Pin No. Signal Name Function I/O
1 X1 CW LSW X1 axis CW limit switch Input 21 Y1 CW LSW Y1 axis CW limit switch Input
X1/Y1 connector 2 X1 CCW LSW X1 axis CCW limit switch Input 22 Y1 CCW LSW Y1 axis CCW limit switch Input
3 X1 ORG X1 axis origin sensor Input 23 Y1 ORG Y1 axis origin sensor Input
4 X1 STOP X1 axis stop sensor Input 24 Y1 STOP Y1 axis stop sensor Input
1 21
5 X1 ZEROST X1 axis zero start signal input Input 25 Y1 ZEROST Y1 axis zero start signal input Input
2 22 6 X1 Z+ X1 axis positioning Z-phase plus logic Input 26 Y1 Z+ Y1 axis positioning Z-phase plus logic Input
3 23
4 24 7 X1 Z- X1 axis positioning Z-phase minus logic Input 27 Y1 Z- Y1 axis positioning Z-phase minus logic Input
5 25
6 26 8 X1 SVEND*1 X1 axis servo end Input 28 Y1 SVEND*1 Y1 axis servo end Input
7 27
8 28 9 X1 SVRDY*1 X1 axis servo ready Input 29 Y1 SVRDY*1 Y1 axis servo ready Input
9 29
10 30 10 X1 ALM X1 axis driver alarm (general-purpose input) Input 30 Y1 ALM Y1 axis driver alarm (general-purpose input) Input
11 31
12 32
11 X1 ALMRES X1 axis driver alarm reset (general-purpose output 1) Output 31 Y1 ALMRES Y1 axis driver alarm reset (general-purpose output 1) Output
13 33 12 X1 SVON*1 X1 axis servo ON (general-purpose output 0) Output 32 Y1 SVON*1 Y1 axis servo ON (general-purpose output 0) Output
14 34
15 35 13 X1 CLR*1 X1 axis deviation counter clear Output 33 Y1 CLR*1 Y1 axis deviation counter clear Output
16 36
17 37 14 X1 CW+ X1 axis CW direction pulse output plus logic Output 34 Y1 CW+ Y1 axis CW direction pulse output plus logic Output
18 38
19 39 15 X1 CW- X1 axis CW direction pulse output minus logic Output 35 Y1 CW- Y1 axis CW direction pulse output minus logic Output
20 40
16 X1 CCW+ X1 axis CCW direction pulse output plus logic Output 36 Y1 CCW+ Y1 axis CCW direction pulse output plus logic Output
17 X1 CCW- X1 axis CCW direction pulse output minus logic Output 37 Y1 CCW- Y1 axis CCW direction pulse output minus logic Output
18 — Free — 38 EMG Emergency stop input Input
19 +5V_OUT Power supply 5 VDC output Output 39 -COM*2 Power supply 0 VDC input Input
20 +COM*2 Power supply 24 VDC input Input 40 -COM*2 Power supply 0 VDC input Input
Pin No. Signal Name Function I/O Pin No. Signal Name Function I/O
1 X2 CW LSW X2 axis CW limit switch Input 21 Y2 CW LSW Y2 axis CW limit switch Input
X2/Y2 connector 2 X2 CCW LSW X2 axis CCW limit switch Input 22 Y2 CCW LSW Y2 axis CCW limit switch Input
3 X2 ORG X2 axis origin sensor Input 23 Y2 ORG Y2 axis origin sensor Input
4 X2 STOP X2 axis stop sensor Input 24 Y2 STOP Y2 axis stop sensor Input
1 21 5 X2 ZEROST X2 axis zero start signal input Input 25 Y2 ZEROST Y2 axis zero start signal input Input
2 22
3 23 6 X2 Z+ X2 axis positioning Z-phase plus logic Input 26 Y2 Z+ Y2 axis positioning Z-phase plus logic Input
4 24
5 25
7 X2 Z- X2 axis positioning Z-phase minus logic Input 27 Y2 Z- Y2 axis positioning Z-phase minus logic Input
6 26 8 X2 SVEND*1 X2 axis servo end Input 28 Y2 SVEND*1 Y2 axis servo end Input
7 27
8 28 9 X2 SVRDY*1 X2 axis servo ready Input 29 Y2 SVRDY*1 Y2 axis servo ready Input
9 29
10 30 10 X2 ALM X2 axis driver alarm (general-purpose input) Input 30 Y2 ALM Y2 axis driver alarm (general-purpose input) Input
11 31
12 32 11 X2 ALMRES X2 axis driver alarm reset (general-purpose output 1) Output 31 Y2 ALMRES Y2 axis driver alarm reset (general-purpose output 1) Output
13 33
14 34 12 X2 SVON*1 X2 axis servo ON (general-purpose output 0) Output 32 Y2 SVON*1 Y2 axis servo ON (general-purpose output 0) Output
15 35
16 36
13 X2 CLR*1 X2 axis deviation counter clear Output 33 Y2 CLR*1 Y2 axis deviation counter clear Output
17 37 14 X2 CW+ X2 axis CW direction pulse output plus logic Output 34 Y2 CW+ Y2 axis CW direction pulse output plus logic Output
18 38
19 39 15 X2 CW- X2 axis CW direction pulse output minus logic Output 35 Y2 CW- Y2 axis CW direction pulse output minus logic Output
20 40
16 X2 CCW+ X2 axis CCW direction pulse output plus logic Output 36 Y2 CCW+ Y2 axis CCW direction pulse output plus logic Output
17 X2 CCW- X2 axis CCW direction pulse output minus logic Output 37 Y2 CCW- Y2 axis CCW direction pulse output minus logic Output
18 — Free — 38 —*3 Free —
19 +5V_OUT Power supply 5 VDC output Output 39 -COM*2 Power supply 0 VDC input Input
20 +COM*2 Power supply 24 VDC input Input 40 -COM*2 Power supply 0 VDC input Input
For details on wiring the drive unit and input devices, “3-3 Wiring I/O Connectors” (page 3-5).
3-4
3-3 Wiring I/O Connectors
WIRING
(for X1/Y1 axes) and H40S two connectors (for X1/Y1 axes and for X2/Y2 axes).
Note, however, that the EMG signal of pin No.38 is not assigned on the second connector (for
X2/Y2 axes) of the H40S.
CW limit switch
510Ω
21 Y CW LSW Y-axis CW limit Input Y1 n+3 14
switch Y2 n+9 14
4.3kΩ 20: +COM
Precautions in application
Connection Connect a switch or NPN open collector output type sensor to the CCW-
LSW terminal on each axis.
Internal operation When the input is turned ON, the CW limit error is generated and pulse
output is stopped.
Once the error is cleared, positioning and jog operation to the inside
direction of the CW and CCW limits, and origin return operation are possible
even if the CW limit input is ON.
The ON/OFF state after reflection of the input polarity can be confirmed on
the CW limit state relay (n14 in the case of the X1 axis on the KV-H20S).
Parameter setup The polarity can be switched at system parameter [Limit switch polarity]
(default: normally closed). Setting is common with the CW limit switch.
“Limit switch polarity” (page 4-20)
Other 2-wire type sensors are also supported.
3-5
3-3 Wiring I/O Connectors
510Ω
WIRING
Precautions in application
Connection Connect a switch or NPN open collector output type sensor to the CCW-
LSW terminal on each axis.
Internal operation When the input is turned ON, the CCW limit error is generated and pulse
output is stopped.
Once the error is cleared, positioning and jog operation to the inside
direction of the CW and CCW limits, and origin return operation are possible
even if the CCW limit input is ON.
The ON/OFF state after reflection of the input polarity can be confirmed on
the CCW limit state relay (n15 in the case of the X1 axis on the KV-
H20S).
Parameter setup The polarity can be switched at system parameter [Limit switch polarity]
(default: normally closed). Setting is common with the CW limit switch.
“Limit switch polarity” (page 4-20)
Other 2-wire type sensors are also supported.
3-6
3-3 Wiring I/O Connectors
Origin sensor
510Ω
WIRING
23 Y ORG Y-axis origin Input Y1 n+4 13
sensor Y2 n+10 13
4.3kΩ 20: +COM
Precautions in application
Connection Connect a switch or NPN open collector output type sensor to the ORG
terminal on each axis.
Internal operation Operation is affected only during origin return operation. Origin return
operation is enabled only when the Z-phase is ON.
The ON/OFF state after reflection of the input polarity can be confirmed on
the origin sensor input state relay (#13 in the case of the X1 axis on the
KV-H20S).
Parameter setup The polarity can be switched at system parameter [Origin sensor polarity].
(default: normally open)
“Limit switch polarity” (page 4-20)
The input time constant can be set (select from 5 µs to 10 ms).
“Low-speed time constant” (page 4-22)
Other 2-wire type sensors are also supported.
3-7
3-3 Wiring I/O Connectors
Stop sensor
3 24: Y STOP
Internal
circuit
4.3kΩ
WIRING
Note
• When the stop sensor is used in positioning control, or inch-feed deceleration
has been set in speed control, operation is as follows when the stop sensor is
actuated immediately after acceleration begins. Normal acceleration is
canceled, acceleration is performed up to the upper limit speed after
recalculation using inching travel, and then movement decelerates and the
axis moves only by the inching travel. At this time, the acceleration curve at
the moment that the stop sensor was actuated sometimes becomes irregular
if S-curve acceleration is being performed. Also, the response of the stop
sensor is delayed by about 150 µs compared with regular response as the
calculation takes time.
3-8
3-3 Wiring I/O Connectors
Positioning Z-phase
WIRING
27 Y Z- Y-axis positioning Input —
Z-phase minus logic
The unit may break if a voltage of +5V or more is applied. When applying
WARNING a voltage of +5V or more, connect external resistors in series. Calculate
the resistance (R) as follows:
R = (Vp - 1.5)/0.002 - 1500
Vp: applied voltage
R: resistance value (Ω)
3-9
3-3 Wiring I/O Connectors
6 X1 Z+ 6 X1 Z+
3 7 X1 Z- 7 X1 Z-
19 +5V OUT 19 +5V OUT
WIRING
39 -COM 39 -COM
Zero start
5: X ZERO ST
25: Y ZERO ST
Internal
circuit
4.3kΩ
25 Y ZERO ST Y-axis zero start Input —
15kΩ 20: +COM
Precautions in application
Connection Connect a switch or NPN open collector output type sensor or controller
across the ZERO ST terminal and -COM on each axis.
Internal operation Wire the zero start function to use this function. When the zero start input is
input in a zero start standby state, pulse output is started.
“Zero start” (page 4-48)
As the ON/OFF state of zero start, the ON/OFF state after reflection of the
input polarity can be confirmed by the state of the emergency stop/terminal
input (bit 5 of n+34 in the case of the KV-H20S).
Parameter setup The polarity can be switched at system parameter [ZERO ST polarity].
(default: normally open)
“ZERO ST polarity” (page 4-21)
The input time constant can be set (select from 5µs to 1 ms).
“Semi-high speed time constant” (page 4-22)
Other 2-wire type sensors are not supported.
3-10
3-3 Wiring I/O Connectors
Servo end
4.3kΩ
WIRING
28 Y SVEND Y-axis servo end Input Y1 n+3 11
Y2 n+9 11
1.5kΩ 19: +5VOUT
Precautions in application
Connection When using a servo driver, connect the servo end output terminal of the
drive unit to the SVEND terminal on each axis.
Internal operation Servo end turns ON when the number of accumulated pulses of the
deviation counter on the drive unit falls below the drive unit’s internal setting
value. When the [Servo end check time] is set in the system parameters,
the Positioning Unit stands by after pulse output has ended for the SVEND
input terminal to turn ON. If the SVEND input terminal does not turn ON
within the [Servo end check time], the servo end error is generated. The
ON/OFF state after reflection of the input polarity can be confirmed on the
servo end input state relay (n 11 in the case of the X1 axis on the KV-
H20S).
“Servo end check time” (page 4-24)
Parameter setup The polarity can be switched at system parameter [SVEND polarity].
(default: normally open)
“SRVEND polarity” (page 4-21)
Other 2-wire type sensors are not supported.
3-11
3-3 Wiring I/O Connectors
Servo ready
3 29: Y SVRDY
Internal
circuit
4.3kΩ
WIRING
Precautions in application
Connection When using a servo motor, connect to the servo ready output terminal of the
drive unit on each axis.
Internal operation The servo ready output turns ON when the drive unit can accept
instructions. When system parameter [Servo ready check] is set to be
performed, operation is not performed until the SVRDY input is input.
The ON/OFF state after reflection of input polarity can be confirmed on the
servo ready input state relay (n 13 on KV-H20S).
“Servo ready check” (page 4-24)
Parameter setup The polarity can be switched at system parameter [SVRDY polarity].
(default: normally open)
“SRVRDY polarity” (page 4-21)
Other 2-wire type sensors are not supported.
3-12
3-3 Wiring I/O Connectors
Driver alarm
4.3kΩ
WIRING
30 Y ALM Y-axis driver alarm Input Y1 n+3 12
(general-purpose Y2 n+9 12
1.5kΩ 19: +5VOUT
input)
Precautions in application
Connection Connect the ALM terminal and the driver alarm output terminal of the drive
unit on each axis. This alarm can also be used as a general-purpose input if
it is within rating.
Internal operation Signals from the drive unit are read when an abnormality occurs on the
drive unit. The driver alarm input is captured by the sequence program, and
processing such as suspension of pulse output is performed. The ON/OFF
state after reflection of the input polarity can be confirmed on the driver
alarm input state relay (n 12 in the case of the X1 axis on the KV-H20S).
Parameter setup The polarity can be switched at system parameter [ALM polarity]. (default:
normally open)
“ALM polarity” (page 4-21)
Other 2-wire type sensors are not supported.
3-13
3-3 Wiring I/O Connectors
Precautions in application
Connection Connect the ALMRES terminal and the driver alarm input reset terminal of
the drive unit on each axis. This alarm can also be used as a general-
purpose output if it is within rating.
Internal operation This is output from the ALMRES output terminal when the driver alarm reset
relay (¢ 11 in the case of the X1 axis on the KV-H20S) is turned ON.
3-14
3-3 Wiring I/O Connectors
Servo ON
12: X SVON
32: Y SVON
X1 n+12
X2 n+18
10
10
3
Y-axis servo ON Output H20S
WIRING
Internal 32 Y SVON
circuit Y1 n+9 10
(general-purpose
output possible) H40S
39: -COM(0V)
40: -COM(0V)
Y1 n+15 10
Y2 n+21 10
General specifications/performance specifications
Rating Max. 30 VDC, 50 mA, residual voltage 0.5 V or less
Response time The minimum time from the change in state of the driver alarm relay by the
sequence program up to actual output is 5 ms. This sometimes increases to
a maximum time of 11 ms + CPU scan time.
Precautions in application
Connection Connect the SVON terminal and the servo ON input terminal of the drive
unit on each axis. This alarm can also be used as a general-purpose output
if it is within rating.
Internal operation This is output from the SVON output terminal when the servo ON relay
(¢ 10 in the case of the X1 axis on the KV-H20S) is turned ON.
When connected to the servo ON input terminal on the servo driver,
generally, the servo motor can be operated manually (motor free) when this
reset turns OFF.
3-15
3-3 Wiring I/O Connectors
3 13: X CLR
33: Y CLR
WIRING
39: -COM(0V)
40: -COM(0V)
Precautions in application
Connection When the servo motor is used, connect the CLR terminal and the deviation
counter clear input terminal of the drive unit on each axis.
Internal operation When an emergency stop is applied to operation due to completion of origin
return, for example, during pulse output, the signal is output to the drive
unit. The state of the deviation counter clear output cannot be confirmed.
3-16
3-3 Wiring I/O Connectors
WIRING
15: X CW- Y-axis CW direction Output —
35: Y CW-
35 Y CW-
pulse output minus logic
5V 16 X CCW+ X-axis CCW direction Output —
pulse output plus logic
16: X CCW+
Internal
—
circuit
Precautions in application
Connection Connect to the pulse input terminal of the drive unit.
Internal operation When system parameter [Pulse output mode] is set to 1-pulse mode, the
CCW+ and CCW- terminals are set to output.
24V
Driver
-CW
3-17
3-3 Wiring I/O Connectors
3
Internal
circuit
4.3KΩ
Not available
WIRING
on connector
15kΩ
2 (for X2/Y2
20: +COM
axis) of the
H40S
Precautions in application
Connection Connect a normally closed type switch.
Internal operation Operation of all axes stops when the input circuit enters a non-conductive
state. Pulse output stops on the hardware. The ON/OFF state of the
emergency stop input can be confirmed by bit 0 of the devices (emergency
stop/terminal input state) on each axis. The following shows each of the
devices:
KV-H20S X1 axis: £+10 Y1 axis: £+22
KV-H40S X1 axis: £+10 Y1 axis: £+22
X2 axis: £+34 Y2 axis: £+46
The bit is reset when the emergency stop input is in a conductive state.
Parameter setup The input polarity cannot be switched. It is fixed to only normally closed.
The input time constant can be set (select from 5 µs to 10 ms).
“Low-speed time constant” (page 4-22)
Other 2-wire type sensors are not supported.
3-18
3-3 Wiring I/O Connectors
Power supply
Internal circuit 39
40
-COM(0V) Power supply Input — 3
39: -COM
WIRING
24V→5V 40: -COM 20 +COM(24V) Power supply Input —
DC-DC
converter 20: +COM
Precautions in application
Other KV-H20S: The two -COM terminals are connected internally and are
common.
KV-H40S: Each of the -COM, +COM and +5VOUT terminals of the X1/Y1
and X2/Y2 connectors are connected internally and are shared.
3-19
3-3 Wiring I/O Connectors
MEMO
3
WIRING
3-20
1
4 TYPES OF PARAMETERS
Types of Parameters
Parameters are categorized into the following types. (order of explanation)
■ System parameters Setup of basic operation of each individual axis 4
■ Parameters common to all axes Setup of basic operation common to each axis
TYPES OF PARAMETERS
■ Speed parameters Setup of “speed Nos.” used in point parameters
■ Point parameters Setup of operation up to target points
Defaults are set for all parameters, however, these values must be changed depending on the
control target and control method.
■ System parameters
Set the basic operation of the KV-H20S/H40S. Different settings are possible on each axis.
Defaults are set for parameters, however, these values must be changed depending on the
control target and control method.
4-1
4-1 Types of Parameters
Parameters to be set up
■ Speed parameters
Speed is specified by a “speed No.” in point parameters.
16 speeds can be registered in advance to this “speed No.”
Parameters to be set up
4-2
4-1 Types of Parameters
■ Point parameters
Set the target coordinates, operation mode up to target coordinate, speed No., and other
information. Operation can also be specified to specified point parameters (max. 400 points*)
following another point parameter.
Some parameters need not be set depending on the [Run mode] setting.
TYPES OF PARAMETERS
“Changing Point Parameters” page 5-27
Parameters to be set up
4-3
4-2 System Parameters
Defaults are set for parameters, however, these values must be changed depending on the
control target or control method.
4-4
4-2 System Parameters
After the power is turned ON, the unit remembers the last screen that was displayed in the
system parameter setup.
If you perform the above operation after switching to a different setup screen, the system
parameter setup screen that is currently memorized (that was last displayed) is displayed.
TYPES OF PARAMETERS
OPERATION."
4-5
4-2 System Parameters
Unit Setting
The unit of the speed or coordinates currently indicated in each parameter is specified or
displayed according to the setting details of each parameter described as follows.
■ Unit setting
Coordinate unit Default: PLS Setting range: PLS, mm, deg
When specifying or displaying coordinates, an easy-to-handle can be selected from mm
4 (millimeters), deg (angle) and PLS (pulse) according to the content to be controlled.
• When [Coordinate unit] is set to other than PLS, the conversion rate according to
TYPES OF PARAMETERS
4-6
4-2 System Parameters
TYPES OF PARAMETERS
(displayed) move = x number of pulses
[Coordinate conversion denominator]
Note
• When the specified unit is PLS, coordinates are not converted.
• The value below the decimal point that is generated after conversion to
number of pulses of is accumulated and corrected.
• Even when values for each individual axis are specified in linear
interpolation, converted values set to each axis are valid.
4-7
4-2 System Parameters
Speed unit conversion Default: off (no conversion) Setting range: off, on
When [Speed unit conversion] is set, the speed unit is automatically converted to either of
mm/2 (millimeters per second) or deg/s (degrees per second) and displayed according to the
setting of [Coordinate unit]. The unit of acceleration/deceleration (rate) are also converted as
follows:
4-8
4-2 System Parameters
■ Startup speed
Generally, when a stepping motor is used, smooth control
Speed
is afforded if the motor is started up from the start at a
Run speed
certain speed (bias speed) to stabilize initial motor torque.
This speed is called the "startup" speed.
• Setting a large startup speed can shorten move time.
Startup speed
Time
4
Note, however, that actual operation will be out of step
TYPES OF PARAMETERS
with motor operation unless a value is set within an appropriate range as a large torque is
required at the start of machine operation.
• Set to an allowable startup speed or less taking the motor torque and other factors into
consideration. For details, refer to the User's Manual of the motor you are using.
■ Maximum speed
Set the speed upper limit value. Even if a value at the Speed
Preset run speed
preset maximum speed or higher is set in point Maximum speed
parameters, it is limited to the maximum speed set in
this parameter. Startup speed
Time
4-9
4-2 System Parameters
■ Acceleration setting
The speed setting during acceleration is set by three elements: rate (acceleration), curve
(change in acceleration) and curve ratio (range of curve).
Run acceleration curve Default: SIN Setting range: SIN, LINE (linear)
[Run acceleration curve] is a parameter for
setting the change in speed from the startup
Change in acceleration
speed up to when the run speed is reached. Acceleration Speed
4-10
4-2 System Parameters
Run acceleration curve ratio Default: 100 (%) Setting range: 1 to 100 (%)
Set the range of use of the acceleration curve during operation.
When "LINE" is selected for the acceleration curve, the curve ratio need not be set. (It will
be ignored even if it is set.)
● Setting method
Take the following into consideration when setting this item.
• When 100% (default) is specified, the curve becomes the original (preset) curve.
The smaller a value is set, the closer the curve becomes to linear acceleration (LINE), and the 4
maximum value of acceleration/deceleration can be made smaller than the original curve. Set a
TYPES OF PARAMETERS
small value, for example, to suppress step out on the stepping motor midway during
acceleration.
Example When a curve ratio of 50 is specified at SIN, the curve becomes a sin (-45° to +45°)
curve.
90°
45°
0°
-45°
-90° 50%
100%
4-11
4-2 System Parameters
■ Deceleration setting
The speed setting during deceleration is set by three elements: rate (deceleration), curve
(change in deceleration) and curve ratio (range of curve).
Run deceleration curve Default: SIN Setting range: SIN, LINE (linear)
[Run deceleration curve] is a parameter for
Change in deceleration
setting the change in speed from the run Deceleration Speed
speed up to when the stop speed is reached.
● Select from the following settings:
LINE (linear): The speed is changed at a
uniform deceleration. Speed changes in a Time Time
linear manner.
• The maximum value of deceleration becomes the smallest speed.
• Deceleration is constant throughout the deceleration time.
• Select this setting, for example, to suppress Deceleration Speed
4-12
4-2 System Parameters
Run deceleration curve ratio Default: 100 (%) Setting range: 1 to 100 (%)
Set the range of use of the deceleration curve during operation.
When "LINE" is selected for the deceleration curve, the curve ratio need not be set. (It will
be ignored even if it is set, and operation will be performed with the ratio set to 100%.)
● Setting method
Take the following into consideration when setting this item.
• When 100% (default) is specified, the curve becomes the original (preset) curve.
The smaller a value is set, the closer the curve becomes to linear deceleration (LINE), and the 4
maximum value of acceleration/deceleration can be made smaller than the original curve. Set a
TYPES OF PARAMETERS
small value, for example, to suppress step out on the stepping motor midway during
deceleration.
Example When a curve ratio of 50 is specified at SIN, the curve becomes a sin (135° to +225°)
curve.
90°
135°
180°
225°
270° 50%
100%
4-13
4-2 System Parameters
Maximum speed
4 Startup speed
TYPES OF PARAMETERS
Time
Instruction cancel
Jog low speed instruction Jog maximum speed instruction Instruction cancel
Jog startup speed Default: 500 Setting range: 1 to 99999999 (unit: mm/s, deg/s, p/s)
Set the speed during jog low speed operation and startup speed for jog operation. The stop
speed also becomes this value.
• When [Jog startup speed] is greater than [Jog maximum speed], lower [Jog startup speed]
to [Jog maximum speed].
"Run startup speed" (page 4-9)
Jog maximum speed Default: 5000 Setting range: 1 to 99999999 (unit: mm/s, deg/s, p/s)
Specify the speeds when performing maximum speed movement (operation when the cursor key
and FAST key on the KZ-HP1 both held down) and movement by a specified move (test mode)
during jog operation.
Jog acceleration rate Default: 10 Setting range: 1 to 65000 (unit: mm/s/ms, deg/s/ms, p/s/ms)
This is the rate it takes for [Jog startup speed] Speed Speed
4-14
4-2 System Parameters
Jog acceleration curve ratio Default: 100 (%) Setting range: 1 to 100 (%)
The details of this parameter are the same as those for [Run acceleration curve ratio].
"Run acceleration curve ratio" (page 4-11)
Jog deceleration rate Default: 10 Setting range: 1 to 65000 (unit: mm/s/ms, deg/s/ms, p/s/ms)
This is the rate from [Jog maximum speed]
Speed Speed
during jog operation up to when the stop speed
is reached. 4
Setting a larger value results in more sudden
TYPES OF PARAMETERS
deceleration and a shorter move time. Time Time
When a small value is set When a large value is set
When this value is set to 65000, axis movement
immediately stops from the current speed.
Jog deceleration curve ratio Default: 100 (%) Setting range: 1 to 100 (%)
The details of this parameter are the same as those for [Run deceleration curve ratio].
"Run deceleration curve ratio" (page 4-13)
4-15
4-2 System Parameters
[Creep speed]
4
[Origin return
deceleration rate] [Origin return
Speed in startup speed]
CCW direction [Origin return speed]
Origin sensor [Origin return acceleration rate]
TYPES OF PARAMETERS
Origin return startup speed Default: 0 Setting range: 0 to 99999999 (unit: mm/s, deg/s, p/s)
Set the startup speed during a origin return and move to home position. The stop speed also
becomes this value.
• When [Origin return startup speed] is greater than [Origin return maximum speed], lower
[Origin return startup speed] to [Origin return maximum speed].
Creep speed Default: 500 Setting range: 0 to 99999999 (unit: mm/s, deg/s, p/s)
This speed is used at final positioning to the origin during a origin return. Generally set a speed
that will cause no problem if axis movement is suddenly stopped.
• The larger the setting value, the shorter the origin return time becomes.
• To reduce error in the origin return position, set a smaller setting value.
4-16
4-2 System Parameters
Origin return acceleration curve Default: SIN Setting range: SIN, LINE
[Origin return acceleration curve] is a parameter for setting the change in speed from [Origin
return startup speed] up to when the [Origin return maximum speed] is reached.
● Select from the following settings:
LINE: The speed is changed at a uniform acceleration (in a linear manner).
SIN: The speed is changed using a sin (-90° to +90°) curve.
For an explanation on curve graphs, "Run acceleration curves" (page 4-10).
4
Origin return acceleration curve ratio Default: 100 (%) Setting range: 1 to 100 (%)
TYPES OF PARAMETERS
The details of this parameter are the same as those for [Run acceleration curve ratio].
"Run acceleration curve ratio" (page 4-11)
This setting is not required when origin return or move to home position is not to be
performed.
Origin return deceleration curve Default: SIN Setting range: SIN, LINE
[Origin return deceleration curve] is a parameter for setting the change in speed from [Origin
return maximum speed] up to when the stop speed is reached.
● Select from the following settings:
LINE: The speed is changed at a uniform acceleration (in a linear manner).
SIN: The speed is changed using a sin (90° to 270°) curve.
For an explanation on curve graphs, "Run deceleration curves" (page 4-12).
Origin return deceleration curve ratio Default: 100 (%) Setting range: 1 to 100 (%)
The details of this parameter are the same as those for [Run deceleration curve ratio].
"Run deceleration curve ratio" (page 4-13)
This setting is not required when origin return or move to home position is not to be
performed.
4-17
4-2 System Parameters
limit SW limit SW
towards the CCW limit switch.
CW: Origin return starts from the CW direction.
Select this setting when the origin sensor is
towards the CW limit switch. CCW Origin sensor CW
limit SW limit SW
4-18
4-2 System Parameters
Origin coordinates Default: 0 Setting range: -99999999 to 99999999 (unit: mm, deg, PLS)
The current coordinates at completion of a origin return can be set to other than "0".
When "0" is acceptable as the coordinates at completion of a origin return, this setting
can be used at its default "0".
● Setting method
Take the following into consideration when setting this item.
Specify using absolute coordinates.
Using this function comes in handy when the origin coordinates have deviated out of position 4
due to replacement of the origin sensor, for example. Though the coordinates of the home
TYPES OF PARAMETERS
position and positioning points must be changed as a result of deviating origin coordinates, other
coordinates need not be changed, and the original operation can be executed as programmed,
by shifting the origin coordinates by the amount of deviation by this function.
Home position coordinates Default: 0 Setting range: -99999999 to 99999999 (unit: mm, deg, PLS)
Set the target coordinates for movement to the home position.
This setting is not required when the home position is not to be used.
Specify using absolute coordinates.
Detailed origin position Default: Z-phase AND condition Setting range: Z-phase AND condition, sensor midpoint
When "1: CCW-LSW OFF" is set at [Origin return mode] and "off" is set at [Origin sensor
detection mode], the origin return is performed at the conditions set above.
For details, "Detailed origin position" (page A-14).
● Select from the following settings:
Z-phase AND condition: The position where both the origin sensor and Z-phase turn ON is
taken as the origin.
Sensor midpoint: The midpoint of the origin sensor ON range is taken as the origin.
4-19
4-2 System Parameters
4 contact.
"3-3 Wiring I/O Connectors" (page 3-5)
TYPES OF PARAMETERS
4-20
4-2 System Parameters
TYPES OF PARAMETERS
Select the polarity of the alarm signal from the driver.
● Select from the following settings:
NO: The sensor turns ON when the alarm signal turns ON.
NC: The sensor turns ON when the alarm signal turns OFF.
"Driver alarm" (page 3-13)
4-21
4-2 System Parameters
4-22
4-2 System Parameters
Shortcut control of angle of rotation Default: off (shortcut control OFF) Setting range: off, on
When "on" is selected, the direction of less move from the current
angle is automatically selected, and the axis rotates to the target
4
TYPES OF PARAMETERS
coordinates.
This setting is valid when [Coordinate unit] is set to "deg".
This setting is not required when [Coordinate unit] is set to
"PLS" or "mm". (It will be ignored even if it is set.)
● Select from the following settings:
Axis rotates in the direction of less move.
off: Shortcut control of angle of rotation is not performed.
on: When the angle is set in absolute coordinates in point parameters, the direction of less move
from the current angle is automatically selected, and the axis rotates to the target
coordinates.
The display range is 0 to 360°.
• Movement exceeding 180° returns in movement in the opposite direction. Coordinates less
than 0° and exceeding 360° are converted to the 0 to 360° range.
• When the setting is specified in incremental coordinates, shortcut control is not performed, and
the axis rotates only by the specified angle as it is.
• At the start of operation, the management coordinates (current coordinates) are changed to
within the 0 to 360° range.
Note, however, that the above processing is not performed in jog operation or move to home
position. Also, when the management coordinates (-2147483648 to +2147483647) are
exceeded, note that conversion of angles is not performed correctly.
• This setting cannot be used in linear interpolation. Also, it cannot be used in software limits.
4-23
4-2 System Parameters
Servo end check time Default: 0 (ms) Setting range: 0 to 5000 (unit: ms)
The servo end signal is a signal that turns the servo driver unit ON when the number of
accumulated pulses has fallen to the specified value or below. At [Servo end check time], set
the standby time up to when the servo end input turns ON at completion of operation.
● Setting method
Take the following into consideration when setting this item.
• The servo end signal is not monitored when the [Servo end check time] is "0". Specify "0"
when a stepping motor is to be used.
4 • When 1 to 5000 is set, an error will be judged if the servo end input does not turn ON within the
set time (ms) after the operation has completed.
TYPES OF PARAMETERS
• The check is started after all operations such as regular operation and jog operation have
completed.
• In linear interpolation, the servo end signals of all axes that are associated with linear
interpolation are checked.
Backlash compensation move Default: 0 Setting range: 0 to 65535 (unit: mm, deg, PLS)
This is the value for compensation backlash. This setting is valid
only in independent operation. When the direction of operation is
reversed, unwanted pulses are output by a specified move
amount to compensate for error that occurs due to incorrect
meshing of gear teeth on the machine.
This setting can be used (is valid) only in the independent operation mode.
● Setting method
Take the following into consideration when setting this item.
• When operation is started, additional pulses are output if the rotational direction is different
from the previous operation.
• When the direction of operation is reversed, the current coordinates sometimes change by the
amount of backlash compensation. However, the actual number of output pulses is output
correctly.
• The current coordinates sometimes change by the amount of backlash compensation when the
power is turned ON. If necessary, perform a origin return when the power is turned ON.
• Be sure to perform a origin return after the backlash move is changed.
• When software limits are used, a software limit error sometimes occurs before axes have been
completely moved by the preset amount of backlash compensation.
4-24
4-2 System Parameters
TYPES OF PARAMETERS
• off (0 V) when axes are not rotating. Note, however, that the output state of the previously
output direction is held for X-CCW output.
2: Pulses are output in 2-pulse format. Select this setting when a 2-pulse input motor driver is
used.
• Pulse output in forward rotation to X-CW output
CW
• Pulse output in reverse rotation to X-CCW output
CCW
• off (0 V) when axes are not rotating
Forward rotation Reverse rotation
is output.
• Normally, this calculation is performed before operation.
CCW software limit
However, when [Continuous operation mode] is set to
"Cont-1, Cont-2", calculation of the next point is performed midway during operation.
• Software limits are ignored during a origin return.
• If the limit value is reached or exceeded during speed control or jog operation, an error occurs
and axis movement stops.
If this happens, the software limit error is output again if axes move in the limit direction even
after the error is cleared.
• Software limits cannot be used when using shortcut control of angle of rotation.
• When software limits are used, a software limit error sometimes occurs before axes have been
completely moved by the preset amount of backlash compensation.
4-25
4-3 Parameters Common to All Axes
4 Parameters to be Set Up
TYPES OF PARAMETERS
Parameters common to all axes that can be set on the KV-HPD1 are as follows:
[Display language] [Buzzer control] [Key lock]
4-26
4-3 Parameters Common to All Axes
TYPES OF PARAMETERS
Operation of axes on which errors are not occurring is continued.
on (all axes stop): Operation of all axes in the unit is stopped even if an error occurs on only one
axis.
Error stop mode Default: Imid Setting range: Imid, Limit, Decel
Set the stop operation for pulse output when an error occurs.
To immediately stop pulse output when an error occurs, leave the default setting “Imid”
as it is.
● Select from the following settings:
Imid (immediate stop): Immediately stops pulse output when an error occurs.
Limit (immediate stop only at LSW): Pulse output is immediately stopped only when an external
limit switch is actuated (excluding some errors). When other
errors occur, axis movement decelerates and comes to a
stop.
Decel (deceleration stops): Axis movement decelerates and comes to a stop when an error
occurs (excluding some errors).
SRAM backup error display Default: on (display ON) Setting range: on, off
When the unit has been turned OFF for over two months (25°C), the content backed up to
SRAM may be lost. Select from the following two types of error displays when this situation
occurs.
● Select from the following settings:
off: Even if the content backed up to SRAM is lost when the power is turned ON, an error is not
displayed, and the parameters currently saved to flash ROM are copied to SRAM. Set this
when the parameters are not to be overwritten from the CPU Unit after actual operation.
on: When the content backed up to SRAM was lost when the power is turned ON, an error is
displayed and operation is stopped until the error is cleared.
Data currently saved to SRAM includes current position and parameters (system, point and
speed).
Operation is as follows when the power is turned ON regardless of parameter settings:
• When the content backed up to SRAM is lost, the data in flash ROM is copied to SRAM. The
current coordinates are also set to zero.
• When the content backed up to SRAM is not lost, the parameters in SRAM are written to flash
ROM.
4-27
4-3 Parameters Common to All Axes
Buzzer specifications
4-28
4-3 Parameters Common to All Axes
TYPES OF PARAMETERS
Only an emergency stop (EMG) is possible from KZ-HP1/KV-HPD1.
on: (HPD1 ON/ExceptJOG)
Only emergency stop (EMG), cancellation of key lock and monitor functions can be
operated. In this setting, jog operations are also possible from the KV-HPD1.
4-29
4-4 Speed Parameters
A value corresponding to the [Speed No.] of point parameters is set to speed parameters.
Different settings are possible on each axis.
Set the unit at [Coordinate unit] [Speed unit conversion] in the system parameters.
4
TYPES OF PARAMETERS
Parameters to be Set
Speed parameters [Speed No.1] [Speed No.9]
[Speed No.2] [Speed No.10]
[Speed No.3] [Speed No.11]
[Speed No.4] [Speed No.12]
[Speed No.5] [Speed No.13]
[Speed No.6] [Speed No.14]
[Speed No.7] [Speed No.15]
[Speed No.8] [Speed No.16]
1 Select the point No. and press ENTER. The screen moves to the point parameter
setup screen.
2 Select the details of the PT setup 2 screen and press ENTER to switch the screen.
4-30
4-5 Point Parameters
Set the target coordinates, run mode for movement up to target coordinate, speed, and other
information.
Operation can also be specified to specified point parameters (max. 400(H20S)/200(H40S)
points) following another point parameter. 4
Some parameters need not be set depending on the [Run mode] setting.
TYPES OF PARAMETERS
List of parameters that can be set
Category Parameter Name Need for Setting (O: must be set) See Page
Run mode [Run mode] Single position Single position Single speed Single speed Linear position Linear position
4-36
absolute incremental deceleration fixed inching absolute incremental
4-31
4-5 Point Parameters
In the case of the KV-HPD1, pressing FAST INDEX switches to indirect specification. i-0 to i-
15 can be specified.
For details on indirect specification, see the following page.
Setting area → "Indirect parameter area" (page 5-16)
4-32
4-5 Point Parameters
Axis system Operation system Control system Coordinate system Run mode
TYPES OF PARAMETERS
Incremental coordinates Single/position/incremental
Speed control (incremental coordinates) Single/speed/deceleration
(incremental coordinates) Single/speed/fixed inching
2 to 4 axes Linear interpolation operation Position control Absolute coordinates Linear/position/absolute
Incremental coordinates Linear/position/incremental
■ About the "axis system"
When performing interpolation operation on multiple axes, the leading axis is called the
"interpolated spindle" in order of axes X1, Y2, X2 and Y2.
4-33
4-5 Point Parameters
each of the X1-Y1 axis and X2-Y2 axis pairs are controlled to become a
single movement.
X-axis X-axis
Shortest distance
Obstacle
X-axis
Y1axis
X1axis
4-34
4-5 Point Parameters
Speed control • This is a control method for controlling axis movement by the operation 4
direction and speed (move). When a plus value is set to "Target
TYPES OF PARAMETERS
coordinates", axes move in the CW direction, and when a minus value is
set, axes move in the CCW direction.
There are two run modes.
Single/speed/deceleration: Axis operation continues until the stop sensor
turns ON.
Single/speed/deceleration: Axis moves by the move (incremental move)
indicated by [Stop sensor specified move]
when the stop sensor turns ON and then
comes to a stop.
Incremental coordinates
• In this coordinate system, how much axes move to a position away from
the current coordinates is specified referenced to [Current coordinates]
when specifying the target coordinates.
In run modes named "XXX/XXX/incremental", specify the target
coordinates using incremental coordinates.
4-35
4-5 Point Parameters
Setting Up Parameters
Point No. Default: 1 Setting range: 1 to 400 (H20S), 1 to 200 (H40S)
Each of the point parameters is managed appended with a [Point No.]. When performing
operations, specify this [Point No.]. One operation is performed by a single point No.
● Setting method
Take the following into consideration when setting this item.
Point No.1
TYPES OF PARAMETERS
Run mode Default: Single Pos Inc Setting range: following 10 ranges
Select [Run mode].
● Select from the following settings:
Single Pos Abs: Single/position/absolute (Specify by single operation and in absolute coordinates.)
Single Pos Inc: Single/position/incremental (Specify by single operation and in incremental coordinates.)
Speed Decel: Single/speed/deceleration (Set to speed control mode.)
Speed Fixed: Single/speed/fixed inching (Change speed control mode to position control mode (inch feed).)
2-Line Abs: Linear/position/absolute (Specify by 2-axis linear interpolation and by absolute coordinates.)
3-Line Abs: Linear/position/absolute (Specify by 3-axis linear interpolation and by absolute coordinates.)
4-Line Abs: Linear/position/absolute (Specify by 4-axis linear interpolation and by absolute coordinates.)
2-Line Inc: Linear/position/incremental (Specify by 2-axis linear interpolation and by incremental coordinates.)
3-Line Inc: Linear/position/incremental (Specify by 3-axis linear interpolation and by incremental coordinates.)
4-Line Inc: Linear/position/incremental (Specify by 4-axis linear interpolation and by incremental coordinates.)
4-36
4-5 Point Parameters
Single/position/absolute Single/position/incremental
Select these when performing positioning control on only one Speed
axis.
Select the single/position/absolute mode when setting
[Target coordinates] and performing operation
Time
referenced to [Origin coordinates].
Select the single/position/incremental mode for setting the movement distance from the
current position as [Target coordinates] and performing operation (e.g. fixed inching feed)
referenced to the current position.
• When the stop sensor is enabled, axes move by the
4
TYPES OF PARAMETERS
Speed Stop sensor
specified move when the stop sensor turns ON, and then
stop.
"Stop sensor specified move" (page 4-40)
Time
Specified move
Single/speed/deceleration
The stop sensor is used to control speed.
• "Return" is always off.
Speed
(1) When the next point is not set, axis movement
decelerates when the stop sensor turns ON and comes (1)
to a stop.
• Position control (incremental only) speed control can be Time
Stop sensor ON
set as the next point.
Speed
(2) In this example, continuous operation is set to "Cont-2" Next point
and the next point is set, and this is faster than the (2)
current speed.
Time
(3) This example is the same as above, and the setting is Stop sensor ON
slower than the current speed.
Speed
Excess pulses
even if set.)
• "Return" is always off.
Linear/position/absolute, Linear/position/incremental
Y-axis Target
Multiple axes in the unit are controlled simultaneously. coordinates
4-37
4-5 Point Parameters
Target coordinates
During single operation Default: 0 Setting range: -99999999 to 99999999, i-0 to i-15
Specifies the target (move destination) coordinates. In each of the single/position/absolute and
single/position/incremental modes, [Target coordinates] can be set to each individual axis.
● Setting method
Take the following into consideration when setting this item.
• With single/speed/deceleration, the operating direction is specified for [Target coordinates].
4 By 0 and a plus value, axis movement is in the CW direction, and by a minus value, axis
movement is in the CCW direction.
TYPES OF PARAMETERS
X1 axis target coordinates Y1 axis target coordinates (during linear interpolation operation)
X2 axis target coordinates Y2 axis target coordinates Default: 0
Setting range: -99999999 to 99999999, i-0 to i-15
Specifies the target (move destination) coordinates.
Settings are required for all interpolated axes.
Set this item when either of the linear/position/absolute or linear/position/incremental
modes is selected.
● Setting method
Take the following into consideration when setting this item.
• In the case of linear interpolation, only associated functions (e.g. M code output or dwell time)
are executed even if the move on all movement axes is 0.
• The number of pulses after conversion to pulse is restricted to the range -2147483648 to
+2147483647. When a value exceeding this in a single operation is moved, divide up and set
movement into multiple points, and perform continuous operation.
4-38
4-5 Point Parameters
TYPES OF PARAMETERS
more.
For example, the speed of the X1 axis in 2-axis linear interpolation operation becomes the
speed calculated by the following formula:
X-axis speed
X2 move
X2 axis speed = x speed
X2 move2 + Y2 axis move2
In case of 3 axes
X1 move
X1 axis speed = x speed
X1 move2 + Y1 axis move2 + X2 move2
In case of 4 axes
X1 move
X1 axis speed = x speed
X1 move2 + Y1 axis move2 + X2 move2+ Y2 axis move2
4-39
4-5 Point Parameters
Stop sensor enable Default: blank (off) Setting range: blank (off), on
Sets whether to enable or disable the stop sensor during position control. The stop sensor is
enabled when the run mode is single/speed control. Stop sensor enabled/disabled can be
selected only in the case of the single/position/incremental mode.
Note
When the stop request relay is used, the response may be delayed by the total
of the "CPU scan time and the scan time (1 to 10 ms) of the KV-H20S/H40S."
4-40
4-5 Point Parameters
Dwell time Default: 0 Setting range: -32000 to 32000 (unit: ms), i-0 to i-15
Set the time that axis operation stops (stands by) until the next operation after [Target
coordinates] is reached.
● Setting method
When setting a time to allow vibration on the workpiece to settle down after completion of
movement, set a plus value.
When starting movement after an external device has been operated, set a minus value.
4
Example of when a plus value is set.
TYPES OF PARAMETERS
Operation instruction ON
to the point parameter midway during operation is ignored, and the dwell time of the point
parameter from which block operation was started finally becomes the valid dwell time.
Speed
Point 1 Point 2 Point 3
Time
Dwell Dwell Dwell time
ignored ignored of point 1
Pulse output Output in progress Output in progress Output in progress Output in progress
• When a minus value is set, the dwell time is Normal Return Repeat Return
Dwell time
ignored before [Return] and [Repeat] are
No No No
executed. Operation start dwell dwell dwell
4-41
4-5 Point Parameters
reached.
The original coordinates are returned to when the wait (return)
X-axis X-axis
4-42
4-5 Point Parameters
Repeat count
other than speed control Default:0 Setting range: 0 to 65000, i-0 to i-15
Specify the number of times that additional operation (palletizing operation) up to the specified
position after [Target coordinates] are reached is to be performed.
Operation is possible in the single/position/absolute, single/position/incremental,
linear/position/absolute, or linear/position/incremental modes.
● Setting method
Take the following into consideration when setting this item. 4
• When 0 is set, repeated operation is not performed.
TYPES OF PARAMETERS
• When 65000 is set, repeated operation is performed endlessly.
• [Repeat incremental move] is performed for the number of set times.
• Repeated operation is not possible in the single/speed/deceleration and single/speed/fixed
inching modes.
• When the continuous mode is Cont-1 or Cont-2, an error is generated. Set to standby.
4-43
4-5 Point Parameters
Next point No. Default: 0 Setting range: 0 to 400 (H20S), 0 to 200 (H40S)
When setting operation by multiple point parameters, specify [Point No.] of the next point
parameter to [Next point No.].
When 0 is set, the next point is not executed.
● Setting method
Take the following into consideration when setting this item.
Y-axis
Point No.1
Point No.3
Point No.2
X-axis
• In the speed control mode, execution to the next point becomes possible after the stop sensor
turns ON (in fixed inching feed, after deceleration stop).
• When execution of the next point straddling the X- and Y-axes is performed, or execution of the
next point specified with a mixture of single operation and linear interpolation is performed, an
error is generated.
4-44
4-5 Point Parameters
Continuous mode Default: Ready (standby) Setting range: Ready, Cont-1, Cont-2
Set how migration to operation of [Next point No.] is to be performed after the target
coordinates are reached.
● Select from the following settings:
Ready: Standby A deceleration stop is performed once, and if the wait cancel relay is ON,
repeated operation or next point is executed.
Cont-1: Continuous 1 A deceleration stop is performed once, however, next point operation is
continued seamlessly. Repeated operation is not performed. 4
Cont-2: Continuous 2 Axis movement accelerates or decelerates to the speed of the next point
TYPES OF PARAMETERS
and operation is continued seamlessly without performing a deceleration stop. Note,
however, that if the direction of movement of the next point is the opposite direction,
operation is the same as Cont-1.
• Operation in the Cont-1 and Cont-2 modes is called "block operation."
Standby
Axis movement decelerates and stops once, Speed
ON
Wait cancel relay
OFF
Cont-1
After [Target coordinates] is reached, axis Speed
Cont-2 Speed
4-45
4-5 Point Parameters
• When the speed of the next point is lower than the current Speed
• When the speed of the next point is higher than the Speed
Speed Speed
Cont-1 Cont-2
Time Time
Triangular drive
4-46
4-5 Point Parameters
TYPES OF PARAMETERS
Start of operation Relay turns OFF by M code OFF instruction.
(State does not change at end of operation.)
Movement in progress Movement in progress
ON
M code output in progress relay
OFF
M code OFF instruction ON
OFF
Output of M code No. Output in progress
AFTER: At the end of operation, the M code output in progress relay turns ON, and the
specified [M code No.] is output.
• The relay turns ON also when axis movement is stopped in the
single/speed/deceleration and single/speed/fixed inching modes.
• The M code output in progress relay is held in an ON state until it is turned OFF by
the M code OFF instruction.
4-47
4-5 Point Parameters
• In block operation, the M code of the initial point No. is output after completion of positioning.
4 Set the M code mode for all points in block operation to AFTER.
• In block operation, when M codes are output in the WITH mode at a midway point even if
TYPES OF PARAMETERS
output in the AFTER mode is specified at the initial point, M code output is not performed in
the AFTER mode after completion of positioning.
• Operation is as follows when a plus value is set to the dwell time:
ON
Pulse
OFF
ON
Dwell
OFF
ON
M code output in progress relay
OFF
4-48
1
5 MAKING LADDER PROGRAMS
5-1 List of Devices
List of I/O Relays
The following lists show the names and functions of I/O relays that are assigned to the KV-
H20S/H40S.
The number of relay points is 192 points on the KV-H20S and 384 points on the KV-H40S.
The same functions are assigned to input relays on each axis (excluding some functions). 5
Input relays are turned ON/OFF by the KV-H20S/H40S. Input relays indicate the operating state
Note
All input relays sometimes turn OFF until an operation enable relay turns ON.
Be sure to make sure that an operation enable relay will turn ON.
Relay No.
Relay Name and Function See page
H20S H40S
X1 n 00 X1 n 00 Operation enable 6-11
Y1 n+3 00 Y1 n+3 00 OFF: State in which operation of KV-H20S/H40S is not enabled, for
example, during initial setup. In other words, communications is not
X2 n+6 00 established with the CPU Unit. Though relays turn ON/OFF, writing to
Y2 n+9 00 memory for communications is not performed. This relay also turns
OFF when the operation enable relay is OFF.
ON: Initial setup is completed, and communications is being performed
normally with the CPU Unit.
X1 n 01 X1 n 01 Movement in progress
Y1 n+3 01 Y1 n+3 01 OFF: The KV-H20S/H40S is not running. This state also includes servo 6-27
ready standby, dwell in progress, M code OFF instruction standby, 6-34
X2 n+6 01 and zero start standby in progress.
Y2 n+9 01 ON: The relay turns ON during pulse output (regular operation in progress, 6-63
jog operation in progress, origin return in progress), and during the 6-64
servo end check. During linear interpolation, the movement in
progress relay of both the X- and Y-axes turns ON. In interpolation
operation, the relay continues to stay ON even if the speed of either
the axes becomes 0. During switching from repeated operation to
return operation, the relay turns OFF by about the startup time. This
relay does not turn OFF in block operation. When the movement in
progress relay is loaded to the sequence program, a delay of about
the scan time occurs. For this reason, output of the movement in
progress relay is sometimes more delayed than the pulse output.
5-1
5-1 List of Devices
Relay No.
Relay Name and Function See page
H20S H40S
X1 n 02 X1 n 02 Return execution in progress 6-64
Y1 n+3 02 Y1 n+3 02 OFF→ON: The relay turns ON when return operation is started. This relay continues to
X2 n+6 02 stay ON even if return operation is completed and stopped. During linear
Y2 n+9 02 interpolation, the return execution in progress relay of each axis turns ON.
ON→OFF: This relay turns OFF in operations other than return operation (e.g. regular
operation, repeated operation, jog operation).
5 X1 n 03
Y1 n+3 03
X1 n 03
Y1 n+3 03
Dwell in progress
ON: This relay turns ON during a dwell or servo end check. During linear interpolation,
6-64
X2 n+6 03 only the dwell in progress relay for the interpolated spindle turns ON.
MAKING LADDER PROGRAMS
Y2 n+9 03
X1 n 04 X1 n 04 Repeat cancel completed 6-30
Y1 n+3 04 Y1 n+3 04 OFF: The repeat cancel completed relay turns OFF when the repeat cancel relay turns
X2 n+6 04 OFF.
Y2 n+9 04 ON: The repeat cancel completed relay turns ON when the repeat cancel relay turns
ON.
X1 n 05 X1 n 05 Positioning completed 6-30
Y1 n+3 05 Y1 n+3 05 OFF→ON: This relay turns ON when operation is completed. The positioning 6-65
X2 n+6 05 completed relay turns ON only when point execution ends, and the next point
Y2 n+9 05 No. is 0 (OFF). The positioning completed relay also turns ON when the standby
cancel relay is OFF or when a M code is ON. The positioning completed relay
does not turn ON when jog operation, forced deceleration stop and emergency
stop have been performed. The positioning completed relay turns ON when
operation is restarted after a forced deceleration stop is performed.
ON→OFF: This relay turns OFF when operation is restarted.
5-2
5-1 List of Devices
Relay No.
Relay Name and Function See page
H20S H40S
X1 n 09 X1 n 09 Move to home position in progress 6-37
Y1 n+3 09 Y1 n+3 09 OFF→ON:This relay turns ON when the move to home position relay turns
X2 n+6 09 ON. This relay also turns ON when a move to home position has
Y2 n+9 09 been performed in the test mode by the KZ-HP1/KV-HPD1 or when
an automatic move to home position has been performed.
ON→OFF: This relay turns OFF when the move to home position ends.
Note, however, that this relay stays ON for the duration that the
move to home position relay is ON. 5
X1 n 10 X1 n 10 Operation start request accept 6-17
5-3
5-1 List of Devices
Relay No.
Relay Name and Function See page
H20S H40S
X1 n+1 02 X1 n+1 02 Speed parameter write completed 5-36
Y1 n+4 02 Y1 n+4 02 OFF→ON:This relay turns ON when the speed parameter write request
X2 n+7 02 relay turns ON and writing is completed.
Y2 n+10 02 ON→OFF:This relay turns OFF when the speed parameter write request
relay turns OFF.
X1 n+1 03 X1 n+1 03 Point parameter read completed 5-28
5 Y1 n+4 03 Y1
X2
n+4
n+7
03
03
OFF→ON:This relay turns ON when the point parameter read request relay
turns ON and reading is completed.
Y2 n+10 03 ON→OFF:This relay turns OFF when the point parameter read request
MAKING LADDER PROGRAMS
5-4
5-1 List of Devices
Relay No.
Relay Name and Function See page
H20S H40S
X1 n+1 14 X1 n+1 14 Stop sensor input state 6-69
Y1 n+4 14 Y1 n+4 14 OFF: This indicates that the stop sensor is OFF.
X2 n+7 14 ON: This indicates that the stop sensor is ON.
Y2 n+10 14 * This is the signal ON/OFF state after polarity switching.
5-5
5-1 List of Devices
Note
• The initial state of all output relays is OFF at the moment that the KV-
H20S/H40S is turned ON. When making a sequence program, pay attention to
handling of relays to be controlled at the up edge. Even output relays that
turn ON immediately after the CPU Unit is set to the Run mode are regarded
as relays that turn ON from an OFF state.
5 • When output refreshing is set to OFF on the CPU Unit, all output relays on
MAKING LADDER PROGRAMS
the KV-H20S/H40S turn OFF. When output refreshing is turned OFF during
operation, axis movement decelerates and comes to a stop.
• The KV-H2S parses output relays in the order Y1 axis output relays followed
by X1 axis output relays.
The KV-H40S parses output relays in order Y2, X2, Y1 and then X1.
When the leading relay No. on the KV-H20S/H40S set in Unit Editor on KV STUDIO/KV
BUILDER is R30000(300ch), this means that n+6 00 is 30600, n+6 01 is 30601, n+7 00 is
30700 respectively on the X-axis.
Relay No.
Relay Name and Function See page
H20S H40S
X1 n+6 00 X1 n+12 00 Operation enable 6-8
Y1 n+9 00 Y1 n+15 00 OFF:Output relays other than the forced stop relay and deceleration stop 6-11
X2 n+18 00 relay are ignored. This relay forcibly turns the operation enable relay
Y2 n+21 00 OFF.
ON: Other output relays are enabled.
ON→OFF:Deceleration stop is performed if operation is in progress.
X1 n+6 01 X1 n+12 01 Forced stop 6-24
Y1 n+9 01 Y1 n+15 01 OFF→ON:An emergency stop is performed. All axes stop, and the
X2 n+18 01 emergency stop error is generated. The movement in progress, return
Y2 n+21 01 execution in progress and dwell in progress relays are turned OFF.
X1 n+6 02 X1 n+12 02 Deceleration stop
Y1 n+9 02 Y1 n+15 02 OFF→ON:A deceleration stop is performed forcibly if operation is in
X2 n+18 02 progress or pulse output is in progress (e.g. origin return). The 5-28
Y2 n+21 02 movement in progress relay is turned OFF after the deceleration stop. 5-33
In linear interpolation, only the interpolated spindle is enabled. 5-36
After a deceleration stop, dwell time is ignored. The state of M code output
does not change.
5-6
5-1 List of Devices
Relay No.
Relay Name and Function See page
H20S H40S
5-7
5-1 List of Devices
Relay No.
Relay Name and Function See page
H20S H40S
5-8
5-1 List of Devices
Relay No.
Relay Name and Function See page
H20S H40S
5-9
5-1 List of Devices
Relay No.
Relay Name and Function See page
H20S H40S
X1 n+7 05 X1 n+13 05 Speed parameter read request 5-36
Y1 n+10 05 Y1 n+16 05 OFF→ON:When this relay turns ON, the speed parameter data is read to
X2 n+19 05 the speed parameter area on the CPU Unit from the KV-H20S/H40S.
Y2 n+22 05 After reading is completed, the speed parameter read completed relay
turns ON.
ON→OFF:When this relay turns OFF, the speed parameter read completed
relay turns OFF.
5 X1 n+7 06 X1 n+13 06 Current coordinates write request 5-38
MAKING LADDER PROGRAMS
Y1 n+10 06 Y1 n+16 06 OFF→ON:When this relay turns ON, the current coordinate values are
X2 n+19 06 written to the KV-H20S/H40S, and the current coordinates write
Y2 n+22 06 completed relay is turned ON. This relay does not function during
operation.
* When the operation start relay turns ON at the same time, the current
coordinates are changed before operation is started.
ON→OFF:When this relay turns OFF, the current coordinates write
completed relay turns OFF.
X1 n+7 07 X1 n+13 07 Speed change request 6-52
Y1 n+10 07 Y1 n+16 07 OFF→ON:This relay function while position control/speed control operation
X2 n+19 07 is in progress. When this relay turns ON, the speed is changed, and
Y2 n+22 07 the speed change completed relay turns ON.
ON→OFF:The speed change completed relay turns OFF.
5-10
5-1 List of Devices
Relay No.
Relay Name and Function See page
H20S H40S
X1 n+7 12 X1 n+13 12 Jog- 6-22
Y1 n+10 12 Y1 n+16 12 OFF→Jog operation is performed in the CW direction. At the up edge of this
X2 n+19 12 relay, jog pulses are output for the number of pulses set to jog inching
Y2 n+22 12 number of pulses. If this relay is set to stay ON for 200 ms or more, jog
movement is performed at the jog startup speed. If the high-speed jog
relay is ON, jog operation is performed at high speed. This relay does
not function during operation.
ON→OFF:When this relay turns OFF during jog operation, axis movement 5
decelerates and comes to a stop.
5-11
5-1 List of Devices
KV-H20S/H40S data such as currently executing point No. and current coordinates are written to
"permanent read area." Data cannot be written to this area by a sequence program.
* The write cycle becomes the maximum scan time of the CPU Unit or scan time 1 to 10 ms of
the KV-H20S/H40S, whichever is the larger.
Permanent read area
DM No.
Area Name Value Range See page
H20S H40S
X1 £+00 X1 £+00 Current point No. KV-H20S: 0 to 400
Y1 £+12 Y1 £+12 KV-H40S: 0 to 200
X2 £+24
Y2 £+36
X1 £+01 to 03 X1 £+01 to 03 (reserved for system)
Y1 £+13 to 15 Y1 £+13 to 15
X2 £+25 to 27
Y2 £+37 to 39
X1 £+04, 05 X1 £+04, 05 Current coordinates -2147483648 to 2147483647*
Y1 £+16, 17 Y1 £+16, 17 (lower 1 word)
X2 £+28, 29 (upper 1 word)
Y2 £+40, 41
X1 £+06, 07 X1 £+06, 07 Current speed 0 to 99999999
Y1 £+18, 19 Y1 £+18, 19 (lower 1 word)
X2 £+30, 31 (upper 1 word)
Y2 £+42, 43
X1 £+08 X1 £+08 Lower 8 bits: M code 0 to 255
Y1 £+20 Y1 £+20 Upper 8 bits: error code 0 to 255
X2 £+32
Y2 £+44
*: When the current coordinates and counter current value after coordinate translation becomes 2147483648 or more or -
2147483649 or less, the value is fixed to 2147483647 and -2147483648, respectively. When the internally managed
coordinates (pulse unit) becomes 2147483648 or more or -2147483649 or less, the value changes to -2147483648 or
5-12
5-1 List of Devices
DM No.
Area Name Value Range See page
H20S H40S
X1 £+09 X1 £+09 Repeat count 0 to 65535 6-66
Y1 £+21 Y1 £+21 (Returns to 0 when 65535
X2 £+33 is exceeded.)
Y2 £+45
X1 £+10 X1 £+10 bit 0: emergency stop input state 0: emergency stop (OFF) 1: normal (ON) 6-69
Y1 £+22 Y1 £+22 bit 1: positioning Z-phase input state* 0: OFF 1: ON 6-70
X2 £+34
Y2 £+46
bit 2 to 4: (reserved for system)
bit 5: Zero start input state*
0: OFF 1: ON
3-10
5
bit 6 to 15: (reserved for system)
Data can be written by the sequence program in this area. Write data to this area when
specifying the point No. to be executed or when changing the current coordinates.
DM No.
Area Name Value Range See page
H20S H40S
X1 £+24 X1 £+48 Start/read point No. KV-H20S : 0 to 400 5-28
Y1 £+32 Y1 £+56 KV-H40S : 0 to 200
X2 £+64
Y2 £+72
X1 £+25 to 27 X1 £+49 to 51 (reserved for system)
Y1 £+33 to 35 Y1 £+57 to 59
X2 £+65 to 67
Y2 £+73 to 75
X1 £+28, 29 X1 £+52, 53 Change current coordinates -99999999 to 99999999
Y1 £+36, 37 Y1 £+60, 61 (lower 1 word)
X2 £+68, 69 (upper 1 word)
Y2 £+76, 77
X1 £+30, 31 X1 £+54, 55 Change speed 0 to 99999999
Y1 £+38, 39 Y1 £+62, 63 (lower 1 word)
X2 £+70, 71 (upper 1 word)
Y2 £+78, 79
5-13
5-1 List of Devices
This is the area that is read by the KV-H20S/H40S when parameter values are set by indirect
specification. There are 16 areas in a single unit, and these are shared by two axes on the KV-
H20S and by four axes on the KV-H40S.
DM No.
Area Name
H20S H40S
5 £+40
£+41
£+80
£+81
Indirect parameter0 (lower word)
(INDEX 0) (upper word)
MAKING LADDER PROGRAMS
5-14
5-1 List of Devices
The point parameters of the specified point can be read from the KV-H20S/H40S to "point
parameter area." Point parameters can also be written to point parameter area and changed.
The functions of the point parameter area differ according to the run mode.
In the case of indirection specification, the lowest one digit is the indirect No.
"Changing Point Parameters" (page 5-27)
Write all 0's to areas designated as reserved for the system.
Point parameter area during independent operation
DM No
Area Name Value Range
5
H20S H40S
5-15
5-1 List of Devices
DM No.
Area Name Value Range
H20S H40S
X1 £+82, 83 X1 £+122, 123 (reserved for system)
Y1 £+98, 99 Y1 £+138, 139
X2 £+154, 155
Y2 £+170, 171
X1 £+84, 85 X1 £+124, 125 Stop sensor specified move 0 to 99999999
Y1 £+100, 101 Y1 £+140, 141 (indirect specification:
5 X2 £+156, 157
Y2 £+172, 173
$FFFFFFF0 to $FFFFFFFF)
MAKING LADDER PROGRAMS
DM No.
Area Name Value Range
H20S H40S
X1 £+73 X1 £+113 Next point No. 0: This time only 1 to 400: Next No.
Y1 £+89 Y1 £+129 (On the KV-H40S, 1 to 200)
X2 £+145
Y2 £+161
X1 £+74 X1 £+114 M code No. 0 to 255
Y1 £+90 Y1 £+130
X2 £+146
Y2 £+162
X1 £+75 X1 £+115 Speed No. 1 to 16
Y1 £+91 Y1 £+131 (indirect specification: $FFF0 to $FFFF)
X2 £+147
Y2 £+163
X1 £+76, 77 X1 £+116, 117 Target coordinates -99999999 to 99999999
Y1 £+92, 93 Y1 £+132, 133 (move direction) (indirect specification: $80000000 to $8000000F)
X2 £+148, 149
Y2 £+164, 165
5-16
5-1 List of Devices
DM No.
Area Name Value Range
H20S H40S
X1 £+78 to 80 X1 £+118 to 120 (reserved for system)
Y1 £+94 to 96 Y1 £+134 to 136
X2 £+150 to 152
Y2 £+166 to 168
X1 £+81 X1 £+121 Dwell time -32000 to 32000
Y1 £+97 Y1 £+137 (indirect specification: $8000 to $800F)
X2 £+153
Y2 £+169
5
5-17
5-1 List of Devices
DM No.
Area Name Value Range
H20S H40S
bit 12 to 15:
(reserved for system)
X1 £+73 X1 £+113 Next point No. 0: This time only 1 to 400: Next No.
Y1 (reserved for system) Y1 (reserved for system) (On the KV-H40S, 1 to 200)
X2 £+145
Y2 (reserved for system)
X1 £+74 X1 £+114 M code No. 0 to 255
Y1 (reserved for system) Y1 (reserved for system)
X2 £+146
Y2 (reserved for system)
X1 £+75 X1 £+115 Speed No. 1 to 16
Y1 (reserved for system) Y1 (reserved for system) (indirect specification: $FFF0 to $FFFF)
X2 £+147
Y2 (reserved for system)
X1 £+76, 77 X1 £+116, 117 Spindle target coordinates -99999999 to 99999999
Y1 (reserved for system) Y1 (reserved for system) (indirect specification:
X2 £+148, 149 $80000000 to $8000000F)
Y2 (reserved for system)
X1 £+78, 79 X1 £+118, 119 Spindle repeated -99999999 to 99999999
Y1 (reserved for system) Y1 (reserved for system) incremental travel (indirect specification:
X2 £+150, 151 $80000000 to $8000000F)
Y2 (reserved for system)
X1 £+80 X1 £+120 Repeat count 0 to 65000
Y1 (reserved for system) Y1 (reserved for system) (indirect specification: $FFF0 to $FFFF)
X2 £+152
Y2 (reserved for system)
X1 £+81 X1 £+121 Dwell time -32000 to 32000
Y1 (reserved for system) Y1 (reserved for system) (indirect specification: $8000 to $800F)
X2 £+153
Y2 (reserved for system)
X1 £+82 to 86 X1 £+122 to 126 (reserved for system)
Y1 (reserved for system) Y1 (reserved for system)
X2 £+154 to 158
Y2 (reserved for system)
X1 £+87 X1 £+127 KV-H20S: (reserved for system) $0000: 2-axis interpolation (X1/Y1, X2/Y2)
Y1 (reserved for system) Y1 (reserved for system) KV-H40S: Interpolated axis setting $0007: 3-axis interpolation
X2 £+159 $000F: 4-axis interpolation
Y2 (reserved for system)
*: Startup from a zero start standby state
5-18
5-1 List of Devices
DM No.
Area Name Value Range
H20S H40S
X1 (reserved for system) X1 (reserved for system) bit 0, 1: Run mode 01: Linear
Y1 £+88 Y1 £+128
X2 £+144
Y2 £+160
X1 (reserved for system) X1 (reserved for system) (reserved for system)
Y1 £+89 to 91 Y1 £+129 to 131
X2 £+145 to 147
5
Y2 £+161 to 163
5-19
5-1 List of Devices
System parameters can be read to "system parameter area" from the KV-H20S/H40S. System
parameters can also be written to system parameter area and changed.
"Changing System Parameters" (page 5-32)
DM No.
Area Name Value Range
H20S H40S
5 X1 £+104 X1 £+176 bit 0: Pulse output type 0: 1 pulse 1: 2 pulses
Y1 £+166 Y1 £+238 bit 1, 2: (reserved for system)
MAKING LADDER PROGRAMS
X2 £+300 bit 3: Direction of motor operation 0: forward rotation (CW) 1: reverse rotation (CCW)
Y2 £+362 bit 4: Origin return direction 0: forward rotation (CW) 1: reverse rotation (CCW)
bit 5: Origin sensor polarity 0: NO contact 1: NC contact
bit 6: Limit switch polarity 0: NO contact 1: NC contact
bit 7: (reserved for system)
bit 8: (reserved for system)
bit 9: Stop sensor polarity 0: NO contact 1: NC contact
bit 10: Servo ready check 0: OFF 1: ON
bit 11: Automatic origin return 0: OFF 1: ON
bit 12: Automatic move to home position 0: OFF 1: ON
bit 13: (reserved for system)
bit 14: Origin return mode 0: regular 1: CCW-LSW OFF
bit 15: Origin sensor detection mode 0: regular 1: ORG end detection
X1 £+105 X1 £+177 bits 0 to 2: Operation acceleration curve 000: linear 001: SIN
Y1 £+167 Y1 £+239 bit 3: (reserved for system)
X2 £+301 bits 4 to 6: Operation deceleration curve 000: linear 001: SIN
Y2 £+363 bit 7: (reserved for system)
bits 8 to 10: Jog acceleration curve 000: linear 001: SIN
bit 11: (reserved for system)
bits 12 to 14: Jog deceleration curve 000: linear 001: SIN
bit 15: (reserved for system)
X1 £+106 X1 £+178 bits 0 to 2: Origin return acceleration curve 000: linear 001: SIN
Y1 £+168 Y1 £+240 bit 3: Shortcut control of angle of rotation 0: OFF 1: ON
X2 £+302 bits 4 to 6: Origin return deceleration curve 000: linear 001: SIN
Y2 £+364 bit 7: Speed unit translation 0: OFF 1: ON
bit 8 to 10: Decimal point position 000 to 111 (0 to 7)
bit 11, 12: Coordinate unit 00: mm 10: deg 11: pulse
bit 13 to 15: (reserved for system)
5-20
5-1 List of Devices
DM No.
Area Name Value Range
H20S H40S
X1 £+108 X1 £+180 Lower 8 bits: 1 to 100
Y1 £+170 Y1 £+242 Operation acceleration curve ratio
X2 £+304 Upper 8 bits: 1 to 100
Y2 £+366 Operation deceleration curve ratio
X1 £+109 X1 £+181 Lower 8 bits: 1 to 100
Y1 £+171 Y1 £+243 Jog acceleration curve ratio
X2 £+305
Y2 £+367
Upper 8 bits:
Jog deceleration curve ratio
1 to 100
5
5-21
5-1 List of Devices
DM No.
Area Name Value Range
H20S H40S
X1 £+120, 121 X1 £+192, 193 Jog startup speed 1 to 99999999
Y1 £+182, 183 Y1 £+254, 255
X2 £+316, 317
Y2 £+378, 379
X1 £+122, 123 X1 £+194, 195 Origin return startup speed 0 to 99999999
Y1 £+184, 185 Y1 £+256, 257
5 X2 £+318, 319
Y2 £+380, 381
MAKING LADDER PROGRAMS
5-22
5-1 List of Devices
DM No.
Area Name Value Range
H20S H40S
X1 £+142, 143 X1 £+214, 215 Origin coordinates -99999999 to 99999999
Y1 £+204, 205 Y1 £+276, 277
X2 £+338, 339
Y2 £+400, 401
X1 £+144, 145 X1 £+216, 217 Home coordinates -99999999 to 99999999
Y1 £+206, 207 Y1 £+278, 279
X2 £+340, 341
Y2 £+402, 403
5
5-23
5-1 List of Devices
DM No.
Area Name Value Range
H20S H40S
5-24
5-1 List of Devices
Speed parameters can be read to "speed parameter area" from the KV-H20S/H40S. Speed
parameters on the KV-H20S/H40S can also be changed by writing speeds to the speed
parameter area.
"Changing Speed Parameters" (page 5-35)
DM No.
Area Name Value Range
H20S H40S 5
X1 £+228, 229 X1 £+424, 425 Speed No.1 1 to 99999999
5-25
5-1 List of Devices
DM No.
Area Name Value Range
H20S H40S
X1 £+246, 247 X1 £+442, 443 Speed No.10 1 to 99999999
Y1 £+278, 279 Y1 £+474, 475
X2 £+506, 507
Y2 £+538, 539
X1 £+248, 249 X1 £+444, 445 Speed No.11 1 to 99999999
Y1 £+280, 281 Y1 £+476, 477
5 X2 £+508, 509
Y2 £+540, 541
MAKING LADDER PROGRAMS
5-26
5-2 Ladder Program for Changing Parameter Setups
The new point parameter settings are written to SRAM on KV-H20S/H40S, and automatically
written to flash ROM when the power is next turned ON. If necessary, the settings can also be 5
written simultaneously to flash ROM without having to turn the power OFF then back ON again.
5-27
5-2 Ladder Program for Changing Parameter Setups
<Sequence program>
(1)Reading of specified Flash ROM (4)
point No.
(2)Rewriting Write
Procedure
3 Make sure that the point parameter read completion relay is OFF, and then turn
the point parameter read request relay ( n+7 03) ON.
• The current point parameter is read to the CPU Unit from the KV-H20S/H40S.
4 Make sure that the point parameter read completion relay ( n+1 03) is ON.
For an explanation on the point parameter area, “Point parameter area” (page 5-15).
6 Make sure that the point parameter write completion relay is OFF, and then turn
the point parameter write request relay ( n+7 00) ON.
• The new point parameters are written to the KV-H20S/H40S from the CPU Unit.
7 Make sure that the point parameter write completion relay ( n+1 00) is ON.
8 To write to flash ROM, too, turn the flash ROM write request relay ( n+8 00) ON.
9 The flash ROM write completion relay turns ON.
10 Turn the flash ROM write request relay OFF.
11 Turn the deceleration stop relay OFF.
* When point parameters are not to be written to flash ROM at this state, steps 8 to 10 in the
above procedure are not required.
5-28
5-2 Ladder Program for Changing Parameter Setups
Example Change [Next point No.] of point 10 to “5”, and write to flash ROM on KV-
H20S/H40S. Point 10 is independent operation of the X1 axis.
Leading DM No. DM10000 (10000 to 10319)
CPU Unit KV-H20S
Leading relay No. R30000 (30000 to 31115)
Memory for The start/read point No. area is DM10024.
communications The next point No. area of the point parameter
area is DM10073.
Relay No. Flash ROM write relay n+8 00(30800)
Flash ROM write completion relay n+2 00(30200)
5
Deceleration stop relay n+6 02(30602)
● Ladder program
CR2002 R03000 R30600
Operation enable
ON at all times Interlock Operation enable
R30000 R00500
Confirmation of ready for operation
Ready Ready for operation display
R00000 R30000 R30103 R30001 #00010 R30602 R30703 Store point No. to change, and turn deceleration stop
DW SET SET
Point parameter Movement DM10024 Deceleration Point parameter
Change instruction Ready and read request relays ON.
read completed in progress Start read point No. and stop read request
R30103 R30703 #00005 R30700 At read completion relay ON, turn read request relay
RES DW SET
Point parameter Point parameter DM10073 Point parameter OFF, store next point 5, and turn write request relay ON.
read completed read request Next point write request
5-29
5-2 Ladder Program for Changing Parameter Setups
(1) The deceleration stop relay ( n+6 02) is turned ON by the sequence program.
• The point parameter write request relay ( n+7 00)
functions only when the deceleration stop relay is ON.
(2) The point parameter read request relay ( n+7 03) is turned ON by the sequence program
after it is confirmed that the point parameter read completion relay is OFF.
• The point parameters are read to the CPU Unit from the KV-H20S/H40S.
(3) When the read ends, the KV-H20S/H40S turns the point parameter read completion relay
( n+1 03) ON.
(4) When the point parameter read completion relay turns ON, the point parameter read request
relay is turned OFF by the sequence program.
(5) The point parameter read completion relay turns OFF when the point parameter read request
relay turns OFF.
• Write the new settings to the point parameter area.
(6) The point parameter write request relay ( n+7 00) is turned ON by the sequence program
after it is confirmed that the point parameter write completion relay is OFF.
• The new point parameters are written to the KV-H20S/H40S from the CPU Unit.
(7) When the write to the KV-H20S/H40S ends, the KV-H20S/H40S turns the point parameter
write completion relay ( n+1 00) ON.
(8) When the point parameter write completion relay turns ON, the point parameter write request
relay is turned OFF by the sequence program.
(9) The point parameter write completion relay turns OFF when the point parameter write request
relay turns OFF.
(10) The deceleration stop relay is turned OFF by the sequence program.
5-30
5-2 Ladder Program for Changing Parameter Setups
Example In the case of the X1 axis, set bits 0 to 3 of DM10072 to set the run mode when the
leading DM in communications area is DM10000.
bit bit bit
DM10072
Single/position/absolute
15 3
0 0 0
0
0 5
Linear/position/absolute 0 0 0 1
Linear/position/incremental 0 1 0 1
Single/speed/deceleration 1 0 0 0
Single/speed/fixed inching 1 1 0 0
The functions of bits 4 to 15 of DM10072 and DM10073 to DM10087 differ according to the run
mode.
5-31
5-2 Ladder Program for Changing Parameter Setups
5
MAKING LADDER PROGRAMS
Note
• Before changing system parameters, be sure to turn the deceleration stop
relay ON. To ensure safety, disable changing of parameters during operation.
• It takes up to ten seconds to write new system parameter settings to flash
ROM.
• The maximum life of the flash ROM is 100,000 write operations. Pay attention
to this each time that you write to flash ROM.
• When a parameter is changed, the content of flash ROM is compared with
that of SRAM when the power is next turned ON, and the content of SRAM is
written to flash ROM if the content of the flash ROM is different.
• To write parameters without reading system parameters, be sure to set the
system reserved area to “0”.
Procedure
2 Make sure that the system parameter read completion relay is OFF, and then
turn the system parameter read request relay ( n+7 04) ON.
• The current system parameter is read to the CPU Unit from the KV-H20S/H40S.
3 Make sure that the system parameter read completion relay ( n+1 04) is ON.
5 Make sure that the system parameter write completion relay is OFF, and then
turn the system parameter write request relay ( n+7 01) ON.
• The new system parameters are written to the KV-H20S/H40S from the CPU Unit.
6 Make sure that the system parameter write completion relay ( n+1 01) is ON.
7 To write to flash ROM, too, turn the flash ROM write request relay ( n+8 00) ON.
5-32
5-2 Ladder Program for Changing Parameter Setups
8 The flash ROM write completion relay ( n+2 00) turns ON.
9 Turn the flash ROM write request relay OFF.
10 Turn the deceleration stop relay OFF.
* When system parameters are not to be written to flash ROM at this state, steps 7 to 9 in the
above procedure are not required.
● Ladder program
CR2002 R03000 R30600
Operation enable
ON at all times Interlock Operation enable
R30000 R00500
Confirmation of ready for operation
Ready Ready for operation display
R00000 R30000 R30104 R30001 R01100 R30602 R30704 Key lock setting
SET SET SET Turn deceleration stop and read request
Key lock setting Ready System parameter Movement in Key lock setting Deceleration System parameter relays ON.
instruction read completed progress in progress stop read request
R30104 R01100 R30704 DM10107 $0010 DM10107 R30701 At read completion relay ON, turn read
RES LDA ORA STA SET request relay OFF, and turn the key lock
System parameter Key lock setting System parameter Key lock Key lock System parameter
read completed in progress read request write request area and write request relay ON.
R30101 R01100 R30701 R30602 R01100 At write completion relay ON, turn write
RES RES RES request and deceleration stop relays OFF.
System parameter Key lock setting System parameter Deceleration Key lock setting
write completed in progress write request stop in progress Key lock cancellation
R00001 R30000 R30104 R30001 R01101 R30602 R30704 Turn deceleration stop and read
SET SET SET request relays ON.
Key lock cancellation Ready System parameter Movement in Key lock cancellation Deceleration System parameter
instruction read completed progress in progress stop read request
R30104 R01101 R30704 R30101 DM10107 $FFEF DM10107 R30701 At read completion relay ON, turn read
RES LDA ANDA STA SET request relay and the key lock area OFF,
System parameter Key lock cancellation System parameter System parameter Key lock Key lock System parameter
read completed in progress read request write completed write request and turn write request relay ON.
R30101 R01101 R30701 R01101 R30800 At write completion relay ON, turn write
RES RES SET
System parameter Key lock cancellation System parameter Key lock cancellation Flash ROM
request and deceleration stop relays OFF.
write completed in progress write request in progress write
R30200 R30602 R30800
RES RES
Flash ROM Deceleration Flash ROM
write completed stop write
5-33
5-2 Ladder Program for Changing Parameter Setups
(1) The deceleration stop relay ( n+6 02) is turned ON by the sequence program.
• The system parameter read request relay ( n+7 04) functions only when the deceleration
stop relay is ON.
(2) The system parameter read request relay ( n+7 04) is turned ON by the sequence program
after it is confirmed that the system parameter read completion relay is OFF.
• The system parameters are read to the CPU Unit from the KV-H20S/H40S.
(3) When the read ends, the KV-H20S/H40S turns the point parameter read completion relay
( n+1 04) ON.
(4) When the system parameter read completion relay turns ON, the system parameter read
request relay is turned OFF by the sequence program.
(5) The system parameter read completion relay turns OFF when the system parameter read
request relay turns OFF.
• Write the new settings to the system parameter area.
(6) The system parameter write request relay ( n+7 01) is turned ON by the sequence program
after it is confirmed that the system parameter write completion relay is OFF.
• The new system parameters are written to the KV-H20S/H40S from the CPU Unit.
(7) When the write to the KV-H20S/H40S ends, the KV-H20S/H40S turns the system parameter
write completion relay ( n+1 01) ON.
(8) When the system parameter write completion relay turns ON, the system parameter write
request relay is turned OFF by the sequence program.
(9) The system parameter write completion relay turns OFF when the system parameter write
request relay turns OFF.
(10) The deceleration stop relay is turned OFF by the sequence program.
5-34
5-2 Ladder Program for Changing Parameter Setups
To change the speed parameters, first read the current speed parameters from the KV-
H20S/H40S to the speed parameter area on the CPU Unit. Next, write the new settings to the
speed parameter area and then to the KV-H20S/H40S.
“Changing Point Parameters” (page 5-27).
The new speed parameter settings are written to SRAM on KV-H20S/H40S, and automatically
5
Note
• Before changing speed parameters, be sure to turn the deceleration stop
relay ON. To ensure safety, disable changing of parameters during operation.
• It takes up to ten seconds to write new system parameter settings to flash
ROM.
• The maximum life of the flash ROM is 100,000 write operations. Pay attention
to this each time that you write to flash ROM.
• When a parameter is changed, the content of flash ROM is compared with
that of SRAM when the power is next turned ON, and the content of SRAM is
written to flash ROM if the content of the flash ROM is different.
5-35
5-2 Ladder Program for Changing Parameter Setups
Procedure
2 Make sure that the speed parameter read completion relay is OFF, and then turn
the speed parameter read request relay ( n+7 05) ON.
• The current speed parameter is read to the CPU Unit from the KV-H20S/H40S.
3 Make sure that the speed parameter read completion relay ( n+1 05) is ON.
For an explanation on the speed parameter area, “Speed parameter area, system reserved
area” (page 5-25)
5 Make sure that the speed parameter write completion relay is OFF, and then turn
the speed parameter write request relay ( n+7 02) ON.
• The new speed parameters are written to the KV-H20S/H40S from the CPU Unit.
6 Make sure that the speed parameter write completion relay ( n+1 02) is ON.
7 To write to flash ROM, too, turn the flash ROM write request relay ( n+8 00) ON.
8 The flash ROM write completion relay ( n+2 00) turns ON.
9 Turn the flash ROM write request relay OFF.
10 Turn the deceleration stop relay OFF.
* When system parameters are not to be written to flash ROM at this state, steps 7 to 9 in the
above procedure are not required.
5-36
5-2 Ladder Program for Changing Parameter Setups
● Ladder program
CR2002 R03000 R30600
Operation enable
ON at all times Interlock Operation enable
R30000 R00500
Confirmation of ready for operation
Ready Ready for
operation display
R00000 R30000 R30001 R30602 R30705 Turn deceleration stop and read
SET SET
Change instruction Ready Movement in progress Deceleration Speed parameter
request relays ON.
stop read request
R30105 R30705 #50000 R30702 At read completion relay ON, store the
RES DW.D SET speed value, and turn the write request
Speed parameter Speed parameter DM10228 Speed parameter
relay ON.
write request
5
read completed read request Speed parameter 1
(1) The deceleration stop relay ( n+6 02) is turned ON by the sequence program.
• The speed parameter write request relay ( n+7 02) functions only when the deceleration
stop relay is ON.
(2) The speed parameter read request relay ( n+7 05) is turned ON by the sequence program
after it is confirmed that the speed parameter read completion relay is OFF.
• The speed parameters are read to the CPU Unit from the KV-H20S/H40S.
(3) When the read ends, the KV-H20S/H40S turns the speed parameter read completion relay
( n+1 05) ON.
(4) When the speed parameter read completion relay turns ON, the speed parameter read
request relay is turned OFF by the sequence program.
(5) The speed parameter read completion relay turns OFF when the speed parameter read
request relay turns OFF.
• Write the new settings to the speed parameter area.
(6) The speed parameter write request relay ( n+7 02) is turned ON by the sequence program
after it is confirmed that the speed parameter write completion relay is OFF.
• The new speed parameters are written to the KV-H20S/H40S from the CPU Unit.
(7) When the write to the KV-H20S/H40S ends, the KV-H20S/H40S turns the speed parameter
write completion relay ( n+1 02) ON.
5-37
5-2 Ladder Program for Changing Parameter Setups
(8) When the speed parameter write completion relay turns ON, the speed parameter write
request relay is turned OFF by the sequence program.
(9) The speed parameter write completion relay turns OFF when the speed parameter write
request relay turns OFF.
(10) The deceleration stop relay is turned OFF by the sequence program.
5
MAKING LADDER PROGRAMS
5-38
1
6 KZ-HP1/KV-HPD1 OPERATION
This section describes the functions and how to operate the KZ-HP1/KV-HPD1 Teaching Unit.
The Teaching Unit can be connected to Positioning Units such as the KV-H20S and the KV-
H40S to enable teaching of these units, monitor operation states, perform test operation, and
display/set up the various parameters. The KV-HPD1 Teaching Unit is provided with a JOG dial.
Similar functions such as monitoring can also be used from the MOTION BUILDER Ver.2
Parameter Setup/Monitor Software. For details, refer to the KV-H1HW User's Manual.
• Before performing testing, jog operation and teaching, first make sure
WARNING
that there are no people in safety protected zones.
Otherwise, accidents may be caused by malfunction, erroneous
operation and other abnormalities.
6
KZ-HP1/KV-HPD1 OPERATION
Note
• When using the KZ-HP1/KV-HPD1, use at a location where the emergency
stop switch connected to the KV-H20S/H40S can be operated.
When a communications error occurs, the "forced stop" from the KZ-
HP1/KV-HPD1 cannot be accepted and an accident may occur. The "forced
stop" button on the KZ-HP1/KVHPD1 may not function when a
communications error occurs.
6-1
6-1 Using the KZ-HP1
Basic operations
■ Display
• In a state where there are not enough display digits,
■ Key layout
About input of numerical values
0 to 9 Enters numbers.
→ Increments values. Or, selects items. (Fixes values.)
← Decrements values. Or, selects items. (Fixes values.)
ENT Fixes entered values.
DEL Deletes the previously entered character.
CLR Deletes all characters and clears to 0.
FAST X Y
INDEX STOP STOP EMG ± Switches the sign.
FAST
MENU HELP PREV NEXT INDEX Switches between direct/indirect specification of values.
4 5 6 DEL
Edited values are not set unless ENT is pressed.
TEACH
(Item selection is set by ← → .)
1 2 3 JOG
0 ENT
6-2
6-1 Using the KZ-HP1
For details on conventional restart of operation after a forced deceleration stop, "Test
execution 2" (page 6-15)
The cursor changes to ■ when the numerical value or details of each parameter are already set.
The cursor returns to ■ when the ENT key is pressed to fix the entered values or details. If you
press the ↑ ↓ key without entered values or details not fixed, the setting returns to the setting
6
before it was changed. Note, however, that when items are selected by ← → , the entered
KZ-HP1/KV-HPD1 OPERATION
values or details are fixed the moment that ← → is pressed.
Menu screen
The menu screen is displayed when the KZ-HP1 is connected to the KV-H20S/H40S. The
following menu screen is also displayed when the MENU key is pressed even if a different
screen is displayed.
1) Mon 2) Test
3) Point 4) System
5) Speed 6) Jog
7) Teach
English display
If you press number keys 1 to 7 with the menu screen displayed, the screen moves to the
screen for the respective function.
2 Test
Change coordinates/speed
Write flash ROM, execute initialization, M codes OFF, next point execution
Repeat cancel, restrart operation, origin return
Start operation
HELP Help
6-3
6-1 Using the KZ-HP1
List of functions
1 Monitor functions
The state of the KV-H20S/H40S during operation can be monitored (even when operation is
stopped).
The following items can be monitored:
2 Test functions
Operation instructions (e.g. operation start), coordinates and speed can be changed.
The following functions are available:
6-4
6-1 Using the KZ-HP1
6 Jog operation
• The motor is operated by operation of the Teaching Unit.
• Jog operation can be executed only while operation is stopped.
7 Remote teaching
• The current coordinates are transferred to the target coordinates of the point parameters.
• Remote teaching can be executed only while operation is stopped, and can be called by 6
selecting from the menu or pressing the TEACH
JOG key from the coordinate setup screen in the
KZ-HP1/KV-HPD1 OPERATION
point edit mode. (Remote teaching is possible on the KV-HPD1 by pressing the "JOG/TEACH"
key.)
6-5
6-1 Using the KZ-HP1
Menu screen
1) Mon 2) Test
3) Point 4) System
5) Speed 6) Jog
7) Teach
Monitor screen
(KV-H20S: 9 screens for both X- and Y-axes, KV-H40S: 14 screens for both the X- and Y-axes)
1
MENU To menu screen
TEACH
JOG To jog screen
TEACH
JOG To jog screen
↑
↑
To next page
6-6
6-1 Using the KZ-HP1
KZ-HP1/KV-HPD1 OPERATION
Speed parameter setup screen (6 screens: 1 axis worth*)
↑
5 Cursor
↑ MENU To menu screen * The X-axis and Y-axis are
TEACH switched between by the
JOG To jog screen
NEXT PREV key.
HELP To Help screen
↑
↑
ENT CLR
6-7
6-1 Using the KZ-HP1
6-8
6-1 Using the KZ-HP1
Monitor Functions
Displays the operation state and input/output states.
Basic operations
There are a total of 13 screens on the KV-\H20S and 26 screens on the KV-H40S for both the X-
and Y-axes.
6
KZ-HP1/KV-HPD1 OPERATION
After the power is turned ON, the unit remembers the last screen that was displayed on the
monitor screen. If you perform the above operation after switching to a different setup screen,
the monitor screen that is currently memorized (that was last displayed) is displayed.
■ Key layout
Basic key operations
PREV or ↑ Displays the previous monitor screen.
NEXT or ↓ Displays the next monitor screen.
TEACH
JOG Moves to the jog screen.
6-9
6-1 Using the KZ-HP1
Operation monitor
Current coordinates
Axis X1- 1234567 PLS Coordinate unit
Sp 5000 P/S Speed unit
Current speed
RepCnt 35000 R et
Current repeat count No. =400 Running
Return state
Point No. Run state
* The details are the same for the Y1 axis, too. The details are the same
6 for the X2 and Y2 axes, too, on the KV-H40S.
KZ-HP1/KV-HPD1 OPERATION
Axis
Indicates the currently displayed axis.
Current coordinates
These are the current coordinates. When the numerical value reaches or exceeds nine digits, "*"
is displayed for the topmost digit. (From here on, the same applies to the current coordinates.)
-99999999 to +99999999
Coordinate unit
This is the coordinate unit.
mm, deg, PLS
Current speed
This is the current operating speed. This speed includes deceleration and acceleration.
0 to 99999999
Speed unit
This is the speed unit.
mm/s, deg/s (displayed as "dg/s"), p/s
Current repeat count
This is the number of repeat executions. At the first execution that is not a repeat, "0" is
displayed. The count returns to 0 when 65535 is exceeded.
0 to 65535
Return state
During a return operation, "RET" is displayed.
Point No.
This is the currently running point No. 0 indicates that the unit is not running. In a servo ready
standby state, the previous value stays displayed, and when servo ready input turns ON, the
new point No. is displayed.
KV-H20S: 1 to 400, KV-H40S: 1 to 200
Run state
This is the current run state.
Ready Operation is stopped, or the unit is standing by for an M code or continuous operation.
Running Pulse output is in progress.
Dwell Dwell time standby is in progress.
SV_Ready The unit is waiting for a servo ready check.
Ret Orig Origin return move is currently being executed.
SV_END Servo end check is in progress.
Ret Home Home position move is currently being executed.
Zero.ST Zero start standby is in progress.
6-10
6-1 Using the KZ-HP1
KZ-HP1/KV-HPD1 OPERATION
M code output state
This is the ON/OFF state of the M code.
M code No.
This is the M code output No.
0 to 255
<Input 1> X Y X Y
CW limit switch input state CW - LSW 1 - - 2 - -
CCW - LSW 1 - - 2 0 0 CCW limit switch input state
Origin sensor input state Or gSensor 1 - 0 2 - 0
X1 Y2
Y1 X2
<Input 2> X Y X Y
Stop sensor input state StopSen 1 - - 2 - -
Servo end output state Ser voEnd 1 - - 2 0 0
Dr iver Alm 1 - 0 2 - 0
Driver alarm input state
X1 Y2
Y1 X2
<Input 3> X Y X Y
Ser voRdy 1 - - 2 - -
Servo ready input
Positioning Z-phase input Z- Input 1 - - 2 0 0
Zer o ST 1 - 0 2 - 0
Zero start input
X1 Y2
Y1 X2
Displays the state of various inputs. OFF is indicated by – and ON by O. This is the state after
polarity is switched.
* The above three screens indicate an instance for KV-H40S. X2/Y2 are not displayed in the
case of the KV-H20S.
6-11
6-1 Using the KZ-HP1
< Output> X Y X Y
DevCntClr 1 - - 2 - - Deviation counter clear output
Ser voOn 1 - - 2 0 0
Servo ON output
Alm Reset 1 - 0 2 - 0
Driver alarm reset output
X1 Y2
Y1 X2
6 * The above three screens indicate an instance for KV-H40S. X2/Y2 are not displayed in the
case of the KV-H20S.
KZ-HP1/KV-HPD1 OPERATION
Input relay
< RLY 1> IN OU T Output relay
X1 0: 0000. 0000
Axis 1st word
X1 1: 0000. 0000
X1 2: 0000. 0000 2nd word
3rd word
* The details are the same for the Y1 axis, too. The details are
the same for the X2 and Y2 axes, too, on the KV-H40S.
Example T h e d i s p l a y c h a n g e s to
0021 w h e n th e 0 th a n d 5 th rel ay are ON .
R el ay N o.5
R el ay N o.15
6-12
6-1 Using the KZ-HP1
Test Functions
These functions start and display the state of operation and test execution, and change the
current coordinates and current speed.
Basic operations
KZ-HP1/KV-HPD1 OPERATION
There are four screens on the KV-H20S, and ten screens on the KV-H40S.
After the power is turned ON, the unit remembers the last screen that was displayed on the test
screen. If you perform the above operation after switching to a different screen, the test screen
that is currently memorized (that was last displayed) is displayed.
6-13
6-1 Using the KZ-HP1
6 on the KV-H40S.
KZ-HP1/KV-HPD1 OPERATION
6-14
6-1 Using the KZ-HP1
Test execution 1
F LA S H Wri te Go
Write to flash ROM (instruction)
In i ti a l i ze Go Parameter initialization (instruction)
Mcod e OF F X1 Y1
M code OFF (instruction)
N ext P t Go X1 Y1
Next point execution (instruction)
* The details are the same for the X2 and Y2 axes, too, on the KV-H40S.
KZ-HP1/KV-HPD1 OPERATION
as follows:
* P a ram Ini t *
* 1 )X 1 2) Y1 * * The screen example on the left is for the KV-H40S. In the case of
* 3 )X 2 4) Y2 * the KV-H20S, the items become X1/Y1/ALL.
* 5 )A LL *
Here, pressing 1 initializes the parameters of the X1 axis. Pressing 2 initializes the
parameters of the Y1 axis, and pressing 5 initializes the
parameters of both the X1 and Y1 axes. The point, system and speed parameters are initialized.
The display language is not initialized and stays as it is.
M code OFF
Turns M codes that have been output OFF. If [NextPoint] is standing by for execution during M
code output, the M codes are turned OFF and execution of [NextPoint] is performed.
Next point execution
When [Ready] is specified in the continuous operation mode, one of next point, repeat execution
or return execution is executed. Operation is the same as having turned the continuous
operation standby cancel relay ON from the PLC.
Test execution 2
R ep S to p X1 Y1
Repeat forced cancel (instruction)
R esta rt X1 Y1 Restart operation after stop (instruction)
Go T oOrg X1 Y1 Origin return (instruction)
H omeP o s X1 Y1
Move to home position (instruction)
* The details are the same for the X2 and Y2 axes, too, on the KV-H40S.
6-15
6-1 Using the KZ-HP1
Op e rate N o. 400
Operation start point No. (instruction)
S ta rt X1 Y1 Start operation (instruction)
X1 Ready
(X-axis) run state (display)
Y1 Running
(Y-axis) run state (display)
* The details are the same for the X2 and Y2 axes, too, on the KV-H40S.
6-16
6-1 Using the KZ-HP1
Basic operations
KZ-HP1/KV-HPD1 OPERATION
requiring setup), however, are not displayed depending on the setting.
After the power is turned ON, the unit remembers the last screen that was displayed in the point
parameter setup.
If you perform the above operation after switching to a different setup screen, the point
parameter setup screen that is currently memorized (that was last displayed) is displayed.
6-17
6-1 Using the KZ-HP1
6
KZ-HP1/KV-HPD1 OPERATION
6-18
6-1 Using the KZ-HP1
P o i nt = 1 X1
[Run mode] page 4-36
S i ng l e P o s In c INC
Pos X 1 = + 0 [Target coordinates] page 4-38
P o i nt = 1 X 1 & Y1
[Run mode] (display only) page 4-36
6
L i ne ABS
KZ-HP1/KV-HPD1 OPERATION
Pos X 1 = + 0 [X-axis target coordinates] page 4-38
Pos Y 1 = + 0 [Y-axis target coordinates] page 4-38
Speed, dwell time, return operation (other than speed control mode)
P o i nt = 1 X1
[Speed No.] page 4-39
Op e .S p e e d N o.= 1
Dwell = 0 [Dwell time] page 4-41
R etu rn : off [Return] page 4-42
P o i nt = 1 X1
[Speed No.] page 4-39
Op e .S p e e d N o.= 1
S l ow D o w n N o.= 1 [Compare slow down speed No.] page 4-39
Dwell = 0 [Dwell time] page 4-41
P o i nt = 1 X1
[Repeat count] page 4-43
R ep e a t = 1
R ep = + 0 [Repeat incremental move] page 4-43
P o i nt = 1 X 1 & Y1
[Repeat count] page 4-43
R ep e a t = 1
R ep X 1 = + 0 [X-axis repeat incremental move] page 4-43
R ep Y 1 = + 0 [Y-axis repeat incremental move] page 4-43
6-19
6-1 Using the KZ-HP1
P o i nt = 1 X1
[Next point No.] page 4-44
N extP o i nt = 0
C on tMod e : [Continuous mode] page 4-45
M codes
P o i nt = 1 X1
[M code mode] page 4-47
Mcod e Mod e = W ITH
Mcod e N o : 0 [M code No.] page 4-46
6
KZ-HP1/KV-HPD1 OPERATION
P o i nt = 1 X1
[Stop sensor] page 4-40
S to p S e n so r off
S to p S e n so rMo ve [Stop sensor specified move] page 4-40
0
P o i nt = 1 X1
[Zero start terminal] page 4-48
Z eroS T off
6-20
6-1 Using the KZ-HP1
KZ-HP1/KV-HPD1 OPERATION
* X axis: X1 axis on the KV-H20S, and X1 and X2 axes on the KV-H40S
Y axis: Y1 axis on the KV-H20S, and Y1 and Y2 axes on the KV-H40S
The cursor changes to ■ when the numerical value or details of each parameter are already set.
The cursor returns to ■ when the ENT key is pressed to fix the entered values or details. If you
press the ↑ or ↓ key without entered values or details not fixed, the setting returns to the
setting before it was changed. Note, however, that when items are selected by ← → , the
entered values or details are fixed the moment that ← → is pressed.
6-21
6-1 Using the KZ-HP1
FAST
Pressing INDEX switches to indirect specification. The indirect No. can be specified within the
range 0 to 15.
For details on indirect specification, see the following page.
Setting area→ "Indirect parameter area" page 5-14
Press the CLR key to return to the original screen, stop operation, and then perform writing
again.
* N ow R u n ning. *
* V a l ue not *
* ch a n g e d. *
* P ress C LR key. *
6-22
6-1 Using the KZ-HP1
Unit setup
KZ-HP1/KV-HPD1 OPERATION
page 4-8
■ Acceleration setup
X 1 <S ysP aram> 5
[Run acceleration rate] page 4-10
A cce l R a te = 10
A cce l .C u rve : SIN [Run acceleration curve] page 4-10
C urveR ati o = 100 [Run acceleration curve ratio] page 4-11
■ Deceleration setup
X 1 <S ysP aram> 6
[Run deceleration rate] page 4-12
D ece l R a te = 10
D ece l .C u rve : SIN [Run deceleration curve] page 4-12
C urve.R ati o = 100 [Run deceleration curve ratio] page 4-13
6-23
6-1 Using the KZ-HP1
6-24
6-1 Using the KZ-HP1
Polarity setup
■ Polarity setup 6
KZ-HP1/KV-HPD1 OPERATION
X 1 <S ysP aram> 18
[Origin sensor polarity] page 4-20
OR G P ol ari ty : NO
L S W P ol ari ty : NO [Limit switch polarity] page 4-20
Z i n P o l ari ty : NO [Positioning Z-phase polarity] page 4-21
6-25
6-1 Using the KZ-HP1
OR G D e t. : Z i n A N D page 4-19
■ Error-related setup
< C o mmo n P a ram> 1
[Stop axis setting at error]
A l l A xi sS top : off page 4-27
E rro r S top : Im id [Error stop mode]
page 4-27
B a cku p E rr. : on [SRAM backup error display]
page 4-27
■ KZ-HP1 setup
< C o mmo n P a ram> 2
[Display language]
E n g l i sh : off page 4-28
B u zze r : on [Buzzer control]
page 4-28
6-26
6-1 Using the KZ-HP1
KZ-HP1/KV-HPD1 OPERATION
There are six speed parameter setup screens for each axis.
After the power is turned ON, the unit remembers the last screen that was displayed in the
speed parameter setup. If you perform the above operation after switching to a different screen,
the speed parameter screen that is currently memorized (that was last displayed) is displayed.
6-27
6-1 Using the KZ-HP1
Speed settings
X1 SpdSet ( P/S)
6 N o .4
N o .5
=
=
4000
5000
Speed No.4 default 4000
Speed No.5 default 5000
N o .6 = 6000
KZ-HP1/KV-HPD1 OPERATION
X1 SpdSet ( P/S)
N o .7 = 7000 Speed No.7 default 7000
N o .8 = 8000
Speed No.8 default 8000
N o .9 = 9000
Speed No.9 default 9000
X1 SpdSet ( P/S)
N o .1 0 = 10000 Speed No.10 default 10000
N o .1 1 = 15000
Speed No.11 default 15000
N o .1 2 = 20000
Speed No.12 default 20000
X1 SpdSet ( P/S)
N o .1 3 = 30000 Speed No.13 default 30000
N o .1 4 = 40000
Speed No.14 default 40000
N o .1 5 = 50000
Speed No.15 default 50000
X1 SpdSet ( P/S)
N o .1 6 = 60000 Speed No.16 default 60000
Unit display
This is the unit of the speed to be displayed or set. The unit cannot be changed here. The unit is
changed at "Coordinate unit" (system parameter 1) and "Speed unit conversion on/off" (system
parameter 3).
mm/s: Specify the distance of movement in one second in mm units.
deg/s: Specify the angle of rotation in one second in degree (°) units.
p/s: Specify the unit in number of pulses to be output in one second.
Speed No.1 to 16
This is the speed of the corresponding No.
1 to 99999999 [mm/s, deg/s, p/s]
6-28
6-1 Using the KZ-HP1
Jog Function
This item describes operation of the jog function.
Basic operations
KZ-HP1/KV-HPD1 OPERATION
Explanation of screens
* The details are the same for the X2 and Y2 axes, too, on the KV-H40S.
Note
When the cable is disconnected during jog operation, axis movement
decelerates and comes to a stop.
6-29
6-1 Using the KZ-HP1
■ Operation Keys
The following describes processing assigned to the various keys that are enabled in the jog
function.
→ Moves the X1 axis in the CW direction.
← Moves the X1 axis in the CCW direction.
↑ Moves the Y1 axis in the CW direction.
↓ Moves the Y1 axis in the CCW direction.
FAST
INDEX Holding this key down specifies operation at the high-speed jog speed.
CLR When operation is called up directly from a monitor, test, system or speed
mode using the TEACH
JOG key, the screen returns to the original screen before
jog operation was called up.
FAST
Pressing the INDEX key
• If jog operation is in progress, the speed is changed to the high-speed jog speed.
• If jog operation is not in progress, nothing happens.
FAST
Releasing the INDEX key.
• If an arrow key is being pressed during jog operation, the speed is changed to the jog startup
speed.
If an arrow is released during jog operation, axis movement decelerates and comes to a stop.
• If jog operation is not in progress, nothing happens.
6-30
6-1 Using the KZ-HP1
Teaching Function
"Teaching" is a function for operating the control target from a Teaching Unit or a PLC to set that
position as the current coordinates.
Operation of a Teaching Unit, for example, in jog operation to capture the current coordinates as
the target coordinates of point parameters is called "remote teaching."
Teaching can be set only in absolute coordinates. (Setting teaching in incremental coordinates
results in an error.)
Basic operations
KZ-HP1/KV-HPD1 OPERATION
When [Target coordinates] was set in independent operation
P oint =1 X1
P osX1 = + 1234567.8
P osY1 = + 1234567.8
R e m ote teaching
When [X1/Y1 axis target coordinates] was set in linear interpolation operation
P oint =1 X1 & Y1
P osX1 = + 1234567.8
P osY1 = + 1234567.8
R e m ote teaching
* The details are the same for the X2 and Y2 axes, too, on the KV-H40S. (The same applies
from here on.)
6-31
6-1 Using the KZ-HP1
■ Key operation
The following describes processing assigned to the various keys that are enabled in the teaching
function.
PREV Switches to the previous point No.
((X1, Y1) and (X2, Y2) are switched in the case of the KV-H40S.)
NEXT Switches to the next point No.
((X1, Y1) and (X2, Y2) are switched in the case of the KV-H40S.)
← Moves the X1 axis in the CW direction.
→ Moves the X1 axis in the CCW direction.
↑ Moves the Y1 axis in the CW direction.
↓ Moves the Y1 axis in the CCW direction.
6
FAST
INDEX Specifies operation at the jog speed. Holding this key together with the cursor
key can move the axis at the [Jog maximum speed].
KZ-HP1/KV-HPD1 OPERATION
TEACH
JOG Switches to the remote teaching screen.
CLR Cancels teaching and returns to the point parameter setup.
ENT Fixes teaching and returns to the point parameter setup.
(In the interpolation mode, the target coordinates of all interpolated axes are set.)
P o sX 1 = + 0 5) Speed 6) Jog
7) Teach
TEACH
JOG 7
Point = 25 X1 & Y1
PosX1 = + 12.345678 Remote
PosY1 = - 0.000120 teaching screen
Rem ote teaching
ENT CLR
Remote teaching
Move to the target coordinates by the ↑ ↓ ← → keys,
and fix the coordinates by the ENT key.
6-32
6-1 Using the KZ-HP1
X1 axis teaching
Store the current coordinates of the X1 axis to the target coordinates of the point parameters.
Use the ← , → and INDEX
FAST
keys as jog operation for moving to the current coordinates.
KZ-HP1/KV-HPD1 OPERATION
X1 axis current coordinates
Displays the current coordinates of the X1 axis.
-99999999 to +99999999 [mm, deg, PLS]
Y1 axis current coordinates
Displays the current coordinates of the Y1 axis.
-99999999 to +99999999 [mm, deg, PLS]
Axis to be stored
This is the axis to be stored by executing teaching.
X1 (Y1, X1&Y1)
* In the case of the KV-H40S, switch the display of the 3rd axis onwards by the NEXT and PREV keys.
Y1 axis teaching
Store the current coordinates of the Y1 axis to the target coordinates of the point parameters.
Use the ↑ , ↓ , and INDEX
FAST
keys as jog operation for moving to the current coordinates.
6-33
6-1 Using the KZ-HP1
Interpolation teaching
Store the current coordinates of the X1 and Y1 axes to the target coordinates of the point
parameters. Use the ← , → , ↑ , ↓ and INDEX
FAST
keys as jog operation for moving to the current
coordinates.
The screen changes as follows when the teaching screen is called up from the menu.
6 When the point parameter is single operation, the teaching axis (axis to be stored) switches to
KZ-HP1/KV-HPD1 OPERATION
the X1 axis by pressing ← → to perform jog operation on the X1 axis, and switches to the Y1
axis by pressing ↑ ↓ to perform jog operation on the Y1 axis.
6-34
6-1 Using the KZ-HP1
Help Function
Display and setup items are displayed in alphabetical order. When you move the cursor to select
the required items, and press ENT , the screen moves to the related display and setup screen.
■ Key operation 6
↑ Moves to an item one item up in the screen.
KZ-HP1/KV-HPD1 OPERATION
PREV Moves to the top of the item group starting with the previous alphabet letter
from the current cursor position. (e.g. ... C→B→A ... and so forth)
↓ Moves to an item one item down in the screen.
NEXT Moves to the next initial alphabet letter.
(e.g. ... A→B→C ... and so forth)
RET Moves to the screen in question.
CLR This button returns you to the original screen.
6-35
6-1 Using the KZ-HP1
In the following screen state, the screen might not move to the item in question:
• When a speed control mode (stop sensor) item is selected while editing a point parameter No.
that is not single operation
• When an item not related to the selected operation mode is selected
• Jog operation and deceleration stop on the KZ-HP1/KV-HPD1 also cannot be executed. Only
emergency stop (EMG) is available.
Also, when [on: HPD1exceptJOG] is selected, jog operation on the KV-HPD1 is enabled
additionally besides the key lock operation described above.
"Parameters Common to All Axes (2)" page 4-28
6-36
6-1 Using the KZ-HP1
Error mode
This is the mode in which operation stopped when the error occurred.
ErrOccur This is an error that occurs during interpolation operation or an error that is 6
common to both the X- and Y-axes. Both the X- and Y-axes stop.
KZ-HP1/KV-HPD1 OPERATION
X-, Y-axes: X1 and Y1 axes on the KV-H20S
X1 and Y1 axes, and X2 and Y2 axes on the KV-H40S
ErrOccur X1 These are errors that occur during independent operation on the X1 axis and
during writing of X1 axis parameters. Only the X1 axis stops. (The X1 and Y1
axes also sometimes stop depending on the setting.)
On the KV-H40S, the display is the same for the X2 axis, too.
ErrOccur Y1 These are errors that occur during independent operation on the Y1 axis and
during writing of Y1 axis parameters. Only the Y1 axis stops. (The X1 and Y1
axes also sometimes stop depending on the setting.)
On the KV-H40S, the display is the same for the Y2 axis, too.
Fatal Error Subsequent operation is not assured with these errors. Both the X- and Y-axes
stop.
X-, Y-axes: X1 and Y1 axes on the KV-H20S
X1 and Y1 axes, and X2 and Y2 axes on the KV-H40S
Error No.
This is the No. of the error that occurred. "List of Errors" page 7-2
Error message
This is a brief description of the error that occurred. "List of Errors" page 7-2
Operation guide
Displays how to remedy an error that has occurred.
Press CLR key. Pressing the CLR key returns you to the original screen. The error is reset in the
case of a fatal error.
ENT: JumpToCause Pressing the ENT key moves to the setup screen for the parameter that caused
the error. Slightly different screens are sometimes moved to depending on the
content of the error as it is difficult to predict the cause of errors.
Some screens can be moved to while others cannot be moved to as the cause
screen depending on the type of error.
CLR: Abort Pressing the CLR key returns you to the original screen.
Please Restart The cause of the error that occurred is unknown. Note down the error No. and
contact your agent.
6-37
6-2 Using the KV-HPD1
[Example of screen]
Mon 1 X1 Com m ent JOG X1 Com m ent Er r Oc c ur N o119
N o.4 0 0 Com m ent Em er genc y Stop
P - 1234567.8PS - 9 9 9 9 9 9 9 9 PLS
V 5000. 0.P / S
Basic operations
■ Layout
(1) EMG:
Applies an emergency stop on both the X- and Y-axes. This can
be used in all modes except when an error has occurred.
AAAAA (2) HELP:
This displays the Help screen. This can be used in all modes
except when an error has occurred.
(3) JOG dial:
(1) (4) This functions as both a dial and has key functions.
Turn the dial CW or CCW to select screens or selection item in
(2) (5) screens or increment/decrement setting values.
(3) ENTER:
This is one of the JOG dial functions.
(3) This is used for fixing selection items and details currently being
set.
(4) ESC:
This button returns you to the previous screen. This can also be
used to cancel an error when one occurs.
(5) JOG/TEACH:
This displays the jog operation or teaching screen.
6-38
6-2 Using the KV-HPD1
The following shows screen categories on the KV-HPD1 and how to switch between these
screens.
KZ-HP1/KV-HPD1 OPERATION
Press "ESC". 1 screen
System 4 screens Dwell time, speed No. settings
System parameter settings
Press "ESC". Setting 3 1 screen
Input Monitor 3 screens Next point No. settings, continuous mode settings
Option 1 screen
Flash ROM Hold down "JOG/TEACH"
Press "JOG/TEACH" . Press "ESC".
write, language for a long time with
selection "HELP" held down.
Jog/teach layer of the screen hierarchy (jog operation, teaching)
Press "ESC".
Press
"JOG/TEACH" . Jog 1 screen
Key protect
Teach 1 screen
Press "ESC".
Teaching
When the KV-HPD1 is connected to the KV-H20S/H40S, the main monitor 1 screen is the first
screen to appear.
Turning the "JOG dial", switches the screens in the predetermined order. Turning the dial CW
switches the screens in the direction of the arrow, and turning the dial CCW switches the
screens in the opposite direction.
6-39
6-2 Using the KV-HPD1
■ Switching between different layers in the screen hierarchy and selecting items
The following example describes how to switch between the monitor 1 and test screens in the
top layer of the screen hierarchy.
1) Changing selection items and switching between screens
Mo n 1 X1 Com m ent
No. 400 Com m ent The X1 axis is first selected. When you turn the "JOG dial" in the CW
P - 1234567.8PS direction, the selection moves from the top and left in order to the next
V 5000. 0.P / S
item(s) that can be changed.
In the figure on the left, the selection moves as follows in the direction
Mo n 2 X1 Com m ent of the arrow.
No. 400 Com m ent
Repeat Count 3 5 0 0 0 R et
<The monitor 1 screen is displayed> X1→ 400 →
Mco d e off 255 <The screen moves to the monitor 2 screen.> → X1 → 400 →
<The screen moves to the test screen. >X1 → 400 → start → 120 →
6 execution->...and so forth
TEST X1 Com m ent
KZ-HP1/KV-HPD1 OPERATION
No. 400 Com m ent Turning the "JOG dial" in the CCW direction moves the selection in the
Ready 35000 R et reverse direction.
S tart N o 12 0 Exec
KV-H40S:X1→Y1→X2→Y2
(same as above)
5) Canceling a setting
Press the "ESC" key to restore the setting value you have changed to
its previous value.
6-40
6-2 Using the KV-HPD1
List of functions
■ Monitor functions
The state of the KV-H20S/H40S can be monitored while it is running. The state can be
monitored even while the KV-H20S/H40S has stopped.
The following details can be monitored.
[Example of screen]
Currently running point No.
Mon 1 X1 Com m ent In monitor 1 screen: Current coordinates (and coordinate unit), current speed
N o.4 0 0 Com m ent
(and speed unit)
P - 1234567.8PS
V 5000. 0.P / S
In monitor 2 screen: Current count of repeat operation, output state of M code
(M code No. currently being output) 6
KZ-HP1/KV-HPD1 OPERATION
■ Test functions
Operation instructions (e.g. operation start), coordinates and speed can be changed. The
following functions are available:
[Example of screen]
T est X1 Com m ent Operation start instruction: Start of operation of specified point No. and status monitor
N o.4 0 0 Com m ent
Run state: ready, single running, speed constant, servo ready checking,
R ea d y
S ta rt No 120 Exec
servo end checking, return origin, return home position, dwell,
continuous running, line running, ready zero start
Various tests: restart, origin (and home position) return, wait cancel,
decelerating, M-code OFF instruction, repeat stop
6-41
6-2 Using the KV-HPD1
■ Option functions
The following options can be set:
Press the
Write to flash
[Example of screen] "JOG dial"
6 O pti on
ROM
with "HELP"
Display language pressed. Opti on2
OFF
KZ-HP1/KV-HPD1 OPERATION
■ Jog operation
The motor is operated by operation of the KV-HPD1 Teaching Unit. Jog operation can be
executed only while operation is stopped.
[Example of screen]
JOG X1 Com m ent
+ 9 9 9 9 9 9 9 9 PLS
■ Teaching
The current coordinates are transferred to the target coordinates of the point parameters. Jog
operation can be executed only while operation is stopped.
[Example of screen]
T ea ch X1 Com m ent
N o.4 0 0 Com m ent
- 9 9 9 9 9 9 9 9 PLS
Set
■ HELP function
An explanation relating to the selection item is displayed by pressing the "HELP" key.
6-42
6-2 Using the KV-HPD1
Monitor Functions
Display the operation state. The state can be monitored even while the KV-H20S/H40S has
stopped.
Monitor 1
Axis
Point No. M on1 X1 Comm ent Axis comment
No.400 Comm ent
Current coordinates Point No. comment
P - 1234567.8PS
Current speed V 5000. 0.P / S
Coordinate unit
Speed unit
6
KZ-HP1/KV-HPD1 OPERATION
Axis
Indicates the currently displayed axis.
KV-H20S: X1/Y1, KV-H40S: X1/Y1/X2/Y2
Axis comment
Displays the comment for each axis.
Point No.
This is the currently running point No. 0 indicates that the unit is not running. In a servo ready
checking state, the previous value stays displayed, and when servo ready input turns ON, the
new point No. is displayed.
KV-H20S: 1 to 400, KV-H40S: 1 to 200
Point No. comment
Displays the comment for each point.
Current coordinates
These are the current coordinates. (This is the value obtained after coordinate conversion.)
When the numerical value reaches or exceeds 12 digits, "*" is displayed for the topmost digit.
(The same applies from here on.)
Coordinate unit
This is the coordinate unit.
mm (mm), dg (degree), PLS (pulse)
Current speed
This is the current operating speed. (When the unit is programmed to convert the coordinates,
this becomes the value obtained after conversion of the coordinates.)
Speed unit
This is the speed unit.
mm/s (mm/sec), dg/s (degree/sec), P/s (pulse/sec)
*1) When the "ESC" key is pressed while this screen is displayed, the screen moves to the test
screen. (When the "ESC" key is pressed while the test screen is displayed, the screen
returns to this screen.)
*2) When the "ESC" key is pressed and held down while a different screen is displayed, the
screen returns to this screen.
6-43
6-2 Using the KV-HPD1
Monitor 2
Axis
Point No. M on2 X1 Com m ent Axis comment
No.400 Com m ent
Current repeat count Point No. comment
Repeat Count 35000 Ret
M code output state M code off 255
Return state
M code No.
Axis
Indicates the currently displayed axis.
Axis comment
6 Displays the comment for each axis.
KZ-HP1/KV-HPD1 OPERATION
Point No.
This is the currently running point No.
Point No. comment
Displays the comment for each point.
Current repeat count
This is the current number of repeat executions. At the first execution that is not a repeat, "0" is
displayed. The count returns to 0 when 65535 is exceeded.
Return state
During a return operation, "Return" is displayed.
M code output state
This is the ON/OFF state of the M code.
M code No.
This is the M code output No.
0 to 255
6-44
6-2 Using the KV-HPD1
Test Functions
These functions start and display the state of operation and test execution, and change the
current coordinates and current speed.
Displaying and changing coordinates and speed, and executing various tests
Axis
Point No. TEST X1 C om m ent Axis comment
No. 400 C om m ent
Run state display Point No. comment
Ready
Execution instruction selection Star t N o 120 Exec
Start point No.
Execution instruction
6
KZ-HP1/KV-HPD1 OPERATION
Axis
Indicates the currently displayed axis.
KV-H20S: X1/Y1, KV-H40S: X1/Y1/X2/Y2
Axis comment
Displays the comment for each axis.
Point No.
This is the currently running point No. 0 indicates that the unit is not running. In a servo ready
checking state, the previous value stays displayed, and when servo ready input turns ON, the
new point No. is displayed.
KV-H20S: 1 to 400, KV-H40S: 1 to 200
Point No. comment
Displays the comment for each point.
Run state display
Displays the current run state.
Ready Either operation is stopped or the unit is standing by for an M code or continuous
operation.
SV Ready Chk The unit is waiting for a servo ready check.
SV End Chk Servo end check is in progress.
Return Origin Movement to the zero position is in progress.
Ret. Home Pos Move to home position is currently being executed.
Dwell Dwell time standby is in progress.
Single Running Pulse output in position control for independent operation is in progress.
Speed Cont. Pulse output in speed control is in progress.
n-Line Running Pulse output in n linear interpolation is in progress. (n: 2 to 4)
Ready_Zero_ST The unit is standing by for zero start.
6-45
6-2 Using the KV-HPD1
*1) When the "ESC" key is pressed while this screen is displayed, the screen moves to the
monitor 1 screen. (When the "ESC" key is pressed while the monitor 1 screen is displayed,
the screen returns to this screen.)
6-46
6-2 Using the KV-HPD1
Axis
S ys1 X1 Com m ent
Axis comment
A ccR a te 65000 Run acceleration rate page 4-10
D e cR ate 65000
Run deceleration rate page 4-12
Axis
Indicates the currently displayed axis. 6
KV-H20S: X1/Y1, KV-H40S: X1/Y1/X2/Y2
KZ-HP1/KV-HPD1 OPERATION
Axis comment
Displays the comment for each axis.
Run acceleration rate
Sets the acceleration rate during point operation.
Run deceleration rate
Sets the deceleration rate during point operation.
Axis
S ys2 X1 Com m ent
Axis comment
V el oci ty P/S Run startup speed page 4-9
S tart +99999999
Run maximum speed page 4-9
H i gh +99999999
Axis
Indicates the currently displayed axis.
Axis comment
Displays the comment for each axis.
Run startup speed
Sets the startup speed during point operation.
Run maximum speed
Set the upper limit speed of the motor driver.
6-47
6-2 Using the KV-HPD1
Axis
S ys3 X1 Com m ent
Axis comment
C o o rdi na te s P/S Origin coordinates page 4-19
O rg +99999999
Home position coordinates page 4-19
H o me +99999999
Axis
Indicates the currently displayed axis.
Axis comment
Displays the comment for each axis.
6 Origin coordinates
KZ-HP1/KV-HPD1 OPERATION
Axis
S ys4 X1 Com m ent
Axis comment
S ervo E n d 5000 ms Servo end check time page 4-24
B ackl ash 65535PLS
Backlash compensation move page 4-24
Axis
Indicates the currently displayed axis.
Axis comment
Displays the comment for each axis.
Servo end check time
Sets the servo end check time during point operation.
Backlash compensation move
Sets the backlash compensation move during point operation. This can be used only during
single operation.
6-48
6-2 Using the KV-HPD1
Inp u t-2 X Y X Y
Positioning Z-phase input
Z -Inp u t 1 - 0 2 - 0 Stop sensor input state
S top S e n so r 1 - - 2 - -
Zero start input state
Z e roS T 1 0 0 2 0 0
Inp u t-3 X Y X Y
Driver alarm input state 6
Servo ready input state
KZ-HP1/KV-HPD1 OPERATION
D ri ve rA l m 1 - 0 2 - 0
S ervoR dy 1 - - 2 - -
Servo end input
S ervoE n d 1 0 0 2 0 0
X1 Y2
Y1 X2
Displays the state of various inputs. OFF is indicated by – and ON by 0. This is the state after
polarity is switched.
X1 Y2
Y1 X2
6-49
6-2 Using the KV-HPD1
Option
This setup screen is for display and operation of the KV-HPD1.
KV-HPD1 settings
time after having changed parameters, be sure to write the changed parameters to flash ROM.
(SRAM backup period: 2 months at 25°C)
*) • Parameters are written immediately by selecting [Execute] and holding down the "ENTER"
key for a long time.
This operation cannot be executed while the unit is running. It takes abut ten seconds to
write new parameters to SRAM.
• You cannot move to the jog screen from this screen.
Display Language
The display language of the KZ-HP1/KV-HPD1 can be switched between Japanese and English.
Buzzer control
Sounding of the buzzer on the KZ-HP1/KV-HPD1 can be stopped.
Move to this screen by holding down the "JOG/TEACH" key with the "HELP" key held down
while the above option screen is displayed. Pressing the "ESC" key returns the screen to the
option screen.
Key protect
• The KZ-HP1/KV-HPD1 can be protected to prevent the content of parameters from being
changed by mistake or to prevent inadvertent test operation.
• Keys are not protected when the key lock is set to [OFF].
• When key protect is set to [ON], writing of setting values on the KZ-HP1/KV-HPD1, various
operations in the test mode, jog operation, and deceleration stop cannot be executed.
Only an emergency stop (EMG) can be executed.
• When key protect is set to [ON/ExceptJOG], writing of setting values on the KZ-HP1/KV-
HPD1, various operations in the test mode, and deceleration stop cannot be executed. Only
jog operation and emergency stop (EMG) can be executed.
6-50
6-2 Using the KV-HPD1
KZ-HP1/KV-HPD1 OPERATION
Pos +99999999 Target coordinates page 4-38
Point No.
P - S et - 2 N o 4 0 0 X1
Axis
S p d N o. 2 Detl
Dwell 65434ms Speed No.
Dwell time page 4-41
Select the item at "Detl", and press the "ENTER" key. The screen moves to the speed setup
screen corresponding to the speed No. at that time. In this screen, you can change the speed
setting. Pressing the "ESC" key returns the screen to the above screen.
X 1 S p e e d S e tting
P/S
N o. 1 = 99999999 Speed setting page 4-30
Point No.
P - S et - 3 N o 4 0 0 X1
Axis
N extP n tN o 400
C on tMod e Wait Next point No. page 4-44
Continuous mode page 4-45
Point No.
P - S et - 4 N o 4 0 0 X1
Axis
R et ON
R ep e a t 65535 Return page 4-42
R ep +99999999 Repeat count page 4-43
Repeat incremental move page 4-43
6-51
6-2 Using the KV-HPD1
Jog Function
This screen is for operating the jog function. Jog operation can be executed only while operation
is stopped.
Note
When the cable is disconnected during jog operation, axis movement
decelerates and comes to a stop.
To move to the JOG/TEACH layer of the screen hierarchy (that contains the jog and teach
screens), press the "JOG/TEACH" key.
If you press the "ESC" key while in a screen in the JOG/TEACH layer of the screen hierarchy,
6 the screen returns to the last screen of the previously executed layer.
KZ-HP1/KV-HPD1 OPERATION
Axis
JOG X1 Com m ent
Axis comment
+99999999 PLS Current coordinates
Axis
Select the desired axis to perform jog operation on.
KV-H20S: X1/Y1, KV-H40S: X1/Y1/X2/Y2
Axis comment
Displays the comment for each axis.
Current coordinates
Displays the current coordinates.
To perform jog operation, press the "ENTER" key and turn the "JOG dial". (You can output a
pulse equivalent to the number of jog inching pulses by slowly turning the "JOG dial". If you
continue to turn the "JOG dial", axis movement accelerates to the jog startup speed or the high-
speed jog speed.)
Hold down the "ENTER" key for a long time again to cancel the selection.
6-52
6-2 Using the KV-HPD1
■ Pulse output amount when the JOG dial is turned, and how axis movement stops after jog inching
(1) Jog inching
Each click of the "JOG dial" outputs the preset jog inching number of pulses and axis movement
is stopped.
(2) Jog startup speed
Continuously turning the "JOG dial" outputs the number of pulses equivalent to the jog startup
speed. Axis movement stops immediately when you stop turning the "JOG dial".
(3) Jog startup speed → Jog maximum speed
If you continue to turn the "JOG dial" slightly faster, the jog startup speed accelerates to the jog
maximum speed. It takes a short while for axis movement to stop as axis movement decelerates
before it comes to a stop.
(4) Jog maximum speed
Continuously turning the "JOG dial" fast outputs the number of pulses equivalent to the jog
6
KZ-HP1/KV-HPD1 OPERATION
maximum speed. When you stop turning the "JOG dial", it takes a short while for axis movement
to stop as axis movement decelerates before it comes to a stop.
6-53
6-2 Using the KV-HPD1
Teaching Function
The current coordinates are transferred to the target coordinates of the point parameters.
Teaching can be executed only while operation is stopped.
Move between layers of the screen hierarchy in the same way as for the jog function.
Axis
Teach X1 Com m ent Axis comment
Point No. No.400 Com m ent
Point No. comment
+99999999 PLS
Set
Current coordinates
6 Axis
This is the axis to be stored by executing teaching.
KZ-HP1/KV-HPD1 OPERATION
6-54
6-2 Using the KV-HPD1
Help Function
The Help screen can be called up from any screen excluding the screen that is displayed when
an error occurs.
Help for the selected item in a particular screen is displayed only for the duration that the "HELP"
key is pressed.
KZ-HP1/KV-HPD1 OPERATION
Screen Displayed during an Error
This screen is displayed when an error occurs.
6-55
6-2 Using the KV-HPD1
MEMO
6
KZ-HP1/KV-HPD1 OPERATION
6-56
7 TROUBLESHOOTING
7-1 Remedy Errors
Remedying Errors
Operation is as follows when an error is generated on the KV-H20S/H40S:
(1) The error details are displayed on KZ-HP1/KV-HPD1 if KZ-HP1/KV-HPD1 is connected.
(2) The error output in progress relay on the PLC is turned ON, and the error No. is output.
“Permanent read area” page 5-13
(3) The following stop operations are performed depending on the error stop mode.
System Parameter Setting Value Immediate Stop Limit Immediate Stop Deceleration and Stop
Regular error Immediate stop Deceleration Deceleration and stop
Limit switch Immediate stop Immediate stop Deceleration and stop
Fatal error Immediate stop Immediate stop Immediate stop
7
(4) The direct access switch on the CPU Unit lights (red). When the direct access switch is pressed
TROUBLESHOOTING
and the unit is selected, the error No. is displayed in the access window.
Unit Error:
KV-H20S
146
1000 is added to the error codes of errors that occur on the Y1 axis before they are displayed. On
the KV-H40S, 2000 and 3000 is added to the error codes of the respective errors that occur on the
X2 and Y2 axes. For details on error Nos., “List of Error Codes and Error Details” (page 7-2)
Example When a Y1 axis error occurs while the X1 axis limit error has occurred
Meaning of symbols
● Normally, this error is not generated. It is sometimes caused by noise-induced
runaway or a malfunction, for example.
None The regular setting value range has been exceeded. Operation is re-enabled by
eliminating the error and its cause.
The KV-H20S/H40S is reset after the error is canceled.
Operation stops immediately regardless of the [Error stop mode] setting.
HP1 Error messages that are displayed on the KZ-HP1.
7 HPD1 Error messages that are displayed on the KV-HPD1.
TROUBLESHOOTING
The comment of flash ROM is in error. 60 A probable cause is the influence of noise. Perform
HP1 FLASH Comment the remedy described in No.59. The parameters
are corrupted. Initialize or transfer all parameters.
HPD1 FLASH Comment
The pulse output setting speed is out of range. 66 Set the speed setting value to within the range 1
HP1 Speed Limit pps to 1 Mpps. When the setting values of the
speed parameter and the speed are indirectly
HPD1 Speed Limit
specified, check the values of the indirect
parameter area.
The number of pulses in a single operation 67 Split up the point parameters into two or more and
exceeded 2147483647. run these parameters consecutively.
HP1 Pulse Num. Limit Set incremental travel to within ±2147483647.
When this error occurs during a move to the home
HPD1 Pulse Num. Limit
position, move to a midway point and execute from
there.
When shortcut control of the angle of rotation 70 Set the decimal point within the range 0 to 5.
is used, 6 digits or more are specified for the
decimal point.
HP1 Rotation Decimal
HPD1 Rotation Decimal
7-2
7-2 List of Error Codes and Error Details
TROUBLESHOOTING
The origin/stop sensor has caused Eliminate the cause of chattering at the sensor area.
chattering. Check for defective contacts.
When the Z-phase is used, try setting the time constant to 25 µs.
HP1 Sns. IntCountOver
Check the origin, stop sensor and Z-phase input signal lines for
HPD1 Sns. IntCountOver any noise.
The error stop mode is out of range. Check the setting value when system parameters
HP1 Error Stop Mode are written from the PLC.
HPD1 Error Stop Mode
The point No. is out of range. Check the range (KV-H20S: 1 to 400, KV-H40S: 1 to 200) of
HP1 Point Number the point Nos. when starting operation from the PLC,
reading/writing point parameters and performing the teaching.
HPD1 Point Number
The maximum speed setting value is outside Check the setting value when system parameters
the range. are written from the PLC.
HP1 Max Speed Set
HPD1 Max Speed Set
The absolute/incremental setting values of Check the setting value when point parameters are
the point parameters are outside the range. written from the PLC.
HP1 ABS/INC Type
HP1 ABS/INC Type
The speed No. is out of range. Check the setting value when system parameters
HP1 Speed No. Range are written from the PLC.
HPD1 Speed No. Range
A momentary power interruption occurred. Adopt momentary power interruption measures such as
HP1 Power Dip Downed use of a power supply having sufficient power capacity
margin. This always occurs when the power is turned OFF.
HPD1 Power Dip Downed
An attempt was made to consecutively run Check the setting values of the next point No. and
independent operation and interpolation operation mode in the point parameters.
operation.
HP1 Single&Intr. Mix
HPD1 Single&Intr. Mix
7-3
7-2 List of Error Codes and Error Details
7-4
7-2 List of Error Codes and Error Details
TROUBLESHOOTING
The Y-axis repeat coordinates in linear interpolation are out of range.
HP1 Intrp.Y1 RepPos.
HPD1 Intrp.Y1 RepPos.
The servo end check timeout occurred. Set the servo end check time to 0 or extend the
HP1 ServoEnd TimeOut time.
Check the state of the servo end signal.
HPD1 ServoEnd TimeOut
The software CW-LSW error was detected. Check the target coordinates of the point parameters to
HP1 Soft-LSW(CW) make sure that they are not at the software limit coordinates
or greater.
HPD1 Soft-LSW(CW) Make sure that the setting values of the software limit
coordinates are appropriate. Set to 0 to disable this setting.
The software CCW-LSW error was detected. Perform the remedy described in No.116.
HP1 Soft-LSW(CCW)
HPD1 Soft-LSW(CCW)
Failed to origin return. Check the origin return acceleration/deceleration rate and speed.
HP1 Origin Sensor Check the origin sensor, polarity of limit switches, operation, and
position.
HPD1 Origin Sensor
An emergency stop was made. Make sure that the emergency stop input terminal
HP1 Emergency Stop is ON, and that 24V is being supplied to the
external I/O power supply.
HPD1 Emergency Stop
The CW-LSW error was detected. Perform the following remedies if the limit switches
HP1 LSW(CW) Stop are working normally:
• Check the acceleration/deceleration rate and run
HPD1 LSW(CW) Stop
speed to see if they are too large.
• Check the point parameter target coordinates if
they are not wrong. If the workpiece is not
moving up to the limit switch, perform the
following remedies:
• Check the limit switch input polarity to see if it is
appropriate.
• Check to see if power is being supplied to the
limit switches and check for line breaks.
The CCW-LSW error was detected. Perform the remedy described in No.120.
HP1 LSW(CCW) Stop
HPD1 LSW(CCW) Stop
7-5
7-2 List of Error Codes and Error Details
HPD1 Accel.CurveRatio
The deceleration curve ratio is out of range (1 to 100).
HP1 Decel.CurveRatio
HPD1 Decel.CurveRatio
The acceleration/deceleration time exceeded 65535 ms. Increase the acceleration/deceleration rate, lower
HP1 Acc/Dec.Time>65s the operation speed, or increase the startup speed.
HPD1 Acc/Dec.Time>65s
The acceleration/deceleration rate value fell When speed nit translation is used, increase the
to below 1 pps/ms. value to prevent the acceleration-deceleration rate
value after translation to pulse units from becoming
HP1 Accel/Decel.Rate
1 pps/ms.
HPD1 Accel/Decel.Rate
The origin sensor and limit switches were ORG has been short-circuited from CCW-LS,
actuated simultaneously during a origin return. however, the origin return mode is not set to the
mode that shares both the CCW limit switch and
HP1 Org.Ret.Mode Err
origin sensor. Change the origin return mode.
HPD1 Org.Ret.Mode Err
An emergency stop request arrived from the Check to see if the PLC’s forced stop relay is
CPU Unit. illegally ON.
HP1 PLC Emg. Request
HPD1 PLC Emg. Request
Interpolation operation was started while shortcut control Set the unit to other than deg. When the unit is set
of the angle of rotation is in use on the X- or Y-axis. to deg, do not use interpolation operation.
HP1 Intrp. Shortcut
HPD1 Intrp. Shortcut
7-6
7-2 List of Error Codes and Error Details
TROUBLESHOOTING
HPD1 CW-LSW CW Move
The peripheral pulse count calculation for 155 This error sometimes occurs if absolute
coordinates for linear interpolation are specified
linear interpolation overflowed.
when the current coordinates exceed eight digits.
HP1 Intrpl.Pulse Err Either change the current coordinates, or specify
HPD1 Intrpl.Pulse Err using incremental coordinates.
The decimal point position was specified using five 156 When speed unit translation is used, set [Decimal
digits or more when speed unit translation was used. point position] within the range 0 to 4 digits. When
[Decimal point position] cannot be changed, do not
HP1 Spd.Trns.Decimal
used speed unit translation.
HPD1 Spd.Trns.Decimal
When the Cont mode is Cont-1/Cont-2, three 169 Check the setting value when point parameters are
or more travel=0 points (reserve points) are written from the PLC.
inserted continuously.
HP1 Rsv Pnt Too Many
HPD1 Rsv Pnt Too Many
Parameters whose fixed speed operation 174 Check the setting value when point parameters are
time exceeds 2^64ms have been set. written from the PLC.
HP1 Move Time Error
HPD1 Move Time Error
The operation start relay of the interpolated driven 176 Turn the operation start relay of the interpolated
axis was turned ON during interpolation operation. spindle ON.
HP1 Start Axis Err
HPD1 Start Axis Err
The interpolated axis setting during interpolation 177 A combination of axes on which interpolation
operation is wrong. operation is not possible has been set.
Check the setting value when point parameters are
HP1 Intrp Setup Err
written from the PLC.
HPD1 Intrp Setup Err
Not even one zero start enable bit is set on points 178 Set the zero start enable bit of point parameters of
that issued the operation start request after the axes that turn the zero start request relay ON to
“1”.
zero start request relay was turned ON.
HP1 Pos Ext Trig Err
HPD1 Pos Ext Trig Err
7-7
7-2 List of Error Codes and Error Details
* When an error occurs, the error No. is displayed on the CPU access window. The error codes of errors that occur
on the X1 axis are the same as the codes in this chapter. As for the Y1 axis, 1000 is added to the error codes.
Also, 2000 and 3000 is added to the error codes of the respective errors that occur on the X2 and Y2 axes.
7-8
APENDICES
1 Drive Unit Wiring Diagrams
These wiring diagrams are for connecting the Drive Unit and switches to the KV-H20S/H40S
Positioning Unit. Be sure to check in the User’s Manual of the Drive Unit you are using.
Emergency stop
CW limit switch
CW limit switch
Origin sensor
Origin sensor
Stop sensor
Stop sensor
Zero start
Zero start
+ +
DC24V DC24V
- -
APPENDICES
KV-H20S/H40S connector KV-H20S/H40S connector
(example of KV-H20S) (example of KV-H20S)
Signal Name Pin No. Signal Name Pin No.
X CW LSW 1 X CW LSW 1
X ORG 3 X ORG 3
X Z- 7 OZ- X Z- 7 OZ-
X-axis
X CLR 13 CL X CLR 13 CL
- 18 - 18
Pins 21 to 37 are for the Y-axis. Pins 21 to 37 are for the Y-axis.
(The layout is the same as (The layout is the same as
Y-axis
Y-axis
*1 EMG 38 CW L *1 EMG 38 CW L
GND GND
*1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S, *1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S,
and is not provided for connector 2 (for X2, Y2). and is not provided for connector 2 (for X2, Y2).
A-1
1 Drive Unit Wiring Diagrams
Emergency stop
CW limit switch
CW limit switch
Origin sensor
Origin sensor
Stop sensor
Stop sensor
Zero start
Zero start
+ +
DC24V DC24V
- -
X SVEND 8 PF X SVEND 8 PF
X SVRDY 9 RD X SVRDY 9
X-axis
X-axis
X CLR 13 CR X CLR 13 CR
X CW+ 14 PP X CW+ 14 PP
X CCW+ 16 NP X CCW+ 16 NP
- 18 - 18
Pins 21 to 37 are for the Y-axis. Pins 21 to 37 are for the Y-axis. V+
(The layout is the same as (The layout is the same as
Y-axis
Y-axis
EMG
SD
*1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S, *1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S,
and is not provided for connector 2 (for X2, Y2). and is not provided for connector 2 (for X2, Y2).
A-2
1 Drive Unit Wiring Diagrams
Emergency stop
CW limit switch
CW limit switch
Origin sensor
Origin sensor
Stop sensor
Stop sensor
Zero start
Zero start
+ +
DC24V DC24V
- -
APPENDICES
X ORG 3 X ORG 3
X Z- 7 OP X Z- 7 LZR
X SVRDY 9 RD X SVRDY 9 RD
X-axis
X-axis
X CLR 13 CR X CLR 13 CR
X CW+ 14 PP X CW+ 14 PP
X CW- 15 PG X CW- 15 PG
X CCW+ 16 NP X CCW+ 16 NP
X CCW- 17 NG X CCW- 17 NG
- 18 - 18
Pins 21 to 37 are for the Y-axis. Pins 21 to 37 are for the Y-axis.
(The layout is the same as (The layout is the same as
Y-axis
Y-axis
LSP
-COM 39 LG -COM 39 SG
-COM 40 SG -COM 40 SD
SD
*1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S, *1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S,
and is not provided for connector 2 (for X2, Y2). and is not provided for connector 2 (for X2, Y2).
A-3
1 Drive Unit Wiring Diagrams
Emergency stop
CW limit switch
CW limit switch
Origin sensor
Origin sensor
Stop sensor
Stop sensor
Zero start
Zero start
+ +
DC24V DC24V
- -
X-axis
- 18 - 18 CCW
+COM 20 +COM 20
Pins 21 to 37 are for the Y-axis. Pins 21 to 37 are for the Y-axis.
(The layout is the same as (The layout is the same as
Y-axis
Y-axis
*1 EMG 38 *1 EMG 38
*1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S, *1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S,
and is not provided for connector 2 (for X2, Y2). and is not provided for connector 2 (for X2, Y2).
A-4
1 Drive Unit Wiring Diagrams
Emergency stop
CW limit switch
CW limit switch
Origin sensor
Origin sensor
Stop sensor
Stop sensor
Zero start
Zero start
+ +
DC24V DC24V
- -
APPENDICES
X ORG 3 X ORG 3
X Z- 7 Signal Name X Z- 7 -Z
X SVRDY 9 X SVRDY 9
X-axis
X-axis
- 18 - 18
Pins 21 to 37 are for the Y-axis. Pins 21 to 37 are for the Y-axis.
(The layout is the same as (The layout is the same as
Y-axis
Y-axis
*1 EMG 38 *1 EMG 38
ALMCOM
*1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S, FG
and is not provided for connector 2 (for X2, Y2).
*1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S,
and is not provided for connector 2 (for X2, Y2).
A-5
1 Drive Unit Wiring Diagrams
Emergency stop
CW limit switch
CW limit switch
Origin sensor
Origin sensor
Stop sensor
Stop sensor
Zero start
Zero start
+ +
DC24V DC24V
- -
X ORG 3 X ORG 3
X-axis
- 18 +5V IN - 18 *SIGN
Pins 21 to 37 are for the Y-axis. Pins 21 to 37 are for the Y-axis.
(The layout is the same as (The layout is the same as
Y-axis
Y-axis
*1 EMG 38 *1 EMG 38 P . OT
-COM 39 -COM 39 N . OT
G24V F.G.
FG *1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S,
and is not provided for connector 2 (for X2, Y2).
*1: EMG is only pin 38 of connector 1 (for X1, Y1) on the KV-H40S,
and is not provided for connector 2 (for X2, Y2).
A-6
2 List of Connector Conversion Units with Terminal Blocks
■ Connection Configuration
APPENDICES
■ Connector Conversion Unit with Terminal Block
Connector Conversion Unit with Terminal Block
Compatible Motor Driver
Product
KV-HTC1 Made by Mitsubishi Electric
(KV-HTC + KV-HM1) MELSERVO-J2, J2S_ A Series
KV-HTC2 Yasukawa Electric Servo Pack
(KV-HTC + KV-HM2) Σ (SGDB)
ΣII (SGDM, SGDH, SGDP)
KV-HTC3 Made by Matsushita Electric
(KV-HTC + KV-HM3) MSD*EX Series
KV-HTC4 Made by Matsushita Electric
(KV-HTC + KV-HM4) MINAS A Series
KV-HTC5 Made by Oriental Motors
(KV-HTC + KV-HM5) αStep AS Series
KV-HTC6 Made by Oriental Motors
(KV-HTC + KV-HM6) αStep ASC Series
A-7
2 List of Connector Conversion Units with Terminal Blocks
■ Connector Cable
Cable
Compatible Motor Driver
Model No. Connection Locations
KV-HC1 Between Conversion Unit and Positioning Unit Common
Made by Oriental Motors
KV-HC2 Between Conversion Unit and Motor Driver
AS Series, ASC Series
Made by Matsushita Electric
KV-HC3 Between Conversion Unit and Motor Driver
MSD*EX Series
Made by Matsushita Electric
MINAS A Series
KV-HC4 Between Conversion Unit and Motor Driver Yasukawa Electric Servo Pack
Σ (SGDB)
ΣII (SGDM, SGDH, SGDP)
* When using the MELSERVO-J2 and J2S_ A Series made by Mitsubishi Electric, use the MR-
J2TBLxxM between the Conversion Unit and motor driver. (xx stands for cable length. 0.5m=05,
1.0m=1)
A-8
3 Details of Origin Return Path
([Origin sensor detection mode] = ON)→(On KZ-HP1/KV-HPD1, [ORG End Dtct] = ON)
([Origin sensor detection mode] = OFF)→(On KZ-HP1/KV-HPD1, [ORG End Dtct] = OFF)
The following describes only a case where the origin return direction is CCW. (For a path whose
APPENDICES
origin return direction is CW, swap CW for CCW and CCW for CW in diagrams and text
explanations.)
■ When the axis is at the origin detection position when origin return is started
“When the origin sensor is ON with [Origin sensor detection mode] = ON” or
“When the origin sensor is ON and Z-phase input is ON with [Origin sensor detection mode] =
OFF”
Origin return completes by operation A.
● Operation A
When [Origin sensor detection mode] is ON When [Origin sensor detection mode] is OFF
Origin sensor
detection range
Limit switch Limit switch
detection range detection range
(1) (1)
(1)When origin return is started at an origin (1)The axis moves at creep speed in the CW
sensor ON location, the axis moves once at direction up to the point where either of the
creep speed in the CW direction to the point origin sensor or Z-phase input turn OFF once.
where the origin sensor turns OFF. (2)The axis moves again at creep speed in the
(2)After the axis moves at creep speed again in CCW direction, and stops at the point where
the CCW direction and enters the origin both the origin sensor and Z-phase input first
sensor ON range, axis movement stops at the turn ON.
point where the Z-phase input first turns ON. * When the LSW is detected during the origin
* When the LSW is detected during the origin return, an error is generated and axis
return, an error is generated and axis movement stops.
movement stops. * “Clear deviation counter” output turns ON for 50
* “Clear deviation counter” output turns ON for 50 ms when the origin return is completed.
ms when the origin return is completed. * The positioning completed relay turns ON, and
* The positioning completed relay turns ON, and origin return operation is completed.
origin return operation is completed.
A-9
3 Details of Origin Return Path
Tip When the axis is not at the origin detection position, operation is (3) and (4) on the
CCW side and CW side, respectively, even if the origin sensor is ON.
(4)
Start point Start point
CCW CW CCW CW
■ When the axis is not at the origin detection position when origin return is started
“When the origin sensor is OFF with [Origin sensor detection mode] = ON” or
“When either of the origin sensor or Z-phase input is OFF with [Origin sensor detection mode] =
OFF”
The operation sequence is B → C → D → E → F, after which origin return is completed.
APPENDICES
● Operation B
● When the start point is in the CCW (minus) direction from the origin
When [Origin sensor detection mode] is ON or OFF
Origin sensor
(2)
Start
point To C
CCW CW
(3)
(1)After origin return is started at the origin return startup speed, the axis moves in the CCW direction at the
origin return operation speed, and immediately stops after the CCW_LSW is detected. * “Clear deviation
counter” output turns ON for 50 ms when the LSW is detected. The axis stands by for 300 ms after the LSW
is detected.
(2)Origin return starts up at the origin return startup speed, then the axis moves in the CW direction at the
origin return operation speed. When the origin sensor turns ON and OFF, deceleration is started and axis
movement comes to a stop.
* When the LSW is detected during operation in (2) (up to when axis movement comes to a stop), an error is
generated.
(3)The axis moves to a position CCW of the origin.
(Even if the stop position is inside or outside the origin range, this does not affect the next operation. Also,
operation does not change by the origin sensor or Z-phase input.)
Operation proceeds to operation C.
A-10
3 Details of Origin Return Path
● When the start point is in the CW (plus) direction from the origin
(1)Origin return starts up at the origin return startup
speed, then the axis moves in the CCW direction at
the origin return operation speed. The axis
decelerates and comes to a stop when both the
origin sensor and Z-phase input turn ON. (Even if the
stop position is inside or outside the origin range, this
does not affect the next operation. )
To C Start point * When the LSW is detected during operation in (1) (up
CCW CW
to when axis movement comes to a stop), operation
Origin sensor continues from (2) at (i).
(1)
Limit switch
* “Clear deviation counter” output turns ON for 50 ms
detection range when the LSW is detected.
The axis stands by for 300 ms after the LSW is
detected.
Operation proceeds to operation C.
● Operation C
When [Origin sensor detection mode] is ON or OFF
Origin sensor
(4)The axis moves to the vicinity of the origin.
APPENDICES
(Even if the position where continued operation is
Continue
start point
started is inside or outside the origin sensor range,
CCW (4)To F To D To E CW operation is not affected. Also, when this operation is
performed, there is no difference in operation by the
Limit switch
origin sensor or Z-phase input.)
detection range
● Operation D
When [Origin sensor detection mode] is ON When [Origin sensor detection mode] is OFF
When the origin sensor is ON When both the origin sensor and Z-phase input are ON
Origin sensor Limit switch Origin sensor Limit switch
detection range detection range
(5) (5)
(5)The axis moves at creep speed in the CW (5)The axis moves at creep speed in the CW
direction up to the point where the origin direction up to the point where either of the
sensor turns OFF once. origin sensor or Z-phase input turn OFF once.
(6)After the axis moves at creep speed again in (6)The axis moves again at creep speed in the
the CCW direction and enters the origin CCW direction, and stops at the point where
sensor ON range, axis movement stops at the both the origin sensor and Z-phase input first
point where the Z-phase input first turns ON. turn ON.
* When the LSW is detected during the origin * When the LSW is detected during the origin
return, an error is generated and axis return, an error is generated and axis
movement stops. movement stops.
* “Clear deviation counter” output turns ON for 50 * “Clear deviation counter” output turns ON for 50
ms when the origin return is completed. ms when the origin return is completed.
* The positioning completed relay turns ON, and * The positioning completed relay turns ON, and
origin return operation is completed. origin return operation is completed.
A-11
3 Details of Origin Return Path
● Operation E
● Stop at CW side from origin
When the origin sensor is OFF with When either of the origin sensor or Z-phase input is
[Origin sensor detection mode] = ON OFF with [Origin sensor detection mode] = OFF
Origin sensor Limit switch Origin sensor Limit switch
detection range detection range
Continue Continue
start point start point
CCW CW CCW CW
(6) (6)
(6)After the axis moves at creep speed in the (6)The axis moves at creep speed in the CCW
CCW direction and enters the origin sensor direction, and stops at the point where both
ON range, axis movement stops at the point the origin sensor and Z-phase input first turn
where the Z-phase input first turns ON. ON.
* When the LSW is detected during the origin * When the LSW is detected during the origin
return, an error is generated and axis return, an error is generated and axis
movement stops. movement stops.
* “Clear deviation counter” output turns ON for 50 * “Clear deviation counter” output turns ON for 50
ms when the origin return is completed. ms when the origin return is completed.
APPENDICES
* The positioning completed relay turns ON, and * The positioning completed relay turns ON, and
origin return operation is completed. origin return operation is completed.
● Operation F
● Stop at CCW side from origin
When the origin sensor is OFF with When either of the origin sensor or Z-phase input is
[Origin sensor detection mode] = ON OFF with [Origin sensor detection mode] = OFF
Origin sensor Limit switch Origin sensor Limit switch
detection range detection range
(5) (5)
Continue
start point
CCW Continue CW CCW CW
start point
(6) (6)
(5)The axis moves once at creep speed to the (5)The axis moves at creep speed to the CW side
CW side of the origin sensor. from the point where both the origin sensor
(6)After the axis moves at creep speed again in and Z-phase input turn ON once.
the CCW direction and enters the origin (6)The axis moves again at creep speed in the
sensor ON range, axis movement stops at the CCW direction, and stops at the point where
point where the Z-phase input first turns ON. both the origin sensor and Z-phase input first
* When the LSW is detected during the origin turn ON.
return, an error is generated and axis * When the LSW is detected during the origin
movement stops. return, an error is generated and axis
* “Clear deviation counter” output turns ON for 50 movement stops.
ms when the origin return is completed. * “Clear deviation counter” output turns ON for 50
* The positioning completed relay turns ON, and ms when the origin return is completed.
origin return operation is completed. * The positioning completed relay turns ON, and
origin return operation is completed.
A-12
3 Details of Origin Return Path
When [Origin return mode] is set to CCW LSW OFF, be sure to set the Z-phase input terminal to
open and the positioning Z-phase polarity to NC (normally closed).
Origin return cannot be performed when [Origin sensor detection mode] is set to ON. Be sure to
set [Origin sensor detection mode] is set to OFF. (On the KZ-HP1, perform zero operation with
[ORG end detection] set to OFF.)
■ When the axis is at the origin detection position when origin return is started
When the origin sensor is ON
● Operation G
(1)The axis moves at creep speed in the CW direction up
to the point where the origin sensor turns OFF once.
Origin sensor Limit switch
detection range (2)The axis moves again at creep speed in the CCW
direction, and stops at the point where the origin
(1) sensor first turns ON.
CCW
Start point
CW
* When the LSW is detected during the origin return, an
(2)
error is generated and axis movement stops.
* “Clear deviation counter” output turns ON for 50 ms
APPENDICES
when the origin return is completed.
* The positioning completed relay turns ON, and origin
return operation is completed.
■ When the axis is not at the origin detection position when origin return is started
When the origin sensor is OFF
● Operation H
● When the start point is in the CW (plus) direction from the origin
(1)Origin return starts up at the origin return startup
speed, then the axis moves in the CCW direction at
Origin sensor Limit switch the origin return operation speed.
detection range
Axis movement comes to an immediate stop at the
point where the origin sensor first turns ON.
To I
CCW
Start point
CW
* When the LSW is detected during the origin return, an
error is generated and axis movement stops.
“Clear deviation counter” output turns ON for 50ms after
(1) the immediate stop.
Axis movement stands by for 300 ms at the stop
position after the immediate stop.
● Operation I
● When the start point is in the CW (plus) direction from the origin
(2)The axis moves at creep speed in the CW direction up
to the point where the origin sensor turns OFF once.
Origin sensor Limit switch (3)The axis moves again at creep speed in the CCW
detection range
direction, and stops at the point where the origin
Continue
(2) sensor first turns ON.
start point
CCW CW
* When the LSW is detected during the origin return, an
(3) error is generated and axis movement stops.
* “Clear deviation counter” output turns ON for 50 ms
when the origin return is completed.
* The positioning completed relay turns ON, and origin
return operation is completed.
A-13
3 Details of Origin Return Path
Origin return can be programmed to stop at a midpoint of a width in which the origin sensor turns
ON.
This relatively reduces the fluctuation of the origin position even if the sensitivity of the origin
sensor changes.
Setup method
Positioning Z-phase input: “open”
Positioning Z-phase polarity: “NC”
CCW limit OFF: “OFF”
System parameters: Set [Origin position details] to “Sensor midpoint”
Operation is as follows after a normal origin return is performed.
Details of operation
Origin sensor Limit switch
detection range
(1)The edge position of the origin sensor from the
origin return direction is memorized.
(2)Axis movement is continued at creep speed to
(2) Continue the point where the origin sensor turns OFF.
APPENDICES
A-14
© KEYENCE CORPORATION, 0025 KV-H20S/H40S-UM Printed in Japan