Professional Documents
Culture Documents
Manual Part B
CP 343-1 Lean
6GK7 3431CX100XE0 for SIMATIC S7300 / C7300 as of hardware version 2, as of firmware version V2.2
LEDs
Note In this document, the term CP is used instead of the full product name.
B2
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
Contents
Contents
Contents Part A
Ethernet CPs general information . . . . . . . . . . . . . . . . . . . see general part
Note Please remember that Part A of the device manual also belongs to the description of the CP. Among other things, it contains explanations of the safety notices and general information that applies to all S7 CPs for Industrial Ethernet. Part A of the manual release 05/2008 and this Part B belong together You can download the general Part from the Internet:
http://support.automation.siemens.com/WW/view/en/30374198
Contents Part B
1 Properties / Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1 1.2 1.3 2 2.1 2.2 2.3 3 3.1 3.2 3.3 4 5 Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Communication services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operation in controller device families . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Procedure / steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module replacement without PG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Controlling the operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B 5 B5 B5 B 6 B8 B 8 B11 B11 B13 B13 B16 B17 B18 B22 B22 B23 B24 B25 B25 B26
LED Displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Performance Data / Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.1 5.2 5.3 5.4 5.4.1 5.4.2 Number of possible connections over Ethernet . . . . . . . . . . . . . . . . . . . Characteristic data for S7 communication . . . . . . . . . . . . . . . . . . . . . . . . Characteristics of the SEND/RECEIVE interface . . . . . . . . . . . . . . . . . . PROFINET IO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Characteristic data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating PROFINET IO alongside other services . . . . . . . . . . . . . . . .
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B3
Contents
5.4.3 5.5 6 7
B26 B27 B28 B29 B29 B30 B32 B32 B33 B35 B36 B36 B36 B37 B37 B39 B40 B41 B41 B42 B43 B44 B45 B46
The CP as Web server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Compatibility with Predecessor Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1 7.2 Enhanced functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Replacing older modules: spares / upgrading . . . . . . . . . . . . . . . . . . . . . Clear/reset and Reset to factory settings . . . . . . . . . . . . . . . . . . . . . . . . Network settings with Fast Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Influence of MPI on connections via Industrial Ethernet . . . . . . . . . . . . IP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Detection of double IP addressing in the network . . . . . . . . . . . . . . . . . Obtaining the IP address over DHCP: CP STOP on expiry of the lease . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Media redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Time-of-day synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SNMP agent . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Possible security gaps on standard IT interfaces: preventing illegal access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Interface in the user program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programmed communication connections with FB55 IP_CONFIG (PROFINET interface) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programmed communications connections Assigning parameters to the ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Further Notes on Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1 8.2 8.3 8.4 8.4.1 8.4.2 8.5 8.6 8.7 8.8 8.9 8.9.1 8.9.2
9 10 11 12
How to Load New Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Technical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Other Information available about the CP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . References and Literature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B4
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
Properties / Services
1
1.1
Properties / Services
Application
The CP 343-1 Lean communications processor is intended for operation in a SIMATIC S7-300 or SIMATIC C7 automation system. It allows attachment of the S7-300 to Industrial Ethernet and supports PROFINET IO. To integrate the CP in a linear bus or ring, to connect a further Ethernet device or to use PROFINET media redundancy, a 2-port real time ERTEC switch with autocrossing, autonegotiation and autosensing was integrated in the CP.
1.2
Communication services
The CP supports the following communication services: S PROFINET IO PROFINET IO allows direct access to IO devices over Industrial Ethernet. PROFINET IO device Integration of the SIMATIC S7-300 programmable controller over the CP as intelligent PROFINET IO device. S S7 communication and PG/OP communication with the following functions: PG functions (including routing) Operator control and monitoring functions (HMI) Server for data exchange on S7 connections configured at one end only without communication blocks on the S7-300 / C7-300 station S Open communications services with the following functions: SEND/RECEIVE interface over ISO-on-TCP, TCP and UDP connections UDP frame buffering on the CP can be disabled during configuration. When necessary, this allows you to achieve a shorter reaction time between the arrival of a UDP frame and its evaluation on the CPU. Multicast over UDP connection The multicast mode is made possible by selecting a suitable IP address when configuring connections. FETCH/WRITE services (server; corresponding to S5 protocol) over ISO-on-TCP connections and TCP connections; The addressing mode can be configured for FETCH/WRITE access as the S7 or S5 addressing mode.
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B5
Properties / Services
LOCK/UNLOCK with FETCH/WRITE services; Connection diagnostics using the user program
1.3
Other services
Within an Ethernet network with a ring topology, the CP supports the media redundancy protocol MRP. You can assign the role of redundancy client to the CP. There must be another node in the ring other than the MRP redundancy manager. S Time-of-day synchronization over Industrial Ethernet using the following configurable modes: SIMATIC mode The CP receives MMS time messages and synchronizes its local time and the time of the CPU. (accuracy approx. +/ 1 second) You can choose whether or not the time of day is forwarded. The forwarding direction can also be selected (station > LAN or LAN > station). or NTP mode (NTP: Network Time Protocol) The CP sends time-of-day queries at regular intervals to an NTP server and synchronizes its local time of day and the time of the CPU (accuracy approx. +/ 1 second). S Addressing using a factory-set MAC address The CP can be reached over the default MAC address to allow an IP address to be assigned. S SNMP Agent The CP supports data queries over SNMP version V1 (Simple Network Management Protocol). It delivers the content of certain MIB objects according to the MIB II standard and LLDP MIB. S Time of day for the diagnostic buffer If a time master exists (using the NTP or SIMATIC mode), the time for CP-internal diagnostic buffer is synchronized over the LAN. S Module access protection To protect the module form accidental or unauthorized access, protection can be configured at various levels. S IP configuration For the PROFINET interface, you can configure how and with which method the CP is assigned the IP address, the subnet mask and the address of a gateway.
B6
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
Properties / Services
As an alternative to STEP 7, you have the option of assigning the connection configuration via a block interface in the user program (FB55: IP_CONFIG). S Web diagnostics With the aid of Web diagnostics, you can read out the diagnostic data from a station connected via the CP to a PG/PC with an Internet browser. If you do not require this function, you can disable it in the STEP 7 configuration and disable the port 80.
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B7
2
2.1
Table 2-1
Use of the CP with S7-300 CPU Order number 6ES7 3121AD100AB0 6ES7 3121AE130AB0 6ES7 3125BD010AB0 6ES7 3125BE030AB0 6ES7 312-5AC02-0AB0 6ES7 313-1AD03-0AB0 6ES7 3135BE010AB0 6ES7 3135BF030AB0 6ES7 3136CE010AB0 6ES7 3136CF030AB0 6ES7 3136BE010AB0 6ES7 3136BF030AB0 6ES7 3146AE010AB0 6ES7 3146AE020AB0 6ES7 3146AE030AB0 6ES7 3146AE040AB0 6ES7 3141AF100AB0 6ES7 3141AF110AB0 6ES7 3141AG130AB0
CPU 312 CPU 312C CPU 312 IFM CPU 313 CPU 313C CPU 313C-2 DP CPU 313C-2 PtP CPU 314
B8
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
Table 2-1
Use of the CP with S7-300 CPU Order number 6ES7 3145AE030AB0 6ES7 3145AE100AB0 6ES7 3146CF020AB0 6ES7 3146CG030AB0 6ES7 3146BF010AB0 6ES7 3146BF020AB0 6ES7 3146BG030AB0 6ES7 315-1AF03-0AB0 6ES7 3152AF030AB0 6ES7 3152AG100AB0 6ES7 3152AH140AB0 6ES7 3152EG100AB0 6ES7 3152EH130AB0 6ES7 3152EH140AB0 6ES7 3156FF010AB0 6ES7 3152FH100AB0 6ES7 3152FH130AB0 6ES7 3152FJ140AB0 6ES7 3156TG100AB0 6ES7 316-2AG00-0AB0 6ES7 3172AJ100AB0 6ES7 3172EJ100AB0 6ES7 3172EK130AB0 / 6ES7 317-2EK14-0AB0 6ES7 3176FF000AB0 6ES7 3176FF030AB0 6ES7 3172FJ100AB0 6ES7 3172FK130AB0 / 6ES7 317-2FK14-0AB0 6ES7 3176TJ100AB0 6ES7 318-2AJ00-0AB0 6ES7 3183EL000AB0 6ES7 3183FL000AB0 6ES7 614-1AH03-0AB3
CPU 315T2 DP CPU 316-2 DP CPU 3172 DP CPU 3172 PN/DP CPU 317F2 DP CPU 317F2 PN/DP CPU 317T2 DP CPU 318-2 CPU 3193 PN/DP CPU 3193 F PN/DP CPU 614
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B9
Table 2-2
Use of the CP in C7 control systems C7 Order number 6ES7 6131CA010AE03 6ES7 6131CA020AE3 6ES7 6332BF020AE03 6ES7 6352EC010AE3 6ES7 6352EC020AE3 6ES7 6352EB010AE03 6ES7 6352EB020AE3 6ES7 6362EC000AE03 6ES7 6362EC000AE3 6ES7 6362EB000AE3
C7613 C7633 DP C7635 Keys C7635 Touch C7636 Keys C7636 Touch
B10
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
2.2
Configuration
The following version of STEP 7 is required:
Table 2-3 STEP 7 version V5.2 or higher V5.4 or higher Functions of the CP The range of functions of the CP 343-1 Lean (CX00) can be configured. Requirement for configuring the full functionality of the CP 343-1 Lean (CX10 with firmware V1.0) including PROFINET IO. Requirement for configuring the new functions of the CP. Requirement for configuring the new functions of the CP.
V5.4, Service Pack 5 + HSP 1043 V5.4, Service Pack 5, Hotfix 2 + HSP 1043
Install the HSP in STEP 7 / HW Config in the Options menu with the Install Hardware Updates menu command. You will find further information in the STEP 7 online help (under HSP or Hardware update). After installing the HSP, close STEP 7. After restarting STEP 7, the CP is in the catalog of HW Config.
2.3
Programming
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B11
Notice We recommend that you always use the latest block versions for all module types. You will find information on the latest block version and links to download the current blocks in our Customer Support area on the Internet:
http://support.automation.siemens.com/WW/news/en/8797900
With the older module types, this recommendation assumes that you are using the latest firmware for the particular block type.
Caution The communication blocks for S7-300 (SIMATIC NET block libraries for S7-300 in STEP 7) must not be called in more than one priority class! If, for example, you call a communication block in OB1 and in OB35, block execution could be interrupted by the higher-priority OB. If you call blocks in more than one OB, you must write your program so that a communication block that is currently executing cannot be interrupted by another communication block (for example by disabling/enabling SFC interrupts).
B12
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
3
3.1
1. Install the CP on the S7 standard rail. 2. Establish the connection via the enclosed bus connector to the backplane bus. Note
The CP cannot be used in an extension rack that is connected via the IM 365! Reason: The required communication bus is not connected to the extension rack via the IM 365. 3. Connect the CP to the power supply. Notes Follow the steps as described in detail in /1/ when wiring between the power supply and the CPU.
S The CPU, CP and IM (if one exists) must be connected to the same power supply. S Only wire up the S7-300 / C7-300 with the power switched off!
4. Connect the CP to Industrial Ethernet. 5. The remaining steps in commissioning involve downloading the configuration data. To download the configuration, you can connect the PG as follows:
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B13
Step 6. Use the diagnostic functions during commissioning and to analyze problems.
S Standard information using HW Config S Web diagnostics S If applicable, evaluation of the alarm block
FB54 in the user program
B14
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
Note An Ethernet cable can also be inserted and removed with the power supply on.
Note The hinged front panel must be kept closed during operation. The module must be installed so that its upper and lower ventilation slits are not covered, allowing adequate ventilation.
Warning When used under hazardous conditions (zone 2), the devices must be installed in an enclosure. Where ATEX 95 (EN 6007915:2005, EN 600790:2006) applies, this enclosure must meet at least IP54 in compliance with EN 60529. WARNING EXPLOSION HAZARD: DO NOT DISCONNECT EQUIPMENT WHEN A FLAMMABLE OR COMBUSTIBLE ATMOSPHERE IS PRESENT.
Warning The device is designed for operation with safety extra-low voltage (SELV). This means that only safety extra-low voltages (SELV) complying with IEC950/EN60950/ VDE0805 may be connected to the power supply terminals. The power unit for supplying the device must comply with NEC Class 2 as described by the National Electrical Code(r) (ANSI/NFPA 70). The power of all connected power units in total must correspond to a limited power source (LPS).
Configuration
To set up the CP for the communications services, note the information on the topic of configuration in Section 2.2 of this device manual.
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B15
3.2
General procedure
The configuration data for the CP is stored either on the CPU or on the CP. If the data is stored on the CPU, the module can be replaced with a module of the same type (identical order number) without a PG. This option can be selected in the properties dialog of the CP (in the Options tab Replace Module without PG). We recommend that you store the configuration data on the CPU if the configuration memory of the CPU allows. For information on replacing previous modules, refer to the section Compatibility in Chapter 7.
B16
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
3.3
Procedure
S Switch from STOP to RUN: The CP reads the configured and/or downloaded data into the work memory and then changes to the RUN mode. S Switch from RUN to STOP: The CP changes to STOP. Established connections (ISO-on-TCP, TCP, UDP connections) are terminated (transitional phase with LED display STOPPING); The reaction is as follows in STOP: The communications connections mentioned above are terminated; The configuration and diagnostics of the CP is possible (system connections for configuration, diagnostics, and PG channel routing are retained); HTTP access is possible The routing function is active The time of day is not forwarded PROFINET IO is disabled.
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B17
LED Displays
LED Displays
The display on the front panel consists of 8 LEDs that indicate the operating mode and the communication status.
Front panel:
The LEDs have the following meaning: S S S S S S S S S SF: BF: DC5V: Group error Bus fault PROFINET IO DC 5 V power supply via the backplane bus (green = OK)
RX/TX: Acyclic data exchange, for example SEND/RECEIVE (not relevant for PROFINET IO data) RUN: RUN mode STOP: STOP mode X1 / P1: Link status of Ethernet port 1 X1 / P2: Link status of Ethernet port 2 MAINT Maintenance necessary (Check/evaluate the diagnostic buffer)
B18
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
LED Displays
CP Operating Mode
The CP is configured as a PROFINET IO device; there is no data exchange with the PROFINET IO controller.
Legend:
(colored) on
off
(colored) flashing
any
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B19
LED Displays
Legend:
(colored) on
off
(colored) flashing
B20
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
LED Displays
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B21
5
5.1
Table 5-1 Characteristic Permitted number of simultaneous connections in total over Industrial Ethernet
B22
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
5.2
Table 5-2
S Operator control and monitoring functions (HMI) Please refer to /1/ for the values for your CPU.) S S7 connections configured at one end
LAN interface data record length per protocol unit
S sending S receiving
Note Measurements of transmission and reaction times in Ethernet, PROFIBUS and PROFINET networks for a series of configurations can be found on the Internet at the following address:
http://support.automation.siemens.com/WW/view/en/ 25209605
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B23
5.3
Table 5-3 Characteristic Number of ISO-on-TCP connections + TCP connections + UDP connections in total Explanation / values 8 maximum Notes:
The transmission of UDP frames is unconfirmed, in other words the loss of messages is not detected or displayed by the send blocks (AG_SEND). To avoid communication overload resulting from a high broadcast load, the CP does not permit reception of UDP broadcast. Size of the frame buffer with buffering enabled: 2 Kbytes Note: Following a buffer overflow, newly arriving frames are discarded.
Note Measurements of transmission and reaction times in Ethernet, PROFIBUS and PROFINET networks for a series of configurations can be found on the Internet at the following address:
http://support.automation.siemens.com/WW/view/en/ 25209605
B24
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
5.4
PROFINET IO
5.4.1
Characteristic data
CP as PROFINET IO device
Use the following components in the hardware catalog of STEP 7 / HW Config to configure the CP as PROFINET IO device : PROFINET IO > I/O > SIMATIC S7-CP > CP... > 6GK.. > V2.2 In contrast, use the component of the hardware catalog of STEP 7 / HW Config listed below in the following situations: S The CP is assigned as an IO device to an IO controller that does not support expanded diagnostics. PROFINET IO > I/O > SIMATIC S7-CP > CP... > 6GK..(migration) > V2.2 The CP supports the following maximum configuration as a PROFINET IO device:
Table 5-4 Characteristic Size of the input area of the PROFINET IO device Size of the output area of the PROFINET IO device Size of the IO data area per submodule in a PROFINET IO device Explanation / values 512 bytes max. 512 bytes max. 240 bytes 240 bytes 240 bytes 32
S Inputs S Outputs
Size of the consistency area for a submodule Maximum number of submodules
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B25
Note Measurements of transmission and reaction times in Ethernet, PROFIBUS and PROFINET networks for a series of configurations can be found on the Internet at the following address:
http://support.automation.siemens.com/WW/view/en/ 25209605
5.4.2
5.4.3
B26
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
5.5
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B27
Web diagnostics
The CP provides you with the function of a Web server for access using a Web browser. The CP provides HTML pages for Web diagnostics. With the following address, you have access to Web diagnostics: http:\\<IP address of the CP> Diagnostic buffer entries are output in English on the diagnostic pages. This is not influenced by the language selected for display of the Web pages. For detailed information on Web diagnostics, refer to the general Part A of this manual. Select the option Activate Web server under Options in the properties dialog of the CP.
Web browser
To access the HTML pages on the CP, you require a Web browser. The following Web browsers are suitable for communication with the CP (other browsers also possible): S S S Internet Explorer (recommended version: 6.0 or higher) Opera (recommended version: 9.2 or higher) Firefox (recommended version: 2.0 or higher)
You will find these Web browsers, information and add-ons on the Internet.
B28
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
7
7.1
New: Enhanced functions compared with the CP 343-1 Lean CX10 with firmware version V2.0
The following features can be used with the module as of firmware version 2.2: S S S S S S S S S S S S Advanced Web diagnostics (can be disabled) New GSDML file Configurable PROFINET interface with planning of port topology Advanced PROFINET diagnostics LLDP and DCP frames can be disabled for specific ports Media redundancy (MRP) in PROFINET IO Use of the control block (FC10) I&M functions (configurable plant designation and location identifier) Configurable protection levels UDP buffering (can be disabled) New options for timeofday synchronization Support of optimized PROFINET blocks FC11/FC12 version V3.0
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B29
7.2
Distinction
When replacing existing modules with the module described here, the following variants must be distinguished: S Use as a replacement: The situation described here is when an existing module can be replaced by a new module by removing and inserting it with no change to the configuration. S Upgrading (functionally compatible module replacement) The situation in this case is when the module described here can be used instead of an older module as long as adaptations are made in the configuration. The CP used previously is replaced by the new CP in the configuration. Unless stated otherwise, the range of functions of the older module continues to be supported in both cases. You can also upgrade modules listed under use as a replacement. This becomes necessary when you want to use new features that were not available on the previously used module.
Use as a replacement:
The CP 343-1 Lean (6GK7 343-1CX10-0XE0 - firmware version 2.0) described here can be used as a replacement for the following predecessor products: S CP 343-1 Lean (6GK7 343-1CX00-0XE0) If you replace a CP 343-1 Lean (CX00) module with a CP 343-1 Lean (CX10) and have STEP 7 version < V5.4, all the previous functions of the module remain available. Any port settings relating to Ethernet are adopted for port 1. The additional second RJ-45 port is also available in the Automatic setting mode. S CP 343-1 Lean (6GK7 343-1CX10-0XE0, firmware version 1.0, version 2.0 or version 2.1) All previous functions remain available. The new functions of the relevant firmware version are available as well.
Upgrading
The following predecessor products can be upgraded to the CP 343-1 Lean (6GK7 343-1CX10-0XE0) described here: S See modules in use as a replacement
B30
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
Notice For new user programs, please make sure that you always use the latest block versions. You will find information on the latest block version and links to download the current blocks on the Internet:
http://support.automation.siemens.com/WW/news/en/8797900
Module replacement
When replacing an older module with the module described here, keep to the steps outlined below:
Table 7-1 Originally configured module 6GK7 343-1CX00-0XE0 Configuration steps Case a: Configuration unchanged / replacement module If you do not have any new requirements compared with the previous CP (for example, PROFINET IO mode), no modification of the project engineering is necessary. Case b: Adapted configuration / upgrade If you want to use the extended functionality of the new CP, follow the steps below: 1. In STEP 7 / HW Config, replace the previously configured CP Lean with the new module from the hardware catalog. 2. Extend your configuration to match your requirements, for example, by enabling the CP for PROFINET IO device mode. 3. Save, compile and download the configuration data to the CPU again.
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B31
8
8.1
Available functions
The following two functions are available for the CP: S Clear / reset Following this memory reset, the CP retains the preset MAC address and the retentive parameters. The CP is therefore immediately ready for downloads using the IP address. The retentive parameters include: IP address, subnet mask and, if applicable, router address LAN settings S Resetting to factory settings
Note Using the functions described here to reset the memory, you do not modify the configuration data on the CPU! If you subsequently upload the configuration data from the CPU to a PG you will always object the configuration data that were previously on the CP (with parameters, connections, IP address).
B32
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
8.2
Autocrossing mechanism
The automatic setting also includes an autocrossing mechanism. With autocrossing, you can connect network components and end devices using either crossover or straight-through cables.
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B33
STEP 7 / NCM Diagnostics and Web diagnostics display the network setting
Diagnostics of the port settings for the CP described here is possible using the entries in the diagnostic buffer over Web diagnostics, SNMP, NCM diagnostics, and the LED displays. You will find information on the currently used network settings in STEP 7 as follows: S S S In NCM Diagnostics under the diagnostic object Industrial Ethernet in the Network Attachment group box; In HW Config with the menu command PLC > Module Information; In WEB diagnostics.
Further notes:
S Autocrossing If you disable the automatic setting option, autocrossing is also disabled; which cable you can then use depends on the role of the CP (network component or end device). S 10/100 Mbps network components without autonegotiation If you use 10/100 Mbps network components that do not support autonegotiation, you may have to set the mode manually during CP configuration using STEP 7 / HW Config (in the properties dialog of the CP). As default, the CP is configured for automatic detection. S Forcing a specific network setting instead of Autonegotiation If your application requires a fixed network setting instead of Autonegotiation, both partner devices must have the same setting. S No reaction to Autonegotiation query with manual configuration Remember that if you configure the CP manually, it will not react to an autonegotiation query! As a result, a connected partner will not be able to make the required network setting and communication will not be established. Example: If, for example, the CP is set to 100 Mbps full duplex, a CP connected as partner will set 100 Mbps half duplex. Reason: Due to the fixed setting, no autonegotiation response is possible; the connected partner recognizes the 100 Mbps with autosensing but nevertheless remains in half duplex.
B34
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
Recommendation: Change individual network settings only over MPI. If you modify the LAN settings in the properties dialog of the CP in the Port Parameters tab, these changes will be adopted by the CP and activated when the configuration data is downloaded to the CP. In some situations, the device may then no longer be obtainable over Ethernet. We therefore recommend that you download configuration data to the S7 station over an MPI connection if you change this setting. If you download the configuration data over the LAN interface, depending on the selected setting, it is possible that the current download will not be completed due to the changes to the configuration taking immediate effect and an inconsistent configuration is reported. Example: The download is started initially with the setting TP/ITP at 10 Mbps half duplex. If the Individual network setting is now changed to 100 Mbps full duplex, the download cannot be completed.
8.3
On the FC interface in the user program, the condition codes made up of the DONE, ERROR and STATUS parameters must be evaluated in FC5 / FC6.
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B35
8.4
IP configuration
8.4.1
8.4.2
B36
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
8.5
Media redundancy
You can use the CP in a ring topology with media redundancy. The CP can only be a redundancy client. You create the configuration in STEP 7 in the properties dialog of the PROFINET interface in the Media redundancy tab (HW Config: Row X2 (<device name>)). For more detailed information on configuration, refer to the online help of the Media redundancy tab and in Part A of the manual.
8.6
Time-of-day synchronization
General rules
The CP supports the two modes explained below for time-of-day synchronization: S S SIMATIC mode NTP mode (NTP: Network Time Protocol)
Note No automatic changeover to daylight saving is defined in NTP. As a result, you may need to implement this changeover using a program application.
Notice Note the following regarding time-of-day synchronization in NTP mode: If the CP recognizes an NTP frame as being not exact (example: NTP server is not externally synchronized), it is not forwarded to the communication bus. If this problem occurs, none of the NTP servers is displayed as NTP master in the diagnostics; rather all NTP servers are displayed only as being accessible.
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B37
B38
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
8.7
SNMP agent
The CP also supports the LLDP-MIB according to IEEE 802.1AB and the PROFINET expansions of the LLDP-MIB (see also IEC 61158-10-6). Exceptions / restrictions: S Write access is permitted only for the following MIB objects of the system
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B39
group: sysContact, sysLocation and sysName; For all other MIB objects / MIB object groups, only read access is possible for security reasons. S Traps are not supported by the CP.
8.8
B40
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
Notice We expressly point out that automation networks must be isolated from the rest of the company network by suitable gateways (for example using tried and tested firewall systems). We do not accept any liability whatsoever, whatever the legal justification, for damage resulting from non-adherence to this notice. If you have questions on the use of firewall systems and IT security, please contact your local Siemens office or representative. You will find the address in the SIMATIC catalog IK PI or on the Internet at
http://www.automation.siemens.com/partner/guisearch.asp
8.9
8.9.1
Note If the CP is in PG STOP mode, the configuration is downloaded using FB55; the CP then changes automatically to RUN.
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B41
8.9.2
B42
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
Requirements
You download new firmware to a SIMATIC NET CP using the firmware loader shipped with STEP 7 / NCM S7. Requirements for downloading S To download firmware, you require an Industrial Ethernet CP module in the PG/PC (for example, CP 1613) or a normal Ethernet module with the Softnet software package. The S7-ONLINE interface must be set to the ISO Industrial Ethernet protocol. It is not possible to download using TCP/IP (and therefore not to other networks).
SF (red)
BF (red)
RUN (green)
STOP (yellow)
CP operating mode
Downloading firmware. Firmware was successfully downloaded. Firmware could not be downloaded.
Legend:
(colored) on
off
(colored) flashing
any
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B43
10 Technical Specifications
10
Technical Specifications
10 Mbit/s und 100 Mbit/s 2 x RJ-45 jack DC +24 V (permitted range: +20.4 V through +28.8 V) 0.2 A maximum TP: approx. 0.2 A maximum 5.8 W 0 C to +60 C in vertical operation 0 C to +40 C in horizontal operation 40 C to +70 C 95% at +25 C up to 2000 m above sea level According to ISAS71.04 severity level G1, G2, G3 Compact module S7-300; single width 40 x 125 x 120 220 g
In addition to this, all the information in the S7-300 reference manual /13/ Module Data in the section General Technical Specification on the topics listed below applies to the CP: S S S S Electromagnetic compatibility Transportation and storage conditions Mechanical and climatic ambient conditions Insulation tests, class of protection and degree of protection
B44
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
11
11
GSDML file
You will find the GSDML file for the CP described here on the Internet under the following entry ID (Entry type Download):
http://support.automation.siemens.com/WW/view/en/19698639
You will find the following information in the general Part A of the manual:
S S S S S A list of the documents require for configuration, commissioning and operation (Preface) Detailed descriptions of configuration and commissioning of the module Description of Web diagnostics and NCM S7 Diagnostics The approvals of the device (Appendix) A glossary (Appendix)
The general Part A of the manual is available in the Manual Collection that ships with the device or on the Internet at the following address (Entry type Manuals):
http://support.automation.siemens.com/WW/view/de/27103175
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B45
12
Enter the ID of the relevant manual as a search key. The ID is shown below the literature name in brackets. Manuals that are installed with the online documentation of the STEP 7 installation on your PG/PC, can be selected from the Start menu (Start > SIMATIC > Documentation). You fill find a overview of the SIMATIC documentation at:
http://www.automation.siemens.com/simatic/portal/html_76/techdoku.htm
/2/
B46
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
12
/4/
SIMATIC NET, Instructions Commissioning PC Stations Siemens AG (SIMATIC NET Manual Collection) SIMATIC Configuring Hardware and Connections with STEP 7 Part of the STEP 7 documentation package STEP 7 Basic Knowledge Part of the online documentation of STEP 7 Siemens AG
/5/
/7/
/8/
On programming
/9/ SIMATIC NET Functions (FC) and Function Blocks (FBs) for SIMATIC NET S7 CPs Programming Manual Siemens AG (SIMATIC NET Manual Collection) (ID: 30564821) Version history of the SIMATIC NET function blocks and functions for SIMATIC S7 Reference work Siemens AG (SIMATIC NET Manual Collection) SIMATIC Programming with STEP 7 Part of the STEP 7 documentation package STEP 7 Basic Knowledge Part of the online documentation of STEP 7 Siemens AG
/10/
/11/
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B47
12
/12/
Automatisieren mit STEP 7 in AWL und SCL (ISBN: 9783895782800) / Automating with STEP 7 in STL and SCL (ISBN: 9783895782954) User manual, programming manual Berger, Hans Publicis KommunikationsAgentur GmbH, GWA, 2006
/15/
/17/
B48
12
/18/
S7Beans / Applets for ITCPs Programming Aid SIEMENS AG (SIMATIC NET Manual Collection) (ID: 24843908)
/20/
/22/
/23/
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06
B49
12
Other topics
/24/ Ethernet, IEEE 802.3 (ISO 88023) (http://www.ieee.org) RFC1006 (ISO Transport Service on top of the TCP Version: 3) Request For Comment (http://www.ietf.org) RFC793 (TCP) (http://www.ietf.org) RFC791 (IP) (http://www.ietf.org)
/25/
/26/
/27/
B50
CP 343-1 Lean for Industrial Ethernet / Manual Part B Release 09/2009 C79000-G8976-C198-06