Professional Documents
Culture Documents
CV-X Series
Easy Setup Guide
Control/Communication EtherNet/IP
(OMRON CJ Series)
Contents
5. Troubleshooting Page 25
Trademarks
Product names, etc. noted in this document are registered trademarks or trademarks of their respective companies.
The ™ mark and ® mark have been omitted in this manual.
This section describes how to establish EtherNet/IP. 3 From "Global", select "Communications & I/O" -
"EtherNet/IP".
[Important]
If it fails, establish a one-to-one connection between the 4 Change the EtherNet/IP settings and then left-
PLC and CV-X, and follow this manual to configure the click "OK".
settings and check the operations.
Confirm that it operates properly, and change settings if
necessary.
366GB
KEYENCE CORPORATION. Vision System Division ‐3‐ www.keyence.com
2. Changing the CJ-Series settings
Setting Range
10 - FE (decimal - 254)
2-1
Create a new project in CX-Programmer, and select the CPU unit to be used.
2-2
Click "IO Table and Unit Setup" in the project workspace. Then, in the "PLC IO Table" dialog box, right-click
the unit you will use and click "Unit Setup" in the right click menu.
2-3
Start up Network Configurator. In the "PLC IO Table" dialog box, right-click the unit you will use and click "Start
Special Application" in the right click menu. Then click "Start with Settings Inherited" (or "Start Only").
Select "Keyence_5002_0101.eds"
The installation is complete. The CV-X Series can now be selected as a device.
2-6
Right-click OMRON CJ2B-EIP21 (CJ2H-CPU□□-EIP) and CV-X, and click "Change Node Address" in the right
click menu. Then set the IP Address.
CJ (192.168.0.1)
CV-X (192.168.0.10)
Click "OK", and select "Yes" in the dialog box that appears asking if you want to automatically create a tag set.
Next, double-click "CV-X100 Series", and open "CV-X100 Series Edit Connection".
Now all of the necessary basic setup for the EtherNet/IP connection to CX Programmer and Network Configurator
is complete.
Next, the settings for both pieces of software must be forwarded to CJ2H-CPU□□-EIP.
The example is this manual is for connecting a computer and CJ2H-CPU□□-EIP using a USB cable, and sending
setting data from Network Configurator.
* For information on other ways of sending the data, and sending data from CX Programmer, please refer to the
appropriate OMRON manual.
2 - 11 Use the following procedure to select the network port to connect to in "Select Connect Network Port".
1. Select "BackPlane", and click the "Refresh" button.
2. The EtherNet/IP unit's TCP port will appear. Select it and click "OK".
2 - 12
Select "Network" -> "Download" to send the settings.
When the EtherNet/IP connection is successful, the NS LED (orange) will light up, and the LINK LED (green)
will start flashing on the CV-X Series Ethernet port. (The connection can also be confirmed on the CV-X
Series via "Utility" -> "EtherNet/IP Memory Monitor" -> "Cyclic Communication Status".)
- If the LINK LED is not lighted at all, the cable may not be connected properly, or the equipment may not
have started up. Check the connection equipment (for example, if the HUB is working properly, if a
crossover cable is being used as a LAN cable when connection is one-to-one, etc.)
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 From "Global", select "Communications & I/O" -
"EtherNet/IP". "EtherNet/IP", and left-click "Set" in "Data
The EtherNet/IP output settings screen appears. Settings".
The "EtherNet/IP Communication Data Structure"
2 Left-click the "Byte Allocation Area" tab.
screen appears.
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 (D0(0) and D10 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 (D0(0) and D10 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 complete When the command fails: CV-X writes "1" into Command complete flag,
flag, and "0" into Command result. 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.