Siemens S7 appendix Other Startup Options

Page 184

NCM S7 Diagnostics

Other Startup Options

In the Properties dialog of the connections:

1.Select the PLC"Activate Connection Status menu command to activate online access.

2.Select the “Special Diagnostics” button in the “Status Information” tab.

In the hardware configuration tool HW Config:

1.With the S7 station online, select the PLC"Module Status menu command;

2.Select the “Special Diagnostics” button in the dialog that is opened.

Note

To operate several diagnostic connections at the same time, you can start NCM S7 Diagnostics more than once.

You can also start NCM S7 Diagnostics twice with an online connection to the same CP; this can, for example, be useful if you want to monitor the diagnostic buffer at the same time as running diagnostic functions on a connection.

Requirement: You have an online connection available via the LAN (ISO or TCP/IP) on the one hand and an online connection via the communication (K) bus on the other (alternatively via the CPU or via PG channel routing via a further CP).

184

SIMATIC NET NCM S7 for Industrial Ethernet

C79000-G8976-C129–06

Image 184
Contents Simatic NET Classification of Safety-Related Notices Safety Instructions Regarding your Product TrademarksQualified Personnel Correct Usage of Hardware ProductsPrior to Startup Copyright E Siemens AG 2001-2002All rights reservedCommunication services with / NCM S7 S7-CP and / NCM S7Manual PrimerAudience Symbols used in this ManualScope of this Manual Title Content NCM S7 for IndustrialEthernet ManualAdditional Information on Simatic S7 and Step Topic DocumentAccess to Online Help of and NCM S7 ConventionsContents Programming FCs Functions and FBs for S7 Ethernet CPs 141 175191 197201 211Communication via Ethernet CPs in S7 Stations Network Access Industrial EthernetDefinition All-Round Communication in the Industrial SectorTypes of Communication Simatic S7 Communication with S7 Ethernet CPsPG/OP communication S7 communication S5-compatible communication with SEND/RECEIVE interfacePROFInet communication Html process controlFile management and file access with FTP Possibilities for Communication between Device TypesConfiguration and Diagnostics PG/OP Communication via Industrial Ethernet ApplicationConfiguration for PG/OP Operation IsdnRequirements for PG Communication PG Communication with over Industrial EthernetNetworking the PG / Engineering Station Procedure RequirementsNodes S7 Communication on Industrial EthernetClient and server functionality at both ends Profibus Interface in the User Program of the S7 Station Configuring S7 ConnectionsBlock type Client Server Described Communication via Ethernet CPs in S7 Stations S5-compatible Communication SEND/RECEIVE Interface1 ISO Transport ConnectionIP Internet Protocol SEND/RECEIVE interfaceStations WANCoordinating Access Using the User Program FETCH/WRITE Services ServerConnection Types Configuring Networking Stations with StepNetworking in a Multiproject ToolsVariant examples Characteristics/Configuration VariantsNetwork/Project Variant One Subnet One Project Configuration of the SystemView in a Project Simatic S5 Network/Project Variant Two or More Subnets One Project Network/Project Variant One Subnet More Than One SubProject Organization in a MultiprojectPossibilities 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 Functions InstallationOperation Configuration data in the project ProcedureUDP Aims Creating an Industrial Ethernet SubnetSelect Insert Subnet Industrial Ethernet Properties of Merged Subnets Multiproject Installing and Starting the Ethernet CP with Step Entering an Ethernet CP in the Hardware Configuration Subnet AttachmentInstalling and Starting the Ethernet CP with Step Installing and Starting the Ethernet CP with Step Displaying the Network Attachments of a Station Graphic Overview in NetProOverview in Table Form ResultOverview Setting Further CP PropertiesAddresses Tab Options Tab Option Meaning / EffectCPU Default Setting Time-of-Day Synchronization Tab Diagnostics Tab Addressing TabSubstitute Objects in the Project Plant ProductionS7-400/2 Non-Siemen Device Ethernet subnet S7-400/3Project With Substitute Objects Configured Attaching Non-S7 Stations to the SubnetSelecting the Subnet Type for Other Station Example Configuring Communication Services Setting Up ConnectionsAssigning Addresses for the First Time Applies to Latest CPs Assigning the Address Options and RecommendationsSelect 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 Principle Downloading the Configuration Data to the Target SystemType of Interface Saving the Configuration Data in Non-Volatile Memory Deactivating the MAC Address in the ConfigurationDownloading the Configured Connections Relocating the CP in the Hardware Configuration Page SEND/RECEIVE Interface in the User Program How the SEND/RECEIVE Interface Works on the CPU Functions FCsAmounts of Data Ethernet CPProgramming the SEND/RECEIVE Interface Principle of Job and Data TransferPurpose of the FCs Programming ConnectionsCalling FCs in the CPU Program Agsend AgrecvSEND/RECEIVE Interface in the User Program FC Calls Faster than the Transmission Time Data Exchange S7 CPU Ethernet CPFC Calls Slower than the Transmission Time SEND/RECEIVE Interface in the User Program Special Features Additional InformationProgramming Data Transfer on TCP Connections Purpose of TCP ConnectionsRecommendations for Use with a High Communications Load Known ProblemsRemedy SEND/RECEIVE Interface in the User Program Configuring Communication Connections Configuring StepsProgramming Program the SEND/RECEIVE interface in the user programPossible Connection Configurations Simatic S5Organization in a Multiproject Characteristics of a Connection ConnectionsTasks of the Ethernet CP Requirements for Configuring Connections Creating a New Connection New ConnectionConfiguring Communication Connections Configuring Communication Connections Connections to Partners in Other Projects Connections to Non-S7 Stations using Substitute ObjectsHandling Connections in a Multiproject By any partner via specific Tsap Empty Unspecified ConnectionsTo or by a specific partner Configuring Communication Connections Toolbar Further FunctionsPrint Function in the Overview Tab Connections Without Assignment Assignment to a CPMenu option Edit Connection PartnerDisplay Example Remain without assignment Connection PartnerConfiguring ISO Transport Connections IntroductionOpening the Dialog TabsSpecifying the Local Connection Endpoint General TabAttributes Description Access Local Endpoint Connection Name Reference Only in MultiprojectBlock Parameters LaddrSpecifying ISO Transport Addresses Address ParametersTsap Tsap MACTsap Format Local and Remote TSAPsDefault TSAPs Addresses Tab Unspecified ISO transport connectionAttributes Description Access Connection Establishment Specifying ISO Transport Dynamic PropertiesDynamics Tab Data TransferAttributes Description Access ISO Transport with the FETCH/WRITE Mode Using Fetch Passive / Write PassiveSystem Memory Messages in the Diagnostic BufferLinks to Other Systems Checking ISO Transport Connection Properties Overview TabConnection 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 Specifying ISO-on-TCP Addresses Address parameterAddresses 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 Address Parameters and Connection Types Specifying TCP AddressesTCP Ports Addresses Tab Specified TCP ConnectionApplication / 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 Specifying UDP Addresses 23 Sending and Receiving on One UDP ConnectionAddresses Tab Specified UDP Connections Addresses Tab Unspecified UDP Connection When to Use Multicast instead of Broadcast ? UDP with Broadcast and Multicast135 Addresses Tab Connection to all Broadcast Nodes Addresses Tab Connection to all Multicast Nodes Checking the Properties of a UDP Connection Free UDP Connection Program-Controlled AddressingRouting to Distribute Load Routing to Distribute LoadProgramming FCs Functions and FBs for S7 Ethernet CPs General Notes on FCs / FBs Block LibraryFCs and Module Replacement Spares Which Block Version Should I Use?Programming FCs Functions and FBs for S7 Ethernet CPs Setting Parameters for FC Calls Calling Communication Blocks for an S7-300Response to Incorrect Addresses Setting Block Parameters Automatically1Cause Reaction / Code Parameters for Specifying a CPU Data Area input parameters Status Information output parametersSpecifying the Data Area on the CPU Evaluating Status CodesFCs for Configured Connections Can be used with MeaningAglsend / Aglrecv Working without the Job Header Working with the Job Header 8EH 0BHCall Meaning of the BlockAgsend / Aglsend How the Block Works Time Explanation of the Formal Parameters Parameter Declara Type Possible Remarks Tion ValuesCondition Codes On ISOTransport On UDPDone Error Status 8F3AH8F7FH Example of Agsend BEU160 2 FC6 Agrecv / FC60 Aglrecv Agrecv / AglrecvProgramming FCs Functions and FBs for S7 Ethernet CPs Status code is updated at each block call NDR Output Bool Recv Input ANYStatus Output Word NDR Error Status LEN Output INT166 FCs for Access Coordination with FETCH/WRITE Locks external data accessAccess with FETCH/WRITE With FETCH/WRITEAglock FETCH/WRITE Locked = Aglock FETCH/WRITE1 FC7 Aglock Locked Output Bool 2 FC8 Agunlock 172 Name Numeric Data / Resource Requirements of the FCsMC7 174 NCM S7 Diagnostics Diagnostic Options in Step Where to Find Further InformationOverview What You Should Already KnowGeneral diagnostic and statistical functions Functions of NCM S7 DiagnosticsMode-Dependent Functions Installing and Starting NCM S7 Diagnostics AlternativeStructure Menu Meaning General Menu CommandsOptionsCustomize 181 Starting Diagnostics from the NCM Program Group Initial SituationMPI ProfibusInternetworking Starting Diagnostics from the Properties Dialog of the CPTCP/IP Other Startup Options How to Use Diagnostics If the CP is in the RUN modeCall-Specific Diagnostic Functions 187 Checklist for ‘Typical Problems‘ in a System MeaningChecklist for General CP Functions Problem Possible Cause Identifying the Cause and RemedyCommunication Connections Checklist Evaluate diagnostic bufferCheck the user program Evaluate status bytes in AG-SENDFirmware Loader Application FirmwareUses of the Firmware Loader Load FilesNCM S7 Firmware Loader menu command Loading FirmwareStarting the Download 1st Step2nd Step 3rd Step195 196 References References Sinec CP Order Numbers Glossary General Section Gateway Industrial EthernetMulticast NCM S7 for Industrial EthernetServices PROFInetProtocol SegmentSubnet SystemTransmission rate Transport layerInd. Ethernet station Base addressISO-on-TCP Media Access Control MAC MAC addressRFC1006 S5S5 connectionPROFInet Profibus device PROFInetPROFInet device PROFInet device, proxyPage FETCH/WRITE Structure of Write Frames Structure of Fetch Frames Parameter Values S7 Address AreaORG ID DbnrPI/PQ Address Area216 New in Release 05 / V5.1 SP3 New in Release 04 / up to V5.1 SP2Page Index-223 NCM S7 Technical Support Service & Support on the Internet
Related manuals
Manual 21 pages 33.88 Kb