Connection example [NJ/NX1P/NX1 series/automatic generation method]

<< Click to Display Table of Contents >>

Manual > Device Connection Guide > OMRON > Connection Procedure (Ethernet) > CS1/CJ1/CJ2/NJ/NX1P/NX1 (FINS) >

Connection example [NJ/NX1P/NX1 series/automatic generation method]

overview

This is a setting example for connecting to the NJ/NX1P/NX1 series via Ethernet. Since the NJ/NX1P/NX1 series has a built-in Ethernet port attached to the CPU, this example uses the built-in port for connection.

In this connection example, communication will be performed using the auto-generation method.

 

Model used

item

Model etc.

PLC

NJ501-1500 Ver1.00

Communication Unit

CPU Attached Port

 

Configuration environment

item

environment

OS

Windows7 Professional 64Bit

tool

Sysmac Studio Ver1.00

 

Configuration details

item

setting

Setting items

Configuration Example

PLC side settings

Setting with switches and tools

IP address

192.168.0.100

Subnet mask

255.255.255.0

Port number

9600

FINS Node

100 (the end of the IP address)

IP address conversion method

Automatic generation method

PC settings

Unit Settings

IP address

192.168.0.1

Port number

Automatic

Folder and communication test settings

Source Network Number

000

Source Node

999

Destination network number

000

Destination Node

999

 

* Most of the settings on the computer will be adjusted to match the settings on the unit.

 

hint

In this connection example, the IP address conversion method is the "Automatic generation method". The "Automatic generation method" cannot be used with Ethernet communication cards older than ETN21. If you are using ETN01 or similar, please refer to "Connection example [CS1 series/IP address table method]".

 

 

PLC side settings

Configure the "NJ501". The settings are done using the switch on the front and "Sysmac Studio".
 

1.Connect to the device
Please select the appropriate connection method for your environment.
c_plc_0253
 

2.Once the connection is complete, a message will appear
c_plc_0254
 

3.If the settings have already been configured on the PLC side, transfer the configuration information on the PLC side to the PC from the menu "Controller" - "Transfer" - "Transfer [Controller to PC]".
Please select the content to be transferred according to your environment.
c_plc_0255

 

4.Select "Controller" - "Offline" from the menu to set the connection offline.
c_plc_0256

 

5.From the tree, open "Controller Settings" - "Action Settings" - "Built-in Ethernet/IP Port Settings"
c_plc_0257
 

hint

For NX1P/NX1, you must enable the device to be used in the memory settings for the CJ Unit in "Controller Settings" - "Memory Settings".

 

Setting example (NX1P)

c_plc_0803

 

Setting example (NX1)

c_plc_0851

 

 

6.Set the IP address in "Built-in Ethernet Port Settings" in "TCP/IP" as follows:
c_plc_0258
 

setting

Setting contents

IP address

192.168.0.100

Subnet mask

255.255.255.0 (Please set according to your environment)

 

7.Set the following in "FINS Settings"
* If you select a method other than "Automatic generation" for the node address conversion method, please also configure the other settings.
c_plc_0259
 

setting

Setting contents

FINS Node Address

100 (The last value of the IP address you set will be automatically assigned.)

FINS/UDP Port number

9600

FINS Node address conversion method

Automatic generation method

 

8.Select "Controller" - "Online" from the menu and make the connection online.
c_plc_0260

 

9.Write the settings from the menu "Controller" - "Transfer" - "Transfer [PC to Controller]"
Please select the content to be transferred according to your environment.
c_plc_0261
 

10.Verify that the message "Successfully completed" is displayed.

 

 

PC settings

Use the Server application to connect to the PLC for which you have set up communications.

 

1.Right-click "Application" - "Driver" in the tree and select Add Driver.

 

2.Select the following units from the displayed driver list and add them:
c_plc_0236
 

3.Open the properties of the added unit (U01) and click Communication Settings.
c_plc_0238
 

4.Configure the following in "PC Settings"
c_plc_0237
 

setting

Setting contents

Computer IP address

192.168.0.1

Computer port number

Automatic

 

5.Set the following in "Unit side settings"
c_plc_0225
 

setting

Setting contents

Unit IP Address

192.168.0.100

Unit Port Number

9600

 

6.Select "Ping Test" to check if the ping goes through normally.
If you see a message like "Ping test is success~", the test was successful.
 

7.Select the protocol in "Communication Details"

c_plc_0226
 

setting

Setting contents

protocol

UDP (recommended)

 

8.Perform a connection test to check the connection
c_plc_0262
 
If a message such as "Connection OK" is displayed, the connection is confirmed to be OK.

 

 

attention

When testing the connection and setting up the folder, do not forget to specify the node (network settings).

 

Source/Destination Network Number: Please specify the network number. Specifying 000 will indicate your own network.

The source/destination node sets the node. If you specify 999, the last part of the IP address will be the node.

 

If you connect using the settings in this example, you can also connect by specifying "000,1,000,100".

c_plc_0263