How To Connect Two NB HMIs To a CP1 PLC over Ethernet(FINS-UDP) IntroductionThis 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).
Content1. Connecting Method
1. Connecting MethodsEthernet (FINS/UDP)
2. Device overviewIn order to avoid malfunctions caused by interferences, use shielded Ethernet cables.
3. HMI Attribute settingsStart 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.
Double click on the second NB in the “Project Structure Window” to open the HMI Attribute.
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
When using a CP1 PLC with an CP1W-CIF41 Ethernet module An example configuration is shown below. Connect to the CP1W-CIF41 unit via Ethernet/web browser. 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 settingsIn NB-Designer double click on the NB in the “Project Structure Window” to open the HMI Attribute.
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 programAttached 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) Host Connection Manual (Cat. No. V108) NB-series Manuals (included in NB-Designer) Program versions: NB-Designer version 1.23 and CX-Programmer version 9.4 Link: |
Comments | ||
|