NB With CP1L Through COM1/RS232(Host Link) IntroductionThis 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).
Content1. Connecting Method
1. Connecting MethodsHost 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 diagramNB 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 settingsDouble click on the NB in the “Project Structure Window” to open the HMI Attribute.
4. PLC Attribute and PLC settingsDouble 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 programAttached file: 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. Reference: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 Link: |
Comments | ||
|