All-In-One PLC: KV Nano Application Guide Vol. 5
All-In-One PLC: KV Nano Application Guide Vol. 5
All-In-One PLC: KV Nano Application Guide Vol. 5
Points
1. No expansion unit required, built-in positioning function with up to 4 axes.
2. Intuitive parameter registration with the dedicated point parameters.
3. Variable dedicated instructions help significantly reduce programming man hours.
System Overview
* See "Wiring" on page 5 for details on the connection between servo motors and the KV Nano.
Palletising is performed using the servo motors controlled by the KV Nano’s built-in positioning function.
Operation Contents
Speed
Time
Operations such
as box packing
and assembly
Palletising operation
2
Example of applicable equipment
Box packing machine (3 axes) Chip transfer machine (2 to 3 axes)
3
Preparation for Wiring
Prepare and connect the required devices.
1. KV-N14/24/40/60A(D)T x 1 unit
2. Servo motor (Amplifier, motor main unit, encoder cable, motor power supply cable)
Output assignment when connecting the KV Nano Series with motor drivers
4
Wiring
This section explains the necessary wiring using KV-N24xT and the KEYENCE SV Series servo motor as
an example.
5
Positioning Parameter Registration
Positioning ladders for motor ramp-up/down control that conventionally required up to 100 rungs, can
now be programmed easily with “dedicated instructions + parameter registration”.
Point operation
ladder
Setting item
Only the following items are set in this document. You may need to set other parameters according to
your specific needs. Set further parameters as necessary.
• Input/output setting • Origin return setting• JOG setting •
Point parameter
6
Input/Output Setting
These settings configure the pulse output
type (1 pulse/2 pulse), assignment and
polarity for the input relays used in sensors
such as the origin, stop and limit sensors,
and other such parameters.
*2 The output type is selected in accordance with the aforementioned motor driver wiring.
Pulse
1-pulse mode
Rotation direction
Forward pulse
2-pulse mode
Reverse pulse
* If the motor rotates in the opposite direction even when wired correctly,
check [Output pulse during forward operation].
Forward pulse: Outputs a forward pulse in the forward direction (the direction in which coordinates increase).
Reverse pulse: Outputs a reverse pulse in the forward direction (the direction in which coordinates increase).
7
Origin Return Setting
This setting item configures parameters such as the method, startup speed and acceleration/
deceleration rates and operating speed, etc. for origin return.
A default value is used here even though more than one method is available for origin return.
Refer to “KV Nano Series User’s Manual” for details on each method.
JOG Setting
This setting item configures parameters such as the startup speed, acceleration/deceleration rates
and high-speed rate, etc. for the JOG operation.
8
Point Parameter Setting
This setting item sets parameters such as the target coordinate/travel and operating speed, etc. that are
required for the point operation.
KV-N14xT: 2 axes
KV-N24xT: 2 axes
Axis No.
KV-N40xT: 3 axes
KV-N60xT: 4 axes
9
How to Execute Other Operations When
Positioning is Complete
In this example, box packing/assembly is executed every time the positioning operation is complete.
This section explains how a signal can be received to recognise completion of the positioning operation.
Positioning completion
relay
Programming Example
Execution points are compared to find which point operation the completion signal is output
from.
10
Sample Programming
Operation contents
The origin return is executed before starting the operation.
When Operation Start Relay MR000 is turned on, Axis 1 starts moving from the origin to execute
palletising with the value set in DM0. The one-shot signal required for box packing, assembly, etc. is
output every time the operation is executed.
After a specified number of palletising operations is executed, Axis 2 executes inching only once and
then Axis 1 starts the palletising operation again. The operation stops when MR000 is turned off.
Device specifications
Device Device Comment Device Device Comment
R000 Axis1 origin sensor MR005 Axis2 JOG CW
The travel per palletising operation, repeat number, workpiece release time, etc. can be set from external devices such as
the access window and touch panel.
Change the corresponding devices to numeric characters when not setting from an external device.
Axis 2 point 1
Movement of
inching
11
Ladder diagram
12
The Axis 1 palletising operation starts.
(1)
Box packing, assembly, etc. can be executed using this one-shot signal.
The ON time of this signal can be set to DM4 in increments of 10 ms.
* When starting the first operation, Axis 1 performs in the order of (1) -> (3) -> (2) -> (3) -> (2) …
After the repeat number reaches the set value and the Axis 2 inching operation is completed only
once, Axis 1 then performs in order of (2) -> (3) -> (2) -> (3) -> (2) …
Contact the nearest sales office if you would like the above programme.
13
Positioning Monitoring Function
With the KV Nano Series, you can monitor and change positioning-related devices, such as the current
value and current speed of the CPU positioning function, in the list by using the built-in function monitor
of the ladder support software, KV STUDIO (Ver. 7 or later). Additionally, positioning-related devices
can be checked in the access window (available only in the terminal block type), which is particularly
useful for debugging and maintenance.
Relay status
ON: *
OFF: -
* Positioning-related devices (e.g. current position, current speed, execution point No., and positioning completion relay)
can be checked/monitored in the list.
Registration Monitor
Select [Monitor/Simulator] > [Registration Monitor Window] from the menu.
14
Real Time Chart Monitor
It is possible to monitor such items as timing for the positioning completion relay to turn on, the current
number of inching, current coordinates, current speed without using an oscilloscope.
Select [Monitor/Simulator] > [Real time chart monitor] from the menu.
* The monitoring cycle can be set for each scan to enable checking of all subtle changes in signals that are usually
unnoticed. This function is particularly useful for identifying the cause of problems.
Simply start the real time chart monitor from the built-in function monitor or registration monitor to
register devices that are being monitored as-is into the real time chart monitor.
15
www.keyence.com
Copyright (c) 2013 KEYENCE CORPORATION. All rights reserved. KVN5-WW-EN0809-GB 1054-1 E 600C70