Sei sulla pagina 1di 8

Downloading a Project to a PWS-series Operator Panel 1 Function and Area of Use

SUEN271 2007-09

This document describes how to download an ADP6 project to an PWS-series operator panel via a serial connection, Ethernet or USB.

About this Start Up Document

This Start Up document should not be considered as a complete manual. It is an aid to be able to start up a normal application quickly and easily. For further information we refer to the manual for the operator panels. This document and other Start Up documents can be downloaded from www.hitechelectronics.com.au

Project Download via Serial Connection

Connect the RS232 port on the PC to the COM1 port on the PWS-panel using a PWS-CAB5 cable, or to the COM2 port using a PWS-CAB6 cable. The connection can also be made according to the illustration below, where the lefthand illustration applies to COM1, and the right-hand one to COM2:
9-pin male RXD 2 TXD 3 GND 5 RTS 7 CTS 8 9-pin female 25-pin male 2 RD TXD 2 3 SD RXD 3 5 SG GND 7 1 CD RTS 4 4 DTR CTS 5 6 DSR 7 RTS 8 CTS 9-pin female 2 RD 3 SD 5 SG 1 CD 4 DTR 6 DSR 7 RTS 8 CTS

Perform the following steps: 1. Set dip switch SW5 = OFF and SW7 = ON. After the self test the system menu will be displayed on the screen. 2. Press F2/Confg on the panel. A configuration menu will be displayed on the screen. 3. Change the Download/Upload/Copy port to COM1 or COM2 (depending on what cable you are using). Click on Save & Quit. The panel is now prepared to receive an application from ADP6.

Page 1 (8)
Start Up template 0612

Hitech Electronics Corp. 4F, No. 501-15, Chung-Cheng Road Shin-Tien, Taipei Shien, Taiwan, R.O.C. Tel: +886-2-2218-3600 Fax: +886-2-2218-9547

Downloading a Project to a PWS-series Operator Panel 3.1 Settings in ADP6

SUEN271 2007-09

Regardless if COM1 or COM2 is used, the same settings are to be made in ADP6. Start ADP6 and open the application file to be downloaded. Make sure that the communication parameters are correctly configured. Always make sure that the application is compiled. The application has to be compiled every time a change has been made before downloading it. Continue with the following steps: 4. Select Application/Compile. 5. Select Options/Transmission setup. 6. Select which port and baud rate to be used. A baud rate up to 115 200 bit/s can be selected. Click OK.

7. Select Application/Download Application and Firmware. The panel will now receive the project from ADP6.

www.hitechelectronics.com.au

Page 2 (8)

Downloading a Project to a PWS-series Operator Panel

SUEN271 2007-09

Project Download via Ethernet

The most efficient way to download a project to the PWS-series operator panel is to use the Ethernet card (if the panel type is Network). The operator panel can easily be programmed via Ethernet, by following the steps below.

4.1

Connection to the Ethernet Port

To program the operator panel via Ethernet, an Ethernet connection is needed in the PC. The connection can be made either using a hub or switch and a regular twisted pair cable, or using a crossover twisted pair cable. If the PC is not equipped with a network interface card, or the card in the PC is configured to be connected to an office network, CAB35 can be connected instead. CAB35 is an USB to Ethernet adapter and appears as an extra network interface card in the PC when connected.

4.2

Settings in the Operator Panel

1. Set dip switch SW5 = OFF and SW7 = ON. After the self test the system menu will be displayed on the screen. 2. Press F2/Confg. A configuration menu will be displayed on the screen. 3. Change the Download/Upload/Copy port to Ethernet. 4. Press PgDn or PgUp until the IP-address, Gateway address and Sub-network mask appears on the display. 5. Use the + and - buttons to enter the desired IP-address. In this example the following settings are made:
Parameter IP address Subnet mask Setting 192.168.1.1 255.255.255.0

The first three groups of the numbers in the IP-address (192.168.1) is the network address, and the last group (1) is the address of the operator panel. 6. Click on Save & Quit. The panel is now prepared to receive an application from ADP6.

www.hitechelectronics.com.au

Page 3 (8)

Downloading a Project to a PWS -Series Operator Panel 4.3 Settings in the PC

SUEN271 2007-09

7. For the PC to be able to communicate with the operator panel it needs to use the same network address as the operator panel, and an unique address. In this Windows XP example the following settings are made:
Parameter IP address Subnet mask Setting 192.168.1.10 255.255.255.0

8. Select Start/Control Panel/Network Connections. 9. Right-click on the network interface card and select Properties.

www.hitechelectronics.com.au

Page 4 (8)

Downloading a Project to a PWS-Series Operator

SUEN271 2007-09

Project Download via USB

Connect the USB-device port on the PWS-series panel to a USB-host port on the PC. The cable is a standard USB-Device to USB-Host-cable (the same type of cable is used when connecting e.g. a printer to a PC).

5.1

Settings in the Operator Panel

Perform the following steps: 1. Set dip switch SW5 = OFF and SW7 = ON. After the self test the system menu will be displayed on the screen. 2. Press F2/Confg. A configuration menu will be displayed on the screen. 3. Change the Download/Upload/Copy port to USB. 4. Click on Save & Quit.

5.2

Settings in the PC

To be able to download an application using USB a driver will need to be installed. Windows will detect the panel (USB device) the first time the panel is connected to the PC.

The following dialog will appear:

www.hitechelectronics.com.au

Page 6 (8)

Downloading a Project to a PWS-Series Operator Panel


7. Select Continue Anyway.

SUEN271 2007-09

8. Click Finish.

5.3

Settings in ADP6

Start ADP6 and open the application file to be downloaded. Make sure that the communication parameters are correctly configured. Always make sure that the application is compiled. The application has to be compiled every time a change has been made before downloading it. 9. Select Application/Compile. 10. Select Options/Transmission setup. 11. Select USB and then OK. 12. Select Application/Download Application and Firmware.

The panel will now receive the project from ADP6.

www.hitechelectronics.com.au

Page 8 (8)

Potrebbero piacerti anche