Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Automation Systems > HMI
Minimize Text   Default    Enlarge Text
 

Print
E-mail

How To Connect Two NB HMIs To a CP1 PLC over Ethernet(FINS-UDP)


Introduction

This article is related to the article NB HMI and Connecting Peripheral Devices and explains how connection can be established between two NB HMIs with a CP1 PLC using Ethernet (FINS/UDP).

 

Content

1. Connecting Method
2. Device overview
3. HMI Attribute settings
4. PLC Attribute and PLC settings (PLC0)
5. HMI and PLC Network settings
6. Example program

 

1. Connecting Methods

Ethernet (FINS/UDP)
NB HMI (2 pcs) to CP1 PLC over Ethernet (FINS/UDP)

 

2. Device overview

In order to avoid malfunctions caused by interferences, use shielded Ethernet cables.
 

 

3. HMI Attribute settings

Start NB-Designer, create a new program, drag and drop two NB (*TW001) and one Omron CP Series Ethernet (UDP Slave) on the “Project Structure Window”.

Double click on the first NB in the “Project Structure Window” to open the HMI Attribute.
Select the ‘HMI’ tab and set the IP address to (192.168.250.1) and the Subnet Mask to (255.255.255.0).

 

Double click on the second NB in the “Project Structure Window” to open the HMI Attribute.
Select the ‘HMI’ tab and set the IP address to (192.168.250.2) and the Subnet Mask to (255.255.255.0).

  

4. PLC Attribute and PLC settings (PLC0)

Double click on the CP1(PLC0) in the “Project Structure Window” to open the PLC Attribute. Set the IP address to (192.168.250.3), Port (9600) and the Node ID to (3) in the PLC tab.

 

When using a CP1L-E* PLC with built-in Ethernet
Start CX-Programmer, create a new program and select the CP1 PLC. Open the Settings properties. Select the Built-in Ethernet tab.
Set the IP address to (192.168.250.3), Sub-net Mask to (255.255.255.0) and the FINS Node No. to (3).


 

When using a CP1 PLC with an CP1W-CIF41 Ethernet module
Depending on which port the CP1W-CIF41 is mounted set the dipswitch for port 1 or port 2 to on (AUTO) where the CP1W-CIF41 is mounted.
More explanation about how to change the IP address of the CP1W-CIF41 see the article How To Change The IP Address Of The CP1W-CIF41 Ethernet Option Board With CX-Programmer?

An example configuration is shown below.

Connect to the CP1W-CIF41 unit via Ethernet/web browser.
Default web address: http://192.168.250.1/E00.htm (E00 for English, J00 for Japanese, C00 for Chinese)

Default Login Password: ETHERNET 

Set the IP address to (192.168.250.3), Sub-net Mask to (255.255.255.0) and the FINS Node No. to (3).

 

5. HMI and PLC Network settings

In NB-Designer double click on the NB in the “Project Structure Window” to open the HMI Attribute.
Select the ‘HMI’ tab and select ‘Network Device Settings’.

 

Add a Device, set Device Type to (HMI), Device No. (HMI0), IP Address (192.168.250.1), Port Num: (9600), Comm Protocol (OMRON CP Series Ethernet UDP) and Node ID to (1).

 

Add a Device, set Device Type to (HMI), Device No. (HMI1), IP Address (192.168.250.2), Port Num: (9600), Comm Protocol (OMRON CP Series Ethernet UDP) and Node ID to (2).

 

Add a Device, set Device Type to (PLC), Device No. (PLC0), IP Address (192.168.250.3), Port Num: (9600) and Node ID to (3).

 

Save, compile and download the NB program and CX-Programmer settings to the units and restart all.

 

6. Example program

Attached file:

Example program for two NB7W-TW01B HMIs with one CP1 Ethernet PLC. Screens for Read/Write data to the CP1L’s through Ethernet (FINS/UDP) and a NB HMI Setup screen to Adjust settings like Date, Time, Buzzer, Screen Saver, Brightness adjust and Calibrate screen.

For the CP1L-E Ethernet PLC there is a CX-Programmer file with the Communication settings for the Built-in Ethernet port.

 

Reference:

CP1L CPU Unit Operation Manual (Cat. No. W462)
CP1L-EL/EM CPU Unit Operation Manual (Cat. No. W516)
 

Host Connection Manual (Cat. No. V108)
NB-Designer Operation Manual (Cat. No. V106)
Setup Manual (Cat. No. V107)
Startup Guide Manual (Cat. No. V109)

NB-series Manuals (included in NB-Designer)

Program versions: NB-Designer version 1.23 and CX-Programmer version 9.4
 



Attachments



Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2013-03-05
Modified 2013-11-21
Views 29463

 

You are not logged in.