Keyence Programming Manual

Posted on by

KV-5500/5000/3000 Introduction manual For the engineers who are familiar with PLC, this book can guide you to use KV series easily. A practical way to improve your programming efficiency: KV Script KV Script can run with ladder, increase the efficiency of programming, and deal with calculation, text string, and condition branch easily. Ladder Programming (AND circuit/OR circuit) Beginners text P.25. KEYENCE SINGAPORE PTE LTD. 151 Lorong Chuan,#05-07, New Tech Park Lobby G, Singapore 556741.

JapaneseEnglishSimplified ChineseRemarks/Explanations
Instruction ManualThis describes the cautions upon use, names of parts, charging method, how to install the USB driver, specifications, and other information of the BT-1000/1500 Series.
System Menu Operation ManualThis describes how to operate the system menu.
Data Transfer Software Operation ManualThis describes how to operate the data transfer software used on BT-Navigator and BT-HD10.
Wireless LAN Environment Setup ManualThis describes how to check the wireless environment that is required when installing the BT-1000/1500 Series and the batch configuration method on a wireless LAN using the wireless system management software. It also describes how to operate the quick update function of the wireless system management software.
BT-Navigator Application Development ManualThis describes the procedure for developing, how to operate and how to simulate terminal applications using the BT Application Builder. It also describes how to operate the data transfer software and system menu.
BT-HD10 Application Development ManualThis describes the procedure for developing applications using the C plug-in, data transfer software, and the system menu of the BT-1000 Series.
Server Application Development ManualThis describes how to create a server application using Request manager (middleware), how to use the server library functions, and other information.
BT Application debugger Operation ManualThis describes how to develop terminal applications using the BT application debugger, which supports both script language and the C plug-in, and how to use the debugger. This describes how to perform simulation debugging using the BT-Simulator and how to perform remote debugging using an actual BT-3000 Series terminal.
BT Smart Browser Application Development ManualThis describes how to develop applications using the BT Smart Browser and other information.
Loading..

High-speed, High-capacity Machine Vision System

CV-X Series

Easy Setup Guide

Control/Communication EtherNet/IP

(KEYENCE KV Series) /cubase-7-license-activation-code-free.html.

Easy Setup Guide: Control/Communication EtherNet/IP (KEYENCE KV Series)

1. Before Connecting EtherNet/IP

Page 3

2. Outputting the Measured Value/Judged Value

Page 6

3. Controlling the Controller

Page 9

4. Data Allocation

Page 15

5. Troubleshooting

Page 17

Keyence Plc Programming Manual

KEYENCE CORPORATION. Vision System Division

2

www.keyence.com

1. Before Connecting EtherNet/IP (EtherNet/IP) [Keyence KV Series]

This section describes how to establish EtherNet/IP.

[Important]

If it fails, establish a one-to-one connection between the PLC and CV-X, and follow this manual to configure the settings and check the operations.

Confirm that it operates properly, and change settings if necessary.

1.Checking the Global Settings of the CV-X100 Series

1From 'Global', select 'Communications & I/O' - 'Network'.

2 Change the Ethernet settings and then left-click

'OK'.

In this section, the set values below will be configured as an example (change the settings according to the target device).

IP Address: 192.168.0.10

Subnet Mask: 255.255.255.0

From 'Global', select 'Communications & I/O' - 'EtherNet/IP'.

Change the EtherNet/IP settings and then left-click 'OK'.

In this section, the set values below will be configured as an example (change the settings according to the target device).

Enable EtherNet/IP: Check this box.

Data Size: 496 bytes

Data Configurations: Set the desired data allocations and allocation offset for the bit address and byte address.

Decimal Point: Fixed point

Process Priority: Image First

Restart the controller.

365GB

KEYENCE CORPORATION. Vision System Division

3

www.keyence.com

2.Changing the KV-Series settings

1Start KV STUDIO with the PLC connected to the computer, and select 'New project' from the 'File' menu.

2 Enter the 'Project name', select the 'PLC model', and then press 'OK'.

A 'Confirm unit setting information' dialog appears.

3 Click 'Read unit setting'.

4 In the workspace, click the Ethernet/IP communication unit or CPU unit that will be connected to the CV-X100 Series to start 'Unit Editor'. Set up the IP Address of the KV Series in the 'Setup unit (2)' tab.

•IP Address: 192.168.0.20

Keyence Kv Studio Programming Manual

•Subnet Mask: 255.255.255.0

5 Select 'Convert' - 'Auto-assign relay/DM' in the

Unit Editor to allocate a device.

When automatically allocated, the bit device is allocated to B (link relay) and the byte device is allocated to W (link register).

6 Click the icon in 'Setup unit (2)' to open

'EtherNet/IP settings'. Configure the CV-X100 Series and EtherNet/IP communication settings.

•Drag 'CV-X100' from the 'Unit list (1)' tab in 'EtherNet/IP settings' and drop it into the scan list to add it.

•In the 'Initial adapter settings' screen that is displayed after start up, enter the CV-100 Series IP Address (192.168.0.10) that was set in the CV-X100 Series global settings.

7 Save the changes and exit the 'EtherNet/IP settings' and Unit Editor.

8 Select 'Device comment edit window' from the

'Display' menu in KV STUDIO.

The 'Device comment edit' screen appears.

9 Click 'Details'.

The 'Register unit device' screen appears.

10 Confirm that the box for 'CV-X100' is checked in the 'Select unit' list, and then click 'Register'.

Device comments regarding CV-X100 are automatically registered.

KEYENCE CORPORATION. Vision System Division

4

www.keyence.com

11 Select 'Transfer to PLC' from the

'Monitor/Simulator' menu in KV STUDIO.

12 Restart both the CV-X100 Series and the KV Series.

When the connection is successful, the LINK LED (green) will start flashing on the KV Series Ethernet port.

Successful connection can also be confirmed by selecting 'Communications & I/O' - 'EtherNet/IP' in 'Global' on the CV-X100 Series, and checking the 'Cyclic Communication Status'.

If the LINK LED on the KV Series Ethernet port stays lit

(does not flash) or does not light

The EtherNet/IP may not be set up correctly, the cables may not be connected correctly, or the CV-X100 Series may not be started up. Check the connection equipment (if a crossover cable is being used as a LAN cable when connected directly, if the HUB is working, etc.)

KEYENCE CORPORATION. Vision System Division

5

www.keyence.com

2. Outputting the Measured Value/Judged Value (EtherNet/IP) [Keyence KV Series]

Outputting the Measured Value/Judged

1. Setting the output data (Output Settings)

Use the output settings to output the measured values and judged values. This section explains how to allocate the measured/judged values below as an example.

•TotalStatus Value

•T100: Position Adjustment with Shading Pattern (position X)

•T100: Position Adjustment with Shading Pattern (position XY)

•T101: Area

•T102: OCR (Recognize Strings)

Keyence Programming Manual

•T100: Position Adjustment with Shading Pattern (tool judgment value)

•T101: Area (tool judgment value)

•Program Time

•Date & Time

1 From the 'Output Settings' screen, left-click

'EtherNet/IP'.

The EtherNet/IP output settings screen appears.

2 Left-click the 'Byte Allocation Area' tab.

3 Left-click 'Select Data', select the items to output, and then left-click 'Add'.

4 Check the byte address for output.

•Whenallocating output data, the destination byte address is automatically displayed in 'Address'.

•The byte address starting position is the position allocated to 'Result Data1' on the 'Data Configurations' - 'Send-Data' - 'View List' screen. (In the example above, it is byte address 048.)

2.Checking the format for output to the byte address, and the relationship between the byte address and the link register (W)

1Check an example of result data stored to the byte address.

The EtherNet/IP output settings are set so that the result data shown below is output.

•Total Status Value

•T100: Position Adjustment with Shading Pattern (position X)

•T100: Position Adjustment with Shading Pattern (position XY) /dev-c2b2b-latest-version-download-for-windows-10.html.

•T101: Area

Keyence Sr 2000 Programming Manual

•T102: OCR (Recognize Strings)

•T100: Position Adjustment with Shading Pattern (tool judgment value)

Keyence Vision System Programming Manual

•T101: Area (tool judgment value)

•Program Time

•Date & Time

Keyence Plc Programming Manual

2 Check the relationship between the byte address and the link register (W) in KV STUDIO.

Open 'EtherNet/IP settings' from the 'Setup unit (2)' tab in KV STUDIO Unit Editor, and click the plus sign

Keyence plc programming manual

(+) next to 'Class1' for the registered CV-X100 to check the allocation status of the device. (In the notation, output from CV-X100 is treated as 'IN (input)'.)

•Checkthe range (hexadecimal)of the linkrelay

Keyence Cv-x Programming Manual

(B)/link register (W) allocated to the registered CV-X100 Series controller. (The range can also be changed as desired by clicking 'Edit'.)

•Byte addresses 0000-0011 are for the link relay (from B0000 onwards), and byte addresses from 0012 onwards are for the link register. Allocation begins at the start from W0000, with 1 register used for each 2-byte address.

KEYENCE CORPORATION. Vision System Division

6

www.keyence.com