Siemens S7 Downloading the Configuration Data to the Target System, Principle, Type of Interface

Page 69

Installing and Starting the Ethernet CP with STEP 7

2.4Downloading the Configuration Data to the Target System

Principle

The configuration data of the Ethernet CP are downloaded from the hardware configuration. All the configuration data of the S7 station are downloaded including the central configuration, all relevant DP master systems and all parameter settings.

The data of the configured connections must also be downloaded, see below.

Type of Interface

You can download the configuration data to the S7 station on the following paths (interfaces):

SMPI interface

You can use this interface to download configuration data or when assigning a MAC/IP address for the first time (node initialization – for details, refer to the manual /1/ “Assigning Addresses for the First Time”).

SIndustrial Ethernet

Here, you use the PG mode of the Ethernet CP in the S7 station (see also Section 1.3).

Depending on the PG/PC interface used by the station on which you create your configuration, you can download the defined configuration data to the S7 station over the TCP/IP interface or over the ISO interface of STEP 7.

When you download over the IP interface, the CP must already have been assigned an IP address; refer to Chapter 2.3.

When you download over the ISO interface, you can use the preset MAC address. However, please note the following:

Note

If you want to download the configuration data over the ISO interface to a CP with an unchanged, factory-set MAC address and you have configured a different MAC address in your STEP 7 project, you must start the download in NetPro or HW Config; this is the only way you will be prompted to enter the current MAC address. The SIMATIC Manager, on the other hand, aborts the download if the target station cannot be reached.

SIMATIC NET NCM S7 for Industrial Ethernet

69

C79000-G8976-C129–06

Image 69
Contents Simatic NET Classification of Safety-Related Notices Trademarks Safety Instructions Regarding your ProductQualified Personnel Correct Usage of Hardware ProductsCopyright E Siemens AG 2001-2002All rights reserved Prior to StartupS7-CP and / NCM S7 Communication services with / NCM S7Manual PrimerSymbols used in this Manual AudienceScope of this Manual NCM S7 for Industrial Title ContentEthernet ManualTopic Document Additional Information on Simatic S7 and StepConventions Access to Online Help of and NCM S7Contents 175 Programming FCs Functions and FBs for S7 Ethernet CPs 141197 191201 211Communication via Ethernet CPs in S7 Stations Industrial Ethernet Network AccessDefinition All-Round Communication in the Industrial SectorSimatic S7 Communication with S7 Ethernet CPs Types of CommunicationPG/OP communication S5-compatible communication with SEND/RECEIVE interface S7 communicationPROFInet communication Html process controlPossibilities for Communication between Device Types File management and file access with FTPConfiguration and Diagnostics Application PG/OP Communication via Industrial EthernetIsdn Configuration for PG/OP OperationPG Communication with over Industrial Ethernet Requirements for PG CommunicationNetworking the PG / Engineering Station Requirements ProcedureS7 Communication on Industrial Ethernet NodesClient and server functionality at both ends Profibus Configuring S7 Connections Interface in the User Program of the S7 StationBlock type Client Server Described Communication via Ethernet CPs in S7 Stations ISO Transport Connection S5-compatible Communication SEND/RECEIVE Interface1SEND/RECEIVE interface IP Internet ProtocolWAN StationsFETCH/WRITE Services Server Coordinating Access Using the User ProgramConnection Types Networking Stations with Step ConfiguringNetworking in a Multiproject ToolsVariants Variant examples Characteristics/ConfigurationConfiguration of the System Network/Project Variant One Subnet One ProjectView in a Project Simatic S5 Network/Project Variant Two or More Subnets One Project Organization in a Multiproject Network/Project Variant One Subnet More Than One SubProjectPossibilities for stations outside the current project Merging projects in the multiproject Cell level = subproject Communication via Ethernet CPs in S7 Stations Network/Project Variant Connections between Subnets TCP/IP Communication via Ethernet CPs in S7 Stations Installing and Starting the Ethernet CP With Step Installation FunctionsOperation Procedure Configuration data in the projectUDP Creating an Industrial Ethernet Subnet AimsSelect Insert Subnet Industrial Ethernet Properties of Merged Subnets Multiproject Installing and Starting the Ethernet CP with Step Subnet Attachment Entering an Ethernet CP in the Hardware ConfigurationInstalling and Starting the Ethernet CP with Step Installing and Starting the Ethernet CP with Step Graphic Overview in NetPro Displaying the Network Attachments of a StationResult Overview in Table FormSetting Further CP Properties OverviewAddresses Tab Option Meaning / Effect Options TabCPU Default Setting Time-of-Day Synchronization Tab Addressing Tab Diagnostics TabPlant Production Substitute Objects in the ProjectS7-400/2 Non-Siemen Device Ethernet subnet S7-400/3Attaching Non-S7 Stations to the Subnet Project With Substitute Objects ConfiguredSelecting the Subnet Type for Other Station Example Setting Up Connections Configuring Communication ServicesAssigning the Address Options and Recommendations Assigning Addresses for the First Time Applies to Latest CPsSelect the menu command PLC Assign Ethernet Address Installing and Starting the Ethernet CP with Step Alternative Procedure Installing and Starting the Ethernet CP with Step Downloading the Configuration Data to the Target System PrincipleType of Interface Deactivating the MAC Address in the Configuration Saving the Configuration Data in Non-Volatile MemoryDownloading the Configured Connections Relocating the CP in the Hardware Configuration Page SEND/RECEIVE Interface in the User Program Functions FCs How the SEND/RECEIVE Interface Works on the CPUAmounts of Data Ethernet CPPrinciple of Job and Data Transfer Programming the SEND/RECEIVE InterfacePurpose of the FCs Programming ConnectionsAgsend Agrecv Calling FCs in the CPU ProgramSEND/RECEIVE Interface in the User Program Data Exchange S7 CPU Ethernet CP FC Calls Faster than the Transmission TimeFC Calls Slower than the Transmission Time SEND/RECEIVE Interface in the User Program Additional Information Special FeaturesProgramming Data Transfer on TCP Connections Purpose of TCP ConnectionsKnown Problems Recommendations for Use with a High Communications LoadRemedy SEND/RECEIVE Interface in the User Program Configuring Communication Connections Steps ConfiguringProgramming Program the SEND/RECEIVE interface in the user programSimatic S5 Possible Connection ConfigurationsOrganization in a Multiproject Connections Characteristics of a ConnectionTasks of the Ethernet CP Requirements for Configuring Connections New Connection Creating a New ConnectionConfiguring Communication Connections Configuring Communication Connections Connections to Non-S7 Stations using Substitute Objects Connections to Partners in Other ProjectsHandling Connections in a Multiproject Unspecified Connections By any partner via specific Tsap EmptyTo or by a specific partner Configuring Communication Connections Further Functions ToolbarPrint Function in the Overview Tab Assignment to a CP Connections Without AssignmentMenu option Edit Connection PartnerRemain without assignment Connection Partner Display ExampleIntroduction Configuring ISO Transport ConnectionsOpening the Dialog TabsGeneral Tab Specifying the Local Connection EndpointConnection Name Reference Only in Multiproject Attributes Description Access Local EndpointBlock Parameters LaddrAddress Parameters Specifying ISO Transport AddressesTsap Tsap MACLocal and Remote TSAPs Tsap FormatAddresses Tab Unspecified ISO transport connection Default TSAPsSpecifying ISO Transport Dynamic Properties Attributes Description Access Connection EstablishmentDynamics Tab Data TransferAttributes Description Access Using Fetch Passive / Write Passive ISO Transport with the FETCH/WRITE ModeMessages in the Diagnostic Buffer System MemoryLinks to Other Systems Overview Tab Checking ISO Transport Connection PropertiesConnection Overview with Multiple CPUs in an S7 Station Parameter DescriptionConfiguring ISO-on-TCP Connections Properties Specifying the Local Connection Endpoint Parameter Description Access Local Endpoint Address parameter Specifying ISO-on-TCP AddressesAddresses Tab Addresses Tab Unspecified ISO-on-TCP Connection ISO-on-TCP with the FETCH/WRITE Mode 117 Checking ISO-on-TCP Connection Properties Configuring TCP Connection Properties Specifying the Local Connection Endpoint 121 Specifying TCP Addresses Address Parameters and Connection TypesTCP Addresses Tab Specified TCP Connection PortsApplication / Note Port Addresses Addresses Tab Unspecified TCP Connection TCP with the FETCH/WRITE Mode System Memory Checking TCP Connection Properties Configuring UDP Connection Properties Specifying the Local Connection Endpoint Connection Name Reference Only in Multiproject 23 Sending and Receiving on One UDP Connection Specifying UDP AddressesAddresses Tab Specified UDP Connections Addresses Tab Unspecified UDP Connection UDP with Broadcast and Multicast When to Use Multicast instead of Broadcast ?135 Addresses Tab Connection to all Broadcast Nodes Addresses Tab Connection to all Multicast Nodes Checking the Properties of a UDP Connection Program-Controlled Addressing Free UDP ConnectionRouting to Distribute Load Routing to Distribute LoadProgramming FCs Functions and FBs for S7 Ethernet CPs Block Library General Notes on FCs / FBsWhich Block Version Should I Use? FCs and Module Replacement SparesProgramming FCs Functions and FBs for S7 Ethernet CPs Calling Communication Blocks for an S7-300 Setting Parameters for FC CallsSetting Block Parameters Automatically1 Response to Incorrect AddressesCause Reaction / Code Status Information output parameters Parameters for Specifying a CPU Data Area input parametersSpecifying the Data Area on the CPU Evaluating Status CodesCan be used with Meaning FCs for Configured ConnectionsAglsend / Aglrecv Working without the Job Header 8EH 0BH Working with the Job HeaderMeaning of the Block CallAgsend / Aglsend How the Block Works Time Parameter Declara Type Possible Remarks Tion Values Explanation of the Formal ParametersOn ISO Condition CodesTransport On UDP8F3AH Done Error Status8F7FH BEU Example of Agsend160 Agrecv / Aglrecv 2 FC6 Agrecv / FC60 AglrecvProgramming FCs Functions and FBs for S7 Ethernet CPs Status code is updated at each block call Recv Input ANY NDR Output BoolStatus Output Word LEN Output INT NDR Error Status166 Locks external data access FCs for Access Coordination with FETCH/WRITEAccess with FETCH/WRITE With FETCH/WRITELocked = Aglock FETCH/WRITE Aglock FETCH/WRITE1 FC7 Aglock Locked Output Bool 2 FC8 Agunlock 172 Numeric Data / Resource Requirements of the FCs NameMC7 174 NCM S7 Diagnostics Where to Find Further Information Diagnostic Options in StepOverview What You Should Already KnowFunctions of NCM S7 Diagnostics General diagnostic and statistical functionsMode-Dependent Functions Alternative Installing and Starting NCM S7 DiagnosticsStructure General Menu Commands Menu MeaningOptionsCustomize 181 Initial Situation Starting Diagnostics from the NCM Program GroupMPI ProfibusStarting Diagnostics from the Properties Dialog of the CP InternetworkingTCP/IP Other Startup Options If the CP is in the RUN mode How to Use DiagnosticsCall-Specific Diagnostic Functions 187 Meaning Checklist for ‘Typical Problems‘ in a SystemProblem Possible Cause Identifying the Cause and Remedy Checklist for General CP FunctionsEvaluate diagnostic buffer Communication Connections ChecklistCheck the user program Evaluate status bytes in AG-SENDFirmware Loader Firmware ApplicationUses of the Firmware Loader Load FilesLoading Firmware NCM S7 Firmware Loader menu commandStarting the Download 1st Step3rd Step 2nd Step195 196 References References Sinec CP Order Numbers Glossary General Section Industrial Ethernet GatewayMulticast NCM S7 for Industrial EthernetPROFInet ServicesProtocol SegmentSystem SubnetTransmission rate Transport layerBase address Ind. Ethernet stationISO-on-TCP MAC address Media Access Control MACRFC1006 S5S5 connectionPROFInet PROFInet Profibus devicePROFInet device PROFInet device, proxyPage FETCH/WRITE Structure of Write Frames Structure of Fetch Frames S7 Address Area Parameter ValuesORG ID DbnrAddress Area PI/PQ216 New in Release 04 / up to V5.1 SP2 New in Release 05 / V5.1 SP3Page Index-223 NCM S7 Technical Support Service & Support on the Internet
Related manuals
Manual 21 pages 33.88 Kb

S7 specifications

The Siemens S7 series represents a cornerstone in the realm of programmable logic controllers (PLCs), developed by Siemens, a leading company in industrial automation. Widely used across various industries, the S7 series offers robust solutions for controlling machinery and processes, thanks to its reliable performance, flexibility, and scalable architecture.

One of the key features of Siemens S7 PLCs is the modularity of their design. Each system can be configured to meet specific application requirements due to the ability to mix various input/output modules, CPUs, and communication processors. This modular approach allows for the customization of systems to suit diverse automation tasks, providing end users with the adaptability required for modern manufacturing environments.

The S7 series encompasses several models, including the S7-1200, S7-300, and S7-1500. The S7-1200 is particularly suited for small to medium-sized applications, offering a compact design and integrated communication interfaces. In contrast, the S7-300 is designed for more extensive and complex control systems, making it ideal for large-scale industrial applications. The S7-1500 stands out with its advanced performance metrics, rich feature set, and high-speed processing capabilities, making it perfect for demanding applications that require real-time control and extensive data handling.

Siemens also emphasizes the importance of communication technologies within the S7 series. With options such as PROFINET, PROFIBUS, and EtherNet/IP, the S7 PLCs can seamlessly integrate into existing automation infrastructures, ensuring smooth data exchange between devices. The incorporation of web-based technologies and cloud connectivity further enables remote monitoring and control of systems, enhancing operational efficiency.

Another notable characteristic of Siemens S7 PLCs is the use of TIA Portal (Totally Integrated Automation Portal), an innovative software platform that simplifies the engineering process. TIA Portal allows users to program, configure, and diagnose their automation devices in a single environment, reducing setup times and improving productivity.

In conclusion, the Siemens S7 series stands out due to its modular design, range of models suitable for various applications, advanced communication technologies, and user-friendly programming software. This combination of features and characteristics makes S7 PLCs a preferred choice for industries seeking reliable and efficient automation solutions. As industrial demands continue to evolve, Siemens S7 PLCs remain at the forefront, adapting to technological advancements and setting benchmarks in the automation field.