NB With CP1L Through COM1/RS232(Host Link)
This article is related to the article NB HMI and Connecting Peripheral Devices and explains how connection can be established with a CP1L and a CP1W-CIF01 using Host Link (RS232C).
1. Connecting Method
1. Connecting Methods
Host Link (RS232C)
Start NB-designer, create a new program, drag and drop the NB and the CP1L on the “Project Structure Window”. Connect with the Serial connection line the CP1L to the COM1 port of the NB.
2. Wiring diagram
NB pin 2 (SD) to CP1L (CP1W-CIF01) pin 3 (RD)
(Default cable: XW2Z-200T or XW2Z-500T)
In order to avoid malfunctions caused by interferences, shield the cables properly.
3. HMI Attribute settings
Double click on the NB in the “Project Structure Window” to open the HMI Attribute.
4. PLC Attribute and PLC settings
Double click on the CP1 in the “Project Structure Window” to open the PLC Attribute.
Start CX-Programmer, create a new program and select a CP1L. Open the Settings properties. Select the Serial Port 1 or Port 2 tab where CP1W-CIF01 is mounted.
Save, compile and download the NB program and CX-Programmer settings to the units and restart both.
5. Example program
Example program for a NB7W-TW00B with a CP1L(PLC0) screen for Read/Write data to the CP1L through Host Link (RS232C) and a NB Setup screen to Adjust settings like Date, Time, Buzzer, Screen Saver, Brightness adjust and Calibrate screen.
For the CP1L-M there is a CX-Programmer file with the Communication settings for Serial Port 1.
CP1L Operation Manual (Cat. No. W462)
Programmable Terminals 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