Professional Documents
Culture Documents
CV-X Series
Easy Setup Guide
Control/Communication EtherNet/IP
(KEYENCE KV Series)
Contents
5. Troubleshooting Page 17
This section describes how to establish EtherNet/IP. 3 From "Global", select "Communications & I/O" -
"EtherNet/IP".
4
[Important]
If it fails, establish a one-to-one connection between the Change the EtherNet/IP settings and then left-click
PLC and CV-X, and follow this manual to configure the "OK".
settings and check the operations.
Confirm that it operates properly, and change settings if
necessary.
365GB
KEYENCE CORPORATION. Vision System Division ‐3‐ www.keyence.com
2. Changing the KV-Series settings 6 Click the icon in "Setup unit (2)" to open
"EtherNet/IP settings". Configure the CV-X100
1 Start KV STUDIO with the PLC connected to the Series and EtherNet/IP communication settings.
computer, and select "New project" from the
•Drag "CV-X100" from the "Unit list (1)" tab in
"File" menu.
"EtherNet/IP settings" and drop it into the scan list
2 Enter the "Project name", select the "PLC model", to add it.
•In the "Initial adapter settings" screen that is
and then press "OK".
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.
9 Click "Details".
The "Register unit device" screen appears.
Outputting the Measured Value/Judged 2. Checking the format for output to the byte
address, and the relationship between the byte
address and the link register (W)
1. Setting the output data (Output Settings)
Use the output settings to output the measured values 1 Check an example of result data stored to the
and judged values. This section explains how to byte address.
allocate the measured/judged values below as an The EtherNet/IP output settings are set so that the
example. result data shown below is output.
•Total Status Value •Total Status Value
•T100: Position Adjustment with Shading Pattern •T100: Position Adjustment with Shading Pattern
(position X) (position X)
•T100: Position Adjustment with Shading Pattern •T100: Position Adjustment with Shading Pattern
(position XY) (position XY)
•T101: Area •T101: Area
•T102: OCR (Recognize Strings) •T102: OCR (Recognize Strings)
•T100: Position Adjustment with Shading Pattern •T100: Position Adjustment with Shading Pattern
(tool judgment value) (tool judgment value)
•T101: Area (tool judgment value) •T101: Area (tool judgment value)
•Program Time •Program Time
•Date & Time •Date & Time
1 From the "Output Settings" screen, left-click 2 Check the relationship between the byte address
"EtherNet/IP". and the link register (W) in KV STUDIO.
The EtherNet/IP output settings screen appears. Open "EtherNet/IP settings" from the "Setup unit (2)"
tab in KV STUDIO Unit Editor, and click the plus sign
2 Left-click the "Byte Allocation Area" tab. (+) 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)".)
3
CV-X100 Series controller. (The range can also be
Left-click "Select Data", select the items to output, changed as desired by clicking "Edit".)
and then left-click "Add". •Byte addresses 0000-0011 are for the link relay
(from B0000 onwards), and byte addresses from
4
0012 onwards are for the link register. Allocation
Check the byte address for output. begins at the start from W0000, with 1 register
•When allocating output data, the destination byte used for each 2-byte address.
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.)
4.Check if the values of the devices corresponding to When the command is successful: CV-X writes "1" into Command complete
the PLC Command complete flag and Command flag, and "0" into Command result.
result (B00 and W04 respectively in this example)
have changed.
When the command fails: CV-X writes "1" into Command complete flag, and
an error code into Command result.
4. Check if the values of the devices corresponding to When the command is successful: CV-X writes "1" into Command complete
the PLC Command complete flag and Command flag, and "0" into Command result.
result (B00 and W04 respectively in this example)
have changed.
When the command fails: CV-X writes "1" into Command complete flag, and
an error code into Command result.
When the command is successful: CV-X writes "1" into Command When the command fails: CV-X writes "1" into Command complete
complete flag, and "0" into Command result. flag, and an error code into Command result.
When the command is successful: CV-X writes "1" into Command When the command fails: CV-X writes "1" into Command complete
complete flag, and "0" into Command result. flag, and an error code into Command result.