Omron CP1L-EM和CJ2M-CPU33之间的Ethernet(FINS UDP)连接介绍说

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

NB With CP1L-EM And CJ2M-CPU33 Through Ethernet(FINS/UDP)
Introduction
This article is related to the article NB HMI and Connecting Peripheral Devices and explains how connection can be established with a CP1L-EM and a CJ2M-CPU33 using Ethernet (FINS/UDP).
Content
1. Connecting Method
2. Wiring diagram
3. HMI Attribute settings
4. PLC Attribute and PLC settings (PLC0)
5. PLC Attribute and PLC settings (PLC1)
6. HMI and PLC Network settings
7. Example program
1. Connecting Methods
Ethernet (Fins/UDP)
NB with a CP1L-EM and a CJ2M-CPU33 through
Ethernet (FINS/UDP)
2. Wiring diagram
In order to avoid malfunctions caused by interferences, use shielded cables.
3. HMI Attribute settings
Start NB-designer, create a new program, drag and drop the NB (*TW001) and one Omron CP Series Ethernet (UDP Slave) and one Omron CJ Series Ethernet (UDP Slave) on the “Project Structure Window”.
Double click on the 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).
4. PLC Attribute and PLC settings (PLC0) Double click on the CP(PLC0) in the “Project
Structure Window” to open the PLC Attribute. Set the IP address to (192.168.250.2), Port (9600) and the Node ID to (2) in the PLC tab.
Start CX-Programmer, create a new
program and select a CP1L-EM. Open
the Settings properties. Select the
Build-in Ethernet tab.
Set the IP address to
(192.168.250.2), Sub-net Mask to
(255.255.255.0) and the FINS Node
No. to (2).
5. PLC Attribute and PLC settings (PLC1)
In NB-Designer double click on the
CJ(PLC1) 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.
Start CX-Programmer, create a new
program and select a CJ2M-CPU33 or
add a CJ2M-CPU33 to the existing file.
Open the IO Table and Unit Setup.
Select the Build-in Port/Inner Board and
double click on the CJ2M-EIP (Built In
Ethernet/IP Port for CJ2M).
Select the TCP/IP tab and set the IP
address to (192.168.250.3), Sub-net
Mask to (255.255.255.0) and the FINS
Node No. to (3).
Set the ‘Rotary’ Node Address Setting
Switch at the front of the CJ2M-CPU33 to
(3).
6. 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
(PLC), Device No. (PLC0), IP
Address (192.168.250.2), Port
Num: (9600) and Node ID to (2).
Add a second Master Device, set
Device Type to (HMI), Device No.
(HMI0), IP Address (192.168.250.1),
Port Num: (9600), Comm Protocol
(OMRON CJ Series Ethernet UDP) and
Node ID to (1).
Add a Device, set Device Type to
(PLC), Device No. (PLC1), 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.
7. Example program
Attached file:
Example program for a NB7W-TW01B with one CP1L-EM(PLC0) and one CJ2M-CPU33(PLC1) screen for Read/Write data to the CP1L/CJ2M through Ethernet (FINS/UDP) and a NB Setup screen to Adjust settings like Date, Time, Buzzer, Screen Saver, Brightness adjust and Calibrate screen.
For the CP1L-EM and the CJ2M-CPU33 there is a CX-Programmer file for both PLC’s with the Communication settings for the Build-in Ethernet port.
Reference:
CP1L Operation Manual (Cat. No. W462)
CJ2 Hardware User Manual (Cat. No. W472)
Programmable Terminals Host Connection Manual (Cat. No. V108)
Programmable Terminals NB-Designer Operation Manual (Cat. No. V106)
Programmable Terminals Setup Manual (Cat. No. V107)
Programmable Terminals 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。

相关文档
最新文档