How to Perform Cyclic Communication with KV Series EtherNet/IP
This article explains how to set up EtherNet/IP cyclic communication using an OMRON NX102 and a KEYENCE KV-5500.
It explains with images the setup procedures in Sysmac Studio and KV STUDIO, how to register EDS files, how to create tag sets and how to check communication.
Overview
Cyclic communication between the OMRON NX/NJ series and the built-in Ethernet port of the KEYENCE KV series
Here, using an NX102 and a KV5500,
we explain how to set up the cyclic communication areas as follows
| NX/NJ | KV | ||
|---|---|---|---|
| Variable name | Data type | Address | |
| EIP_OUT | ARRAY[0..9] OF WORD | → | DM50~59 |
| EIP_IN | ARRAY[0..9] OF WORD | ← | DM0~9 |
- OMRON NX/NJ series settings
- KEYENCE KV series settings
- Checking cyclic data
- Setting up more practical communication areas
OMRON NX/NJ series settings
1. Create global variables
Set the variables for cyclic communication as global variables
2. EIP connection settings
1. Open [Tools] - [EtherNet/IP Connection Settings] from the menu
2. Double-click port 1 to show the edit screen
3. Set the input tag set as follows
4. Set the output tag set as follows
Set the instance ID to 100
5. Add the EDS library
Right-click in the toolbox and click Display EDS Library
6. Add the EDS library
Press the [Install] button and select the EDS file for the KV series
NOTE
Get the EDS file by searching for KV8000 or similar on KEYENCE Downloads (Software)
7. Add a target device
Press the [+] button in the toolbox
8. Add a target device
Set the address and other details of the cyclic communication partner
9. Connection settings
| Target device | KV-5500 |
| Connection type | InputOnly (ID type) |
| In-out | Input |
| Target variable | 100 (ID set in KV STUDIO) |
| Size | 20 (byte) |
| Originator variable | EIP_IN |
| Size | 20 (byte) |
KEYENCE KV series settings
1. Register the EDS file
1. Register the EDS file
Open EtherNet/IP Settings, right-click the device list and register the EDS file for the NX series with [Register EDS File]
NOTE
Get the EDS file for the NX series from EtherNet/IP EDS file download
2. Adapter initial settings
Drag and drop the NX registered in the device list onto the blue area on the left to show the adapter initial settings screen
Set the IP address of the NX
2. Set the output area
1. Tag settings
Setting the area for cyclic output
Click the text KV-5500 to show the tag list screen
Press the [Add] button to add a tag
Set the instance ID to 100 and check Use
In the device allocation area, set the first device to DM0 and the size to 10 words
3. Set the input area
1. Connection settings
Setting the area for cyclic reading
Click the text Input Only of the added adapter (NX) to show the connection list
2. Parameter settings
Press the [Parameter Settings] button to show the parameter settings screen and set the following
Produced Assembly ID: 100 (ID set in the output tag set in Sysmac Studio)
Size: 20
Device allocation
Press the [Device Allocation] button to show the device allocation settings screen and set the following
First device: DM50
Size: 10 words
Checking cyclic data
| NX/NJ | KV | ||
|---|---|---|---|
| Variable name | Data type | Address | |
| EIP_OUT | ARRAY[0..9] OF WORD | → | DM50~59 |
![]() |
![]() |
||
| EIP_IN | ARRAY[0..9] OF WORD | ← | DM0~9 |
![]() |
![]() |
||
Setting Up More Practical Communication Areas
Let's set up the cyclic communication area combining bits, words, numbers and characters
The following data is communicated cyclically
| NX/NJ | KV | ||
|---|---|---|---|
| Variable name | Data type | Address | |
| EIP_OUT2 | sEIP_OUT2 | → | D200~241 |
| EIP_IN2 | sEIP_IN2 | ← | D100~D157 |
Procedure
1. NX settings
1. Global variable settings

2. Set the input tag set

3. Set the output tag set

4. Set the connection

2. KV settings
1. Tag settings

2. Connection settings

3. Parameter settings

4. Device settings

3. Strings Need Endian Conversion
Converting on the NJ side
Convert the string to a byte array specifying _HIGH_LOW, then convert it back to a string
Converting on the KV side
Swap the high and low bytes from the cyclic communication area and store them from D300 onward
Appendix. Memory Alignment
There is something to watch out for when linking using structures
The size of the structure sEIP_IN2 this time is 112 bytes (56 words), but in Set the input tag set it is 116 bytes
| Name | Data type | Bytes |
|---|---|---|
| B | ARRAY[0..15] OF BOOL | 2 |
| W | ARRAY[0..9] OF WORD | 20 |
| INT32 | ARRAY[0..9] OF DINT | 40 |
| STR | STRING[50] | 50 |
| Total | 112 | |
This is because the amount of memory allocated changes; for details, see "A-12 Variable Memory Allocation Methods" in the NJ/NX-series CPU Unit Software User's Manual
If there is no particular problem, create the connection with the number of bytes shown in the tag set as-is
To change it, you can adjust it by changing the offset type in the structure data type settings
FAQ
Where can I get the EDS file for the KV series?
It can be downloaded from the KEYENCE official website.
What should I check if communication does not work?
Check the IP address, instance ID and tag size settings.
Can it be used with both NJ and NX?
Yes, with any EtherNet/IP-compatible model.




