Siemens SINEC L2 Manual

Siemens SINEC L2 Manual

Interface of the programmable controller
Table of Contents

Advertisement

SIMATIC S5
SINEC L2 Interface of the
S5-95U Programmable Controller
Manual
EWA 4NEB 812 6112-02a
Edition 02

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SINEC L2 and is the answer not in the manual?

Questions and answers

Summarization of Contents

How to Use This Manual
Conventions
Discusses document conventions and refers to other manuals.
Courses
Information about Siemens training courses.
Reference Material
Lists other relevant Siemens manuals and publications.
Safety-Related Guidelines for the User
Proper Usage
Guidelines on the correct application and operation of the equipment.
1 System Description
1.1 Communications in Industry
Overview of industrial communication systems and hierarchy levels.
1.2 The SINEC L2 Local Area Network
Explains the SINEC L2 LAN based on PROFIBUS standards.
Definitions
Defines terms like Planning Level, Process Control Level, Cell Level, Field Level.
Communication Tasks Required from the Different Networks
Compares network requirements for different levels.
1.3 Procedure for Accessing the SINEC L2 Network
Explains network access, station types (active/passive), and token passing.
Station Address
Discusses assigning unique addresses to each station on the bus.
Token / Right to Transmit
Explains how the token frame grants bus access rights.
Target Rotation Time
Time Management of the Network
Describes how the network manages time based on real vs. target rotation times.
Broadcasting
Defines broadcasting as sending a message to all stations.
Multicasting
Defines multicasting as sending to several stations.
Rules for Setting the Basic Parameters
Communications with S5-95Us (homogeneous S5-95U networks)
Defines parameters for homogeneous networks.
Example: Communications with CP 5410, S5-95U and CP 5430-0
Example for setting parameters with specific communication processors.
Bit time unit
Explains how to calculate times from bit time units.
1.5 Types of Data Transmission for the S5-95U
Is my S5-95U to be a passive or active station on the LAN?
Discusses the choice between passive and active station roles.
Which type of data transmission should I choose?
Guides selection of data transmission types based on tables.
Table 1-6. Recommended Types of Data Transmission
Recommends data transmission types based on application.
Standard connection (SC)
2. Communications between an S5-95U and a Device of Other Manufacture
Illustrates PLC-to-PLC and Cyclic I/O with external devices like CP 5430.
The conditions for installing the network are as follows:
Table 1-10. Distance Table for RS 485 Technology
Shows distance tables for RS 485 technology based on baud rate and segments.
Installation Techniques
SINEC L2 Bus Connector
Details the SINEC L2 bus connector, its designs and installation.
Bus Terminals
Describes bus terminals with RS 485 technology as an alternative.
Bus Cable for SINEC L2
RS 485 SINEC L2 Repeater
Explains the use and types of RS 485 SINEC L2 repeaters.
1.6.2 Fiber Optics Transmission Technology
The conditions for installing the network are as follows:
Conditions for installing fiber optic networks.
Table 1-13. Distance Table for Glass Fiber Optic Cable Technology
Shows distances for glass fiber optic cable based on baud rate and star couplers.
Installation Techniques
Covers installation techniques for SINEC L2FO bus terminals.
2 Installation Guidelines
2.1 Basic Configuration
Illustrates main components of SINEC L2 in RS 485/S5-95U technology.
2.3 Linking Bus Segments with the L2 Repeater
2.3.1 Electrical Design of the SINEC L2 Repeater RS 485
Discusses voltage potentials and isolation for EMC compliance.
Grounding Methods
Explains grounding methods for the repeater installation.
Reasons for Removing the Connecting Plate
Warning: Electric shock hazard voltage.
Warning about electric shock when removing the connecting plate.
2.3.2 Connecting the Supply Voltage
Details how to connect the supply voltage to the L2 repeater.
2.3.3 Connecting Bus Segments
Repeater at Segment End
Shows connection of two segments to a repeater at the end.
2.4 Routing Cables
Table 2-1. Limiting Conditions for Routing Cables Indoors
Lists conditions like bending radius and temperature range.
Lightning protection
Discusses lightning protection measures for outdoor cable routing.
Note: Lightning protection measures.
Advice on assessing and implementing lightning protection.
3 Start-Up, Tests, and Diagnostics
3.1 Design and Mode of Operation of the Programmable Controller
Explains the controller's displays, controls, and interfaces.
3.2 START-UP Sequence
Details the sequence of operations during system startup.
3.3 Starting Up a System
3.3.1 Suggestions for Configuring and Installing the Equipment
Offers recommendations for safe installation and configuration.
Operating the Programmable Controller with a SINEC L2 Interface
Communications Processor
Describes the tasks of the communications processor.
SINEC L2 Interface
Details the pin assignment for the SINEC L2 interface connector.
3.3.3 System Startup Diagnostics and Procedures
Table 3-1. Interpretation of the BF LED Display
Maps BF LED states to causes and corrective actions.
Note: BF LED behavior with default DB1.
Explains BF LED behavior when using default DB1 settings.
Test Possibilities during Start-Up
Startup Procedure for the SINEC L2 station
Step-by-step procedure for starting up the L2 station.
3.4 FMA Services
3.4.1 Principle of Operation
Explains the basic operation of FMA services using L2-SEND/L2-RECEIVE.
3.4.2 The Types of FMA Services
Table 3-2. FMA Services Possible with the L2 Interface of the S5-95U
Lists available FMA services and their functions.
Table 3-3. Characteristics of FMA Services
Compares FMA services based on S5-95U state (active/passive) and requirement.
3.4.4 Managing of all FMA Services with FB222
Structure the control program for the FMA services as shown in Figure 3-10.
Outlines the control program structure for FMA services using FB222.
Significance of the FB222 Parameters:
Explains input/output parameters for FB222 (REQ, CODE, CONF, INDI, FEHL).
4 Data Transmission Using a Standard Connection
4.1 Features of a Standard Connection
Describes when standard connection is appropriate and its characteristics.
Structure of the Send Coordination Byte (CBS)
Warning: Bit 6 of CBS.
Warning about undefined conditions when writing to CBS bit 6.
Structure of the Receive Coordination Byte (CBR)
Warning: Bit 6 of CBS.
Warning about bus entering undefined state if writing to CBS bit 6.
5 Integral Standard Function Blocks L2-SEND and L2-RECEIVE
5.1 Parameters for L2-SEND and L2-RECEIVE
Lists parameters for L2-SEND (A-NR, QTYP, DBNR, QANF, QLAE).
Table 5-2. A List of Parameters Used by L2-RECEIVE (FB253)
Lists parameters for L2-RECEIVE (A-NR, ZTYP, DBNR, ZANF, ZLAE).
Table 5-3 Allocation of the Job Numbers
Allocates job numbers to communication services (PLC-PLC, Layer 2, FMA, Cyclic I/O).
5.4 Status Byte
Figure 5-3. Structure of the Status Byte
Shows the structure of the status byte (STB) and length byte (LB).
Warning: Writing to the status byte.
Warning about writing to the status byte.
7 Data Transmission Using Cyclic I/O
7.1 Features of Cyclic I/O
Describes characteristics of cyclic I/O (ZP) transmission.
Updating the Cyclic I/O Input Area and Output Area
SAP Number
Explains SAP addressing and its parameters in DB1.
Restart sequence when:
Details restart procedures after PLC reset or parameter changes.
ZP Safety Function
Explains behavior of ZP data during RUN to STOP transition and slave failure.
DB1 Parameters for Cyclic I/O
Table 7-1. DB1 Parameters for Cyclic I/O
Details parameters for ZP Master (ZPDB, ZPMS, ZPM, ZPLI) and ZP Slave (ZPDB, ZPSS, ZPSA, ZPSE).
8 Data Transmission by Accessing Layer 2 Services
8.1 Characteristic Features of Layer 2 Access Data Transmission
Lists features like programming up to 23 accesses, data size, parallel operation, and use of L2-SEND/L2-RECEIVE.
8.3 Assigning the S5-95U Parameters for Data Communications
Defining the job numbers for a PLC ( chapter 5):
Explains how to define job numbers for L2-SEND and L2-RECEIVE.
Table 8-2. Defining Job Numbers in the L2 FBs
Lists job numbers and their usage for L2 FBs.
Figure 8-5. Schematic: Data Transmission Using Layer 2 Services
Shows interaction of DBs, STBs, and L2 FBs for Layer 2 data communication.
DB1 Parameters for Layer 2 Services
Table 8-3. Layer 2 Services, DB1 Parameters
Details parameters for STBS and STBR (SAP number, status byte location).
Table 8-4. Entering Parameters for Layer 2 Services
Shows example DB1 parameter entries for Layer 2 communication between S5-95Us.
8.6 Sending Data to Several Stations (SDN)
Prerequisites for multicasting:
Lists prerequisites for multicasting (same SAP, global address).
Data transmission schematic ( Figure 8-8):
Illustrates data flow for SDN service.
Figure 8-8. Sending and Receiving Data without Acknowledgement or Confirmation (SDN)
Shows the process of sending and receiving data with SDN.
8.9 Sending Data and Fetching Data from a Station (SRD Service)
Prerequisite for data transmission:
States prerequisite of holding data ready using RUP_SINGLE or RUP_MULTIPLE.
Data transmission schematic ( Figure 8-14):
Illustrates data flow for SRD service.
Figure 8-14. Sending and Fetching Data with the SRD Service
Shows the process of sending data and fetching data with SRD.
9 Programmer Functions Over the SINEC L2 Network
9.1 Programmer Functions
Lists programmer functions usable over the SINEC L2 LAN.
Prerequisites:
Note: PLC reset and SINEC L2 interface.
Explains behavior after PLC reset and how it affects programming.
Reason: Default DB1 validation after reset.
Explains why programming fails after reset due to default DB1.
Remedy: Overwriting comment characters and transferring DB1.
Provides steps to resolve programming issues after reset.
9.1 Programmer Functions
Table 9-1. Functions of a Programmer Operated as a SINEC L2 Station
Lists programmer functions and their availability over SINEC L2 LAN.
9.4 Editing a Path
Figure 9-3. Path to be Edited with the "BUS DIALLING" Utility
Illustrates editing a path for SINEC L2 connection.
Note: "ENDP" and "CP L2" integration.
Notes on integrated processors in S5-95U for path editing.
Figure 9-5. Screen for Editing a Path (2)
Change the default address "0" ... to "2" ...
Instruction to change the address for reaching the S5-95U.
Press (ENDP) to complete the path.
Instruction to finalize path editing.
Confirm the path parameters with (SAVE).
Instruction to save the configured parameters.
Appendix A DB1 Parameters, DB1 Parameter Assignment Errors, Calculation of Target Rotation Time
Basic Parameters for all Functions
Lists basic parameters like TLN, STA, BDR, HSA, TRT, SET, ST, SDT1, SDT2.
Parameters for FMA Services
Lists parameters for FMA services (STB, FMAE).
Parameters for Standard Connections
Lists parameters for standard connections (SF, EF, KBS, KBE).
DB1 Parameters, DB1 PAFE, TRT
Parameters for PLC to PLC Connection
Lists parameters for PLC to PLC connections (STBS, STBR).
Parameters for Cyclic I/O
Lists parameters for Cyclic I/O (ZPDB, ZPMS, ZPM, ZPLI for master; ZPDB, ZPSS, ZPSA, ZPSE for slave).
Example of Calculating the Target Rotation Time
Tip to optimize the target rotation time:
Advice on optimizing target rotation time by assigning station addresses.
Appendix B SAP Numbers / Job Numbers
B SAP Numbers / Job Numbers
Defines terms and lists SAP numbers assigned by the system.
LAN-Specific Mnemonic Explanation
LAN-Specific Mnemonic Explanation
Continues the list of LAN mnemonics and their explanations.
Glossary
Glossary (continued)
Continues definitions of terms.
Glossary (continued)
Continues definitions of terms.
Glossary (continued)
Continues definitions of terms.
Glossary (continued)
Continues definitions of terms.
Appendix D List of Accessories and Order Numbers
D List of Accessories and Order Numbers
Lists S5-95U controller, manual, interface, and bus accessories with order numbers.
Appendix E Technical Specifications; Cycle Delay Times of the PLC Caused by SINEC L2 Operations
Climatic Environmental Conditions
Refers to S5-90U/S5-95U System Manual for environmental conditions.
Mechanical Environmental Conditions
Refers to S5-90U/S5-95U System Manual for mechanical conditions.
Electromagnetic Compatibility (EMC), Noise Immunity
Refers to S5-90U/S5-95U System Manual for EMC.
IEC-/VDE Information
Refers to S5-90U/S5-95U System Manual for IEC/VDE info.
Internal Technical Specifications
Details power supply, output voltage/current, and back-up battery.
Worst Case PLC Delay Time caused by SINEC L2
Lists PLC delay times for standard, PLC-to-PLC, and cyclic I/O operations.
Data Specific to SINEC L2
Lists main processor, communications processor, and bus cable details.
SINEC L2 Communications Services
Details data amounts, addresses, and broadcast availability for various services.
SINEC L2 Communications Services (Continued)
Continues specifications for Layer 2 Services, FMA Services, and Programmer Functions.
Integral Blocks
Lists integral organization blocks and function blocks.

Table of Contents

Save PDF