ASE00053578-05
Configuring and Parameterizing the CP 340
This chapter is divided into the following sections:
In Section You Will Find on Page
5.1 Configuring the CP 340 5-2
5.2 Parameterizing the Communications Protocols 5-3
5.3 Managing the Parameter Data 5-4
You configure and parameterize the module variants of the CP 340 using STEP 7 or the CP 340: Point-to-Point Communication, Parameter Assignment parameterization interface.
Table 5-1 Configuration Options for the CP 340
Product Order Number
Parameteri-zed Using the Parame-terization
In-terface
Under STEP 7
CP 340-RS 232C 6ES7 340-1AH00-0AE0* As of V1.0 As of V2.1 CP 340-RS 232C 6ES7 340-1AH01-0AE0** As of V3.0 As of V3.0 CP 340-20mA TTY 6ES7 340-1BH00-0AE0**
CP 340-RS 422/485 6ES7 340-1CH00-0AE0**
* You can also configure this module using the parameterization interface as of V3.0, but only the drivers integrated in the module firmware can be parameterized (not the printer driver) in this case.
** You can also configure these modules using the parameterization interface V1.0, but only the drivers offered in the parameterization interface can be parameterized (not the printer driver).
Section Overview
Parameterization Options
5
如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
长沙工控帮教育科技有限公司整理
5-2 CP 340 Point-to-Point Communication ASE00053578-05
5.1 Configuring the CP 340
Once you have mounted the CP 340 you must inform the programmable controller that it is there. This process is known as ”configuration”.
In the following, ”configuration” refers to the entry of the CP 340 in the configuration table of the STEP 7 software. In the configuration table you enter the rack, the slot and the order number of the CP 340. STEP 7 then automatically assigns an address to the CP 340.
The CPU is now able to find the CP 340 in its slot in the rack by way of its address.
Before you can enter the CP 340 in the configuration table of the STEP 7 software, you must have created a project and a terminal with STEP 7.
How to configure S7-300 modules is described in detail in the STEP 7 manual /3/.
In addition, the on-line help for STEP 7 provides sufficient support for configuring an S7-300 module.
/3/ Configuring Hardware and Communication Connections STEP 7, Manual Introduction
Configuration
Prerequisite
Further Information
Configuring and Parameterizing the CP 340 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
长沙工控帮教育科技有限公司整理
5-3
CP 340 Point-to-Point Communication ASE00053578-05
5.2 Parameterizing the Communications Protocols
Once you have entered the CP 340 in the configuration table, you must supply its interface with parameters. In the case of the printer driver, you can also configure message texts for printer output. This process is known as
”parameterization”.
The term ”parameterization” is used in the following to describe the setting of protocol-specific parameters and the configuration of message texts. This is done using the CP 340: Point-to-Point Communication, Parameter Assignment parameterization interface.
Double-click on the CP 340 in the configuration table of STEP 7 or mark the CP 340 and select the menu item Edit > Object Properties to call the
“Properties - CP 340 ” dialog.
Here you can set the basic parameter of the CP 340 (see Section 2.3.1). By selecting the “Parameter” button, you can start the CP 340: Point-to-Point Communication, Parameter Assignment interface.
The CP 340: Point-to-Point Communication, Parameter Assignment parameterization interface must be installed on the programming device/PC under STEP 7 V (see Table 5-1).
The CP 340: Point-to-Point Communication, Parameter Assignment parameterization interface, the function blocks and the programming example are stored on a 3.5” diskette. Process as follows to install the parameterization interface:
1. Insert the diskette into the diskette drive of your programming device/PC.
2. Under Windows 95, start the dialog for installing software by double-clicking on the “software” icon in “Control panel”.
3. In the dialog, select the diskette drive and the setup.exe file and start installation.
4. Now follow the step-by-step instructions of the installation program.
The basic operation of the CP 340: Point-to-Point Communication, Parameter Assignment parameterization interface is the same for all communications processors and is self-explanatory. For this reason, the parameterization interface is not described in detail here.
Also, the on-line help provides sufficient support for working with the parameterization interface.
Configuring and Parameterizing the CP 340 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
长沙工控帮教育科技有限公司整理
5-4 CP 340 Point-to-Point Communication ASE00053578-05
5.3 Managing the Parameter Data
The configuration and parameterization data of the CP 340 is stored in the current project (on the hard disk of the programming device/PC).
When you quit the configuration table (see Section 5.1) via the menu item Station > Save or Station > Save As, the configuration and
parameterization data (including the module parameters) is automatically stored in the project/user file you have created.
You can now load the configuration and parameterization data on-line from the programming device onto the CPU (menu item PLC > Download). The CPU puts the parameters into effect as soon as they are loaded.
The module parameters are automatically transmitted to the CP 340
• when they are loaded onto the CPU and as soon as the CP 340 can be reached via the S7-300 backplane bus,
or
• when the CPU’s operating mode changes from STOP to RUN (CPU start-up).
Unchanged parameters have the default value (see Section 2.3).
The STEP 7 user manual /3/ describes in detail how to
• store the configuration and the parameters
• load the configuration and the parameters into the CPU
• read, modify, copy and print the configuration and the parameters.
/3/ Configuring Hardware and Communication Connections STEP 7, Manual Introduction
Data Management
Loading the Configuration and Parameters
Further Information
Configuring and Parameterizing the CP 340 如果想去掉该提示,请访问并下载:
http://www.jisupdfeditor.com/
长沙工控帮教育科技有限公司整理
6-1
CP 340 Point-to-Point Communication ASE00053578-05