background image

S5-95F 

 S5-95F on SINEC L1

Structure of the Coordination Byte Receive (KBE)

Figure 13-9 shows the structure of the Coordination Byte Receive (KBE).

Figure 13-9.

Structure of the Coordination Byte Receive (KBE)

0:

No errors

1:

Error during last data  transfer

0:

No slave failed

1:

At least one slave failed

0:

Bus at STOP

1:

Bus at RUN

0:

Program can access Receive
Mailbox
(operating system has no access)

1:

Operating system entering data into
Receive Mailbox
(program has no access)

a a a

a a a

a a a

a a a

7

a a a

a a a

a a a

a a a

6

a a a

a a a

a a a

a a a

5

a a a

a a a

a a a

a a a

4

a a a

a a a

a a a

a a a

3

a a a

a a a

a a a

a a a

2

a a a

a a a

a a a

a a a

1

a a a a

a a a a

a a a a

a a a a

0

KBE

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a

Structure of the user program for receiving data:

 

Check bit 7 in the KBE to see whether you can retrieve data from the Receive Mailbox. In order
for you to be able to read data out of the KBE, bit 7 must be "0".

The following errors and status codes are also flagged in the KBE:

At least one slave failed

Bus at RUN (STOP)

Special Features

If you reserved too little space in memory for the Receive mailbox, the available space is padded
(flag area up to flag byte 255, data block up to and including the last data word); the remaining
Receive data cannot be stored. In this case, the PLC does not report an overflow.

Sample programs for sending and receiving data can be found in the SINEC L1 Manual (in the
section entitled "Programming").

Interval for Receiving Frames

Note

Please note that the S5-95F cannot receive a new frame until it has processed the
previous one. You should therefore arrange communications between nodes so that
frames are received at least 100 ms apart, otherwise the S5-95F may not accept the
next frame.

EWA 4NEB 812 6210-02

13-9

Summary of Contents for SIMATIC S5-95F

Page 1: ...SIMATIC S5 S5 95F Programmable Controller Manual EWA 4NEB 812 6210 02a Edition 02 ...

Page 2: ...without prior notice The reproduction transmission or use of this document or its contents is not permitted without express written authority Offenders will be liable for damages All rights including rights created by patent grant or registration of a utility model or design are reserved EWA 4NEB 812 6210 02 ...

Page 3: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 14 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 4: ...us 2 8 2 5 Operating Instructions 2 11 2 5 1 Displays and Controls 2 11 2 5 2 Operating Modes 2 13 2 5 3 Operating Statuses of the S5 95F Following Power Up 2 17 2 5 4 Performing an Overall Reset on the S5 95F 2 18 2 5 5 Function of the Backup Battery 2 19 2 5 6 Memory Submodules 2 20 3 Guidelines for the Planning and Installation of the Product 3 1 3 1 Guidelines on the Safe Integration of the Pr...

Page 5: ...t for Sensor Lines 4 11 4 2 3 Using Failsafe Onboard Digital Outputs 4 14 4 3 Connecting Actuators to Failsafe Digital Outputs 4 16 4 4 Onboard Interrupt Inputs 4 18 4 5 Onboard Counter Inputs 4 18 4 5 1 Connection of Counter Inputs 4 19 4 5 2 Parameterizing Counter Inputs in DB1 4 19 4 5 3 Scanning and Resetting the Counter Status 4 21 4 6 Failure and Monitoring of the Supply Voltages 4 22 4 7 Co...

Page 6: ...nd Output Module 16 DI 16 DQ for 24 V DC 6 6 6 5 2 Function Modules 6 7 6 6 The Structure of Process Image Input and Output Tables 6 8 6 6 1 Accessing the Process Image Input Table PII 6 10 6 6 2 Accessing the Process Image Output Table PIQ 6 11 6 6 3 Direct Access to Onboard I Os 6 12 6 6 4 Direct Access to External I Os 6 13 6 7 Interrupt Process Image Tables and Time Controlled Program Processi...

Page 7: ... 7 5 3 Compressing the Program Memory 7 30 7 6 Number Representation 7 31 8 STEP 5 Operations 8 1 8 1 Basic Operations 8 1 8 1 1 Boolean Logic Operations 8 2 8 1 2 Set Reset Operations 8 7 8 1 3 Load and Transfer Operations 8 10 8 1 4 Timer Operations 8 15 8 1 5 Counter Operations 8 25 8 1 6 Comparison Operations 8 29 8 1 7 Arithmetic Operations 8 30 8 1 8 Block Call Operations 8 32 8 1 9 Other Op...

Page 8: ...log Value Conditioning Blocks FB250 and FB251 9 16 9 2 6 Additional Calling Up of Test Routines FB252 9 16 9 2 7 Depassivation Block FB255 9 22 9 3 Parameterizing Internal Functions in DB1 9 24 9 3 1 Configuration and Default Settings for DB1 9 25 9 3 2 How to Assign Parameters in DB1 without COM 95F 9 27 9 3 3 Rules for Setting Parameters in DB1 9 27 9 3 4 How to Recognize and Correct Parameter E...

Page 9: ...f Two Wire and Four Wire Transducers 11 3 11 3 Start Up of Analog Input Modules 11 5 11 4 Analog Value Representation of Analog Input Modules 11 6 11 5 Analog Output Modules Type W 11 8 11 5 1 Connection of Loads to Analog Output Modules 11 8 11 5 2 Analog Value Representation of Analog Output Modules 11 9 11 6 Analog Value Conversion Function Blocks FB250 and FB251 11 11 11 6 1 Reading in and Sca...

Page 10: ... Load Placed on the System by the SINEC L1 Channel 13 29 13 4 4 Response Time During SINEC L1 Traffic 13 30 13 4 5 Transmission of Error Messages to the SINEC L1 Master 13 31 13 4 6 Example SINEC L1 Cycle Time and SINEC L1 Safety Time 13 31 14 Testing the User Program and Storing It on the Memory Submodule 14 1 14 1 Testing and Debugging the User Program 14 1 14 1 1 Program Dependent Signal Status...

Page 11: ... 3 8 Error Stack Entries 15 8 15 3 9 Evaluating the Error Block 15 10 15 4 Acknowledging Errors and Deleting Entries in the System Event DB 15 19 15 5 Printer Output of Error Messages Via a CP 521 15 20 15 6 Forwarding Error Messages to the SINEC L1 Master 15 20 15 7 Evaluating Cycle Time Statistics 15 21 15 8 Diagnostic Byte for Battery and Load Voltage 15 22 16 Differences Between the S5 95U and...

Page 12: ...f an S5 95F 18 1 18 1 Acceptance Test for a System Containing an S5 95F 18 1 18 1 1 Planning Phase 18 2 18 1 2 Pre Acceptance Inspection 18 4 18 1 3 Acceptance Test 18 5 18 2 I Os 18 7 18 2 1 Circuit Diagram for I Os 18 7 18 2 2 Discrepancy Times 18 10 18 3 Operating Modes 18 12 18 4 Entering the System Identification and ID Number in the System Event DB 18 12 18 5 Memory Submodules for Safety Mod...

Page 13: ... and TBS Operations 18 26 18 13 3 STOP Operation in the User Program 18 27 18 13 4 Waiting Times in the User Program 18 27 18 13 5 Scratchpad 18 27 18 13 6 Post Loading STEP 5 Blocks in Test Mode 18 27 18 13 7 Trigger Edge for OB3 Interrupts 18 28 18 13 8 Measures for Securing the User Program Against Errors 18 28 18 14 Addressing and Address Assignments 18 29 18 14 1 Address Assignments for Onboa...

Page 14: ... B 1 B 1 S5 95F Programmable Controller B 1 B 2 Bus Units B 2 B 3 Interface Modules B 4 B 4 Standard Mounting Rails B 6 C Operations List C 1 C 1 Operations List C 1 C 1 1 Basic Operations C 1 C 1 2 Supplementary Operations C 7 C 1 3 System Operations C 12 C 1 4 Evaluation of CC 1 und CC 0 C 12 C 2 Machine Code Listing C 13 C 3 List of Abbreviations C 16 D Guidelines for Handling Electrostatic Sen...

Page 15: ...all and connect it Startup Information Chapters 4 5 6 These chapters summarize the information you need to start up your programmable controller The Programming Language and Blocks for the S5 95F Chapters 7 8 9 These chapters describe the structure operations and structuring aids of the STEP 5 pro gramming language and the function of the integral blocks Functions of the S5 95F Chapters 10 11 12 1...

Page 16: ...he title of each chapter Following this page you will find a table of contents At the beginning of each chapter is a table of contents for that chapter Each chapter has three level headings that are numbered The fourth level heading is not numbered but appears in boldface type Pages figures and tables are numbered separately for each chapter On the back of the table of contents for each chapter yo...

Page 17: ... extensive than that of the previous units The principal differences between the S5 95F automation system with basic units 6ES5 095 8FA02 and the previous system are as follows The basic units can be operated from a power supply unit because high grade voltage monitoring is integrated in the basic unit see section 4 1 2 Interference suppression filters are no longer required for operating the basi...

Page 18: ...notices and warnings for protection against loss of life the users or service personnel or for protection against damage to property are highlighted in this document by the terms and pictograms defined here The terms used in this document and marked on the equipment itself have the following significance indicates that death severe personal injury or substantial property damage can result if prope...

Page 19: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 20: ...a a a a a a a a a a a a a a a a a a a a a a Tables 1 1 Comparison of Quality Levels to DIN V 19250 and System Integrity Levels to IEC 65A Sec 123 1 1 1 2 Typical Applications for the S5 95F 1 5 1 3 The Major Characteristics of the S5 95F and S5 115F at a Glance 1 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 21: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 22: ...19250 classifies systems according to 8 quality levels The quality levels of individual protection functions can be determined by means of a risk graph Each combination of risk parameters results in a risk evaluation package The different gradings permit a total of 48 combinations Figure 1 1 Risk Graph and Quality Levels G2 G1 A1 A2 A2 A1 S1 S3 S2 S4 2 3 4 5 6 7 8 W3 1 2 3 4 5 6 7 W2 1 2 3 4 5 6 W...

Page 23: ...desired event is the ignition of the gas air mixture resulting in the explosion of the firing plant The death of several persons must be reckoned with if persons stay in the hazardous area S3 In our case we assume that persons stay only seldom in the hazardous area A1 Without protection equipment the probability of the undesired event arising is relatively high W3 According to the risk graph this ...

Page 24: ...r irreversible injury or the death of the operator S2 In this case we assume that the operator stays frequently to permanently in the hazardous area A2 Since press movements are fast processes the danger can hardly be prevented G2 Without protection equipment the probability of the undesired event arising is relatively high W3 According to the risk graph this results in quality level 5 Figure 1 3 ...

Page 25: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 26: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 27: ...ation offers you the following onboard 1 0s 16 failsafe digital inputs 4 failsafe interrupt inputs 2 failsafe counter inputs 8 failsafe digital outputs 8 non failsafe digital outputs 4 DQs for each subunit Figure 1 4 Basic System If you require more than the available onboard 1 0s you can expand your basic system with additional external 1 0s EWA 4NEB 8126210 02 1 7 ...

Page 28: ...er to become quickly familiar with PLC technology All SIMATIC S5 PLCs including the S5 95F can be programmed using the STEP 5 language STEP 5 is easy to comprehend and makes developing of programs user friendly flexible and economical STEP 5 offers three different methods of representation Statement list STL Uses mnemonics for statements Control system flowchart CSF Uses logic representation Ladde...

Page 29: ...eveloped to simplify system acceptance It has been harmonized and agreed upon with the German Statutory Industrial Accident Insurance Institution BG the BG Institute for Industrial Safety BIA and the German Technical Inspectorate TÜV For this acceptance procedure the following software must be installed on your programmer STEP 5 basic package COM 95F software package parameterization software and ...

Page 30: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 31: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 32: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Tables 2 1 Retentive and Non Retentive Operands 2 7 2 2 Number of Bits per Module in the Shift Register 2 10 2 3 Overview of LEDs 2 12 2 4 Switching to Test Mode 2 14 2 5 Switching to Quasi Safety Mode 2 15 2 6 Switching to Safety Mode 2 16 2 7 Operating Statuses of the S5 95F Following Power U...

Page 33: ...s 9 Connector for fiber optic cable 1 32 0 to I 33 7 and for digital outputs Q 32 0 to Q 32 7 Q 33 0 to IO Displays for operating mode green LED RUN Q 33 3 or Q 34 o to Q 34 3 red LED STOP I 3 Battety failure display i 11 Operating mode selector switch 4 OIWOFF switch 12 DIP switch for subunit identification 5 LED display for digital inputs and outputs 13 Receptacle for memory submodule 6 Power su...

Page 34: ... and are connected via a fiber optic cable External 1 0s If you require more than the available onboard 1 0s or if you need special functions you can expand your basic system with additional external 1 0s The S5 95F can be expanded via bus units with S5 1OOU standard and failsafe modules A maximum of 8 bus units can be connected to each basic unit Bus Units with Terminal Blocks crimp snap in or SI...

Page 35: ... input and output modules Non failsafe digital input and output modules from the S5 100U Non failsafe analog input and output modules from the S5 100U You can use these modules to create and record variables currents and voltages Non failsafe communications modules CP communications processor You can use this module to output message texts with the date and clock time to a connected printer You ca...

Page 36: ... duration of a process Operating hours counter This function allows you for example to monitor inspection intervals 2 3 2 Diagnostic Byte The diagnostic bytes IB 35 60 to 63 give you an additional possiblity to control the process sequence The diagnostic bytes display Whether or not a counter has reached its comparison value Whether or not an interrupt was triggered Whether or not the power supply...

Page 37: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Onboard I Os a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 38: ...Process images are reserved areas in the CPU RAM During correct operation the operating system ensures that the process images of both basic units are identical Input and output modules have the following separate images Process image input table PII Process image output table PIQ Serial Interface You can connect programmers operator panels and monitors at the serial interface cable connector Via ...

Page 39: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 40: ...not required Direct access to individual modules is not possible The data is moved via a number of shift registers see Figure 2 6 Four data bits and one check bit for bus monitoring are assigned to each slot in the bus unit All modules requiring more than four data bits have their own shift register and therefore do not have to use the shift register of the particular slot Figure 2 6 Structure of ...

Page 41: ...a a a a a a a a a a a a a Program scanning a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Shift data a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Load data from the input modules into the shift register Transfer data from shift register to output modules Interrupt Data Cycle There is an interrupt input data cycle prior to each time controlled program scan Before a time ...

Page 42: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 43: ...1 Displays and Controls Figure 2 8 Displays and Controls I a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Battery 3 4 850mAh SIEMENS a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Battery OFF LOW L a a a a a a a a a a a a a a a a a a a a a 24V DC M Battery compartment B...

Page 44: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 45: ...ntegrated in the operating system of the S5 95F for all other components at least one standard self test is provided The duration of the total self test routine is approx 90 s It is executed as a whole only during STARTUP Self Test during Cyclic Operation For reasons of time the S5 95F executes only a small part of the self test routine at a time during cyclic operation That is why the self test r...

Page 46: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 47: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 48: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 49: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 50: ...e programmer manual Please note that an overall reset via the programmer does not delete all data in both subunits The following data is retained Programmer bus number Clock data of the integral real time clock Internal data for system protection e g safety procedure after power failure Manual Reset With a manual reset the complete data in both subunits is deleted To perform a manual reset you sho...

Page 51: ...ating system sets a bit in the system event DB OB34 is then called prior to each scan cycle If the battery is not replaced within 72 hours after this message the S5 95F goes to STOP If one battery is missing or if the battery charge drops below a permissible value you cannot switch the S5 95F to the RUN mode after a power OFF power ON sequence Replacing the Backup Battery Do not wait until the S5 ...

Page 52: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 53: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 54: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Tables 3 1 Interference Sources and Their Causes 3 3 3 2 Rules for Laying of Line Combinations 3 7 3 3 Checklist for Electromagnetically Compatible Installation 3 13 a a a a a a a a a a a a a a a a ...

Page 55: ...and the 24V supply Only use power supply units to DIN VDE 0551 or EN 60742 and DIN VDE 0160 see section 4 1 2 Also strictly follow the conditions of electromagnetic compatibility EMC see Chapter 3 Fluctuations or deviations of the power supply voltage from the rated value should not exceed the tolerances specified in the technical specifications Otherwise functional failures or dangerous condition...

Page 56: ...a a a a a a a a Fields a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Programmable controller a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Power supply a a a a a a a a a a a a a a a a a a a a ...

Page 57: ... a a There is a radiation path when a conductor is subjected to an electromagnetic wave Impinging of the wave results in induced currents and voltages a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 58: ... 4 3 Data lines must be shielded The shield should be connected at both ends Analog lines must be shielded For the transfer of signals with low amplitudes it may be advisable to connect the shield at only one end Provide the line shields with a large area connection to a shield protective conductor bar immediately after the cabinet inlet and secure the shields with cable clamps Route the grounded ...

Page 59: ...d Inactive parts are conductive parts which are electrically isolated from active parts by basic insulation and can only develop a voltage in the event of a fault The chassis ground must not develop a dangerous touch voltage even in the event of a fault The ground must therefore be connected to the protective ground conductor To prevent ground loops locally separated ground elements such as cabine...

Page 60: ... following for rack and wall mounting Use only standard mounting rails to EN 50022 to mount the modules of your S5 95F Only these mounting rails guarantee a tight fit of the modules and a satisfactory discharge of picked up interference Suitable contacting aids should be used on painted and anodized metal parts Use special contact washers or remove the insulating protective layers P r o v i d e la...

Page 61: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 62: ...ing protection Outside the buildings lay your lines either in metal conduits grounded at both ends or in concreted cable ducts with continuously connected reinforcement Protect the signal lines from overvoltages by means of varistors or inert gas filled surge diverters Fit these protective devices at the cable entry into the building Note Lightning protection measures always require an individual ...

Page 63: ...al bonding conductors They must be given a large area connection to the ground protective conductor and protect it from corrosion The equipotential bonding conductor should be laid so that the smallest possible areas are enclosed between the equipotential bonding conductor and signal lines see section 3 3 Figure 3 3 Routing of Equipotential Bonding Conductor and Signal Line a a a a a a a a a a a a...

Page 64: ... both ends This is the only way to achieve a good degree of interference suppression in the higher frequency region Only in exceptional cases should the shield be connected at one end only as this only achieves attenuation of the low frequencies Single ended shield connection may be more advantageous when an equipotential bonding conductor cannot be laid analog signals of a few mV or mA are to be ...

Page 65: ...uenching Circuits for Inductances a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a With diode a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a With ...

Page 66: ... Suppression of Fluorescent Lamps in a Cabinet Screen over the lamp Shielded cable a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 67: ...low impedance Are line shields connected at both ends where possible Inductances see section 3 4 4 Are contactor coils which are not switched via SIMATIC contacts fitted with quenching elements a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 68: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 69: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 70: ...m The S5 95F basic system is always of redundant design and consists of two basic units which are interconnected via a fiber optic link Both basic units are of identical construction and comprise the CPU an internal power supply and onboard 1 0s Figure 4 1 Basic System The following components are required for a basic system Two S5 95F basic units A fiber optic cable At least one electrically sepa...

Page 71: ... unit The other basic unit is mounted in the same way How to Mount an S5 95F Basic Unit The basic unit is mounted on a standard mounting rail Hook the basic unit onto the standard mounting rail Swing it back until the slide on the bottom of the basic unit audibly snaps into place Figure 4 2 shows the installation of a basic unit Figure 4 2 Mounting a Basic Unit on a Standard Mounting Rail 4 2 EWA ...

Page 72: ...nd out of the standard mounting rail Figure 4 3 Removing the Programmable Controller Use the following table when you install remove or change the programmable controller installation When 1 0 modules are plugged in or removed in the RUN mode the S5 95F disables the outputs for approx 300 ms Furthermore handling of the 1 0 modules can result in voltage dips which cause the S5 95F to switch to the ...

Page 73: ...sons and you must not replace it yourself under any circumstances 24 V DC power supplies must have the following characteristics Safe electrical isolation to DIN VDE 0551 EN 60742 and DIN VDE 0160 For special applications it might be necessary to observe additional requirements see rules and regulations in Chapter 1 24 V DC rated voltage Permissible tolerance 20 V to 30 V including ripple Mains bu...

Page 74: ...Y a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a STOP a a a a a a a a a a a a a a a a a a a a a a a a a ERR a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a SIMATIC S5 95F a a a a a a a a a a a a a a a a a a a a a a a a a RUN DIP switch is located below the cover a a a a a a a a a a a a a a ...

Page 75: ...ic Cable Use the lower three switches to set the length of the fiber optic cable The fiber optic cable can be 1 2 5 or 10 m long 3 28 6 56 16 4 or 32 8 ft Figure 4 7 Setting the Length of the Fiber Optic Cable 1 m 3 28 ft 2 m 6 56 ft 5 m 16 4 ft 10 m 32 8 ft How to Connect the Fiber Optic Cable Connect the two basic units via the fiber optic cable Note Observe the following when connecting the fib...

Page 76: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 77: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 78: ... a 15 a a a a a a a a a 18 a a a a a a a a a 20 Subunit A a a a a a a a a a a a a a a a a IN a a a a a a 2 a a a a a a 4 a a a a a a a a 6 a a a a a a 8 a a a a a a a a a 11 a a a a a a a a a a a a 13 a a a a a a a a a 15 a a a a a a a a a a a a 16 a a a a a a a a a 18 a a a a a a a a a 19 a a a a a a 1 a a a a a a 3 a a a a a a 5 a a a a a a a a 7 a a a a a a 9 a a a a a a a a a 10 a a a a a a a ...

Page 79: ...19 a a a a a a a a a 11 a a a a a a a a a 1 a a a a a a a a a 2 a a a a a a a a a 3 a a a a a a a a a 4 a a a a a a a a a 5 a a a a a a a a a a a a 6 a a a a a a a a a a a a 7 a a a a a a a a a 8 a a a a a a a a a 9 a a a a a a a a a 12 a a a a a a a a a a a a 15 a a a a a a a a a 18 a a a a a a a a a 20 Subunit B a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 80: ...e check DQ a conductor to conductor short circuit between these lines must be physically excluded e g lines laid separately and or with double insulation Note A separate check DQ is required for the inputs of IB 59 mixing of IB 59 inputs with other IB inputs is not permissible Method of Operation The operating system can monitor sensor lines endangered by conductor to conductor short circuit if th...

Page 81: ...a a a a a a a a a a a a a a a a a DI 32 2 a a a a a a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 24 V DC a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 82: ... a 24 V DC a a a a a a a a a a a a a a a a L a a a a a a a a a 2 a a a a a a a a a 4 a a a a a a a a a a a a 6 a a a a a a a a a 8 a a a a a a a a a a a a 11 a a a a a a a a a a a a a a a a 13 a a a a a a a a a a a a a a a a 15 a a a a a a a a a a a a 16 a a a a a a a a a a a a 18 a a a a a a a a a a a a 19 a a a a a a a a a 1 a a a a a a a a a 3 a a a a a a a a a 5 a a a a a a a a a a a a 7 a a a...

Page 83: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 84: ...a a a a a 3 a a a a a a 4 a a a a a a 5 a a a a a a a a 6 a a a a a a a a 7 a a a a a a 8 a a a a a a 9 a a a a a a a a a 12 a a a a a a a a a a a a 15 a a a a a a a a a 18 a a a a a a a a a 20 Subunit A a a a a a a a a a a a a a a a a IN a a a a a a a a a 2 a a a a a a a a a 4 a a a a a a a a a a a a 6 a a a a a a a a a 8 a a a a a a a a a 11 a a a a a a a a a a a a 13 a a a a a a a a a a a a 15 ...

Page 85: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a IN 16 24V DC a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a OUT 12 24V DC a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a IN 16 24V DC a a a a a a a a a a a a a a a a a a a a...

Page 86: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 87: ...4 V DC inputs The maximum operating frequency depends on the amplitude of the counting pulses and reaches its maximum at between 24 and 28 V The maximum operating frequency for counting pulses with an amplitude of between 24 and 28 V is 350 Hz To ensure that the S5 95F recognizes an active counter signal reliably the signal levels 0 and 1 must at least have a duration of 1 4 ms bouncing of the sen...

Page 88: ... a a a a a a a a a a a a a a a a a a 24 V DC a a a a a a a a a a a a M Counter B IW 38 is connected in the same way as counter A 4 5 2 Parameterizing Counter Inputs in DB1 Parameterizing a counter input means that you specify the following in DB1 Which counter should count Whether a counter should count the positive or negative edge of a pulse Up to which value the counter should count comparison ...

Page 89: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 90: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 91: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 92: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 93: ... a a a a a a 20 a a a a a a a a a a a a 10 a a a a a a a a a a a a 13 a a a a a a a a a a a a a a a a 14 a a a a a a a a a a a a a a a a 16 a a a a a a a a a a a a 17 a a a a a a a a a a a a 19 a a a a a a a a a a a a 11 a a a a a a a a a 1 a a a a a a a a a 2 a a a a a a a a a 3 a a a a a a a a a 4 a a a a a a a a a 5 a a a a a a a a a a a a 6 a a a a a a a a a a a a 7 a a a a a a a a a a a a 8 a...

Page 94: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 95: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 96: ...ribbon cables of the bus units Each bus unit has room available for two 1 0 modules Figure 5 1 shows a basic unit expanded with external 1 0s Figure 5 1 Installation of a Basic Unit with External 1 0s 5 1 Assembling a Tier To expand a basic system with external 1 0 modules you need the following parts for each subunit An S5 95F basic unit Bus units max 8 1 0 modules Standard mounting rail Mount th...

Page 97: ... firmly until the slide audibly snaps into place To remove bus units proceed as follows Loosen the connections flat ribbon cable to the adjoining devices Using a screwdriver press down on the slide Swing the bus unit up and out of the standard mounting rail How to Connect Bus Units to the Basic Unit or interlocking Bus Units F Pull the flat ribbon cable connector top left on the bus unit out of it...

Page 98: ...the back of each module The position of the coding key is determined by the module type and cannot be changed The bus unit has a mating component for each key a white rotating coding element or lock see Figure 5 3 Use a screwdriver number to set the lock on the bus unit to the corresponding li O module la mo 0 0 Figure 5 3 Coding System to Prevent an Inadvertent Interchange of Modules To attach th...

Page 99: ... the ast slot in a tier is not occupied you must fit it with a connector cover as a precaution against electrostatic discharge see Fig 5 4 Connector cover 981 8MA11 is required Connector cover 6ES5 981 8MA11 Figure 5 4 Covering the Last Slot with Connector Cover 981 8MA11 5 4 EWA 4NEB 8126270 02 ...

Page 100: ...e to the last bus unit via the flat ribbon cable Use the IM 315 interface module for two tier configurations The IM 315 consists of two modules permanently connected via a 0 5 m 20 in cable Use the IM 316 interface modules for multi tier configurations Use the 712 8 connecting cable to connect the IM 316 interface modules Order No 6ES5 712 8 The standard mounting rails must have a common reference...

Page 101: ...adjacent bus unit Use a screwdriver to press down on the slide located on the bottom of the interface module Swing the module up and out of the standard mounting rail 5 3 Cabinet Mounting To improve noise immunity the programmable controller should be mounted on a metal plate There should be electrical continuity between the grounded enclosure and the mounting rails Make sure that the system is bo...

Page 102: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 103: ...or a vertical configuration as for a horizontal configuration You must install a clamp see Catalog SA 2 on the lower end of the PLC tier to hold the modules in position Figure 5 8 Vertical Mounting of a PLC a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Basic unit Clamp a a a a a a a a a a a a a a a a a a ...

Page 104: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 105: ...ove the module that is plugged into the bus unit Use a screwdriver to press down on the terminal block l Swing the terminal block up The rear side is now visible 2 Push the contact into the desired opening until the locating spring engages Caution The spring must point into the slot Pull lightly on the cable to make certain that the contact is properly engaged Swing the terminal block back into it...

Page 106: ...Figure 5 11 Insert the extraction tool into the slot beside the terminal so that you can compress the barb Position the cable in the groove on the extraction tool and pull out both the tool and the cable Realign the deformed barb so that you can use the terminal again Figure S 1 1 Disconnecting a Terminal EWA 41VEB 8126210 02 5 11 ...

Page 107: ...es are subject to a high grade function test Note Make sure that the load voltage for all failsafe external I O modules is connected If the load voltage is not connected the S5 95F reacts with a fault message and with the safety reaction programmed in DB1 System Reaction to I O Faults The reaction to an I O fault depends on whether you use the I O modules in single or two channel operation When yo...

Page 108: ... a a a 7 a a a a a a a a a a a a 10 a a a a a a a a a 9 a a a a a a 8 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 109: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a DIGITAL INPUT 8 x 24 V DC 6ES5 431 8FA11 a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a M a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 110: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 111: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a DIGITAL OUTPUT 4 x 24 V DC 2A 6ES5 450 8FA11 a a a a a a 1 a a a a a a 3 a a a a a a a a a 5 a a a a a a a a a 7 a a a a a a 9 a a a a a a 2 a a a a a a a a a 4 a a a a a a a a a 6 a a a a a a a a a 8 a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a ...

Page 112: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a DIGITAL OUTPUT 4 x 24 V DC 6ES5 450 8FA11 a a a a a a 1 a a a ...

Page 113: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a DIGITAL OUTPUT 4 x 24 V DC 2A 6ES5 450 8FA11 a a a a a a a a a a a a P a a a a a a a a a a a a a...

Page 114: ...a a a a a a a a a a a a a 6 a a a a a a a a a a a a a a a a 8 a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a M a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a L terminal block a a a a a a a a a a a a a a a a a a...

Page 115: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a M terminal block a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Lamp a a a a a a a a a a a a 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 116: ...l numbers are printed on the front plate The 16 channels on the input side IN and on the output side OUT are numbered from n 0 through n 7 and from n 1 0 through n 1 7 n is the start address of the slot Slot 0 for example has the start address of n 64 see Chapter 6 Figure 5 19 Front View of the Digital I O Module with a Crimp Snap In Connector simplified view and not true to scale 0 1 A n 1 40 pin...

Page 117: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a L terminal block a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a M L a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Lamp a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 118: ...ith 24 V DC Control Circuit for the Counter and Interrupt Logic The control circuit for the counter and interrupt logic has its own reference potential and is galvanically isolated from the other circuits You must supply this circuit with 24 V DC Sensor Circuits The sensor circuits supply the sensors for the onboard and external digital input modules Depending on the digital input module used you ...

Page 119: ...a a a a a a a a a 1 a a a a a a a a a a a a a a a a a a a a 1 a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a 11 a a a a a a a a a a a a 20 a a a a a a a a a a a a 20 a a a a a a a a a a a a a a a a a a a a M2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 120: ...of the output driver and thereby reduces the resulting control voltage VCV Connection of Single Channel Non Floating External I Os Figure 5 22 Simplified Representation of a Non Floating External I O Connection 9 V Data GND a a a a a a a a a a a a a a a a V1 a a a a a a a a a a a a a a a a a a a a V2 a a a a a a a a a a a a a a a VI a a a a a a a a a a a a 1 a a a a a a a a a a a a 2 a a a a a a a...

Page 121: ...e interference immunity in the load circuits When load circuits cannot be interconnected When you have AC load circuits If you have a floating configuration the PLC s control circuit and the load circuit must be galvanically isolated Figure 5 23 shows a simplified connection of galvanically isolated I Os Figure 5 23 Simplified Representation of a Floating External I O Connection 1L 1M 9 V Data GND...

Page 122: ... 2 3 4 5 6 7 a a a a a a a a a a a a a a a OUT a a a a a a a a a IN a a a a a a a a a a a a a a a a a a a a a DIGITAL a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 33 0 1 2 3 4 5 6 7 M a a a a a a A a a a a a a a a a B a a a a a a a a a a a a a a a a a a a a a Battery a a a a a a a a I O a a a a a a a a a a a a a a a a a a a a a a...

Page 123: ...a a a a a a a a a a a a a a a A B L 32 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 0 1 2 3 4 5 6 7 33 0 1 2 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 124: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 125: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 126: ... sensors and actuators either via a connector or to the terminal block of the bus units The terminal selected determines the bit address channel number of the input or output Figure 6 1 Address Assignment I O module Process image I O tables in the PLC Slot number channel number Control program Address in a statement Address in the process image output table Address in the process image input table...

Page 127: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 128: ...Slot number in subunit B 21 19 17 23 31 29 25 27 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a S5 95F basic unit 3 1 5 15 9 11 13 7 12 When expanding your system always add the new bus units to the topmost tier on the right Otherwise the slot numbers on ...

Page 129: ... plugged into Channel Number Y Bit Address Y The channel number comes from the connection of the actuators or sensors to the terminals of the terminal block The assignment for the channel number and the terminal number is printed on the frontplate of the module Example Address Assignment You are connecting a 2 wire BERO proximity limit switch to an 8 x 24 V DC digital input module 6ES5 431 8MA12 a...

Page 130: ...el 0 to byte 127 slot 7 channel 3 Figure 6 5 Address Assignment for Analog Modules Channel number Slot number S5 95F basic unit 64 65 66 67 68 69 70 71 6 4 2 0 Slot number a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 80 81 82 83 84 85 86 87 96 97 98 99 100 101 102 103 112 113 114 115 116 117 118 119 Channel number 0 1 2 3 7 5 3 1 Address assignments for a...

Page 131: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 132: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 133: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 134: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 135: ... by word reading IW word address Example Reading in the analog value of channel 3 of a 4 channel analog input module in slot 4 Bit number PII Byte 2 Byte 12 Byte 102 Byte 103 7 6 5 4 3 2 1 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 136: ...tal output module in slot 29 Word by word writing QW word address Example Writing an analog value to channel 2 of a 4 channel analog output module in slot 6 Byte 116 Byte 117 Bit nummer PIQ 7 6 5 4 3 2 1 0 Byte 4 a a a a a a a a a a a a a a a a Byte 29 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 137: ...s you can read in load the signal state of an input byte or input word into the control program at any time You can also use the T PB PYxx or T PWxx statements to write transfer output information directly to an output byte or output word Figure 6 8 Loading the Signal States of the Onboard Inputs and Outputs A I x x L IB x L IW x L PY x L PW x PII T PY x T PW x Q x x T QB x T QW x Access through t...

Page 138: ...nboard I Os if these operand identifiers are used However if the statement is in reference to the external I Os the programmable controller does not directly access the external I O modules It accesses the interrupt process image tables The interrupt process image tables are used only in time controlled program processing The interrupt process image tables and the normal process image tables have ...

Page 139: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a High byte 0 15 L PY 21 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 140: ... a a a a a a a a a a a a a a a a a Byte 110 Byte 111 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 141: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 142: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a OB 7600H 77FFH FB 7800H 79FFH PB 7A00H 7BFFH SB 7C00H 7DFFH DB 7E00H 7FFFH Address Process Image I Os Tables a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 143: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 144: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 145: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Tables 7 1 Comparison of Operation Types 7 2 7 2 Comparison of Block Types 7 7 7 3 Overview of Organization Blocks 7 9 7 4 Block Parameter Types and Data Types with Permissible Actual Operands 7 1...

Page 146: ... you must not observe this restriction 7 1 1 Methods of Representation The following methods of representation are possible with the STEP 5 programming language Statement List STL STL represents the program as a sequence of operation mnemonics A statement has the fol lowing format a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 147: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 148: ...ata Memory for intermediate results of digital operations T timers Memory for implementing timers C counters Memory for implementing counters P peripherals Interfaces from the process to the programmable controller K constants Defined numeric values OB PB SB FB DB blocks Program structuring aids Refer to Appendix A for a listing of all operations and operands 7 1 3 Circuit Diagram Conversion If yo...

Page 149: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 150: ...rganization blocks manage the control program Program Block PB Program blocks arrange the control program according to functional or technical aspects Sequence Block SB Sequence blocks are special blocks that program sequence controls They are handled like program blocks Function Block FB Function blocks are special blocks for programming frequently recurring or especially complex program parts e ...

Page 151: ...n the programmable controller can call an organization block under certain circumstances e g OB3 OB13 OB2 does not influence the nesting depth The total nesting depth is the sum of the nesting depths of cyclic OB1 interrupt controlled OB3 and time driven OB13 program processing If nesting goes beyond 16 levels the PLC goes into the STOP mode with the error message STUEB block stack overflow Figure...

Page 152: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 153: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Synchronization pattern Block type Block number Programmer ID Library number Blo...

Page 154: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 155: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 156: ...you can also use them like program blocks 7 3 4 Function Blocks FBs Frequently recurring or complex control functions are programmed in function blocks Function blocks have the following special features FBs can be assigned parameters Actual parameters can be assigned when the block is called FBs have an extended set of operations not available to other blocks The FB program can be written and doc...

Page 157: ...eter as a formal operand is given a designation DES Under this designation it is replaced by an actual operand when the function block is called The name can be up to four characters long and must begin with a letter of the alphabet You can program up to 40 parameters per function block Block Parameter Type You can enter the following parameter types I input parameters Q output parameters D data B...

Page 158: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Block parameter Na...

Page 159: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 160: ...st has a maximum of 40 parameters Example The name DES of a parameter is IN1 the parameter type is I as in input the data type is BI as in bit The formal operand for the FB has the following structure DES IN1 I BI Specify in the parameter list of calling block which actual operand is to replace the formal operand in the FB call In our example it is I 1 0 Enter in the parameter list IN1 I 1 0 When ...

Page 161: ...s Data blocks store data to be processed in a program The following data types are permissible Bit pattern representation of controlled system states Hexadecimal binary or decimal numbers times results of arithmetic operations Alphanumeric characters ASCII message texts Note In the safety mode you cannot change the contents of data blocks via the programmer The only exception is the access to the ...

Page 162: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 163: ...ogrammer function Output block To ensure that your system does not go into an impermissible state you must check all values which you operate in the safety mode for plausibility and reliability This check is to be carried out in a filter program in OB21 or OB22 You specifiy the number of parameter control DBs via COM 95F it must not lie in the range of the DBs with constant contents 7 4 Program Pr...

Page 164: ...e processed before the cyclic program pro cessing starts The start up OB program is appropriate for example for a one time presetting of certain system data If you access the PII in OB21 22 or if you directly access the onboard I Os then you always receive the value 0 If you write to the PIQ or to the onboard I Os via direct access in the OB21 22 then your change is stored and becomes effective on...

Page 165: ...START UP RUN Operating mode switch STOP RUN Programmer command START Power recovery 1 The following two examples show you how you can program a start up OB Example Programming OB21 OB22 STL Example Explanation a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 166: ... 700 ms you can use OB 31 to lengthen retrigger the monitoring time in the control program The monitoring time of the second cycle time monitor is checked by the operating system The monitoring time is set in DB1 and you cannot retrigger it in the control program For the second cycle time monitor software watchdog you can set monitoring times up to 2550 ms Transfer data Cycle trigger Control progr...

Page 167: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 168: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 169: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 170: ...the maximum OB13 processing delay are given in Table 7 5 Figure 7 13 Call Up Interval and Delay of OB13 Processing t t Time t t a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 171: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 172: ...upted for interrupt processing the time controlled program processing in OB13 is terminated afterwards OB13 can not interrupt the following Processing of the data cycles Interrupt driven program processing OB2 OB3 Current time controlled program processing OB13 Disabling Enabling the Call Up Use the IA command in the control program to disable the OB13 call up and the RA command to enable it A cal...

Page 173: ...rocessing is prolonged by the interrupt data cycle time Note The interrupt output data cycle is executed only if data has been written to the PIQ Time Interrupt Error If the system is so heavily loaded that it cannot process OB13 during the defined OB13 call up interval this leads to a time interrupt error OB13 is called again before OB13 processing is completed In the case of a time interrupt err...

Page 174: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 175: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Compress Valid blocks Invalid blocks a a a a a a a a a a a a a a a a a a a...

Page 176: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 177: ...omparison of Number Formats Decimal BCD Hexadecimal Binary a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 178: ...1 1 0 0 1 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 1 0 0 0 0 0 1 0 0 1 0 0 1 1 0 0 1 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1 1 LD C 1 L C 1 Incorrect method If you use the LD C1 state ment for this purpose the cur rent count will be loaded in BCD The F comparison operation results in a not equal to condition since the compari son involves different formats Correct method If the L C1 statement is en tered the formats...

Page 179: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 180: ...of Digital Logic Operations 8 43 8 15 Overview of Shift Operations 8 47 8 16 Overview of Conversion Operations 8 49 8 17 Decrement Increment Operations 8 51 8 18 Disable Enable Interrupt Operations 8 52 8 19 Overview of the DO Operation 8 53 8 20 Overview of Jump Operations 8 55 8 21 Overview of Binary Logic Operations 8 57 8 22 Overview of Set Reset Operations 8 58 8 23 Overview of Load and Trans...

Page 181: ...the STL method of representation As of version V 6 0 of the STEP 5 basic package the CSF type of representation can also be used for some of these operations System Operations access the operating system directly Only an experienced programmer should use them System operations can be input and output in STL form only If you are familiar with S5 95U programming then please note that the operations ...

Page 182: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 183: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Q OR Operation The OR operation scans to see if one of two or more conditions has been satisfied LAD a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Q 1 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 1 I 0 2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 184: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 185: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 186: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 187: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 188: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 0 Q 1 0 I 0 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 0 1 Q 1 0 STL S R Q LAD CSF a a a a a a a a a a a a a a a a a a a ...

Page 189: ... to 0 flag F 1 7 retains signal state 0 If both inputs have a 1 signal state the flip flop is set set dominant The signal state of the flag is scanned and transferred to output Q 1 0 STL F 1 7 R S Q LAD CSF a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 190: ...yte High byte Low byte High byte Figure 8 1 Accumulator Structure You can load and transfer permissible operands in bytes or words For exchange in bytes infor mation is stored right justified i e in the low byte The remaining bits are set to zero You can use various operations to process the information in the two accumulators Load and transfer operations are executed independently of condition co...

Page 191: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 192: ... L IB 8 L IB 7 Information from the PII Lost information 0 IB 7 ACCU 2 ACCU 1 Byte b Byte d IB 7 Byte d Byte c Byte a Byte b IB 7 0 Byte b Byte a 0 IB 8 IB 8 Transfer Operation During transfer information from ACCU 1 is copied into the addressed memory area e g into the PIQ This transfer does not affect the contents of ACCU 1 Example Figure 8 3 shows how byte a the low byte in ACCU 1 is transferre...

Page 193: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 194: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 195: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a SF R Pulse Timer The timer is started on the leading edge of the RLO When the RLO is 0 the ti...

Page 196: ...ng of OB1 The timers are not updated during the start up organization blocks OB21 OB22 Loading a Time Timer operations call internal timers When a timer operation is started the word in ACCU 1 is used as a time value You must therefore first specify time values in the accumulator You can load a timer with any of the following data types KT constant time value or DW data word IW input word QW outpu...

Page 197: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 198: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Three digit time value in BCD code indicates bit positions occupied by 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 199: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 200: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 201: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 202: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 203: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 204: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 205: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 206: ...tal display see Figure 8 5 Figure 8 5 Output of the Current Counter Status Example ACCU 1 Current Counter Status in C2 L C2 LD C2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Binary count Three digit count in BCD code Indicates bit positions occupie...

Page 207: ... C 1 I 0 0 I 0 1 C 1 Q 1 0 a a a a a a a a a a a a a a a a 1 a a a a a a a a a a a a a a a a 1 Circuit Diagram Timing Diagram a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 208: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 209: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 210: ...s an overview of the arithmetic operations An example follows the table Table 8 7 Overview of Arithmetic Operations Operation Meaning Addition The contents of both accumulators are added Operand F F Subtraction The contents of ACCU 1 are subtracted from the contents of ACCU 2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 211: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a L C 3 L C 1 F T QW 12 The value of counter 3 is loaded into ACCU 1 The value of counter 1 is loaded into ACCU 1 The previous contents of ACCU 1 are shifted to ACCU 2 The contents of the two accumulators are interpreted as 16 bit fixed point numbers and added The result contents of ACCU 1 is trans...

Page 212: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Parameter 0 to 255 0 to 255...

Page 213: ...ed within another block when the previous condition has been satisfied RLO 1 Example A special function has been programmed in FB63 It is called and processed under certain conditions e g in PB10 FB63 STL S F 1 0 A I 0 0 JC FB 63 The JC FB63 statement in program block PB10 calls function block FB63 if input I 0 0 is 1 Explanation Program Sequence A I 0 0 PB10 JC FB63 a a a a a a a a a a a a a a a ...

Page 214: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 215: ...data words 0000 in the RAM of the PLC and entered in the block address list The next time the G DB5 operation is processed it has no effect if the contents of ACCU 1 are not 0 Deleting a Data Block STL Explanation Example Delete a data block that is no longer needed a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 216: ...B3 Unconditional Block End BEU The BEU operation causes a return within a block However jump operations can bypass the BEU operation in function blocks see sections 8 2 10 and 8 3 4 Binary logic operations cannot be continued in a higher order block Example Scanning of function block FB21 is terminated regardless of the RLO JC M001 BEU M001 BE The BEU statement causes program scanning to leave fun...

Page 217: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a PB7 FB20 A I 0 0 BEC JU FB20 8 1 9 Other Operations Table 8 9 lists other basic operations Explanations follow the table Table 8 9 Overview of Other Operations Operation Meaning Operand ID STP Stop at the end of program scanning in OB1 Current program scanning is terminated The PIQ...

Page 218: ... 18 16 NOP No Operations The NOP operations reserve or overwrite memory locations Display Generation Operations BLD display generation operations divide program parts into segments within a block NOP operations and display generation operations are significant only for the programmer when representing the STEP 5 program The programmable controller does not execute any operation when these statemen...

Page 219: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a STL Explanation Example Read out the OB 13 time interval from the system data a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 220: ...s an extended pulse pulse width 50 s This timer sets output Q 1 0 for the duration of the pulse If output Q 1 1 is reset repeatedly the timer should also be restarted repeatedly a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 221: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1 RS a...

Page 222: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a C DB 10 A I 0 0 CU C 10 A I 0 1 L KC 000 S C 10 O I 0 2 O F 5 2 R C 10 LD C 10 T DW 12 TBN D 12 8 JC FB 5 TB D 12 8 JC FB 6 TB D 12 11 F 5 2 Call data block 10 Input I 0 1 loads the count of counter 10 with the constant 0 With each positive edge change at I 0 0 the counter is incremented...

Page 223: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 224: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 225: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 226: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 227: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 228: ...ion STL L IW 124 SRW 4 T QW 126 Load the value of input word IW124 into ACCU 1 Shift the bit pattern in ACCU 1 four positions to the right Transfer the result contents of ACCU 1 to output word QW126 Numeric Example The value 35210 is stored in IW124 Shift the corresponding bit pattern in ACCU 1 four positions to the right to divide the value 35210 by 24 16 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 15 0 0 0 ...

Page 229: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 230: ... of input word IW12 into ACCU 1 Invert all bits and add a 1 Transfer the altered word to data word DW100 Numeric Example Form the negative value of the value in input word IW12 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 231: ...eter indicates the value by which the contents of ACCU 1 are to be changed The operations refer to decimal values however the result is stored in ACCU 1 in binary form Changes relate only to the low byte in the accumulator STL Explanation Example Increment the hexadecimal constant 1010H by 16 and store the result in data word DW8 In addition decrement the incremen tation result by 33 and store the...

Page 232: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 233: ...control program works with the parameter that is stored in the flag word or data word This parameter is the one called up in the first statement If you want to index binary operations inputs outputs or flags you input the bit address in the high byte of this word You input the byte address in the low byte In any other instance the high byte must be 0 The following operations can be combined with t...

Page 234: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 235: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 236: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 237: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Formal operand Actual Operands Permitted Parameter Data Type Type Inputs outputs and flags addressed in binary form Timers and counters I Q F T C BI A AN O ON AN...

Page 238: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 239: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 240: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 241: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Example 2 A I 0 0 L KC 017 S C 5 A I 0 1 CU C 5 A I 0 2 CD C 5 A C 5 Q 1 0 A I 0 3 R C 5 BE Program in Function Block FB33 A I 2 L KC 017 SEC CNT5 A I 3 SSU CNT5 A I 4 SFD CNT5 A CNT5 OFF3 A I 0 3 RD CNT5 BE JU FB 33 NAME COUNT I2 I 0 0...

Page 242: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 243: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 244: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Loading and Transferring Register Contents Both accumulators can be addressed as registers Each register is 16 bits wide Since the LIR and...

Page 245: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 246: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Processing An arithmetic operation is executed independently of the RLO It does not affect the RLO or the condition codes You can subtract by entering a negative parameter Even if the result cannot be represented by 16 bits no carry is made to ACCU 2 i e the contents of ACCU 2 ar...

Page 247: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a TAK Swap acc...

Page 248: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 249: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 250: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 251: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 252: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 253: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 254: ...Blocks 9 1 9 3 Legend for the Block Diagram of the PID Controller Figure 9 2 9 4 9 4 Description of the Control Bits in Control Word STEU 9 5 9 5 Format of the Controller DB 9 7 9 6 Calling and Parameter Assignments of FB240 9 14 9 7 Calling and Parameter Assignments of FB241 9 14 9 8 Calling and Parameter Assignments of FB242 9 15 9 9 Calling and Parameter Assignments of FB243 9 15 9 10 Calling a...

Page 255: ... 1 Impractical with PII 2 Direct access to external I Os not permissible Command OB 1 OB 34 OB 37 OB 2 OB 3 OB 13 OB 21 OB 22 Boolean logic operations X only with IB 32 33 56 60 X X X1 Set reset operations X only RQ 32 x RI 60 x X X X1 Load and transfer operations X2 X2 X X1 2 Timer counter comparison block call operations X only BE X X X Supplementary operations 0 0 0 0 System operations 0 0 0 0 ...

Page 256: ... time for the software watchdog in DB 1 retriggering of this monitoring time in the control program is not possible 9 1 2 Procedure after Battery Failure OB34 The S5 95F checks the status of the battery In the case of a battery failure the S5 95F reacts as follows The battery failure is signalled A message is entered in the system event DB see Table 15 2 After the battery failure you must replace ...

Page 257: ... PID algorithm The continuous action controller is designed for controlled systems such as those present in process engineering for controlling pressure temperature or flow rate The R variable sets the proportional component of the PID controller If proportional action is required most controller designs use the value R 1 The individual Proportional action Integral action and Derivative action com...

Page 258: ...Output value YH Control Word Bit 3 0 dYH Control Word Bit 3 1 Z Disturbance variable XW System error a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 259: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 260: ...k With feedforward control D11 5 0 XZ is forwarded to the differentiator D11 1 1 dYk K XWk XWk 1 R TI XWk TD XZk 2XZk 1 XZk 2 dDk 1 Zk Zk 1 K dPWkR dIk dDk dZk P component I component D component k kth sample Z component When XWk is applied XWk Wk Xk PWk XWk XWk 1 QWk PWk PWk 1 XWk 2XWk 1 XWk 2 When XZ is applied PZk XZk XZk 1 QZk PZk PZk 1 XZk 2XZk 1 XZk 2 The result is dPWk XWk XWk 1 R dIk TI XW...

Page 261: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 262: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Actual value 2047 to 2047 Disturban...

Page 263: ...nant system time constant TRK dom determines the step response of the closed control loop TA 1 10 TRK dom In order to ensure the constancy of the sampling interval OB251 must always be called up in the service routine for time interrupts OB13 Figure 9 3 Principle of Interval Sampling xd t x w a a a a a a a a a a a a a a a a a a a a TA TRK dom x Control variable t Time TA Sampling interval TRK dom ...

Page 264: ...ine how to tune the controller for each controlled system Temperature sensor Manipulated variable Transducer Actual value Setpoint adjuster Analog input module OB251 with controller DB call in OB13 Y Analog output module W X Annealing furnace Channel1 Channel0 Control byte DR11 IB32 PID control algorithm Channel 0 Final control element Fuel gas flow Controlled system S5 95F Figure 9 4 Process Sche...

Page 265: ... the control bits must therefore be transferred with T DR11 to prevent corrupting DL11 Read actual value and setpoint A F 12 0 Flag 0 for unused functions in FB250 R F 12 0 AN F 12 1 Flag 1 S F 12 1 JU FB 250 Read actual value NAME RLG AI BG KF 0 Slot number KNKT KY 0 6 Channel no 0 fixed point bipolar OGR KF 2047 Upper limit for actual value UGR KF 2047 Lower limit for actual value EINZ F 12 0 No...

Page 266: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 267: ...r output Y factor 1 49 KH 0000 value range 2047 to 2047 50 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 268: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 2 2 Code Converter 16 FB 241 Use function block FB 241 to convert a fixed point binary number 16 bits to a number in BCD c...

Page 269: ... JU FB 242 NAME MUL 16 Z1 Z2 Z3 0 Z32 Z31 9 2 4 Divider 16 FB243 Use function block FB 243 to divide one fixed point binary number 16 bits by another The result quotient and remainder is represented by two fixed point binary numbers 16 bits each The divisor and the result are also scanned for zero An eight bit number must be transferred to a 16 bit word prior to division Table 9 9 Calling and Para...

Page 270: ...51 9 2 6 Additional Calling Up of Test Routines FB252 The operating system tests all safety relevant system components at least once per hour see Chapter 2 In the following section this test is also called background test If your automated process requires shorter test intervals for particular system components or if you wish to determine the instant of a test yourself then you use FB252 to execut...

Page 271: ...the operating system is not affected by the test initiated by the user You may only activate one user initiated test at a time Before you activate a new test e g in another part of the program the last test must be completed If not none of the tests started will be completed You should therefore always evaluate the information returned in the parameter assignment error byte Calling Up a Test Compo...

Page 272: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 273: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 274: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 275: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 276: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 277: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 278: ...Using failsafe onboard inputs and outputs Using failsafe external modules Exchanging data via SINEC L1 Changing call up interval for time controlled program processing OB13 see Chapter 7 Assigning system parameters Note For systems requiring approval you must use the COM 95F software package to parameterize DB1 see COM 95F manual On the following pages the configuration of DB1 and the meaning of t...

Page 279: ...E N 324 KC KBS N SF N EF N 336 KC SL1S UVB N 348 KC D1S N D1E N D2S N D2E N 360 KC SNTS1 0 9 SNTS2 0 9 372 KC SNTE1 0 9 SNTE2 0 9 384 KC TD1S 0 TD2S 0 TD1E 0 S 396 KC TD2E 0 S SDP SYID 408 KC 0 DBCON 200 251 CYST N 420 KC AGCYC 25 DBPAR N ERSI N 432 KC ERCP N TFB OB13 0 444 KC CLP STW N CLK N 456 KC SET N OHS N 468 KC OHE N TIS N STP 480 KC N SAV N CF 0 492 KC CRC CRC END a a a a a a a a a a a a a...

Page 280: ...the STEP 5 program Parameter is entered by the operating system Explanation Default Setting Block ID a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 281: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a A block ID e g OBC a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 282: ...a block ID 4 The parameter name comes next Parameter names are names for single parameters within a parameter block Within a block the first four characters of a parameter name must be different from each other After the parameter name you must add at least one filler 5 At least one argument is attached to each parameter name An argument is either a number a character string or a STEP 5 operand th...

Page 283: ... order to make it easier to read parameter names you can add as many characters as you wish if you add an underscore _ after the abbreviated parameter name Example SF becomes SF_SENDMAILBOX At the end of the input you must add at least one filler There is a rule of thumb that will help you check DB1 You should include at least one filler in the following instances After the start ID Before and aft...

Page 284: ...95F proceed as follows Switch the power off and then on or Switch from RUN to STOP and again to RUN If you do not assign parameters in DB1 then the S5 95F generates a default DB1 where it also enters the current I O configuration The default settings of DB1 are selected so that the S5 95F can assume a status as safe as possible With this default DB1 the S5 95F goes to RUN If you assign parameters ...

Page 285: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 286: ...w 32 x t w 33 x t w 59 x t w 32 x t w 33 x t w 59 x t w OB3 interrupt processing with negative edge at input OB3 interrupt processing with positive edge at input OB3 interrupt processing with positive or negative edge at input Permissible range of values Bit no x x 0 1 7 X X all for bytes 32 33 x 0 1 3 X X all for byte 59 Discrepancy time t t S Short discrepancy time approx 1 ms t M Medium discrep...

Page 287: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a DE DE 32 x t 33 x t The discrepancy time can be changed for each onboard input Permissible range of values Bit no x x 0 1 7 X X all bits Discrepancy time t t S Short dis...

Page 288: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 289: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 290: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Default setting Permissible changes PGN SLN x y If you use the SINEC L1 program...

Page 291: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a KBE KBS SF EF MBx DByDWx MBx DByDWx MBx DByDWx MBx DByDWx If you use a SINEC L1 data bus you must define the location of the coordination byte and the send and receive mailboxes Permissible range of values No of flag byte data word x x 0 1 to 255 Block no of DB y y 2 3 to 251 Non fails...

Page 292: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 293: ...would round the value entered Enter call intervals T of OB13 in units of 10 ms in the system data SD97 T 1 2 65535 x 10 ms Time controlled program processing timer function block Block ID TFB OB13 O Time controlled program processing not activated a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 294: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 295: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 296: ... 1 and 2 of the Status Word 10 7 10 4 Significance of Bits 4 and 5 of the Status Word 10 7 10 5 Significance of the Operating Hours Counter Flag Bits 8 9 and 10 of the Status Word 10 8 10 6 Significance of the Prompt Time Flag Bits 12 13 and 14 of the Status Word 10 8 10 7 Example Setting the Clock Time via the Programmer Function BLOCK OUTPUT 10 9 a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 297: ...of clock parameters in DB1 see section 9 3 6 Using COM 95F to set clock parameters see COM 95F manual The integral clock requires a clock data area and a status word We recommend you to store the clock data area and the status word in the parameter control DB so that you can also set the clock in the safety mode 10 1 2 Operating Principle of the Clock Operation of the integral real time clock is i...

Page 298: ... supplied by the backup battery the clock therefore continues running both during STOP and POWER OFF Change the battery only during POWER ON as otherwise clock data can be lost Observe the general rules for battery replacement see Chapter 2 10 1 4 Entering the Clock Time Correction Factor The exactness of the clock is temperature dependent You can configure a correction value to increase the clock...

Page 299: ...lock stores current time date and operating hours counter values in the clock data area DB1 and the control program store the settings for prompt times and operating hours counter in the same data area Figure 10 1 illustrates the relationship between DB1 or the control program the clock data area and the integral real time clock Figure 10 1 Accessing the Clock Data Area DB1 Control program Clock d...

Page 300: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 301: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 302: ...s of bits 4 and 5 in the status word You can set or reset these bits using the S or R operations in the control program The operating system resets the transfer settings bits bits 2 10 and 14 in the status word under the following conditions The settings have been transferred The settings have not been transferred because they were outside of the permissible range The corresponding error bits bits...

Page 303: ...me at which the last switch from RUN to STOP occurred Operating Mode Bit Number Status Word Signal State Meaning a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 304: ...ag Bits 12 13 and 14 of the Status Word Bit Number Signal State Meaning 12 1 Error in setting entry 0 1 0 1 0 13 14 No error in setting entry The set prompting time is reached The set prompting time is not reached Transfer the settings for the prompt time Do not transfer the settings for the prompt time a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 305: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 306: ...OCK MODE BE a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 307: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 308: ...a positive edge at input I 0 5 Flag F 13 1 indicates which mode the clock is operating in Flag F 13 0 is the AM PM bit in the 12 hour mode The clock data area is in DB200 beginning with DW0 and the status word is DW 22 OB1 STL Explanation READING TIME AND DATE A I 0 5 TIME AND DATE ARE AN F 0 1 STORED IN FY30 TO FY36 IN CASE OF A F 0 0 POSITIVE EDGE AT I 32 5 A I 32 5 EXTERNAL EVENT F 0 1 A F 0 0 ...

Page 309: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 310: ...sferring Settings to the Clock You can store the settings in the clock data area by using transfer operations see Table 10 2 The AM PM flag bit number 7 is only significant in 12 hour mode Bit 7 1 means PM Bit 7 0 means AM You must transfer the clock data in BCD code The KC data format loads a BCD constant into ACCU 1 and is therefore especially suitable If you enter the value 255D or FFH in a byt...

Page 311: ...Y IMPORTANT IN 12 HOUR MODE MIN FY 134 MINUTES SEC FY 135 SECONDS ERR F 12 2 ERROR BIT ALRM F 13 2 DISPLAYS THAT PROMPT TIME IS REACHED MODE I 1 0 CLOCK MODE BE a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 312: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 313: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 314: ... with a certain start value e g after exchanging the CPU The clock data must be transferred in BCD code The KC data format loads a BCD constant into ACCU 1 and is therefore especially suitable for entering the settings If you do not want a value for example minutes to be transferred enter the relevant byte as 255D or FFH The current value for this variable is then retained After you have transferr...

Page 315: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 316: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 317: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a FB14 STL Explanation NAME BETR LES READING THE OPERATING HOURS COUNTER C DB 200 DB IN WHICH THE CLOCK DATA IS LOCATED A F 12 4 IF AUXILIARY FLAG 12 4 IS SET BEC THE MACHINE IS ALREADY OFF BLOCK END L DL 14 LOAD HOUR VALUE X 100 IN ACCU 1 L KC 003 COMPARE TO 3 300 HOURS F BEC END IF 30...

Page 318: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 319: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Tables 11 1 Operating Mode Switch Settings for Analog Input Modules 464 8M 11 11 5 11 2 Representation of an Analog Input Value as a Bit Pattern 11 6 11 3 Analog Input Module 464 8MC11 8MD11 Bipolar Fixed Point Number 11 6 11 4 Analog Input Module 464 8ME11 4 4 to 20 mA Absolute Value Representa...

Page 320: ...ections you will find information about the operating principle wiring methods and start up and programming of analog input modules 11 2 Connecting Current and Voltage Sensors to Analog Input Modules Observe the following rules to connect current and voltage sensors to analog input modules When you have multi channel operations assign the channels in ascending order This shortens the data cycle Us...

Page 321: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 11 2 2 Two Wire Connection of Current Sensors You can use module 464 8MD11 for the two wire connection of current sensors Figure 11 2 shows the two wire connections of current sensors Figure 11 2 Two Wire Connection for Current Sensors 6ES5 46...

Page 322: ...ansducers 6ES5 464 8ME11 a a a a a a a a a a a a 1 a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a 7 a a a a a a a a a a a a 9 a a a a a a a a a 2 a a a a a a a a a 4 a a a a a a a a a 6 a a a a a a a a a 8 a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a M a a a a a a a a a a a a a a a a a ...

Page 323: ... a a a a a a a a U Four wire transducer a a a a a a a a a a a a a a a a a a a a a a a a Four wire transducers require their own power supply Connect the pole of the four wire transducer to the corresponding pole of the terminal block a connection technique that is the opposite of the two wire transducer Connect negative terminals of the four wire transducer to terminal two of the terminal block In...

Page 324: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 325: ...d Value in V in mA High Byte Low Byte Range 4095 20 000 40 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 Overflow 4095 2049 19 995 10 0048 39 9902 20 0098 0 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 1 0 0 0 0 0 0 Overrange 2048 10 000 20 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1024 5 000 10 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0048 0 0098 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...

Page 326: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 327: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 328: ...t Pattern X High Byte 7 6 5 4 3 2 1 0 Bit number Analog value represent 7 6 5 4 3 2 1 0 S 210 29 28 27 26 25 24 23 22 21 20 X X X a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 329: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Table 11 7 Output Voltages and Currents for Analog Output Modules Unipolar a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 330: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 331: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 1 5 DQ DQ AQ AI PS CPU Figure 11 9 Conversion of the Nominal Range into the Defined Range 4 mA 12 mA 20 mA Nominal range of the analog module The analog output of the SONAR BERO delivers a constant current in the range 4 to 20 mA pro...

Page 332: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a The BCD number is stored in flag bytes 11 to 13 Output is via two 8 channel digital output modules in slots 2 and 3 The BCD tetrads 5 and 6 stored in flag word 11 need not be output since the number has only three digits STL Explanation L FW12 Read tetrads 0 to 3 of the BCD number T ...

Page 333: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 334: ...alog Value to the Nominal Range Tank contents 30 0 m3 0 0 m3 30 0 m3 20 mA 0 mA 20 mA STL Explanation JU FB251 Unconditional call up FB251 NAME RLG AQ XE FW20 Tank contents BG 1 Slot 1 KNKT 0 1 Channel 0 channel type 1 OGR 300 High limit 30 0 m3 UGR 300 Low limit 30 0 m3 FEH F0 2 1 if wire break BU F0 3 1 if tank too full BE a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 335: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 336: ...a a a a a a a a a a a a a a a a a a Tables 12 1 Priorities of the Organization Blocks 12 1 12 2 Differences Between OB2 and OB3 Interrupts 12 1 12 3 Pin Assignments for the 9 Pin Sub D Connector 12 2 12 4 Operations Permissible in OB2 12 4 12 5 Communication and Diagnostic Bytes for Responses to OB2 Interrupts 12 5 12 6 Example for Programming OB2 12 6 12 7 Example for Scanning the Diagnostic Byte...

Page 337: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 338: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 339: ...6 5 4 3 2 1 0 Bit for I 59 0 Bit for I 59 1 Bit for I 59 2 Bit for I 59 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 340: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 341: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Communication byte IB 57 The operating system uses IB 57 to identify OB2 interrupts This byte can then be evaluated and reset in the user program outside OB2 Diagnostic byte for OB2 interrupts IB 58 The operating system uses IB 58 to identify the onboard DQs reset in OB2 This byte...

Page 342: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 343: ... a a a a a 9 a a a a a a a a a a a a 1 a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a 6 a a a a a a a a a a a a 5 a a a a a a a a a a a a 7 a a a a a a a a a a a a 8 a a a a a a a a a a a a 9 a a a a a a a a a a a a L a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a...

Page 344: ... a 6 a a a a a a a a a a a a 5 a a a a a a a a a a a a 7 a a a a a a a a a a a a 8 a a a a a a a a a a a a 9 a a a a a a a a a a a a L a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a a a L a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a I 59 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 345: ...ified comparison value On a a falling signal edge or b a rising signal edge or c on a rising or falling signal edge at an OB3 interrupt input the type of signal edge is specified in DB1 using the COM 95F software Safety Note The choice of the interrupt triggering signal edge is of consequence as regards safety Should you decide on edge b or c you must prove its safety to the inspector at the time ...

Page 346: ...ne can be interrupted by an OB2 interrupt but not by another OB3 interrupt or an OB13 call If OB3 interrupts are generated while the OB3 service routine is executing they are stored so that OB3 can be reinvoked once it has terminated Interrupt processing can be disabled with IA and re enabled with RA The default is RA Interrupts are stored while IA is in force see Interrupt priority Note The block...

Page 347: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 348: ...wed to onboard I Os only The OB3 runtime may not exceed 8 ms The T PY PW statement transfers the data directly to the relevant onboard outputs and to the normal PIQ There is neither an interrupt PII nor an interrupt PIQ Note When flags used in the cyclic program are also used in an interrupt processing routine they must be saved before the service routine executes e g in a data block and reloaded ...

Page 349: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 350: ...or OB2 interrupts If the execution time of OB2 for your application differs from that assumed above you can calculate the interrupt response time using the following formulae Typical Interrupt Response Time for OB2 Interrupts If you have not disabled an interrupt IA RA operations in the user program the typical interrupt response time is calculated as follows TOB2 response typical 3 ms TOB2 If you...

Page 351: ...The primary objective of interrupt processing in OB2 is to reset an onboard DQ as quickly as possible when the signal edge at an interrupt input changes An OB2 interrupt input is not suitable for counting high frequency periodic pulses As a guideline we would recommend that OB2 not be invoked more often than every 50 ms via the same interrupt input If it is invoked more frequently the S5 95F might...

Page 352: ... Response Time for OB3 Interrupts under Worst Case Conditions OB3 Interrupts only Under worst case conditions the response time for OB3 interrupts if no OB2 interrupts are used is TOB3 response wort case 12 ms 1 25 TOB3 1 5 ms nbytes nbytes 1 2 or 3 Interrupt Response Time for OB3 Interrupts under Worst Case Conditions OB2 and OB3 interrupts Under worst case conditions the response time for OB3 in...

Page 353: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 354: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Tables 13 1 Characteristics of Non Failsafe Data Interchange 13 3 13 2 Initializing the Interface for Non Failsafe Data Interchange 13 5 13 ...

Page 355: ...s please contact your local Siemens branch office If there are several nodes on the channel connect the controllers using BT 777 bus terminals A bus terminal serves as level converter The hardware configurations for failsafe and nonfailsafe data transfer are identical A separate power supply for BT 777s such as that required for the S5 115F is unnecessary Warning To ensure protection against dange...

Page 356: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Channel A a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Channel B a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a BT777 a a a a a a a a a a a a a a a ...

Page 357: ...r of slaves with which the S5 95F can communicate Max 30 Permissible frame length Max 64 bytes Reaction free connection Yes Failsafe frames possible No Broadcast frames possible Yes Interrupt frames possible No Cable redundant high availability SINEC L1 bus capability Yes Location of Send and Receive mailboxes specifiable Yes a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 358: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Slave number parameter station numb...

Page 359: ...umber of the S5 95F Default No SLN 2 SLN x x 1 to 30 SL1A Block ID Subunit A on SINEC L1 SF N Location of the Send mailbox Default No SF DB2DW0 SF DBxDWy X 2 to 251 y 0 to 255 or SF FYz z 0 to 255 EF N Location of the Receive mailbox Default No EF DB2DW10 EF DBxDWy X 2 to 251 y 0 to 255 or EF FYz z 0 to 255 KBE N Location of the Coordination Byte Receive Default No KBE FY2 KBE MBx x 0 to 255 or KB...

Page 360: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Control program for data interchange a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 361: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Number of the receiver 0 Master 1 to 30 Slaves 31 Broadcast Length of the net data Destination slave n...

Page 362: ...see section 13 2 1 Figure 13 8 shows which information is stored where in the Receive Mailbox Figure 13 8 Structure of the Receive Mailbox FY 66 FY 1 FY 2 FY 3 DW 1 DW 2 DW 3 DL DR 2nd data byte Length of the net data in bytes Source slave number Length of the net data Source slave number 4th data byte 1st data byte 3rd data byte Example Receive Mailbox in flag area starting with flag byte 1 Examp...

Page 363: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Structure of the user program for receiving data Check bit 7 in the KBE to see whether you can retrieve data from the Receive Mailbox In order for you to be able to read data...

Page 364: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 365: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 366: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 367: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 368: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 369: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Send mailbox a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 370: ...a path 2 Internal control bits not accessible to user Coordinating the Frame Sequence in the SINEC L1 Receiver The S5 95F does not transmit a new frame until the receiver s operating system has accepted the data in the old frame The transmitter however receives no acknowledgement as to whether the receiver s user program evaluated the frame Because the S5 95F erases the contents of the Receive Mai...

Page 371: ...even if the receiver s operating system has not accepted the data of the old frame Safety Note When you use message modes 115F 14 and 115F 15 the S5 95F useful frame monitoring feature is deactivated To prevent an undetected frame loss you must not alter the send mailbox more than once during each safety time for Receive EWA 4NEB 812 6210 02 13 17 ...

Page 372: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 373: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 0 Program can process Send Mailbox data path 1 in DB 252 operating system is not accessing mailbox 1 Send Mailbox is enabled for transfer user program is no longer modifying mailbox data operating system resets bit following transmission 0 Program can process Send Mai...

Page 374: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 375: ...ive Mailbox data path 1 in DB 252 1 Program is waiting for next useful data frame the operating system will reset this bit as soon as the next useful data frame has been transferred without error 0 Program can process Receive Mailbox data path 2 in DB 253 1 Program is waiting for next useful data frame the operating system will reset this bit as soon as the next useful data frame has been transfer...

Page 376: ...fer via subunit A expired Fault is tolerated on high availability L1 bus The operating system resets this bit when a valid frame is received 0 o k 1 Monitoring time for data transfer via subunit B expired Fault is tolerated on high availability L1 bus The operating system resets this bit when a valid frame is received 0 o k 1 Useful frame lost internal useful frame counter incorrectly incremented ...

Page 377: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 0 Frame valid operating system resets bit in the RESTART routine and following depassivation via FB255 1 Frame invalid Safety time expired Depending on how DB1 was initialized the system either reacts with a PLC STOP or responds as programmed at the user level No other frames are transferred to the Receive Mailbox as long a...

Page 378: ...time expired Depending on how DB1 was initialized the system either reacts with a PLC STOP or responds as programmed at the user level No other frames are transferred to the Receive Mailbox as long as this bit is 1 0 o k 1 Monitoring time for data transfer via subunit A expired Fault is tolerated on high availability L1 bus The operating system resets this bit when a valid frame is received 0 o k ...

Page 379: ...am It requires approval and must be endorsed by the inspector at the time of the selective acceptance test At that time you must agree with the inspector on the SINEC L1 safety time for Receive and how the system is to respond when no valid frame is received within that time period for each failsafe data path Note It is not necessary to transmit and receive at least one useful frame within the SIN...

Page 380: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 381: ...reaction invoked at the user level in the user program Problems with the SINEC L1 Bus Master When problems occur with the SINEC L1 bus master e g because it has gone to STOP or because it is restarting following a POWER OFF POWER ON sequence they may cause a frame delay Should this happen the SINEC L1 safety time could expire In such a situation the S5 95F responds with STOP or with passivation of...

Page 382: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 383: ...made above apply when the user program utilizes to the full the transfer options provided by the SINEC L1 bus In most cases this is not necessary You can reduce the relative system onload caused by traffic over the SINEC L1 channel by doing the following Select the longest time period permitted by the process as SINEC L1 safety time for Send When the user program is transmitting and last sent a lo...

Page 384: ...ystem The response time is a combination of three time periods Processing time in the transmitter time between an input signal change and updating of the SINEC DB including the Send request in the User Valid Byte SINEC L1 safety time for Receive Processing time in the receiver time between evaluation of the SINEC L1 DB including the Receive request in the User Valid Byte and the output signal chan...

Page 385: ...95F Master traffic 95F mode 115F 15 mode 20 bytes each 10 net bytes 30 net bytes 4 byte 4 byte header each header each a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 386: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 387: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 388: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 389: ... 14 1 Restrictions on the STATUS Function 14 2 14 2 Control Bits 14 6 14 3 Interrupt Stack 14 6 14 4 ISTACK Entries in System Data Words 203 to 214 14 7 14 5 Abbreviations for Control Bits and Causes of Faults 14 8 14 6 Interrupt Analysis 14 9 14 7 Operating the Programmer in Safety Quasi Safety and Test Mode 14 14 14 8 Storing a User Program on EPROM 14 15 14 9 Blocks Which Must be Stored on the ...

Page 390: ...logic A detailed description of these test functions is included in the manual which accompanies your programmer 14 1 1 Program Dependent Signal Status Display STATUS This test function displays the current signal states and the RLO result of the logic operation for the operations executed during the program scan You can also use this and other test functions to debug the program Note The current ...

Page 391: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 392: ...eturns the status of an arbitrary operand input output flag data word counter or timer at the end of the program scan Information about inputs and outputs can be obtained from the process input and process output images Figure 14 2 STATUS VAR Test Function Transfer data Scan cycle trigger User program STATUS VAR EWA 4NEB 812 6210 02 14 3 ...

Page 393: ...ther bit by bit byte by byte or word by word Edge flag control must be observed in the case of T and C variables in KM format The signal status display is aborted if a bad format or operand entry is detected and the programmer outputs the NO FORCING POSSIBLE message Information on invoking the test functions on the programmer can be found in the relevant programmer manuals 14 1 4 Search Function S...

Page 394: ...rogrammer Invoking the ISTACK The ISTACK is invoked via the programmer menu while the PLC is at STOP Refer to the programmer manual for the keystroke sequence ISTACK Updating The S5 95F updates the ISTACK when the PLC goes from RUN to STOP without actuation of the mode switch RUN STOP when the S5 95F is switched from STOP to RUN but still remains at STOP Redisplay the contents of the ISTACK on the...

Page 395: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a NB PBSSCH BSTSCH SC...

Page 396: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Contains the absolute memory address of the next statement to be executed or the block start address of the errored block A param...

Page 397: ...esult of the logic operation u Unassigned a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 398: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 399: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 400: ... a a a a a a a a a a a a a a a a a a 000A When it encounters an illegal statement the S5 95F interrupts the program scan and goes to STOP with error NNN The STEP address counter is set to the absolute address of next statement in program memory The REL SAC is set to the relative address of the next statement in PB7 000EH Program Errors Occurring During Program Scanning If errors occur during progr...

Page 401: ...5 is two words long DB3 ten words long The BSTACK function helps the user determine the path the program took to reach FB2 and tells him which DB was open at the time FB2 was invoked It contains the three marked block start addresses Figure 14 5 Program Trace with the BSTACK 06 OB1 04 JU PB2 02 00 JU PB1 PB1 xx BE 00 PB2 04 02 JU PB4 00 C DB5 xx BE 18 BE PB3 16 JU FB2 00 C DB3 PB4 08 JC FB2 00 10 ...

Page 402: ... be part of your user program This filter routine must be approved just like any other user program block by the person conducting the acceptance test You must enter the number of the parameter control DB in DB1 with the COM 95F software STOP per Programmer Request Safety Note There is no interlock on the switchover from STOP to RUN per programmer request and it requires only a simple keystroke on...

Page 403: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 404: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 405: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 406: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 407: ...a a Tables 15 1 Structure of the System Event DB 15 3 15 2 Evaluating the System Events in DB254 15 11 15 3 Acknowledging System Events 15 19 15 4 Memory Allocation for the Cycle Time Statistics 15 21 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 408: ...a hard STOP when the failure of one of the subunits is such that failsafe scanning of the user program is no longer possible for instance a hardware fault in the processor s internal RAM A hard STOP always requires an overall system reset 15 1 2 Soft STOP The S5 95F is in a soft STOP when it can be switched to RUN without an overall system reset 15 1 3 Passivation of a Signal Group When the S5 95F...

Page 409: ... flagged in the system event DB If the entry in the system event DB is not indicative of an error e g SINEC L1 o k or SINEC L1 data path passivated the operating system does not set the error LED The LED remains set In Test mode until the PLC once again goes from STOP to RUN In Safety and Quasi Safety mode until the next STOP POWER OFF POWER ON RUN sequence Until it is reset in the user program vi...

Page 410: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 411: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 412: ...it in DW 36 36 15 36 14 36 13 36 12 36 11 36 10 36 9 36 8 36 7 36 6 36 5 36 4 36 3 36 2 36 1 36 0 Signal group 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 413: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Onboard DQs byte 32 Counters Interr...

Page 414: ...EC L1 monitoring time for Receive on data path 1 expired SINEC L1 bus B SINEC L1 monitoring time for Send on data path 2 expired SINEC L1 monitoring time for Receive on data path 2 expired SINEC L1 bus A SINEC L1 monitoring time for Receive on data path 2 expired SINEC L1 bus B a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 415: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 416: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 417: ...ck stored by viewing DR62 The 1st DW in the error block is 64 error block number times 8 Determine the error response and the subunit in which the error fault occurred Evaluate byte 0 Determine the error response and the subunit in which the error fault occurred This information is coded in the first byte byte 0 of the relevant error block Error flag Hard STOP restart possible only after overall r...

Page 418: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 419: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 420: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 421: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 422: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 423: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 424: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 425: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 426: ... 0 see Chapter 9 All error flags in DB254 are reset a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 427: ... used in the COM 95F software and consist of error number primary information and auxiliary information see section 15 3 9 For corrective measures please refer to the Manual see Table 15 2 When initializing the system parameters with COM 95F you must initialize the CP 521 as signalling module see COM 95F Manual 15 6 Forwarding Error Messages to the SINEC L1 Master The S5 95F can automatically forw...

Page 428: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 429: ... for Battery and Load Voltage You can evaluate the following by querying diagnostic byte IB 35 The state of the backup battery The state of the load voltage for onboard DIs DQs The state of the load voltage for counters and interrupt inputs Diagnostic Byte IB 35 7 6 5 4 3 2 1 0 0 No battery backup 1 Battery backup OK a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 430: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 431: ...s can be addressed by both subunits a total of 8 bits is therefore provided Both counters are failsafe with integral test function and each has a maximum frequency of 350 Hz 4 bit interrupt inputs are failsafe No analog I Os 16 1 2 External I Os Same quantity framework possible as on the 95U when failsafe modules are used the quantity framework is reduced accordingly therefore a maximum of 16 modu...

Page 432: ...rations are restricted in scope see section 8 3 The operation set which may be used in OB2 is restricted refer to the subsections in Chapter 12 which deal with interrupt driven program scanning The address allocation in the system data area and the meaning of various addresses have been changed see section 6 8 All standard function blocks used must be prototype tested 16 2 3 Integral Function Bloc...

Page 433: ...ogram Scanning The dynamic behaviour of time controlled program scanning differs from that of the S5 95U see section 7 4 3 16 3 3 Interrupt Driven Program Scanning OB2 for hardware interrupts limited operation set due to asynchronous user program execution and short response time OB3 for software interrupts edge detection via operating system Additional diagnostic byte for interrupt processing see...

Page 434: ...tional system event DB DB254 Errors are flagged in the system event DB see section 15 3 You can read and display the system event DB with the COM 95F software OB37 is invoked prior to an S5 95F error response 16 6 Battery Failure A battery must be installed for failsafe mode see section 2 5 4 If no battery has been inserted or if the battery is too weak the S5 95F calls OB34 Seventy two hours afte...

Page 435: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 436: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Tables 17 1 Component Requirements 17 1 17 2 Timers Inputs and Outputs 17 4 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 437: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 438: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 439: ...rings from the fiber optics sockets Connect the two basic units to the fiber optics cable Connect basic unit terminals L and M with 24 V and M Connect the load voltage supply to the onboard I O connectors To do so connect terminals 1 and 11 with 24 V terminals 10 and 20 with M Insert a backup battery into each basic unit Set the device ID on both subunits and the length 1 m of the fiber optics cab...

Page 440: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Momentary contact limit switch Timers Inputs and Outputs Table 17 2 Timers Inputs and Outputs Operand Assignment I 32 0 Momentary contact switch 1 S1 for starting the process I 32 1 Momentary contact switch 2 S2 for starting the process I 32 2 Momentary contact limit switch S3 for stamp down I 32 3 Momentary contact limit sw...

Page 441: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 442: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 443: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 444: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 445: ...accepts all entries as made Configuring Output Byte 32 Output byte DQ 32 is to be assigned signal group 5 Select the Configuring the onboard DQ DQ 32 screen form Enter a 5 as Signal group Exit the Configuring the onboard DQ DQ 32 form by pressing ENTER 3 Result COM 95F accepts all entries as made Terminate configuring of the onboard I Os by pressing F8 Result COM 95F accepts all entries as made Co...

Page 446: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 447: ...llow error LED goes on Signal group 5 is passivated Eliminate wirebreaks and initiate depassivation by actuating the RESET button Pull the fiber optics connector on subunit B Yellow error LED goes on and the STOP LED flashes S5 95F goes to STOP and tries to synchronize the subunits Reinsert fiber optics connector Wait until the STOP LED shows steady light Switch both subunits from STOP to RUN Remo...

Page 448: ...bout 30 seconds after which the S5 95F is fully functional Before the S5 95F once again includes the defective component in the cycle it is tested This test is particularly apparent when digital outputs are involved as the LEDs on the digital output modules light up briefly 17 12 EWA 4NEB 812 6210 02 ...

Page 449: ...ode 18 27 18 13 7 Trigger Edge for OB3 Interrupts 18 28 18 13 8 Measures for Securing the User Program Against Errors 18 28 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 450: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 451: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Figures 18 1 Subdivision of the I Os into Signal Groups 18 18 18 2 Schematic of a Structured Program Sequence 18 19 18 3 Response Time for a Time Controlled Program Scan 18 23 18 4 Address Assignment 18 29 18 5 Con...

Page 452: ...onfiguring and the S5 95F user program Of the utmost importance to the S5 95F acceptance test is the failsafe interplay between all safety oriented components such as sensors and actuators This section provides A guideline for the acceptance test for a failsafe system A summary of the topics covered including added information for the inspection 18 1 Acceptance Test for a System Containing an S5 9...

Page 453: ... time of the system acceptance test 18 1 1 Planning Phase Even while planning your system you should contact the approving authority and clarify the following points Safety Requirements Find out which standard e g DIN VDE 0116 contains the safety requirements for your system and the class to DIN V 19250 Risk Analysis In the risk analysis the inspector decides which of your system s subprocesses ar...

Page 454: ...g Whether the electrical resources are failsafe or non interacting Whether the technical specifications meet with the required ambient conditions e g EMC temperature and humidity rating Communication with Other Components If you plan communications to other components answer the following questions Who are the partners in the communications link Should data transfer be unidirectional or bidirectio...

Page 455: ...ured Hardware The inspector uses the component mounting diagram and the printout of the configuring data to make sure that all safety relevant input and output modules are failsafe This applies not only to the input and output modules but also to sensors and actuators Checking of the User Program The inspector checks the user program on the basis of the program listing the flowcharts and the logic...

Page 456: ...ponent mounting diagrams When checking the hardware the inspector pays particular attention to Module conformity including version The use of failsafe modules for failsafe signals I O wiring Links to other devices Should the comparison show considerable changes the inspector might well require a new pre acceptance test Comparison between Pre Approved and Implemented Software For the software compa...

Page 457: ...electrical wiring and the memory used in failsafe mode Within this framework a check should also be made to make sure that ambient conditions mentioned in the technical specifictions have been observed Documentation Documentation should include the current user program as listing as well as on floppy disk or EPROM The EPROM labels should include the following information Installation Date Signatur...

Page 458: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 459: ...1 DQ Subunit B DI a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Sensor 2 I O type J Subunit A or B a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Actuator DQ I O type L Failsafe binary input module with two channel sensor and high quality line monitoring Line monitoring via the same test DQ is possible only when a s...

Page 460: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 461: ... Discrepancy time short Approx 1 ms Discrepancy time in n OB1 cycles Discrepancy time in n OB13 cycles IB 59 Discrepancy time short Approx 1 ms a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 462: ...one OB1 cycle The disceprancy time in n OB13 cycles fluctuates by one OB13 cycle If you select the discrepancy time as the number of OB13 cycles you must initialize the OB13 interval in DB1 OB13 need not however actually be written in the user program Power Outage During Discrepancy Analysis Safety Note If a power outage POWER OFF occurs during discrepancy analysis all the discrepancy timers are r...

Page 463: ...hange this code System ID Number Whenever you use several S5 95Fs in your installation and operate them with different user programs there is always the possibility of a mix up in the EPROM submodules To avoid mistakes a unique system ID number can be defined for each S5 95F This ID number must be entered in DB1 with the COM 95F software when the system parameters are initialized In the safety mod...

Page 464: ...a a a a a a a a EPROM 6ES5 375 0LA15 8 Kbytes EPROM 6ES5 375 0LA21 16 Kbytes EPROM 6ES5 375 0LA41 32 Kbytes 11 12 17 EPROM 6ES5 375 1LA15 8 Kbytes EPROM 6ES5 375 1LA21 16 Kbytes EPROM 6ES5 375 1LA41 32 Kbytes 411 412 417 Note For operation with memory submodules you always requrietwo identical memory submodules Make sure that both submodules have the same order number 18 6 Function of the Backup B...

Page 465: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 466: ...EMENS 3TF2010 0BB4 3 W at 24 V DC 3 9 A at 400 V AC SIEMENS 3TH8031 0B 6 2 W at 24 V DC 4 10 A at 230 V AC SIEMENS 3TH3022 0B 6 2 W at 24 V DC 4 10 A at 230 V AC SIEMENS 3TH2022 0BB4 3 W at 24 V DC 4 4 A at 230 V AC Téléméchanique LP4 EC09 2 4 W at 24 V DC 4 6 A at 230 V AC ABB KC22E 7 W at 24 V DC 4 4 A at 230 V AC AEG SH04 1 2 W at 24 V DC 4 6 A at 440 V AC a a a a a a a a a a a a a a a a a a a ...

Page 467: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 468: ...er in data words DW35 and DW36 of system event data block DB254 for each pasasivated signal group These entries can be evaluated in the user program and the program written to respond accordingly The passivation of failsafe I Os has the following effect DIs Immediate removal of the PII entry for the relevant DI other than interrupt DIs OB2 interrupt DIs Immediate resetting of the diagnostic bytes ...

Page 469: ... FB255 Calls Each time FB255 is invoked the S5 95F executes only part of the total I O test To shorten the test run it is therefore recommended that FB255 be invoked more than once in the cyclic program FB255callsareallowedonlywhenFB252isnotintheprocessofexecutinganI Otest DI DQ interrupt DI or counter test You can evaluate FB252 s PAFE byte to make sure that this is not the case PAFE D0H Note tha...

Page 470: ...ated a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Is signal group 12 passivated a a a a a a a a a a a a a a a...

Page 471: ...rmed e g by an acoustic signal and an acknowledgement awaited When the acknowledgement has been made the process is resumed in attended operation mode and overseen by qualified personnel For this purpose it is necessary to prove that the process can be continued under those conditions by qualified personnel to a switch off point without any safety risk The user program must ensure that the process...

Page 472: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 473: ...eded As a result the maximum response time TOB1 response is computed as follows TOB1 response 2 max PLC cycle time 1 1 You must specify the value for the max PLC cycle time in DB1 The use of the programmer s STATUS function in Test mode increases the response time In the worst case a response time TOB1 response of up to 10 times the maximum PLC cycle time is a possibility As a rule the response ti...

Page 474: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a Call interval for OB13 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 475: ...Response Time for OB2 Interrupts If you have not disabled an interrupt IA RA operations in the user program the typical interrupt response time is calculated as follows TOB2 response typical 3 ms TOB2 If you disable an interrupt in the user program the interrupt response time will be extended by the execution time of the program sequence for which the interrupt is disabled max 5 ms Interrupt Respo...

Page 476: ... 23 ms for OB3 interrupts If the execution times of OB2 and OB3 for your application differ from those assumed above you can calculate the interrupt response time using the following formulae Interrupt Response Time for OB3 Interrupts under Worst Case Conditions OB3 Interrupts only Under worst case conditions the response time for OB3 interrupts if no OB2 interrupts are used is TOB3 response wort ...

Page 477: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 478: ...ormation on the minimum waiting time in a retentive flag and evaluate that flag in OB22 18 13 5 Scratchpad Safety Note Flags F 200 0 to F255 7 are reserved for the internal programming of loadable standard FBs For reasons of safety the use of these flags in the user program is permitted only when no loadable standard function blocks are used the flag area is saved prior to invoking a loadable stan...

Page 479: ...ted discrepancy time To ensure detection of a continuous 1 fault by the S5 95F the duration of the 0 and 1 signal states must be at least parametrized discrepancy time one OB1 cycle 18 13 8 Measures for Securing the User Program Against Errors In safety mode the user program must be stored on an EPROM submodule The EPROM submodules for the two subunits are identical Safety Measures for the User Pr...

Page 480: ...e terminal block of the bus units The terminal selected determines the bit address channel number of the input or output Figure 18 4 Address Assignment I O module Process image I O tables in the PLC Slot number channel number Control program Address in a statement Address in the process image output table Address in the process image input table Data flow from module PLC Addressing of Single Chann...

Page 481: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 482: ...14 8 6 Slot number in subunit B 21 19 17 23 31 29 25 27 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a S5 95F basic unit 3 1 5 15 9 11 13 7 12 When expanding your system always add the new bus units to the topmost tier on the right Otherwise the slot numb...

Page 483: ...on free and failsafe standard FBs Only failsafe standard FBs may be used to form signals relevant to the system s failsafety When initializing the block parameters note that output parameters are failsafe only when all input parameters are failsafe All standard FBs are identified by a library number which in conjunction with other measures protect the blocks against falsifications caused by transf...

Page 484: ...he must all other blocks in the user program You must enter the number of the parameter control DB in DB1 STOP via Programmer Input Command Note There is no interlock feature to prevent you from switching the PLC from STOP to RUN and you can do so simply by pressing a button on the programmer For this reason the STOP initiated via the programmer may not be regarded as safety condition When mainten...

Page 485: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 486: ...must be run before the S5 95F processed this data Text displays may not be used to transfer failsafe frames to the S5 95F Initiating a STOP via Devices Connected to the Serial Interface Safety Note A STOP initiated via text displays connected to the serial interface must never be regarded as safe as the S5 95F could conceivably be switched to RUN via that very device For this reason switch the S5 ...

Page 487: ...eive Mailboxes for Non Failsafe Data Interchange Safety Note Regardless of the intended frame length the S5 95F s Receive mailbox for non failsafe data interchange must either have a length of 66 bytes or be located at the end of the flag area of data block Conditions for failsafe input output signals Safety Note If failsafe input output signals are to be transmitted over the SINEC L1 network a 0 ...

Page 488: ...was sent If your automated process requires failsafe frame coordination you must monitor the frame sequence with an acknowledgement system Coordinating Frame Sequences 115F 14 and 115F 15 Modes The S5 95F resets bit 0 or 2 of the UVB after sending the frame even if the receiver s operating system has not accepted the data of the old frame Safety Note When you use message modes 115F 14 and 115F 15 ...

Page 489: ...a paths during which the receiving node must have received at least one valid frame The SINEC L1 safety time for Receive depends on the automated process and on the user programs of the participating partners in the communications link The value chosen as safety time for Receive must be approved by the authorized inspector Discuss with the inspector the following points for each failsafe data path...

Page 490: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 491: ...e Condition code and control byte for Receive and clears the Receive mailbox The operating system flags an error in the SINEC L1 error word in system event data block DB254 The operating system enters an error message in the error buffer in system event data block DB254 The S5 95F responds as specified in DB1 possible responses are a PLC STOP or the reaction written in the user program 18 40 EWA 4...

Page 492: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 493: ...g time in the transmitter time between change in the input signal and updating of the SINEC DB including Send request in User Valid Byte SINEC L1 safety time for Receive Processing time in the receiver time between evaluation of the SINEC L1 DB including Receive request in User Valid Byte and the change in the output signal 18 20 EMC of the IM 316 8MA12 Safety Note For reasons of electromagnetic c...

Page 494: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 495: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 496: ... 50 mm Rated electromagnetic to IEC 801 3 field test severity rating 3 field strength 10 V m Fast transient burst to IEC 801 4 severity rating 3 Power supply lines Supply voltage 24 V DC 2 kV Signal lines Analog input output modules 1 kV Digital input output modules for V 24 V 2 kV Comunications interfaces 1 kV Surge impulse to IEC 801 5 severity rating 3 HF current to IEC 801 6 severity rating 3 ...

Page 497: ... Class I Floating no Back up battery Lithium battery 3 4 V 850 mAh life expectancy min 1 year service life at 25 C 77 F approx 5 years Power loss of the module typ 12 W Power Supply Internal Input voltage rated value 24 V DC permissible range 20 to 30 V Current consumption from 24 V for the subunit typ 160 mA for full external I O configuration typ 1 A Output voltage V 1 for external I O 9 V V 2 f...

Page 498: ...24 V for failsafe outputs 50 mA all outputs 0 for single channel outputs 20 mA all outputs 0 for interrupt inputs Floating yes Input voltages and currents as for digital inputs see Specific Onboard I O Specifications Delay time from 0 to 1 typ 1 ms from 1 to 0 typ 1 ms Pulse duration 2 ms Cable length shielded 100 m 330 ft Counter inputs Floating yes Input voltages and currents as for digital inpu...

Page 499: ...a a 6 a a a a a a a a a 7 a a a a a a a a a 4 a a a a a a a a a 3 a a a a a a a a a a a a 6 a a a a a a a a a 5 a a a a a a a a a a a a 8 a a a a a a a a a 7 a a a a a a a a a a a a 10 a a a a a a a a a 9 a a a a a a a a a M a a a a a a a a a a a a L a a a a a a a a a a a a 1 a a a a a a a a a a a a 2 a a a a a a a a a a a a L a a a a a a a a a M a a a a a a a a a 1 a a a a a a a a a 2 a a a a a a...

Page 500: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 501: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 502: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 503: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 504: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 505: ... 6 a a a a a a a a a a 1 a a a a a a a a a a 2 a a a a a a a a a a 3 a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a 6 a a a a a a a a a a a a a a a 7 a a a a a a a a a a 8 a a a a a a a a a a 9 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a a a a a a M a a a a a a a a a a a a a a a ...

Page 506: ... a a a a a a a a a a a a a a a a X 4 a a a a a a a a a a a a a a a a a a a a X 7 a a a a a a a a a a a a a a a a a a a a X 6 a a a a a a a a a a a a L1 a a a a a a a a a a a a a a a a a a L1 a a a a a a N a a a a a a a a a 2 a a a a a a a a a a a a 4 a a a a a a a a a a a a 3 a a a a a a a a a 6 a a a a a a a a a a a a 5 a a a a a a a a a 8 a a a a a a a a a a a a 7 a a a a a a a a a a a a 10 a a ...

Page 507: ... a a X 0 a a a a a a a a a a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a a a a a X 2 a a a a a a a a a a a a a a a a a a a a X 5 a a a a a a a a a a a a a a a a a a a a X 4 a a a a a a a a a a a a a a a a a a a a X 7 a a a a a a a a a a a a a a a a a a a a X 6 a a a a a a a a a S2 a a a a a a a a a S1 a a a a a a a a a a a a a a a a a a a a a a a a 4 7 k a a a a a a a a a a a...

Page 508: ...a a a a a a a a a a a a X 5 a a a a a a a a a a a a a a a a X 4 a a a a a a a a a a a a a a a a X 7 a a a a a a a a a a a a a a a a X 6 a a a a a a a a a M a a a a a a a a a a a a L Technical Specifications Number of outputs 8 Galvanic isolation yes optocoupler in groups of 8 Load voltage L rated value 24 V DC permissible range 20 to 30 V including ripple value at t 0 5 s 35 V Output current for 1...

Page 509: ... a a a a a a a a a a X 1 a a a a a a a a a a a a a a a a X 0 a a a a a a a a a a a a a a a a X 3 a a a a a a a a a a a a a a a a X 5 a a a a a a a a a a a a a a a a X 4 a a a a a a a a a a a a a a a a X 7 a a a a a a a a a a a a a a a a X 6 a a a a a a a a a a a a a a a a X 2 Technical Specifications Number of outputs 8 Galvanic isolation yes optocoupler in groups of 8 Load voltage L1 rated value ...

Page 510: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 511: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 512: ... a a a a a a a a a 7 a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a a a a a a L n 1 a a a a a a a a a a a a a a a a 0 a a a a a a a a a a a a 0 5A a a a a a a a a a a a a a a a a 7 a a a a a a a a a a a a a a a a a a a a 4 a a a a a a a a a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a a a a a a 3 a a a a a a a a a a a a a a a a a a a a 2 a a a a ...

Page 513: ... from L without load typ 100 mA Lamp load max 5 W EMC Characteristics for Use in S5 95F Electrostatic discharge to IEC 801 2 Severity rating 1 tested with 8 kV air discharge 2 kV contact discharge Electromagnetic fields to IEC 801 3 Severity rating 3 tested with 3 V m Fast transient burst to IEC 801 4 Severity rating 2 tested with 1 2 kV on supply lines 1 kV on signal lines Input side Number of in...

Page 514: ... a a a a a a a a a a a a a 4 5 a a a a a a a a a a a a a a a a 6 7 a a a a a a a a a a a a a a a a 8 9 a a a a a a a a 10 a a a a a a a a a a a a a a a 2 a a a a a a a a a a a a 5 a a a a a a a a a a a a a a a 6 a a a a a a a a 9 a a a a a a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a a a a a a ...

Page 515: ...ation for range exceeded yes more than 4095 units sensor wire break no general indication of wire break no Noise suppression for f nx 50 60 Hz 1 n 1 2 common mode min 86 dB rejection Vpp 1 V series mode rejection min 40 dB peak value of noise rated value of input range Basic error limits 0 2 operational error limits at 25 C 77 F referred to the input ranges of the module Operational error limits 0...

Page 516: ... a a a a 3 a a a a a a a a 7 a a a a a a a a a a 8 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 25 a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a a a a Ch 1 a a a a a a a a a a a a Ch 2 a a a a a a a a a a a a Ch 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 517: ...ion for range exceeded yes more than 4095 units sensor wire break no general indication of wire break no Noise suppression for f nx 50 60 Hz 1 n 1 2 common mode min 86 dB rejection Vpp 1 V series mode rejection min 40 dB peak value of noise rated value of input range Basic error limits 0 2 operational error limits at 25 C 77 F referred to the input ranges of the module Operational error limits 0 4...

Page 518: ...a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 31 2 a a a a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a a a a Ch 1 a a a a a a a a a a a a a a a Ch 2 a a a a a a a a a a a a a a a Ch 3 a a a a a a a a a 1 a a a a a a a a a 2 ...

Page 519: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 520: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ANALOG OUTPUT 2 x 10 V 6ES5 470 8MA12 1 2 3 4 5 6 a a a a a a a a a a a a a a a 24 V a a a a a a a a a a a a a a a a a a a a a 6 a a a a a a a a a 5 a a a a a a a a a 3 a a a a a a a a a 4 a a a a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a S a a a a a a a a a a a a MANA a a a a a a a a a a a a S a a a a a a a a Q...

Page 521: ...erred to output range of the module Operational error limits 0 to 60 C 32 to 140 F referred to output range 0 6 Length of cable shielded max 200 m 600 ft Supply voltage L peripheral rated value 24 V DC ripple V PP 3 6 V permissible range 20 to 30 V ripple included Rated insulation voltage 9 V to 12 V AC insulation group 1 x B tested with 500 V AC Rated insulation voltage Output to L between output...

Page 522: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ANALOG OUTPUT 2 x 20 mA 6ES5 470 8MB12 1 2 3 4 5 6 a a a a a a a a a a a a a a a a a a a a 24 V a a a a a a a a a a a a a a a a a a a a a a a a a 6 a a a a a a a a a 4 a a a a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a a a a a a a a a a MANA a a a a a a a a a ...

Page 523: ... error limits 0 to 60 C 32 to 140 F referred to output range 0 6 Length of cable shielded max 200 m 660 ft Supply voltage L rated value 24 V DC ripple V PP 3 6 V permissible range 20 to 30 V ripple included Rated insulation voltage 9 V to 12 V AC insulation group 1 x B tested with 500 V AC Rated insulation voltage Output to L between outputs output to 9 V 60 V AC insulation group 1 x B tested with...

Page 524: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ANALOG OUTPUT 2 x 4 20 mA 6ES5 470 8MC12 1 2 3 4 5 6 a a a a a a a a a a a a a a a 24 V a a a a a a a a a a a a a a a a a a a a a 6 a a a a a a a a a 4 a a a a a a a a a a a a a a a Ch 0 a a a a a a a a a a a a a a a ...

Page 525: ...ferred to output range Operating error limits 0 to 60 C 32 to 140 F referred to output range 0 6 Length of cable shielded max 200 m 660 ft Supply voltage L rated value 24 V DC ripple VPP 3 6 V permissible range 20 to 30 V ripple included Rated insulation voltage 9 V to 12 V AC insulation group 1 x B tested with 500 V AC Rated insulation voltage outputs to L between outputs output to 9 V 60 V AC in...

Page 526: ... 1 kV on signal lines a a a a a a a a a a 2 a a a a a a a a 5 a a a a a a a a a a 6 a a a a a a a a 9 a a a a a a a a a a a a a a a 10 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 9 V GND Data a a a a a a a a a a 4 a a a a a a a a 1 a a a a a a a a 3 a a a a a a a a 7 a a a a a a a a a a 8 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a V 24 a a a a...

Page 527: ...a a a a a a 4 a a a a a a 5 a a a a a a 8 a a a a a a 6 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 528: ...n supply lines 1 kV on signal lines Technical Specifications Operating mode switch selectable position decoder PD Position Decoder counter C Counter Sensor inputs 1 sensor 5 V differential input or 1 sensor 24 V DC Digital inputs 2 reference and enabling Digital outputs 2 setpoints 1 and 2 Galvanic isolation no Counting range Operating mode position decoder two s complement KF 32768 to 32767 count...

Page 529: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a CLOSED LOOP CONTROLLER 6ES5 262 8MA12 1 2 3 4 5 6 a a a a a a a a a a a a a a a a a a a a a 1 2 3 4 a a a a...

Page 530: ...ting 2 tested with 3 V m Fast transient burst to IEC 801 4 Severity rating 3 tested with 1 2 kV on supply lines 1 kV on signal lines Technical Specifications Controller Total cycle time equals scan time 100 to 200 ms Resolution of the open loop controller 5 ms at 50 Hz 4 2 ms at 60 Hz Analog Inputs Number of inputs 4 suited for current thermocouple or resistance thermo meter voltage with external ...

Page 531: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 532: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 533: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 534: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 535: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 536: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a approx 40 3 2 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 135 5 3 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 537: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 538: ... Dimension Drawing of the Bus Unit SIGUT Screw type Terminals with I O Module 81 3 2 135 5 3 85 3 4 127 5 162 6 4 with screw type terminals 6ES5 700 8MA11 91 5 3 6 45 75 1 7 Standard mounting rail EN 50022 35 15 EWA 4NEB 812 6210 02 B 3 ...

Page 539: ...nsion Drawings S5 95F B 3 Interface Modules Figure B 4 Dimension Drawing of the IM 315 Interface Module 135 5 3 135 5 3 45 4 1 8 35 1 4 26 1 min 210 8 3 max 570 22 4 13 5 0 5 81 3 2 B 4 EWA 4NEB 812 6210 02 ...

Page 540: ...S5 95F Dimension Drawings Figure B 5 Dimension Drawing of the IM 316 Interface Module 6ES5 316 8MA12 13 5 0 5 81 3 2 min 210 8 3 max 10000 39 4 26 1 35 1 4 135 5 3 45 4 1 8 EWA 4NEB 812 6210 02 B 5 ...

Page 541: ... hole a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 2 5 0 1 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a R 1 2 0 05 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a R 1 2 0 05 24 1 0 1 a a a a a a a a a a a a a a a a a a a a 15 a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 542: ... 530 20 9 15 0 6 25 1 0 20 x 25 500 0 8 x 1 0 19 7 18 0 7 Figure B 9 Dimension Drawing of the 830 mm 32 7 in Standard Mounting Rail 830 32 7 15 0 6 25 1 0 32 x 25 800 1 26 x 1 0 31 5 18 0 7 a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 5 2 0 2 Figure B 10 Dimension Drawing of the 2 m 6 6 ft Standard Mounting Rail 2000 mm 6 6 ft EWA 4NEB 812 6210 02 B 7 ...

Page 543: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 544: ...N Y N N Y N N Y N 1 6 4 8 4 8 480 30 4 8 Scan operand for 1 and combine with RLO through logic AND AN I Q F T0 to 63 T64 to 127 C N Y N N Y N N Y N N Y N 1 6 4 8 4 8 480 30 4 8 Scan operand for 0 and combine with RLO through logic AND O I Q F T0 to 63 T64 to 127 C N Y N N Y N N Y N N Y N 1 6 4 8 4 8 480 30 4 8 Scan operand for 1 and combine with RLO through logic OR ON I Q F T0 to 63 T64 to 127 C ...

Page 545: ... the current data block into ACCU 1 L DR N N N 34 Load a data word right hand byte of the current data block into ACCU 1 Opera tion STL Permissible Operands 1 RLO depend 2 RLO affected 3 RLO reloaded 1 2 3 Typical Execution time in µs On Ext board I O Function S I Q F Y N Y Y N Y 2 4 7 2 7 2 Set operand to 1 R I Q F Y N Y Y N Y 2 4 7 2 7 2 Reset operand to 0 I Q F N N Y N N Y 1 6 6 4 6 4 Assign va...

Page 546: ...ad a time or count in binary code into ACCU 1 Load Operations cont L T0 to 63 T64 to 127 C N N N N N N 480 45 16 Load a time or count in binary code into ACCU 1 LC T0 to 63 T64 to 127 C N N N N N N 480 95 16 Load times or counts in BCD into ACCU 1 T IB N N N 1 6 4 Transfer the contents of ACCU 1 to an input byte into the PII T QB N N N 1 6 4 Transfer the contents of ACCU 1 to an output byte into t...

Page 547: ...to a flag word into the PIQ ACCU 1 bits 8 15 byte n ACCU 1 bits 0 7 byte n 1 T DL N N N 27 2 Transfer the contents of ACCU 1 to a data word left hand byte T DR N N N 27 2 Transfer the contents of ACCU 1 to a data word right hand byte T DW N N N 32 8 Transfer the contents of ACCU 1 to a data word SI T Y N Y 380 Start a timer stored in ACCU 1 as a signal contracting pulse on the leading edge of the ...

Page 548: ...ed F N Y N 22 Compare two fixed point numbers for not equal to If ACCU 2 ACCU 1 the RLO is 1 CC 1 CC 0 are affected F N Y N 22 Compare two fixed point numbers for greater than If ACCU 2 ACCU 1 the RLO is 1 CC 1 CC 0 are affected F N Y N 22 Compare two fixed point numbers for greater than or equal to If ACCU 2 ACCU 1 the RLO is 1 CC 1 CC 0 are affected F N Y N 22 Compare two fixed point numbers for...

Page 549: ...nditional BEU cannot be used in organization blocks NOP 0 N N N No operation all bits reset NOP 1 N N N No operation all bits set STP N N N 1 6 Stop scanning is still completed before a stop Error ID STS is set in the ISTACK BLD 130 N N N Display generation operation for the programmer carriage return generates blank line BLD 131 N N N Display generation operation for the programmer switch to stat...

Page 550: ...n formal operand for 1 Data type BI ON Formaloperand I Q F T0 63 T64 127 C N Y N 65 65 480 85 65 OR operation scan formal operand for 0 Data type BI AW N N N 16 Combine contents of ACCU 2 and ACCU 1 through logic AND word operation Result is stored in ACCU 1 CC 1 CC 0 are affected OW N N N 15 Combine contents of ACCU 2 and ACCU 1 through logic OR word operation Result is stored in ACCU 1 CC 1 CC 0...

Page 551: ... Set a bit of a data word unconditionally RU T C N N Y 6 Reset a bit of a timer or counter word unconditionally RU D N N Y 34 Reset a bit of a data word unconditionally S Formal operand I Q F Y N Y 125 80 Set a formal operand when RLO 1 Data type BI RB Formal operand I Q F Y N Y 125 80 Reset a formal operand when RLO 1 Data type BI RD Formal operand T C Y N Y 75 72 Reset a formal operand digital w...

Page 552: ...4 to 127 C Y N Y Y N Y 480 66 Start a stored on delay timer formal operand with the value stored in ACCU 1 or increment a counter formal operand SFD Formal operand T to 63 T64 to 127 C Y N Y Y N Y 480 66 Start an off delay timer formal operand with the value stored in ACCU 1 or decrement a counter formal operand L Formal operand I Q F T0 to 63 T64 to 127 C DW DL DR N N N 124 55 480 91 66 Load the ...

Page 553: ...affected JU Symb addr max 4 char N N N 32 Jump unconditionally to the symbolic address JC Symb addr max 4 char Y Y1 Y 34 Jump conditionally to the symbolic address If the RLO is 0 it is set to 1 JZ Symb addr max 4 char N N N 36 Jump if the result is zero The jump is made only if CC 1 0 and CC 0 0 The RLO is not changed JN Symb addr max 4 char N N N 39 Jump if the result is not zero The jump is mad...

Page 554: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 555: ...fer a word to the system data area JU OB N N Y 110 Call an organization block unconditionally JC OB Y Y1 Y 110 Call an organization block conditionally ADD BN N N N 15 Add byte constant fixed point to ACCU 1 ADD KF N N N 12 Add fixed point constant word to ACCU 1 STS N N N 2 4 Stop operation Program processing is interrupted imme diately after this operation TAK N N N 12 Swap the contents of ACCU ...

Page 556: ...6 7 9 C D 8 8 F 0n 0a 0a 0d 0i 0c 0c 0n 0d 0f 4 5 F 0n 0a 0a 0d 0i 0c 0c 0n 0d 0f Machine Code Oper ation SEC C F F F F F F L T SR JM SR AN L L T SS JU SSU ON L L L L L L L L T SP Oper and DB DL DL T KB DR DR T KC KT KF KS KY KH KM DW DW T B0 B1 B3 B2 R 0e 0e 0e 0e 0e 0e 0e L 0e 0e 0e 0e 0e 0e 0e R 0e 0e 0e 0e 0e 0e 0e L 0e 0e 0e 0e 0e 0e 0e R 0c 0c 0f 0 0 0 0 0 0 0g 0g 0d 0i 0c 0c 0e 0g 0g 0d 0i ...

Page 557: ... 4 5 5 5 5 R C D 1 2 3 5 5 6 9 C D E 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 L 5 5 6 6 6 6 6 6 6 6 6 6 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 4 4 4 5 5 5 5 5 5 5 5 5 5 C D E 0 1 2 2 3 3 4 5 8 9 0o 0f 0g 0e 0 0a 8a 0a 8a 0o 0f 0 0 0o 0f 0g 0e 0 0a 0a 0a 0a 0o 0f 0 0 0e 0e 0e 0e LC JC B ADD XOW L L T T LD JC ADD F C OB FW BN IW QW IW QW C PB KF Machine Code Oper ation JN SI RB R JU RD LW LIR AW L FR JZ...

Page 558: ... 9 A B C D L 7 7 7 7 7 7 7 7 7 7 8 8 9 9 A A B B B B B B B B0 B1 B3 B2 Opera tion L T JU DO G F L T R JU A O S AN ON R A O A O AN ON Oper and PB PY PB PY PB DB PW PW C SB F F F F F F F C C C C Machine Code B0 B1 B3 B2 Machine Code Opera tion A A O O S S AN AN ON ON R R A O JC O AN ON NOP 1 Oper and I Q I Q I Q I Q I Q I Q I Q T T T T Explanation of the Indices a byte address h number of shifts b b...

Page 559: ...s with positive edge CC 0 CC 1 Condition code 0 Condition code 1 CCN DB1 parameter cascaded counter counts with negative edge CCP DB1 parameter cascaded counter counts with positive edge CF DB1 parameter input correction factor integral real time clock CLK DB1 parameter clock data location CPU Central processing unit of programmable controller CSF STEP 5 control system flowchart method of represen...

Page 560: ...hexadecimal code 0 to FFFF KM Constant 2 byte bit pattern arbitrary bit pattern 16 bits KS Constant 2 characters any two alphanumeric characters KT Constant time 0 0 to 999 3 KY Constant 2 bytes 0 to 255 per byte LAD STEP 5 ladder diagram method of representation NT DB1 parameter number of timers being processed OB Organization block for special applications 1 2 3 13 21 22 31 34 37 251 0 to 255 OB...

Page 561: ...is always executed RLO reloaded Y N When the next binary operation takes place the RLO is reloaded not reloaded e g A I 0 0 RS System data area for load operations supplementary operations and transfer operations system operations for bit test and set operations system operations 0 to 255 0 0 to 255 15 SAC STEP address counter SB Sequence block 0 to 255 SDP DB1 block ID for system data parameters ...

Page 562: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 563: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 564: ...tive Devices are commonly referred to by the abbreviation ESD Electrostatic sensitive devices are labelled with the following symbol Caution Electrostatic sensitive devices are subject to voltages that are far below the voltage values that can still be perceived by human beings These voltages are present if you touch a component or module without previously being electrostatically discharged In mo...

Page 565: ...arges An electrostatic discharge is perceptible from 3500 V audible from 4500 V visible from 5000 V A fraction of these voltages is capable of destroying or damaging electronic devices Carefully note and apply the protective measures described below to protect and prolong the life of your modules and components General protective measures against electrostatic discharge damage Keep plastics away f...

Page 566: ...ctronic devices should first discharge their bodies by touching grounded metallic parts e g bare metal parts of switchgear cabinets water pipes etc Protect the modules against contact with chargeable and highly insulating materials such as plastic foils insulating table tops or clothes made of plastic fibres Place electrostatic sensitive devices only on conductive surfaces Tables with ESD surface ...

Page 567: ... a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a...

Page 568: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 569: ...ndustrial Safety of the Statutory Industrial Accident Insurance Institution BIA Copies of the report and the certificates issued in connection with the prototype tests can be obtained from us on request Please direct inquiries to Siemens AG AUT 125 attn Mrs Bleicher P O Box 1963 D 92209 Amberg Federal Republic of Germany Telefax 49 9621 803146 EWA 4NEB 812 6210 02 E 1 ...

Page 570: ...a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a ...

Page 571: ...erview 2 2 4 1 5 1 1 7 Basic unit with external I Os without external I Os 4 2ff 5 1f 5 7 5 10 2 2 2 1 Battery compartment disposal failure failure display 18 13 2 1 2 11 2 19 2 11 7 9 9 1f 2 1 Battery replacement 2 19 18 13 Binary scaler 8 70 Bit address 6 2 Blanking time 4 17 Block address list 6 17 call 7 11 7 17 8 34 call operations 9 1 8 32f header 7 12f name 7 12 nesting depth 7 27 parameter...

Page 572: ...ff Coordination byte 13 12 13 16 for SINEC L1 13 4ff 13 9f Core end sleeve 5 9 Counter 18 14 cell 4 18 4 22 input 4 18ff operation 4 20 8 25 overflow 4 21 8 26 Counting frequency 4 13 4 19 range 8 25 Coupling element 4 17f path 3 3 Coupling relay 4 17f 18 8f 18 15 connection 5 16f CP 521 18 3 CPU 4 1 Crimp snap in connection method 2 2 CSF Control System Flowchart Current sensor 11 2 Cycle monitor...

Page 573: ...nter 15 8 Error group image 15 5 Error messages printout to SINEC L1 master 15 20 13 31 15 20 Error response SINEC L1 18 38 Expansion tier 5 6 External I O module connection 5 1 5 5 5 13ff External power supply unit 3 3 F Failsafe I O module connection 5 12ff Failsafety objectives 18 2 Fault analysis 14 6 cause 14 5 FB Function block Fiber optic cable 2 1 2 2 2 12 4 1 length 4 5f Field transfer 8 ...

Page 574: ...response 12 13f response time 12 1 12 14f 18 24ff stack 6 18 14 5ff Interrupt data cycle Data cycle Interrupt DI connecting 12 7ff ISTACK 14 5ff J Jump displacement 8 56 operation 7 5 7 21 8 55f K KBE Coordination byte KBS Coordination byte L LAD Ladder Diagram Ladder Diagram LAD 1 8 7 1ff 7 7 Lightning protection filter 3 8 measures 3 8 Load circuit 5 25f connection 5 23 operations 8 10f Load vol...

Page 575: ...nt operating system 18 1f 18 12 Parameter block for SINEC L1 1 8 13 4 13 12 Parameterization software COM 95F Passivation 4 7 15 1f 18 17ff SINEC L1 13 14 PB Program block PG Programmer PID controller 9 3ff mode 9 10 parameters 9 3 sampling interval 9 9 PII Process image PIQ Process image Planning phase 18 2f Polling list 18 38 time 18 38 Potential bonding of external I Os 5 25 Power failure 2 19 ...

Page 576: ...al 1 1 probability of occurence 1 2 RLO Result of logic operation Routing of cables 3 7f Runtime errors 14 10f S Safety class 1 1 regulations 1 1 mode 2 13 2 17 7 1 7 16ff 7 30 15 19 Safety time 13 14 SINEC L1 13 11f 18 37ff Scratchpad 18 27 Screw type terminal 5 9 Self tests 2 13 Send coordination 13 19 mailbox 13 4ff 13 15 13 18ff Sensor circuits 5 23 connection to DI DO 482 5 21 line 4 11 4 13 ...

Page 577: ...9 System data 2 7 6 18 area 6 15 6 18 loading 8 39 System event DB 15 3 System events 15 11 T Terminal block 6 1 Test component 9 17 9 18 function 14 1 interval 9 16 mode 2 14 18 12 operations 8 41 Test routine 9 16 calling 9 16 Test slice 2 13 Text Display 18 35 Third party system 3 7 Time control 7 9 stamp 10 14 Time interrupt processing 7 25ff Timer area 8 13f off delay 8 15 8 24 on delay 8 15 ...

Page 578: ...our Name Your Title Company Name Street City Zip Code Country Please check any industry that applies to you Automotive Electrical Machinery Chemical Food Instrument and Control Nonelectrical Machinery Pharmaceutical Plastic Pulp and Paper Textiles Transportation Other Petrochemical Phone ...

Page 579: ...mens Title of Your Manual Order No of Your Manual Edition Please give each of the following questions your own personal mark within the range from 1 very good to 5 poor 1 Do the contents meet your requirements 2 Is the information you need easy to find 3 Is the text easy to understand 4 Does the level of technical detail meet your requirements 5 Please rate the quality of the graphics tables Addit...

Reviews: