NB With CP1L (2pcs) Through COM2/RS422(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 (2pcs) and a CP1W-CIF11/12 using Host Link (RS422).
1. Connecting Method
1. Connecting Methods
Host Link (RS422)
Start NB-designer, create a new program, drag and drop the NB and the two CP1L's on the “Project Structure Window”. Connect with the Serial connection line the CP1L's to the COM2 port of the NB.
2. Wiring diagram
NB pin 6 (RDB+) to 1e and 2e CP1L (CP1W-CIF11/12) SDB+
Switches CP1W-CIF11/12 conform diagram (1,2,3,4 OFF, and 5,6 ON) / (2,3,4 OFF and 1,5,6 ON)
(Default cable: NB-RSEXT-2M)
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 (PLC0)
Double click on the CP1(PLC0) 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-CIF11/12 is mounted.
5. PLC Attribute and PLC settings (PLC1)
In NB-Designer, double click on the CP1(PLC1) in the “Project Structure Window” to open the PLC Attribute.
Start CX-Programmer, create a new program and select a CP1L or add a second CP1L to the existing file. Open the Settings properties. Select the Serial Port 1 or Port 2 tab where CP1W-CIF11/12 is mounted.
Save, compile and download the NB program and CX-Programmer settings to the units and restart all.
6. Example program
Example program for a NB7W-TW00B with two CP1L(PLC0/PLC1) screens for Read/Write data to the CP1L’s through Host Link (RS422) and a NB Setup screen to Adjust settings like Date, Time, Buzzer, Screen Saver, Brightness adjust and Calibrate screen.
For the CP1L-M’s there is a CX-Programmer file for two PLC’s 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