Page 3
Preface Introduction Configuring with COM 115F Programming Introduction to STEP 5 STEP 5 Operations Program Test Error Diagnostics Blocks Application A/B/ Appendices Index EWA 4NEB 811 6149-02...
However, the applications are so numerous that not all the problems that might occur can be dealt with in one manual. You will find a list of Siemens representatives in the Appendix who will help you in those cases where the manual cannot answer your questions.
7UF14 (including product information), please see the manual with the order No. 6ES5 998-1UF23. Description of Contents This manual consists of two volumes and contains a detailed description of our SIMATIC S5-115F failsafe programmable controller. Volume 1 contains the description of the hardware components. The contents of this volume can be divided into blocks according to topic: •...
Page 10
Introduction S5-115F Manual Conventions In order to improve the readability of the manual, a menu-style breakdown was used, i.e.: • The individual chapters can be quickly located by means of a thumb register. • At the front of the manual is an overview containing the headings of the individual chapters. •...
Page 11
S5-115F Manual Introduction Courses Siemens provide SIMATIC S5 users with extensive opportunities for training. For more information, please contact your Siemens representatives. Reference Literature This manual is a comprehensive description of the S5-115F programmable controller. Topics not specific to the S5-115F, however, are only briefly dealt with. You will find more detailed in- formation in the following literature: •...
Page 12
Configuring with COM 115F The Main Menu ..........1 - 8 1.1.1 F1: Initialize Operating System...
Page 13
Figures 1-1. COM 115F Configuration Menu Hierarchy ....... 1 - 3 1-2.
S5-115F Manual Configuring with COM 115F Configuring with COM 115F COM 115F is a software package for • Configuring your S5-115F programmable controller • Documenting that part of your system that is subject to official acceptance tests • Error diagnostics with error display in plaintext •...
COM 115F programs run on the following programmers and personal computers: Table 1-3. Programmers and Personal Computers Suitable for COM 115F Programmers Personal Computers PG 635 Siemens PC 16-11 PG 685 Siemens PC 16-20 PG 695 IBM ' XT and 100 % compatibles...
S5-115F Manual Configuring with COM 115F BESY Subunit Initialize Enter subunit ID operating system Save Save data COMMUN Subunit Enter subunit ID Initialize communi- SIN MAIL MAILBOX cations Initialize SINEC mailboxes Selection of partner MAILBOX DEFAULT Deletion of partner Default settings CO byte SAVE...
Page 17
Configuring with COM 115F S5-115F Manual PLC FCT PLC RUN Switch PLC to RUN Call PLC function PLC STOP Switch PLC to STOP Subunit Enter subunit ID DIAG- ISTACK DEFAULT Output ISTACK NOSTICS Default Call settings F ERROR diagnostics Display error message texts function from the PLC F ERR...
Page 18
S5-115F Manual Configuring with COM 115F SYSHAN Directory of System configuration handling EPROM PR PLC PR FD PR EPR DEL DB Delete DB LOAD PLC TRAN/LOAD TRAN PLC Transfer or load LOAD FD TRAN FD LOAD EPR TRAN EPR SIGN PRINT ALL C DBs I/O TYPES...
Configuring with COM 115F S5-115F Manual Starting COM 115F CONFIGURE Make sure that all the COM 115F files you require are either - on the hard disk of your programmer or - on the diskette in your programmer drive. Start the S5 command interpreter by pressing S5 <CR>. A list of all the STEP 5 packages available on diskette or hard disk will then appear.
S5-115F Manual Configuring with COM 115F F6 (EXEC) Declares the selected and displayed parameters to be valid and calls the next menu. Exec key The Exec key has the same function as the F6 (EXEC) key. Break key The programmer rejects the parameter just entered or changed. The pro- grammer displays the Defaults form with the basic settings again.
Configuring with COM 115F S5-115F Manual The Main Menu The main menu takes you to the first submenu level. The meanings of the function keys are described in more detail in the following chapters. 1.1.1 F1: Initialize Operating System The ”Initialize Operating System” menu appears when you press the <F1> softkey ( Figure 1-4). If the configuration DBs from the PC, FD (diskette) or EPROM have already been loaded using the handling menu, the initialized data will then appear in the entry fields.
Page 22
S5-115F Manual Configuring with COM 115F • Max. PLC cycle time Enter here the cycle time your PLC must on no account exceed ( Vol. 1, 10.4 of the Manual). • Second error occurrence time The second error occurrence time is prescribed by the licensing authority. It follows the specifications made in the system-specific regulation for redundant systems.
Page 23
Configuring with COM 115F S5-115F Manual • Update user cycle time / interrupt handling: Max. time interval Max. interval between two calls of FB 254 SYNC with Parameter Time update Parameter Interrupt handling ( 6.1.6) The interval between calls must be at least 1 msec shorter than the value configured. If you do not want the user time update to be monitored, enter the value 16383.
Page 24
S5-115F Manual Configuring with COM 115F • Absolute AI deviation This value has two functions: The value configured here is interpreted during the AI test as the tolerable difference between the analog test value displayed and the analog value read in. The S5-115F monitors analog input deviations on both subunits.
Page 25
Configuring with COM 115F S5-115F Manual F1 Scanning or entering the subunit ID The subunit ID of the connected PLC is read in online mode by pressing function key F1. The value read is displayed in the status line, e.g.: ”SUBUNIT A”...
S5-115F Manual Configuring with COM 115F 1.1.2 F2: Setting Communications Parameters Softkey F2 takes you from the COM 115F main menu to the basic menu for ”Setting 115F Communication Parameters”. Setting 115F Communication Parameters COM 115F / PDC15 0 means not in use DB No.
Configuring with COM 115F S5-115F Manual Setting 115F Communications Parameters COM 115F / PDC15 0 means not in use DB-No. for prog. operation in safety mode (0; 4 to 255): Number of SINEC L1 LANs (0 , 1 , 2): Own slave number (1 to 30): Num.
S5-115F Manual Configuring with COM 115F Node Connections Master Slave 1 Slave 2 Slave 3 Slave 4 Slave 5 Figure 1-7. Typical SINEC L1 Network At least the following must be entered in the SINEC L1 polling list according to the above rules: Slave 1, slave 2, slave 3 and slave 5 Slave 4 is not entered since it is neither the source slave of a data transfer nor the destination...
Page 29
Configuring with COM 115F S5-115F Manual • Transferring the error DB via SINEC L1 If you have configured a SINEC L1 LAN, you can send the body of the error DB with the error message code to the master for evaluation. The S5-115F automatically sends the body of the error DB to the master in the event of a fault.
S5-115F Manual Configuring with COM 115F If you have configured a SINEC L1 LAN in the basic menu for ”Setting 115F Communications Parameters”, press function key F2. F2 SIN-MAIL The ”SINEC L1 interface” screen form appears with the partner matrices (0: master, 1 to 30: slave, 31: broadcast) of the Send and Receive mailboxes.
Configuring with COM 115F S5-115F Manual Master coordination byte Figure 1-9 will appear if you have entered a master in the SINEC L1 Interface screen form. You can enter the following: Master coordination byte Receive B Master coordination byte Send B Master coordination byte Receive A (redundant LAN only) Master coordination byte Send A (redundant LAN only) SINEC L1 Master Coordination Bytes...
S5-115F Manual Configuring with COM 115F 1.1.3 F3: I/O Configuration After selecting the I/Os in the main menu with the F3 key, the ”I/O modules” menu for configuring the I/Os will appear on the screen ( Figure 1-10). You now have a choice between digital and analog modules.
Configuring with COM 115F S5-115F Manual 1.1.4 F4: PLC Functions Softkey F4 will take you to the ”PLC Functions” menu. From this menu you can start or stop the S5-115F in test mode. PLC Functions COM 115F / PDC15 PLC RUN :Switch PLC to RUN PLC STOP :Switch PLC to STOP...
S5-115F Manual Configuring with COM 115F 1.1.5 F5: Diagnostics Softkey F5 takes you to the error diagnostics of the COM 115F package. If you also press the HELP key, the following form appears on your programmer screen: Diagnostics COM 115F / PDC15 ISTACK :Display ISTACK F ERROR...
Configuring with COM 115F S5-115F Manual CAUSE OF F ERROR COM 115F / PDC15 SUBUNIT A main message (RECORD 2) SUBUNIT B second. message (RECORD 4) Error group: Error group: I/O simple comparison /2-sided I/O error /1-sided passive/large stop loop large stop loop Error-detect.
S5-115F Manual Configuring with COM 115F 1.1.7 F7: System Handling Press softkey F7 to display the ”System Handling” menu ( Figure 1-14). System Handling COM 115F / PDC15 PROGRAM FILE: A:@@@@@@ST.S5D CONF DIR : Configuration DB directory DEL DB : Delete DB TRAN/LOAD : Transfer/Load PRINT : Print...
Configuring with COM 115F S5-115F Manual Display block directory Press the F1 key to call the ”DIRECTORY OF CONFIGURATION DBs” menu ( Figure 1-15). Directory of Configuration DBs COM 115F / PDC15 PROGRAM FILE: A:@@@@@@ST.S5D : Display PLC directory on screen : Display FD directory on screen EPROM : Display EPROM directory on screen...
S5-115F Manual Configuring with COM 115F Delete DB Press the F2 softkey to call the Delete menu ( Figure 1-16). I/O Delete COM 115F / PDC15 PROGRAM FILE: A:@@@@@@ST.S5D : Delete on PLC : Delete on external memory RETURN : Return to previous menu RETURN Figure 1-16.
Configuring with COM 115F S5-115F Manual Transferring and loading DBs Press the F3 key to call the Transfer menu ( Figure 1-17). The PLC, FD and EPROM can also be referenced from here. I/O Transfer/Load COM 115F / PDC15 PROGRAM FILE: A:@@@@@@ST.S5D LOAD PLC : Load from PLC TRAN PLC...
Page 40
S5-115F Manual Configuring with COM 115F Transferring the configuration data You can transfer the data stored in the programmer with the transfer functions to any of the following: • Diskette drive or hard disk drive • PLC memory • EPROM/EEPROM submodule Transferring the control program and the configuration data to EPROM/EEPROM submodules If you want to store the control program and the configuration data on EPROM/EEPROM submodules, you always require two identical memory submodules.
Page 41
Configuring with COM 115F S5-115F Manual Press keys F1 to F7 to execute the following functions: Print all DIs All digital inputs are printed as type matrices corresponding to the I/O configuration DB 1. Print all DQs All digital inputs are printed as type matrices corresponding to the I/O configuration DB 1.
S5-115F Manual Configuring with COM 115F Configuring I/O Modules 1.2.1 General There are configuration forms to help you in configuring the I/O modules of the S5-115F. The following is a more detailed description of the screen forms. The type matrix ( Vol. 1, 10.8 of the Manual) is designed to provide the user with an overview of his configured system.
Configuring with COM 115F S5-115F Manual In the case of analog modules, the input/output word is located on the left side of the I/O type configuration field window and the type number on the right side. I/O words 128 to 254 are listed vertically. I/O type S5-115F: Configuring the I/O Modules...
Page 44
S5-115F Manual Configuring with COM 115F Plaintext Line The plaintext line is assigned in each case to the I/O bit or word at which the cursor is currently located. At the beginning of the line is the identifier indicating the bit or word at which the cursor is located (e.g.
Configuring with COM 115F S5-115F Manual After entering the type, enter the DB number in the right-hand part of the characteristics field. Every entry must be confirmed with <CR>. All specifications are mandatory. The cursor leaves the entry field only when a valid value has been entered. After the last entry field has been filled, the cursor returns to the type matrix for the next I/O bit or word.
Page 46
S5-115F Manual Configuring with COM 115F Copy You can use this function to transfer the configuration data, one or more I/O words in the analog area and one or more bytes/bits in the digital area to other addresses. Each entry, which is checked for validity, must be confirmed with the EXEC key.
Page 47
Configuring with COM 115F S5-115F Manual Example 2 WORD(S) TO COPY : 16 DEST. NO(S) : 20-30 This statement causes the following transfer to be executed: Word 16 ---> Word 20 Word 16 ---> Word 22 Word 16 ---> Word 30 This gives words 16, 20, 22, 24, 26, 28 and 30 the same contents.
Page 48
S5-115F Manual Configuring with COM 115F If only <CR> is pressed in answer to any of the following prompts ”COPY (W)ORD/(B)YTE?”, ” WORD(S)/BYTE(S) TO COPY”, ”DEST. NO(S)”, the copy routine will be aborted and you will be returned to type entry. In order to avoid erroneous copy commands, the ”COPY?”...
Configuring with COM 115F S5-115F Manual The following prompt appears in the case of digital modules when you select a byte with 'B': ”DELETE BYTE(S)”. The rules for word numbers also apply to the input of byte numbers but for the fact that all integers between 0 and 127 can be used here.
S5-115F Manual Configuring with COM 115F 1.2.3 Screen Forms for Configuring the I/O Modules This chapter presents the configuration screen forms for the I/O modules. Configuring the I/O modules means: • Selecting an I/O type for each input or output •...
Configuring with COM 115F S5-115F Manual I/O Type 2 S5-115F: Configuring the I/O Modules COM 115F / PDC15 Bits DI W DI W Digital input Type number DB number (4 to 255): Num. of I/O Channels : 2 Signal group (0 to 28): Safety-related : Yes...
S5-115F Manual Configuring with COM 115F I/O Type 3 S5-115F: Configuring the I/O Modules COM 115F / PDC15 Bits DI W DI W Digital Input Type number DB number (4 to 255): Num. of I/O Channels : 2 Signal group (0 to 28): Safety-related : Yes...
Configuring with COM 115F S5-115F Manual I/O Type 8 S5-115F: Configuring the I/O Modules COM 115F / PDC15 Bits DI W DI W Digital input 12.0 Type number DB number (4 to 255): Num. of I/O Channels SUBUNIT (A/B): A Safety-related : No Status:...
S5-115F Manual Configuring with COM 115F I/O Type 9 S5-115F: Configuring the I/O Modules COM 115F / PDC15 Bits DQ W DQ W Digital number 14.0 Type number DB number (4 to 255): Num. of I/O Channels : 2 Signal group (0 to 28): Safety-related : Yes...
Configuring with COM 115F S5-115F Manual I/O Type 10 S5-115F: Configuring the I/O Modules COM 115F / PDC15 Bits DQ W 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 DQ W Digital output 20.0 Type number : 10...
S5-115F Manual Configuring with COM 115F I/O Type 13 Type 13 modules are used to configure • Nonsafety-related analog inputs • The CP 523 communications processor S5-115F: Configuring the I/O Modules COM 115F / PDC15 I/O word Type number AI word AI word Analog input Type number...
Page 57
Configuring with COM 115F S5-115F Manual Table 1-5. Channel Types for Analog Input Modules (I/O Type 13) (Continued) Module Switch Range Card Measuring Range Nominal Range CH AQ Module Position (460 only ) (Decimal Units) (463 only) Channel 460-... 1AA41 0 to 20 mA 0 to +2048 type 4...
S5-115F Manual Configuring with COM 115F I/O type 13 S5-115F: Configuring the I/O modules COM 115F / PDC15 I/O word Type number AI word AI word Analog input Type number : 13 DB number (4 to 255) : 23 Num. of I/O channels: 1 Subunit (A/B) : A Safety-related...
Configuring with COM 115F S5-115F Manual I/O Type 14 S5-115F: Configuring the I/O Modules COM 115F / PDC15 I/O word Type number AI word AI word Analog input Type number : 14 DB number (4 to 255): 34 Num. of I/O channels : Signal group (0 to 28): Num.
Page 60
S5-115F Manual Configuring with COM 115F where Relative deviation referred to the maximum value max. value Relative deviation referred to the minimum value min. value Relative deviation referred to the mean value mean value Read value in subunit A Read value in subunit B Example: The read value of the signal in subunit A is 100 units and, in subunit B, 70 units.
Configuring with COM 115F S5-115F Manual • AI channel type Table 1-6. Channel Types for Analog Input Modules (I/O types 14 and 15) Module Switch Range Card Measuring Range Nominal Range CH AQ Module Position (460 only) (Decimal Units) (463 only) Channel 463-...
S5-115F Manual Configuring with COM 115F I/O Type 15 S5-115F: Configuring the I/O Modules COM 115F / PDC15 I/O word Type number AI word AI word Analog input Type number : 15 DB number (4 to 255): 35 Num. of I/O Channels : Signal group (0 to 28): Num.
Configuring with COM 115F S5-115F Manual I/O Type 16 S5-115F: Configuring the I/O Modules COM 115F / PDC15 I/O word Type number AI word AI word Analog input Type number : 16 DB number (4 to 255): 38 Num. of I/O Channel : Signal group (0 to 28): Safety-related : Yes...
S5-115F Manual Configuring with COM 115F • AI channel type Table 1-7. Channel Types for Analog Input Modules (I/O Type 16) Module Switch Range Card Measuring Range Nominal Range PR AQ Module Position (460 only) (Decimal Units) (463 only) Channel 463-...
Configuring with COM 115F S5-115F Manual Documentation with COM 115F The program section of COM 115F contains the following packages: • COM 115F CONFIGURE • COM 115F DOCUMENT for Safety-related readout of configured data from the PLC Printout of the data in the programmer. Note For the individual Licensing Authority acceptance tests, it is essential that you are able to print out the configuration data with COM 115F DOCUMENT and that you can com-...
Page 66
S5-115F Manual Configuring with COM 115F Only the configuration DBs of a logical device (PLC, FD or EPROM) can be printed out, i.e. the configuration must be available on the relevant device. The footer can also be printed out. The following functions will be executed if you press F1 to F6: whole configuration printed...
Configuring with COM 115F S5-115F Manual The following figure shows a typical I/O type 3 configuration printout: COM 115F DOCUMENT CPU 942-7UF13 I/O Type 3 : Double-channel non-intermittent digital inputs Symbol Signal Interrupt Input Discrepan- Sub- Group Genera- Voltage/V cy Time/ unit ting msec.
S5-115F Manual Configuring with COM 115F Printing out Files Stored on the EPROM Submodule From COM 115F Version 3.1 onwards, the configuring data from an EPROM submodule are printed out with a footer containing information on the creation date, reason for the update and the author.
Configuring with COM 115F S5-115F Manual Configuration Error Messages The following tables contain error messages that may appear in conjunction with COM 115F CONFIGURE. Table 1-8. COM 115F Configuration Error Messages Error Test Cause of Error Explained in NOT ENOUGH MEMORY Error when loading the 1.1.7 auxiliary functions...
Page 70
S5-115F Manual Configuring with COM 115F Table 1-8. COM 115F Configuration Error Messages (Continued) Error Text Cause of Error Explained in SUBUNIT NOT YET DEFINED Subunit identifier not yet in SOURCE WITHIN DESTINATION Invalid ranges or numbers for 1.2.2 DESTINATION WITHIN SOURCE searching, copying, exchang- 1.2.2 INVALID BYTE NUMBER...
Configuring with COM 115F S5-115F Manual Table 1-9. EPROM Function Error Messages Error Text EPROM HAS NO IDENTIFIER RESULT OF COMPARISON NOT EQUAL INVALID EPROM CONTENTS WRONG MODE WRONG FRAME LENGTH WRONG SCREEN LINE WRONG SCREEN COLUMN ILLEGAL PROGRAMMER NUMBER UNKNOWN EPROM EPROM NOT ERASED NO EEPROM...
S5-115F Manual Configuring with COM 115F Table 1-10. Error Messages Occurring When Using Diskettes Error Text ILLEGAL DRIVE DEFAULT DIRECTORY NOT DEFINED DISKETTE/HARD DISK FULL DISKETTE ERROR DISKETTE WRITE-PROTECTED BLOCK TOO LONG FOR PG BUFFER SUBDIRECTORY LOWER THAN LEVEL 2 FILE NOT AVAILABLE FILE ALREADY EXISTS MORE THAN 255 ENTRIES IN SUBDIRECTORY...
You must write the program in a special language and according to specific rules so that the PLC can ”understand” it. The standard programming language that has been developed for the SIMATIC S5 family is called STEP 5. 2.1.1...
Page 76
Introduction to STEP 5 S5-115F Manual • Control system flowchart (CSF) CSF represents logic operations with symbols. • Ladder diagram (LAD) LAD represents control functions with circuit diagram symbols. Each method of representation has its special characteristics. Consequently, a program block that has been programmed in STL cannot necessarily be output in CSF or LAD form.
S5-115F Manual Introduction to STEP 5 Table 2-1 provides further information on these operations. Table 2-1. Permissible Methods of Representation in the Blocks Method of Representation LAD/CSF Operations possible in possible in Basic operations Logic operations Set/Reset operations Load and transfer operations Timer operations Counter operations Comparison operations...
Introduction to STEP 5 S5-115F Manual 2.1.3 Circuit Diagram Conversion If your automation task is in the form of a circuit diagram, you must convert it to STL, CSF, or LAD. Example: Hard-wired control A signal lamp is to light up when a normally open contact (S1) is activated and a normally closed contact (S2) is not activated.
S5-115F Manual Introduction to STEP 5 2.2.2 Structured Programming To solve complex tasks, it is advisable to divide an entire program into individual, self-contained parts (blocks). This procedure has the following advantages: • Simple and clear programming, even for large programs •...
Introduction to STEP 5 S5-115F Manual OB 1 ....Level 1 Level 2 Level 3 ..Level 16 Figure 2-2. Nesting Block Types Table 2-2 lists the most important features of the block types: Table 2-2.
S5-115F Manual Introduction to STEP 5 Block structure Each block consists of the following: • Block header specifying the block type, number, and length. The programmer generates the block header when it transforms the block. • Block body with the STEP 5 program or data. Synchronization Absolute pattern...
Page 82
Introduction to STEP 5 S5-115F Manual The length of the OBs is calculated as follows: Operation code max. words Header words BE operation word If the block is longer than 127 words (operation code), a BLD 255 operation with a program counter sequence will result at the latest in the 128th codeword.
Page 83
S5-115F Manual Introduction to STEP 5 Figure 2-4 shows how to set up a structured control program. It also illustrates the significance of organization blocks. OB 21 OB 1 PB 1 SB 1 FB 2 FB 200 System Program Control Program Figure 2-4.
Page 84
Introduction to STEP 5 S5-115F Manual • User interface: When hardware interrupt A occurs, the operating system processes OB 2 after a maximum of 30 msec. If the interrupt OB is not programmed, cyclic program scanning continues. • Interrupt locations: After a maximum of 20 msec., a program is called in the operating system to see if an interrupt OB must be processed.
Page 85
S5-115F Manual Introduction to STEP 5 OB 13: Time-driven program processing The CPU 942F has OB 13 for time-driven program processing. The operating system processes the time-interrupt OB at intervals specified by the user. The time-interrupt OB can interrupt the cyclic control program but not the program servicing a process interrupt.
Page 86
Introduction to STEP 5 S5-115F Manual • Initialization of time intervals for processing OB 13 The time interval is transferred to the S5-115F operating system via COM 115F. • Saving data If a time interrupt service OB uses scratch flags that are also used in the cyclic control program, these flags must be saved in a data block during processing of the OB.
S5-115F Manual Introduction to STEP 5 2.3.2 Program Blocks (PBs) Self-contained program parts are usually programmed in blocks. Call Block calls JU and JC activate program blocks. You can program these operations in all block types except data blocks. Block call and block end cause the RLO to be reloaded. However, the RLO can be included in the ”new”...
Introduction to STEP 5 S5-115F Manual 2.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. •...
Page 89
S5-115F Manual Introduction to STEP 5 • Block parameter type You can enter the following parameter types: Input parameters Output parameters Data Blocks Timers Counters In graphic representation, output parameters appear to the right of the function symbol. Other parameters appear to the left. •...
Page 90
Introduction to STEP 5 S5-115F Manual Table 2-4. Block Parameter Types and Data Types with Permissible Actual Operands Parameter Data Type Permissible Actual Operands Type I, Q for an operand with bit address x.y inputs x.y outputs x.y flags for an operand with byte address input bytes QB x output bytes...
Page 91
S5-115F Manual Introduction to STEP 5 Call Like other blocks, function blocks are stored under a specific number in the program memory (e.g. FB 47). The numbers 240 to 255 are reserved for integrated function blocks. You can program function block calls in all blocks except data blocks. The call consists of the following parts: •...
Introduction to STEP 5 S5-115F Manual Executed program PB 3 FB 5 NAME : EXAMPLE DECL.: X1 I DECL : X2 I DECL : X3 Q BI : JU : A = X1 NAME : EXAMPLE : A = X2 : = = X3 I 4.1 I 4.1...
Page 93
S5-115F Manual Introduction to STEP 5 Input Stored Values 0000 KH = A13C A13C 0001 KT = 100.2 2100 0003 KF = +21874 5572 Figure 2-8. Data Block Contents Data blocks can also be created or erased in the control program ( 3.1.8). Program processing with data blocks •...
Introduction to STEP 5 S5-115F Manual Modifying the Program Note The program can only be modified in Test mode! You can modify the program while the PLC is in the STOP mode, regardless of block type, with the following programmer functions: •...
S5-115F Manual STEP 5 Operations STEP 5 Operations The STEP 5 programming language has the following three operation types: • The basic operations include functions that can be executed in: - Organization blocks (OBs) - Program blocks (PBs) - Sequence blocks (SBs) - Function blocks (FBs)
Page 98
STEP 5 Operations S5-115F Manual Table 3-1 provides an overview of Boolean logic operations. Examples follow the table. Table 3-1. Overview of Boolean Logic Operations Operation Operand Meaning Combine AND operations through logic OR. Combine the result of the next AND logic operation (RLO) with the previous RLO through logic OR.
Page 99
S5-115F Manual STEP 5 Operations AND operation The AND operation scans to see if various conditions are satisfied simultaneously. Example Circuit Diagram Output Q 3.5 is ”1” when all three inputs are ”1”. I 1.1 The output is ”0” if at least one input is ”0”. The number of scans and the sequence of the logic I 1.3 statements are optional.
Page 100
STEP 5 Operations S5-115F Manual AND-before-OR operation Example Circuit Diagram Output Q 3.1 is ”1” when at least one AND condition has been satisfied. I 1.5 I 1.4 Output Q 3.1 is ”0” when neither of the two AND conditions has been satisfied. I 1.6 I 1.3 Q 3.1...
Page 101
S5-115F Manual STEP 5 Operations OR-before-AND operation Example Circuit Diagram Output Q 2.1 is ”1” when one of the following conditions has been satisfied: I 6.0 I 6.2 I 6.3 • Input I 6.0 is ”1”. • Input I 6.1 and either input I 6.2 or I 6.3 are ”1”. I 6.1 Q 2.1 I 6.0...
Page 102
STEP 5 Operations S5-115F Manual OR-before-AND operation Example Circuit Diagram Output Q 3.0 is ”1” when both OR conditions have been satisfied. I 1.4 I 1.5 Output Q 3.0 is ”0” when at least one OR condition has not been satisfied. I 2.0 I 2.1 Q 3.0...
S5-115F Manual STEP 5 Operations 3.1.2 Set/Reset Operations Set/reset operations store the result of the logic operation (RLO) generated in the processor. The stored RLO represents the signal state of the addressed operand. Storage can be dynamic (assign- ment) or static (set and reset). Table 3-2 provides an overview of the set/reset operations. Examples follow the table.
Page 104
STEP 5 Operations S5-115F Manual RS flip-flop for a latching signal output Example Circuit ”1” at input I 2.7 sets flip-flop Q 3.5 (signal state ”1”). If the signal state at input I 2.7 changes to ”0”, the state of output Q 3.5 is maintained, i.e., the signal is latched.
Page 105
S5-115F Manual STEP 5 Operations RS flip-flop with flags Example Circuit Diagram A ”1” at input I 2.6 sets flip-flop F 11.7 (signal state ”1”). If the signal state at input I 2.6 changes to ”0”, the state of I 1.3 I 2.6 flag F 11.7 is maintained, i.e., the signal is latched.
STEP 5 Operations S5-115F Manual 3.1.3 Load and Transfer Operations Use load and transfer operations to do the following: • Exchange information between various operand areas • Prepare times and counts for further processing • Load constants for program processing Information flows indirectly via accumulators (ACCUM 1 and ACCUM 2).
Page 107
S5-115F Manual STEP 5 Operations Table 3-3. Overview of Load and Transfer Operations Operation Operand Meaning Load The operand contents are copied into ACCUM 1 regardless of the RLO. The RLO is not affected. Transfer The contents of ACCUM 1 are assigned to an operand regardless of the RLO.
Page 108
STEP 5 Operations S5-115F Manual Load Operation: During loading, information is copied from a memory area, e.g., from the PII, into ACCUM 1. The previous contents of ACCUM 1 are shifted to ACCUM 2. The original contents of ACCUM 2 are lost. Example: Two consecutive bytes (IB 7 and IB 8) are loaded from the PII into the accumulator.
Page 109
S5-115F Manual STEP 5 Operations Transfer operation During transfer, information from ACCUM 1 is copied into the addressed memory area, e.g. into the PIQ. This transfer does not affect the contents of ACCUM 1. When transfer to the digital output area occurs, the byte or word in question in the PIQ is auto- matically updated.
Page 110
STEP 5 Operations S5-115F Manual Loading and transferring a time (See also timer and counter operations) Example Representation During graphic input, QW 62 is assigned to output BI of a timer. The programmer automatically stores the corresponding load and transfer operation in the control program.
Page 111
S5-115F Manual STEP 5 Operations Loading and transferring a time (coded) Example Representation The contents of the memory location addressed with T 10 are loaded into the accumulator in BCD code. T 10 Then a transfer operation transfers the accumulator Load contents to the process image memory location addressed by QW 50.
STEP 5 Operations S5-115F Manual 3.1.4 Timer Operations The program uses timer operations to implement and monitor chronological sequences. Table 3-4 provides an overview of timer operations. Examples follow the table. Table 3-4. Overview of Timer Operations Operation Operand Meaning Pulse timer The timer is started on the leading edge of the RLO.
Page 113
S5-115F Manual STEP 5 Operations Loading a time Timer operations call internal timers. When a timer operation is started, the word in ACCUM 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: constant time value data word...
Page 114
STEP 5 Operations S5-115F Manual Loading a time as input, output, flag, or data word Load statement: L DW 2 The time 638 sec. is stored in data word DW 2 in BCD code. Bits 14 and 15 are insignificant for the time value. DW 2 Three-digit time value (in BCD code)
Page 115
S5-115F Manual STEP 5 Operations Starting a timer In the PLC, timers run asynchronously to program scanning. The time that has been set can run out during a program scanning cycle. It is evaluated by the next time scan. In the worst case, an entire program scanning cycle can go by before this evaluation.
Page 116
STEP 5 Operations S5-115F Manual Pulse Example: Output Q 4.0 is set when the signal state at input I 3.0 changes from ”0” to ”1”. However, the output should not remain set longer than 5 sec. Timing Diagram Circuit Diagram Signal states I 3.0 I 3.0...
Page 117
S5-115F Manual STEP 5 Operations Extended pulse Example: Output Q 4.1 is set for a specific time when the signal at input I 3.1 changes to ”1”. The time is indicated in IW 15. Timing Diagram Circuit Diagram Signal states I 3.1 I 3.1 Q 4.1...
Page 118
STEP 5 Operations S5-115F Manual On-delay Example: Output Q 4.2 is set 9 sec. after input I 3.5. It remains set as long as the input is ”1”. Timing Diagram Circuit Diagram Signal states I 3.5 I 3.5 Q 4.2 Time in sec.
Page 119
S5-115F Manual STEP 5 Operations Latching on-delay and reset Example: Output Q 4.3 is set 5 sec. after input I 3.3. Further changes in the signal state at input I 3.3 do not affect the output. Input I 3.2 resets timer T 4 to its initial value and sets output Q 4.3 to zero. Timing Diagram Circuit Diagram Signal states...
Page 120
STEP 5 Operations S5-115F Manual Off-delay Example: When input I 3.4 is reset, output Q 4.4 is set to zero after a certain delay (t). The value in FW 13 specifies the delay time. Timing Diagram Circuit Diagram Signal states I 3.4 I 3.4 Q 4.4...
S5-115F Manual STEP 5 Operations 3.1.5 Counter Operations The CPU uses counter operations to handle counting jobs directly. Counters can count up and down. The counting range is from 0 to 999 (three decades). Table 3-5 provides an overview of the counter operations.
Page 122
STEP 5 Operations S5-115F Manual Loading a count as input, output, flag, or data word Load statement: The count 410 is stored in data word DW 3 in BCD code. Bits 12 to 15 are insignificant for the count. 0 1 0 0 0 0 0 1 0 0 0 0 DW 3...
Page 123
S5-115F Manual STEP 5 Operations Setting a counter ”S” and counting down ”CD” Example: When input I 4.1 is switched on (set), counter 1 is set to the count 7. Output Q 2.5 is now ”1”. Every time input I 4.0 is switched on (count down), the count is decremented by 1. The output is set to ”0”...
Page 124
STEP 5 Operations S5-115F Manual Resetting a counter ”R” and counting up ”CU” Example: When input I 4.0 is switched on, the count in counter 1 is incremented by 1. As long as a second input (I 4.2) is ”1”, the count is reset to ”0”. The A C1 operation results in signal state ”1”...
S5-115F Manual STEP 5 Operations 3.1.6 Comparison Operations Comparison operations compare the contents of the two accumulators. The comparison does not change the accumulators' contents. Table 3-6 provides an overview of the comparison operations. An example follows the table. Table 3-6. Overview of Comparison Operations Operation Operand Meaning...
STEP 5 Operations S5-115F Manual Example: The values of input bytes IB 19 and IB 20 are compared. If they are equal, output Q 3.0 is set. Circuit Diagram CSF/LAD IB 19 IB 20 IB 19 IB 20 Q 3.0 Q 3.0 3.1.7 Arithmetic Operations...
Page 127
S5-115F Manual STEP 5 Operations Processing an arithmetic operation Before an arithmetic operation is executed, both operands must be loaded into the accumulators. Note When using arithmetic operations, make sure the operands have the same number format. Arithmetic operations are executed independently of the RLO. The result is available in ACCUM 1 for further processing.
STEP 5 Operations S5-115F Manual 3.1.8 Block Call Operations Block call operations specify the sequence of a structured program. Table 3-8 provides an overview of the block call operations. Examples follow the table. Table 3-8. Overview of Block Call Operations Operation Operand Meaning...
Page 129
Manual S5-115F STEP 5 Operations Unconditional block call ”JU” One block is called within another block, regardless of conditions. In the case of jump operations to missing blocks, the operating system of the CPU 942-7UF12 responds differently depending on the operating mode. •...
Page 130
STEP 5 Operations Manual S5-115F Conditional Block Call ”JC” One block is called within another block when the previous condition has been satisfied (RLO=”1”). In the case of jump operations to missing blocks, the operating system of the CPU 942-7UF12 responds differently depending on the operating mode.
Page 131
Manual S5-115F STEP 5 Operations Calling a data block ”C DB” Data blocks are always called unconditionally. All data processed following the call refers to the data block that has been called. This operation cannot generate new data blocks. Blocks that are called must be programmed before program scanning.
Page 132
STEP 5 Operations Manual S5-115F Generating a data block Example Explanation Generate a data block with 128 data KF + 127 The constant fixed-point number words without the aid of a pro- DB 5 +127 is loaded into ACCUM 1. grammer.
Page 133
Manual S5-115F STEP 5 Operations Block end ”BE” The ”BE” operation terminates a block. Data blocks do not need to be terminated. ”BE” is always the last statement in a block. In structured programming, program scanning jumps back to the block where the call for the current block was made.
STEP 5 Operations Manual S5-115F Conditional block end ”BEC” The ”BEC” operation causes a return within a block if the previous condition has been satisfied (RLO = 1). Otherwise, linear program scanning is continued with RLO ”1”. Example: Scanning of program block FB 20 is terminated if the RLO = ”1”. Program Sequence Explanation PB 7...
Manual S5-115F STEP 5 Operations Stop Operation The ”STP” operation puts the PLC into the ”STOP” mode. This can be desirable for time-critical system circumstances or when a PLC error occurs. After the statement is processed, the control program is scanned to the end, regardless of the RLO. Afterwards the PLC goes into the ”STOP”...
Page 136
STEP 5 Operations Manual S5-115F FB Header Skip name and parameter list Block name Parameter list: 3 words, 6 characters/ max. 40 parameters parameter: max. 120 W LPLZ incrementation sequence User operations: max. 127 W Total length max. 143 words (with 0 parameters) max.
Page 137
Manual S5-115F STEP 5 Operations OB, PB, SB Header LPLZ incrementation sequence User operations: max. 127 W BE-operations Figure 3-8. Structure of a Single-Segment OB, PB, SB (max. 261 words) Header: OB, PB, SB LPLZ incrementation sequence User operations: max. 127 W BLD 255 operation LPLZ incrementation sequence...
STEP 5 Operations Manual S5-115F Supplementary Operations Supplementary operations extend the operations set. However, compared to basic operations, which can be programmed in all blocks, supplementary operations have the following limitations: • They can be programmed in function blocks only. •...
Page 139
Manual S5-115F STEP 5 Operations Table 3-11. Enable Operation Operation Operand Meaning Enable a Timer/Counter Timers and counters are enabled on the leading edge of the RLO. This operation restarts a timer, sets a counter, or causes a counter to count up or down when the RLO ”1” is pending at the ”Start” operation.
STEP 5 Operations S5-115F Manual 3.2.3 Bit Test Operations Bit test operations scan digital operands bit by bit and affect them. Bit test operations must always be at the beginning of a logic operation. Table 3-12 provides an overview of these operations. Table 3-12.
Page 141
S5-115F Manual STEP 5 Operations Example Explanation A photoelectric barrier that DB 10 Call data block 10. counts piece goods is installed at input I 2.0. After every 100 pieces, Input I 3.0 loads the count of the program is to jump to FB 5 or counter 10 with the constant 0.
STEP 5 Operations S5-115F Manual 3.2.4 Digital Logic Operations Digital logic operations combine the contents of both accumulators logically bit by bit. Table 3-14 provides an overview of these digital logic operations. Examples follow the table. Table 3-14. Overview of Digital Logic Operations Operation Operand Meaning...
Page 143
S5-115F Manual STEP 5 Operations Explanation IW 35 Load input word IW 35 into ACCUM 1. KH 00FF Load a constant into ACCUM 1. The previous contents of ACCUM 1 are shifted to ACCUM 2. Combine the contents of both accumulators bit by bit through logic OR. IW 35 Transfer the result (contents of ACCUM 1) to input word IW 35.
Page 144
STEP 5 Operations S5-115F Manual Explanation IW 71 Load input word IW 71 into ACCUM 1. IW 5 Load input word IW 5 into ACCUM 1. The previous contents of ACCUM 1 are shifted to ACCUM 2. Combine the contents of both accumulators bit by bit through EXCLUSIVE OR.
S5-115F Manual STEP 5 Operations 3.2.5 Shift Operations Shift operations shift a bit pattern in ACCUM 1. The contents of ACCUM 2 are not affected. Shifting multiplies or divides the contents of ACCUM 1 by powers of two. Table 3-15 provides an overview of the shift operations.
Page 146
STEP 5 Operations S5-115F Manual Explanation DW 2 Load the contents of data word DW 2 into ACCUM 1. SLW 3 Shift the bit pattern in ACCUM 1 three positions to the left. DW 3 Transfer the result (contents of ACCUM 1) to data word DW 3. Numeric Example (DW 2) The value 464...
S5-115F Manual STEP 5 Operations 3.2.6 Conversion Operations Conversion operations convert the values in ACCUM 1. Table 3-16 provides an overview of the conversion operations. Examples follow the table. Table 3-16. Overview of Conversion Operations Operation Operand Meaning One's complement The contents of ACCUM 1 are inverted bit by bit.
STEP 5 Operations S5-115F Manual Explanation IW 12 Load the contents of input word IW 12 into ACCUM 1. Invert all bits. Add a ”1” at the least significant position. DW 100 Transfer the altered word to data word DW 100. Numeric Example IW 12 Form the negative value of the...
S5-115F Manual STEP 5 Operations Example Explanation Increment the hexadecimal constant DB 6 Call data block DB 6. 1010 by 16 and store the result in KH 1010 Load hexadecimal constant data word DW 8. 1010 into ACCUM 1. Increment the low byte of ACCUM 1 by 16.
Page 150
STEP 5 Operations S5-115F Manual Note If interrupt processing is not required, you can reduce the PLC scan time. Inhibit interrupt processing with the IA operation and switch off interval monitoring when setting the operating system parameters with COM 115F. Example Explanation Disable interrupt processing in...
S5-115F Manual STEP 5 Operations 3.2.9 "DO" Operation Use the "DO" operation to process STEP 5 statements as indexed operations. This allows you to change the parameter of an operand during control program processing (see Table 3-19). Table 3-19. Overview of the “DO” Operation Operation Operand Meaning...
Page 152
STEP 5 Operations S5-115F Manual Figure 3-10 shows how the contents of a data word determine the parameter of the next statement. FB x Actual program :DO DW DW 12 KH=0108 DW 13 KH=0001 :DO DW :FR T :FR T Figure 3-10.
S5-115F Manual STEP 5 Operations 3.2.10 Dump Operations Table 3-20 provides an overview of the jump operations. An example follows the table. Table 3-20. Overview of Jump Operations Operation Operand Meaning JU = Jump unconditionally. The unconditional jump is executed independently of conditions. JC = Jump conditionally.
Page 154
STEP 5 Operations S5-115F Manual Example Explanation If no bit of input word IW 1 is set, IW 1 Load input word IW 1 into program scanning jumps to the KH 0000 ACCUM 1. If the contents of label ”AN 1”. If input word IW 1 ACCUM 1 equal zero , jump to and output word QW 3 do not...
S5-115F Manual STEP 5 Operations 3.2.11 Substitution Operations If you plan to process a program with various operands and without a lot of changes, it is advisable to assign parameters to individual operands ( 2.3.4). If you have to change the operands, you only need to reassign the parameters in the function block call.
Page 156
STEP 5 Operations S5-115F Manual Set/Reset Operations Table 3-22 provides an overview of the set/reset operations. An example follows the table. Table 3-22. Overview of Set/Reset Operations Operation Operand Meaning Set a formal operand (binary). RB = Reset a formal operand (binary). Assign The RLO is assigned to a formal operand.
Page 157
S5-115F Manual STEP 5 Operations Load and transfer operations Table 3-23 provides an overview of the load and transfer operations. An example follows the table. Table 3-23. Overview of Load and Transfer Operations Operation Operand Meaning Load a formal operand. Load a formal operand in BCD code.
Page 158
STEP 5 Operations S5-115F Manual Timer and counter operations Table 3-24 provides an overview of timer and counter operations. Examples follow the table. Table 3-24. Overview of Timer and Counter Operations Operation Operand Meaning Enable a formal operand for cold restart. (For a description, see ”FT or ”FC”, according to the formal operand.) Reset a formal operand (digital).
Page 159
S5-115F Manual STEP 5 Operations The following examples show how to work with timer and counter operations. Example 1: Function Block Call Program in Function Block (FB32) Executed Program FB 32 NAME :TIME I 2.5 :SFD =TIM I 2.6 TIM 5 : TIM 6 : OUT 6: Q 7.6...
Page 160
STEP 5 Operations S5-115F Manual DO operation Table 3-25 and the example that follows explain the processing operation. Table 3-25. DO Operation Operation Operand Meaning Process formal operand. The substituted blocks are called unconditionally. Parameter Data Formal operand Actual Operands Permitted Type Type DB, PB, SB, FB...
S5-115F Manual STEP 5 Operations System Operations System operations and supplementary operations have the same limitations. You can program them only as follows: • In function blocks • In the STL method of representation Since system operations access system data, only users with system knowledge should use them. If you want to program system operations, you must select ”SYS: OPS.
STEP 5 Operations S5-115F Manual 3.3.2 Load and Transfer Operations Use these load and transfer operations to address the entire program memory of the CPU. They are used mainly for data exchange between the accumulator and memory locations that cannot be addressed by operands.
Page 163
S5-115F Manual STEP 5 Operations Example: Explanation KH F100 Load the address F100 into ACCUM 1. Load the information from the memory location with the address F100 into ACCUM 1. Processing a field transfer A field transfer is processed independently of the RLO. The parameter indicates the length of the data field (in bytes) that is to be transferred.
STEP 5 Operations S5-115F Manual 3.3.3 Arithmetic Operation Arithmetic operations increase the contents of ACCUM 1 by a specified value. The parameter represents this value as a positive or negative number. Table 3-28 shows the essential features of the ”ADD” operation. An example follows the table. Table 3-28.
S5-115F Manual STEP 5 Operations 3.3.4 Other Operations Table 3-29 provides an overview of further system operations. Table 3-29. The ”TAK” and ”STS” and ”DI” Operations Operation Operand Meaning Exchange accumulator contents The contents of ACCUM 1 and ACCUM 2 are exchanged independent of the RLO.
Page 166
STEP 5 Operations S5-115F Manual Condition code generation for comparison operations Execution of comparison operations sets condition codes CC 0 and CC 1 ( Table 3-30). The overflow condition code is not affected. However, comparison operations affect the RLO. When a comparison is satisfied, the RLO is 1.
Page 167
S5-115F Manual STEP 5 Operations Conditon code generation for shift operations Execution of shift operations sets CC 0 and CC 1. It does not affect the overflow condition code ( Table 3-33). Code setting depends on the state of the last bit shifted out. Table 3-33.
STEP 5 Operations S5-115F Manual Sample Programs Sections 3.5.1 through 3.5.3 provide a few sample programs that you can enter and test in all three methods of representation on a programmer with a screen (e.g. the PG 675). 3.5.1 Transitional-Pulse Relay (Edge Evaluation) Example Circuit Diagram On each leading edge of the signal at input I 1.7, the AND...
S5-115F Manual STEP 5 Operations 3.5.2 Binary Scaler This subsection describes how to program a binary scaler. Example: The binary scaler (output Q 3.0) changes its state each time I 1.0 changes its signal state from ”0” to ”1” (leading edge). Therefore, half the input frequency appears at the output of the memory cell.
STEP 5 Operations S5-115F Manual 3.5.3 Clock (Clock-Pulse Generator) This section describes how to program a clock-pulse generator. Example: A clock-pulse generator can be implemented using a self-clocking timer that is followed in the circuit by a binary scaler. Flag F 2.0 restarts timer T 7 each time it runs down, i.e., flag F 2.0 is ”1”...
S5-115F Manual STEP 5 Operations Illegal Accesses Various access operations are illegal in the S5-115F. An attempt to access illegal addresses is rejected with an error message in the case of LIR, TIR and TNB and the PLC stops ( Table 3-35). Table 3-35.
STEP 5 Operations S5-115F Manual Programming Notes In order to guarantee the safety of systems requiring official authorization, the possibility of systematic errors by the user must be precluded. Systematic errors have the same effect on both subunits. Note Organize your programs as clearly as possible! The following are not permitted •...
Page 173
Program Test Signal Status Display ......... 4 - 1 4.1.1 Program-Dependent Signal Status Display ”STATUS”...
Page 174
Figures 4-1. Comparison of the ”STATUS” and ”STATUS VAR” Test Functions ..4 - 1 4-2. Representation of Signal States on a Screen (for LAD and CSF) ... . . 4 - 2 Tables 4-1.
S5-115F Manual Program Test Program Test Use the following test functions to find and eliminate logic errors in program scanning. Note Test blocks are not possible with the S5-115F. Signal Status Display Two test functions indicate operand signal states and the result of the logic operation (RLO). Depending on when signal states are examined, a distinction is made between program- dependent signal status display (STATUS) and direct signal status display (STATUS VAR).
Program Test S5-115F Manual Displaying signal states on the screen The display of signal states on the screen differs depending on the method of representation used: STL: Signal states are represented as a listing of information. CSF/LAD: Signal states are represented by different types of connecting lines as shown in Figure 4-2: Signal state 1 Signal state 0 Signal state cannot be represented.
S5-115F Manual Program Test Forcing You can use the Forcing functions to influence specific binary and digital operands. A distinction is made between Forcing Outputs (FORCE) and Forcing Variables (FORCE VAR), depending on whether the process image or program scanning is influenced. Both functions are possible in the S5-115F only in Test mode.
Program Test S5-115F Manual Search The Search function looks for specific keys in the program and lists them on the programmer display. You can then make program changes at this point. This function is only possible in Test mode. You can execute Searches with the following programmer functions: •...
Page 179
S5-115F Manual Program Test Table 4-1 shows all the programmer parameter entry functions for the S5-115F PLC with CPU 942- 7UF15. Table 4-1. Overview of Operator Functions PG---PLC Operator functions Test mode Safety mode Lesser Large Lesser Large Bold type: Operator entry STOP STOP STOP...
S5-115F Manual Error Diagnostics Error Diagnostics The S5-115F operating system detects errors which can occur in connection with any of the following: • Hardware • Programming (STEP 5) • Configuring (e.g. PLC parameters) • Data handling (e.g. wrong address setting on interface modules). The S5-115F offers the following methods of displaying error messages: •...
Page 183
Error Diagnostics S5-115F Manual ISTACK display on the PG 635/675/685/695 and 750 with COM 115F The following tables show the ISTACK as it is displayed on CRT-based programmers. Set bits are marked by ”X” (here, for example, FITEKO-OK, STOANZ., etc.). Some bit identifiers are different when using LAD, CSF and STL .
S5-115F Manual Error Diagnostics 5.1.2 Meaning of the ISTACK Displays Besides malfunction analysis, the ISTACK provides other information. Table 5-1. Mnemonics for Control Bits Control Bit Mnemonics Interrupt Display Mnemonics FISIN SINEC L1 LAN has been configured Interrupt condition code word FIALA Interrupt DI test active STOPS...
Page 185
Error Diagnostics S5-115F Manual Use Table 5-2 to determine the cause of a fault or an error when program scanning is interrupted. In each case, the CPU goes into the ”STOP” mode. Table 5-2. Meaning of the ISTACK Displays ault/Error Fault/Error Cause Remedy...
S5-115F Manual Error Diagnostics 5.1.3 LED Error Signalling Certain errors are indicated by LEDs on the CPU. Table 5-3 explains these error signals. Table 5-3. Meaning of the Error LEDs on the CPUs Meaning Time out lights up (The CPU has entered the ”STOP” mode.) Scan time exceeded lights up (The CPU has entered the ”STOP”...
Page 187
Error Diagnostics S5-115F Manual When the CPU reaches the illegal statement, it interrupts program scanning and goes into the ”STOP” mode with the ”NNN” error message. The STEP address counter is at the absolute address of the next statement in the program memory that still has not been processed. Absolute addresses in B000 the internal RAM...
S5-115F Manual Error Diagnostics 5.2.2 Program Trace with the Block Stack (”BSTACK”) Function During program scanning, jump operations enter the following information in the block stack: • The data block that was valid before program scanning exited a block • The relative return address.
Page 189
Error Diagnostics S5-115F Manual Display BLOCK STACK BLOCK NO. BLOCK ADDR. RETURN ADDR. REL. ADDR. DB NO. DB ADDR. PB 4 B19A B1B4 001A B214 PB 2 B168 B17C 0014 B214 OB 1 B1CE B1F8 002A B214 06FS Figure 5-6. ”BSTACK” Display on a PG 675 Programmer The display in Figure 5-6 indicates that DB 5 was accessed incorrectly on the path OB 1 PB 2 PB 4.
S5-115F Manual Error Diagnostics System Parameters Use the ”SYSPAR” programmer function to read the system parameters out of the CPU. Table 5-4. CPU System Parameters System Parameter Contents Explanation Baud rate 9600 Absolute start addresses in the CPU memory Signal states of the inputs F000 Signal states of the outputs F000...
Error Diagnostics S5-115F Manual Error Detection and Entry in the Error DB The S5-115F has user-friendly methods of error detection and error handling. 5.4.1 Error Detection The BS 115F exposes errors in all program sections caused by configuring, programming, handling and hardware defects.
Page 192
S5-115F Manual Error Diagnostics The following operating system programs detect errors: Table 5-6. Error-Detecting Programs of the Operating System Byte 1* Function of the Program Section Updating of user locations T0 to T127 and of ”long discrepancy times” (times for 256 digital inputs) Synchronization of user servicing of process (OB2) and time (OB13) interrupts Coordination of the modes in both subunits Comparison of the digital input images (PII) of both subunits and analysis of non-...
Page 193
Error Diagnostics S5-115F Manual Table 5-6. Error-Detecting Programs of the Operating System (continued) Byte 1* Function of the Program Section Bit test of the external µP8032 RAM µP8032 function test Test of the internal µP8032 RAM SSP function test Operating system EPROM test (64 Kbytes) User EPROM test (8, 16, 32 Kbytes depending on control program) Assigning a page of the parallel interface Job header, common to all parallel interface jobs...
Page 194
S5-115F Manual Error Diagnostics Table 5-7. Operating System Central Functions Byte 1* Function of the Program Section Cold restart after POWER UP Stop program Restart from Stop Cycle control Idle loop 10 msec. interrupt service routine PG interrupt service routine SINEC L1 interrupt service routine Process interrupt service routine Interpreter of the STEP 5 operations not running in the SSP...
Error Diagnostics S5-115F Manual 5.4.2 Error Entry in Error DBs 2 and 3 Bit 15 14 Word Error response Subunit identifier Record No. Erroneous Signal group Error DB SINEC L1 receive error in message frame from subunit A Centre of the source slave Record SINEC L1 receive error in message frame from subunit B of the source slave...
Page 196
S5-115F Manual Error Diagnostics Any errors found are evaluated by the central error routine and entered in error DBs 2 and 3. Subunit A writes its error into error DB 2 and subunit B writes its error into error DB 3. If the error does not cause the link between the two subunits to be interrupted, the subunits are synchronized by exchanging the error DBs.
Error Diagnostics S5-115F Manual 5.4.3 Ways of Evaluating the Error DBs There are four ways of evaluating error DBs: • Direct readout of the error DB as a record with the programmer or the operator panel • Interpretation and plaintext message of Blocks 2 to 22 with COM 115F •...
S5-115F Manual Error Diagnostics 5.5.2 Types of Error Table 5-9 is an overview of all types of error which can be interpreted by COM 115F and the relevant responses of the operating system: Table 5-9. Types of Errors which Can Be Interpreted by COM 115F Value Type of Error Response in...
Page 199
Error Diagnostics S5-115F Manual Table 5-9. Types of Error which Can Be Interpreted by COM 115F (Continued) Value Type of Error Response in Byte 0 Safety Mode Handling Large stop loop Handling Large stop loop Network interrupt Large stop loop I/O modules Large stop loop CPU, PL, PS...
Page 200
Blocks Integral Function Blocks ........6 - 2 6.1.1 Conversion Blocks .
Page 201
Figures 6-1. Schematic Illustrating the Scaling of Analog Values ..... . . 6 - 5 6-2. FB 254 Calls (Ideal Schematic) ......... . 6 - 12 6-3.
S5-115F Manual Blocks Blocks You can use the following to support the user program in the safety-related S5-115F: • Integral blocks • Loadable standard function blocks • Function blocks generated by the user (subject to acceptance test) Some standard function and organization blocks are integrated in the operating system of the central processing units.
Blocks S5-115F Manual Integral Function Blocks Integral function blocks can be divided into separate groups according to function. 6.1.1 Conversion Blocks Use blocks FB 240 and FB 241 to convert numbers in BCD code to fixed-point binary numbers and vice versa. Code Converter: B4 -FB 240- Use function block FB 240 to convert a number in BCD code (four tetrads) with sign to a fixed-...
S5-115F Manual Blocks 6.1.2 Arithmetic Blocks Use function blocks FB 242 and FB 243 to multiply and divide. Multiplier: 16 -FB 242- Use function block FB 242 to multiply one fixed-point binary number (16 bits) by another. The product is represented by two fixed-point binary numbers (16 bits). The result is also scanned for zero.
Blocks S5-115F Manual Call and parameter Assignment Parameter Type Data Assignment Meaning Type -32768 to+32767 Dividend : JU FB 243 -32768 to+32767 Divisor Name : DIV : 16 ”1” if overflow Overflow display ”1” for division by zero Z3=0 Z3=0 ”1”: quotient Scan is zero...
Page 206
S5-115F Manual Blocks If you want selective sampling, proceed as follows: Set the function selector switch on the 460 AI to selective sampling. Call FB 250 ANEI with Parameter EINZ = ”1”. During coding, FB 250 ANEI will set the output parameters T Bit = ”1”. The result is available when T Bit = ”0”.
Page 207
Blocks S5-115F Manual COM 115F is used to configure the analog value representation of the module (channel type). There are three methods of wire-break detection: Hardware wire-break detection This is implemented on the 460 AI module with the 498-1AA11 range card. The condition code bit F is set in the event of a wire-break and evaluated by FB 250 ANEI.
Page 208
S5-115F Manual Blocks Call and Parameter Assignment: Parameter Meaning Type Data Assignment / Explanation Type Module address AI 460: 128 to 240 (16-byte grid) : JU FB 250 AI 463: 128 to 248 (8-byte grid) NAME : AGF : ANEI Channel number KY = 0 to 7 in AI 460 0 to 3 in AI 463...
Page 209
Blocks S5-115F Manual Outputting an analog value -FB 251- Use function block FB 251 to output analog values to analog output modules. Specify the type of analog representation of the module (channel type) in the KNKT parameter. Values from the range between the “lower limit”...
S5-115F Manual Blocks 6.1.4 The FB 252 Block Transfer Block FB 252 handles control of data transfer between the CPU and the CP 523 serial input/output module. FB 252 transfers fixed-length data. Up to 32 data blocks of eight bytes each are read out of or written into the memory area per call.
Blocks S5-115F Manual 6.1.5 The FB 253 Mailbox Transfer Block If you are using a SINEC L1 LAN, it is connected to the B subunits of the relevant S5-115Fs. The user program accesses the Receive mailbox direct without the FB 253. If you have installed a dual-bus SINEC L1 LAN, you will have two Receive mailboxes (Bus A and Bus B).
Page 212
S5-115F Manual Blocks Call and Parameter Assignment Parameter Meaning Type Data Assignment Type SYNC Synchroni- Bit 0 = 1 : Update of user : JU FB 254 zation pa- times Name : AGF:SYNC rameter Bit 1 = 1 : Synchronize handling of SYNC : interrupt and...
Page 213
Blocks S5-115F Manual Optimization of Call Frequency Establish which functions you require frequently Draw up a diagram of the PLC cycle and mark all calls - on their individual axis and - on a shared axis Example: The following are used for a PLC cycle time of 300 ms, (user program 200 ms, operating system 100 every 160 ms User timer updating every...
Page 214
S5-115F Manual Blocks Reduce the intervals to a common time multiple. Optimize the call intervals to keep the frequency of calls to a minimum. Example: 30 ms Common time multiple 150 ms User time updating 30 ms Interrupt handling (OB 2) and time OB processing (OB 13) 90 ms Programmer input processing 120 ms SINEC L1 processing User program (6 calls)
Blocks S5-115F Manual 6.1.7 Depassivation Block FB 255 Defective sensors and actuators are often the cause of passivation of I/O modules. If you can rectify the faults in PLC RUN, FB 255 allows passivation to be revoked; the depassivated I/O module is then referenced again by the PLC.
S5-115F Manual Blocks OB 251 PID Algorithm The operating sytem of the CPU 942F has a PID algorithm which the user can apply to his needs with the help of the OB 251 organization block. Before calling OB 251, you must open a data block (PID DB) which contains the PID parameters and other controller-specific data.
Page 217
Blocks S5-115F Manual The individual proportional-action, integral-action, and derivative-action components can be deactivated via their particular parameters (R, TI, and TD) by presetting the pertinent data words with zero. This enables you to implement all desired controller structures easily, e.g. PI, PD, or PID controllers.
Page 218
S5-115F Manual Blocks Correction Rate Algorithm A particular correcting increment dY is calculated at a particular instant t= k TA according to • the following formula: • Without feedforward injection of disturbance variable (D11.5 = 1) and application of XW to the differentiator (D11.1 = 0) = K [(XW - XW...
Page 219
Blocks S5-115F Manual Assigning Parameters to the PID Algorithm The controller DB is OB 251's interface to its environment. All data required for calculating the next value is stored in the controller DB. Every controller requires its own controller DB. Controller-specific data parameters are set in a data block, which must include at least 49 data words.
Page 220
S5-115F Manual Blocks Important The data words not listed in the table are used by the PID algorithm as auxiliary words. Initializing and calling the PID controller in the STEP 5 program Different PID controllers can be implemented with multiple OB 251 calls. Data transfer via a relevant data block must be ensured before each call.
Page 221
Blocks S5-115F Manual Typical application of the PID control algorithm in the S5-115F A furnace is to be maintained at a constant temperature by a PID controller. The temperature setpoint is entered by a potentiometer. The setpoints and actual values reach the controller via an analog input module. The calculated manipulated variable is then output via an analog output module.
Page 222
S5-115F Manual Blocks Calling the controller in the program: OB 13 Explanation NETWORK 0000 0000 LPLZ SEQUENCE 0001 KF +1 0003 0004 0005 0006 :JU FB PROCESS CONTROLLER 0007 NAME :REGLER 1 0008 THE CONTROLLER SAMPLING TIME IS 0009 DETERMINED BY THE OB 13 CALL TIME, 000A WHICH IS SET WITH COM 115F IN THE 000B...
Page 223
Blocks S5-115F Manual FB 10 Explanation NETWORK 1 0000 NAME :REGLER 1 0005 LPLZ-SEQUENCE 0006 KF +1 0008 0009 000A 000B OPEN CONTROLLER DB 000C 000D *********************************** 000E READ IN CONTROL BITS FOR CONTROLLER 000F *********************************** 0010 0011 READ IN CONTROL INPUTS 0012 FOR CONTROLLER 0013...
• In the safety mode, the operating system checks all standard FBs for integrity • Standard FBs for the SIMATIC S5 U-range controllers are not allowed, and are rejected in the safety mode • The authorized inspector's examination of the standard FBs limits itself to...
Page 227
Application Hardware Installation ........7 - 1 7.1.1 Installing and Wiring the Hardware .
S5-115F Manual Application Application This section contains a simple example of an S5-115F in test mode. The I/O modules used include the following: • 32 reaction-free digital input modules, I/O type 1 • 32 failsafe digital input modules, I/O type 3 •...
Application S5-115F Manual The following are implemented with this configuration • Single-channel I/O modules 32 digital input modules, I/O type 1, address 32.0 to 35.7, subunit B, slot 2 32 digital output modules, I/O type 10, address 36.0 to 39.7, subunit B, slot 3 •...
S5-115F Manual Application Entering the Subunit ID Connect the programmer to subunit A Select the COM 115F Configure package and set the operating mode ”ON” in the Defaults screen form. Select the ”Initializing the 115F Operating System” screen form Press F1 ”Subunit” and read the subunit ID entered there. Change the subunit ID if required by entering the letter A.
Page 233
Application S5-115F Manual Change the following standard values: Second error occurrence time 10 min Update user time: Max. interval 16383 10 min (no monitoring) Interrupt proc.: Max. interval 10 msec (no monitoring) Short discr. time interr. DI msec (not required) Short discr.
S5-115F Manual Application Configuring the Hardware with COM 115F This section contains the configuration screen forms for the I/O types mentioned in the example. Configuring hardware with COM 115F means • Selecting an I/O type for each input or output •...
Page 235
Application S5-115F Manual Configuring the two-channel digital input modules Call the configuration form for I/O type 3 Select DI word 0 with the cursor control keys Enter type no. ”3” in the field for bit 0.0 and terminate the input with <Return> The cursor jumps to the configuration field.
Page 236
S5-115F Manual Application Configuring the single-channel digital output modules Call the configuration form for I/O type 8 Select DQ word 36 with the cursor control keys Enter type no. ”8” in the field for bit 36.0 and terminate the input with <Return> The cursor jumps to the configuration field Enter the following in the configuration field DB number...
Page 237
Application S5-115F Manual Configuring the two-channel digital output modules Call the configuration form for I/O type 10 Select DQ word 4 with the cursor control keys Enter type no. ”10” in the field for bit 4.0 and terminate the input with <Return> The cursor jumps to the configuration field Enter the following in the configuration field DB number...
S5-115F Manual Application Transferring the Configuration Data to the PLC In test mode, you can transfer the configuration data from the hard disk or the diskette to the PLC. Proceed as follows: Connect the programmer to subunit A Call the ”Defaults” screen form and enter the following: •...
List of Operations Explanatory Notes on the Operands ......A - 1 Basic Operation Set ......... . A - 4 Supplementary Operations .
Page 241
S5-115F Manual List of Operations List of Operations Explanatory Notes on the Operands Abbreviations Explanation ACCUM 1 Accumulator 1 (during the loading of accumulator 1 any existing contents are shifted into accumulator 2). ACCUM 2 Accumulator 2 CC 0 / CC 1 Condition code 0 / Condition code 1 Control system flowchart method of representation in STEP 5.
Page 242
List of Operations S5-115F Manual Permissible value range for operands for Abb. Explanation CPU 942F Counter 0 to 127.7 - with the ”Bit test” and ”Set” 0.0 to 127.7 supplementary operations Byte constant (fixed-point number) - 128 to + 127 Data word (1 bit) 0.0 to 255.15 Data block...
Page 243
S5-115F Manual List of Operations Permissible value range for operands for Abb. Explanation CPU 942F Organization block 1 to 255 Program block (with block call and return operations) 0 to 125 Peripheral (input/output) byte 0 to 124 Peripheral (input/output) word 0 to 126 Output 0 to 125.7...
List of Operations S5-115F Manual Basic Operation Set for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands in µsec. 2 RLO affected? Ope- 3 RLO reloaded? Function ration (STL) 942F Boolean Logic Operations...
Page 245
S5-115F Manual List of Operations for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands Ope- 2 RLO affected ? in µsec. 3 RLO reloaded? Function tion (STL) 942F Load Operations (cont.) Load an input word from the PII into accumulator 1: byte n ACCUM 1(bits 8 to 15);...
Page 246
List of Operations S5-115F Manual for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands 2 RLO affected? in µsec. Ope- 3 RLO reloaded? Function ration (STL) 942F Load Operations (cont.) Load a constant (time in BCD) into accumulator 1 Load a constant (time in BCD) into accumulator 1 •...
Page 247
S5-115F Manual List of Operations for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands Ope- 2 RLO affected? in µsec. Function ration 3 RLO reloaded? (STL) 942F Timer Operations Start timer (in accumulator 1) as pulse (signal contracting) on •...
Page 248
List of Operations S5-115F Manual for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands 2 RLO affected? in µsec. Ope- 3 RLO reloaded? Function ration (STL) 942F Comparison Operations Compare two fixed-point numbers if equal: if ACCUM 1=ACCUM 2, the RLO is ”1”.
Page 249
S5-115F Manual List of Operations for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands in µsec. Ope- 2 RLO affected? ration 3 RLO reloaded? Function (STL) 942F Block Call Operations (cont.) Call a data block Generate a data block Return Operations...
List of Operations S5-115F Manual for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands in µsec. 2 RLO affected? Ope- 3 RLO reloaded? Function ration (STL) 942F Display Generation Operations (cont.) Display generation operation for the programmer: Switch over to ladder diagram Display generation operation for the programmer:...
Page 251
S5-115F Manual List of Operations for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands in µsec. Ope- 2 RLO affected? ration 3 RLO reloaded? Function (STL 942F Bit Test Operations •...
Page 252
List of Operations S5-115F Manual for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands in µsec. Ope- 2 RLO affected? ration 3 RLO reloaded? Function (STL) 942F Timer and Counter Operations Enable timer/counter for cold restart.
Page 253
S5-115F Manual List of Operations for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands in µsec. 2 RLO affected? Function Ope- 3 RLO reloaded? ration (STL) 942F Conversion Operations Form the one's complement of ACCUM 1.
Page 254
List of Operations S5-115F Manual for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands in µsec. Ope- 2 RLO affected? ration 3 RLO reloaded? Function (STL) 942F Other Operations Disable interrupt: input/output interrupt or timer OB processing is disabled Enable interrupt:...
S5-115F Manual List of Operations System Operations for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands 2 RLO affected? in µsec. Function Ope- 3 RLO reloaded? ration (STL) 942F Set Operations Set bit in system data area unconditionally...
List of Operations S5-115F Manual for organization blocks (OB) for program blocks (PB) for function blocks (FB) for sequence blocks (SB) 1 RLO-depend.? Execution time Operands in µsec. 2 RLO affected? Ope- 3 RLO reloaded? Function ration (STL) 942F Other Operations Formal operand Process via the formal operand (indirect).
S5-115F Manual PLC Error Messages PLC Error Messages PLC Error Messages with COM 115F Appendix B gives an overview of all error messages and indicates the possible causes of error. Proceed as follows for the OVERALL RESET remedy: • Safety mode: OVERALL RESET •...
Page 262
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 20 Too high a quartz frequency More than a 10 % difference Replace CPU difference between A and B: between the CPU quartz CPU error frequencies in A and B Additional info.
Page 263
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 01 OB 13 calls in A and B not Too great an OB13 timer location synchronous: CPU HW error value difference between A and B Replace CPU CPU HW error Service...
Page 264
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 Operating modes in A and B Operating modes of A and B not defined: CPU error (entered with CPU frontplate switches) wrongly entered: Replace CPU CPU error...
Page 265
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 09 DI modules in A and B I/O module single comparison error unequal, discrepancy time-out Error group No. 08 I/O individual error (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) Configured discrepancy too short...
Page 266
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 Long discrepancy time for Configuration: Check configuration current DI bit not found: Long discrepancy time in Configuration/CPU error discrep. DB not configured Discrepancy DB not present in PLC CPU error...
Page 267
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 19 QVZ during reading of the AI AI channel or AI module defective Replace module module in self-test: IM306 defective Replace module I/O module error IM304/314 defective...
Page 268
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 09 Wire-break in safety- I/O module single comparison error related AI: Error group No. 08 I/O error I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) AI comparison error:...
Page 269
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Causes Remedy Identi- sec. fier Progr. Error group No. 09 AI modules in A and B I/O module single comparison error unequal: Error group No. 08 I/O error I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) AI comparison error:...
Page 270
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 20 Process output image (PIQ) in CPU error Replace CPU A and B unequal: CPU or PL (PIQ is overwritten by e.g. PG, error SINEC) PL HW error...
Page 271
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 01 Inconsistencies during test CPU error Replace CPU read of SINEC L1 receive buffer: CPU error Additional info. 1: Message source No. Warm restart: 1.
Page 272
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 Wrong initial address RAM CPU error - Replace CPU area: - Service CPU error Additional info. 1: Initial address of RAM area from SD 36 system data, hex display...
Page 273
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 15 Error during RAM comparison Memory location defective Replace CPU of A and B: One-sided overwrite of memory Service CPU error location by the 115F operating system Additional info.
Page 274
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 04 Error during PL self-test: PL error during read-after-write- PL error check of test section of current check background: PL defective Replace PL CPU HW error Replace CPU...
Page 275
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 16 Number of configuration DB Change No. of DB for type 3 I/O or 10 < 4: Configuration error Additional info. 1: I/O type of wrong config.
Page 276
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error during self-test of I/O see consec. No. 02 see consec. No. 02 type 3 DI modules in A: I/O module error Additional info: Compare consec.
Page 277
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error during DQ test in A; see consec. No. 05 see consec. No. 05 restart: I/O type 9, 10; Cycle: type 10 Additional info: Compare consec.
Page 278
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 19 QVZ during DQ test DQ module defective Replace module Restart: I/O type 9 and 10: DQ module not available Plug in module Cycle: I/O type 10 change configuration if...
Page 279
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 10 Error during interrupt module I/O module test individual error test Error group No. 08 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) Interrupt DI test error: Test bit not set in B:...
Page 280
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier No.. Progr. Error group No. 10 I/O module test individual error Error during interrupt module test Error group No. 8 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) Interrupt DI test error: Interrupt bit not set by ISR in B:...
Page 281
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 10 I/O module test individual error Error during interrupt module test Error group No. 08 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) Interrupt DI test error: Test bit in interrupt register not set...
Page 282
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 User operation sequence for Operation sequence: Insert operation sequence in the LPLZ incrementation is relevant block missing: Program error KF+1 is missing Additional info.
Page 283
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 Self-test in A and B not Test components (FXTEKO) in A and B synchronous: CPU error not identical CPU error Replace CPU (one-sided overwrite of memory location)
Page 284
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 Self-test in A and B not Test pointer 0 (FXTE ZEI0 H) is not synchronous: CPU error identical in A and B. CPU error (one-sided overwrite Replace CPU of memory location)
Page 285
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Causes Remedy Identi- sec. fier Progr. Error group No. 13 Self-test in A and B not Test pointer 2 (FXTE ZEI2 L) is not synchronous: CPU error identical in A and B. CPU error (one-sided overwrite Replace CPU of memory location)
Page 286
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 Self-test in A and B not The FXAE BLOCK ADR L datum is not synchronous: CPU error identical in A and B. CPU error (one-sided overwrite of Replace CPU memory location)
Page 287
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 Self-test in A and B not The FXAE TEST ANZ datum is not synchronous: CPU error identical in A and B. CPU error (one-sided overwrite of Replace CPU memory location)
Page 288
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 23 Error in other subunit: Analyze error message in Partner or CPU error partner PLC Additional info. 1: Subunit of the original mess. Subunit which discovered the error Warm restart: 1.
Page 289
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 24 Stack too deep: Execution times for OB 2 and OB 13 Check OB 2 and OB 13 Handling error too long Replace CPU Additional info 1:...
Page 290
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 19 QVZ during writing of CH DQ Event-driven DI module test: module: I/O module error CH DQ module not available Plug in module (if necessary, change configuration)
Page 291
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 10 I/O module test individual error Error during DI module test in A and B Error group No. 08 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) DI module test error...
Page 292
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 10 I/O module test individual error Error during DI module test in A Error group No. 08 I/O error burst (only in the case CPU 942-7UF13 with I/O ETV 3 or 4) DI module test error:...
Page 293
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 10 I/O module test individual error Error during DI module test in B Error group No. 08 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) DI module test error:...
Page 294
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 19 QVZ during reading of AI AI module not available - Plug in module module: (if necessary, change I/O module error configuration) AI module defective - Replace module...
Page 295
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 10 I/O module test individual error Error during AI module test: I/O module error Error group No. 08 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) DI module test error:...
Page 296
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 07 Error during RAM test: Error during read-after-write check CPU HW error of current test section on test background: CPU HW error Replace CPU Service Additional info.
Page 297
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 02 Error during processor Command wrongly interpreted by function test: µP8032: µP8032 defective CPU HW error Replace CPU Additional info. 1: Operation group No.
Page 298
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 02 Error during test of processor Internal µP8032 RAM, RAM: Error during read-after-write check CPU HW error of test byte: CPU HW error Replace CPU Service...
Page 299
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 03 Error during processor SSP function test: function test: CPU HW error CPU HW error Replace CPU Service Additional info. 1: Operation group No.
Page 300
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 05 Operating system EPROM Generated signature of the operating defective: system EPROM is different to CPU HW error signature read: Operating system EPROM Replace CPU defective...
Page 301
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 06 EPROM module for user Generated signature of the operating program defective system EPROM is different to signature read: User EPROM module defective Write new user EPROM with COM 115F Additional info.
Page 302
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 PL not functioning: Page cannot be assigned, CPU error Wrong page identifier: CPU error Replace CPU Service Additional info. 1: Page No.
Page 303
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 PL not functioning: Page is not assignable due to wrong CPU error access identifier: CPU error Replace CPU Service Additional info.
Page 304
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 01 PL access not possible: Continuous READY on PL access, PL, CPU HW or IM error recognized in job header: PL HW error Replace PL CPU HW error...
Page 305
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 23 Synchronization of A and B 115F operating system LPLZ in A is On first occurrence of the error: not possible: different to B: OVERALL RESET CPU HW or PL error...
Page 306
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 29 Error message contradictory: Error group No. of the current error CPU error message wrong: cannot be evaluated Replace CPU Service Add.
Page 307
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 29 Error message contradictory: Wrong DI module identifier: CPU error Additional info: See consec. No. 02 See consec. No. 02 Error group No.
Page 308
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 19 I/O modules cannot be QVZ during access of I/O module (self- accessed: test): I/O module or IM error Module defective Replace module Wrong address on the IM306 Check addressing...
Page 309
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 19 I/O modules cannot be QVZ during access of the I/O module accessed: (short test): I/O module or IM error Module defective Replace module Wrong address on the IM306...
Page 310
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 16 Configured I/Os not plugged Handling error: in or wrong IM306 slot Module not plugged in Plug in module address (if necessary, change configuration) Module defective...
Page 311
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 16 DB1 not present in PLC: DB1 not in user EPROM Configure DB1 with Handling error (Safety mode) COM 115F and transfer to PLC DB1 not loaded in PLC (Test mode) Warm restart:...
Page 312
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 Wrong module address Wrong configuration Check configuration Programming error Additional info 1: Module address Warm restart: 1. Stop/Run Error group No. 16 DB1 not present in PLC Configuration DB not loaded Load configuration DB into...
Page 313
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 01 Synchronization error or Page 0 has been unassignable for too Re-enter subunit ID. wrong subunit ID for test long since timer 1 is out. If error still not removed after en- mode Different startup of subunits...
Page 314
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 30 User memory submodule for Wrong EPROM submodule Exchange EPROM submodule S5-115F not permissible: plugged in in PLC Handling error Additional info.
Page 315
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 17 Fault in system startup: Block address list construction not OVERALL RESET operator error, completed OVERALL RESET required Additional info. 1: Address 1 undefined character Error group No.
Page 316
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 24 Different user memory Mixed RAM, EPROM or EEPROM Use the same user memory submodules in A and B: Submodules of different lengths submodule type for both Handling error used...
Page 317
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 30 User memory submodule for Wrong user memory submodule S5-115F not permissible: plugged in Use permissible user memory Handling error submodule Additional info.
Page 318
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 18 Cold restart not possible: NINEU bit set: OVERALL RESET required NAU routine has interrupted operating system function Warm restart: OVERALL RESET Error group No.
Page 319
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 19 PEU signal active during structuring of the 9th track: I/O module error or Power failure in I/O expansion Check power supply in component structure error unit expansion unit...
Page 320
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 01 Error in cycle control (in Analyze error with ISTACK accordance with ISTACK): (UAW) CPU error Additional info. 1: Warm restart: 1.
Page 321
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 19 Error on I/O bus Permanent READY signal on I/O bus: I/O module defective Replace module IM306 defective Replace IM306 Warm restart: 1.
Page 322
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 03 CPU HW error µP 8032 SSP timing defective Replace CPU Warm restart: 1. Stop/Run Error group No. 13 CPU error Errors have appeared in word Analyze errors with ISTACK ( ISTACK for details)
Page 323
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 21 Configured scan time Endless loop in user program Remove program errors exceeded Configured scan time too short Increase configured scan time ( Vol.
Page 324
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 16 PG operator DB too long Shorten PG operator DB (>4068 bytes): (<= 4068 bytes) Handling error Additional info. 1: DB No.
Page 325
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 01 PG interface in 115F Replace CPU operating system faulted: CPU HW error Additional info. 1: R2 (Register bank 3) Additional info.
Page 326
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 1 Non-defined interrupt: Interrupt >< ZYK, NAU, INTERRUPT CPU HW or handling error INTA-N CPU HW error Replace CPU Non-defined interrupt in CPU Impermissible module connected (intelligent I/Os) Warm restart:...
Page 327
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 LPB/LPW operation on non- Check address in user configured module: program Programming error Additional info. 1: Word address of non-configured Input byte/word No.
Page 328
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 09 DI byte for LPB/LPW I/O module comparison individual operation in A different to B, error discrepancy time out Error group No. 08 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) DI module comparison error...
Page 329
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 Illegal access on I/O area with The addresses given in LIR and TIR Remove programming errors LIR, TIR order: belong to an illegal area, Programming error <...
Page 330
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 FB call with wrong Substitution error (SUF) during FB Correct function block call parameter: Programming call in user program (analyze ISTACK) error Warm restart:...
Page 331
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 09 I/O comparison, individual error Interrupt DI module in A different to B, discrepancy Error group No. 08 time-out I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) Interrupt DI module comparison...
Page 332
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 Acces to interrupt register Wrong access on DI 434 interrupt- Remove programming error outside OB2: generating module Programming error Warm restart: 1.
Page 333
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 Block called missing Missing block called in safety Delete block call mode Load block into EPROM Additional info 1: Display of block type Block type (OB, FB, PW, SB)
Page 334
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 Initialized AI module address User program error Check user program not connected: Programming Module not plugged in Plug in and configure module error IM306 defective Replace module...
Page 335
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 14 Programmed channel type Configuration error Configuration error (3 to 6) for AI module type 13 to 16 is wrong Additional info.
Page 336
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 09 Overflow in safety-relevant I/O comparison individual error AI module Error group No. 08 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) Value read into the AI463 Check sensors and choice of...
Page 337
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 09 Wire-break in safety-relevant I/O comparison individual error AI module Error group No. 08 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) Connection of AI 463 module Check connections...
Page 338
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 09 Analog value out of window I/O module comparison individual range, discrepancy time-out error Error group No. 08 I/O error burst (only in the case of CPU 942-7UF13 with I/O ETV 3 or 4) Two-channel sensors...
Page 339
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 FB250 call with wrong Substitution error Correct the actual FB250 call parameters: parameter (analyze ISTACK) Programming error Warm restart: 1.
Page 340
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 20 Output image in A different Replace CPU to B: CPU or PL error Replace PL Service Additional info. 1: AQ word No.
Page 341
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 FB 252 called with wrong Correct FB 252 call parameters: Check parameters Programming error Warm restart: 1. Stop/Run Error group No. 12 CP 523 module address FB 252 wrongly initialized Check parameters...
Page 342
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 Check FB 252 parameters Wrong character entered for memory type: Programming error Additional info 1: Wrong character Warm restart: 1.
Page 343
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 19 QVZ on CP 523: Module defective Replace module I/O module error Wrong module address set on Check module address CP 523 Additional info 1: Module address...
Page 344
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 FB253 call with wrong Wrong parameter format Correct actual parameter parameter: Programming error Warm restart: 1. Stop/Run Error group No. 12 FB253 call with wrong source Wrong slave No.
Page 345
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 FB253 call with non-redun- Wrong source slave No. Correct actual parameter dant configured source slave programmed No.: No redundant source slave No. in Correct configuration Programming/configuration configuration...
Page 346
PLC Error Messages S5-115F Manual Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 12 FB254 call with wrong Correct parameter parameter: Programming error Additional info. 1: Parameter Wrong actual parameter Warm restart: 1. Stop/Run Error group No.
Page 347
S5-115F Manual PLC Error Messages Error Con- Error Message Text Possible Cause Remedy Identi- sec. fier Progr. Error group No. 13 Check control program Contents of error DB or Error DB has been overwritten: Replace CPU configuration DB wrong Operating system error Additional info 1: Signal group Additional info 2:...
PLC Error Messages S5-115F Manual Evaluation of Error DBs (DB2 and DB3) without COM 115F You will normally use COM 115F to display user-friendly error messages on your programmer screen. You evaluate the error DBs • if you have no CRT-based programmer •...
Page 349
S5-115F Manual PLC Error Messages Meaning of the Eight Bytes of an Error Message Byte Error group ( 5.5.2 of the Manual) Error No. = (Progr. No.; Consec. No. 5.4.1) Additional information 3 to 7 The following assignments apply in the case of error messages with ”I/O identifier”...
Page 350
PLC Error Messages S5-115F Manual Error Gr. Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 3, 4 User time decr. in A /10 msec. 5, 6 User time decr. in B /10msec. 3, 4 Unit time difference /10 msec. 5, 6 Configured limit val.
Page 351
S5-115F Manual PLC Error Messages Error Gr. Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 23.1 Message source No. 0, 1 to 30 23.2 Message destination No. 0, 1 to 30 23.3 25.1 3, 4 SD 36 25.2 No.
Page 352
PLC Error Messages S5-115F Manual Error Gr. Byte Additional Information Remarks Byte- Additional Information Remarks Nos. Nos. 28.8 DI word No. 0, 2 to126 28.9 DQ word No. 0, 2 to124 28.10 I/O identifier: DI word No. 0, 1 to 63 ** 28.10 CH DQ word No.
Page 353
S5-115F Manual PLC Error Messages Error Gr Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 30.6 FXTE ZEI2 Hin A FXTE ZEI2 Hin B 30.7 FXTE ZEI2 L in A FXTE ZEI2 L in B 30.8 FXTEKO OK in A FXTEKO OK in B 30.9 FXEA BLOCK ADR H in A...
Page 354
PLC Error Messages S5-115F Manual Error Gr. Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 44.1 Configured safety time 10 to 16383 Calculated SINEC cycle time /10 msec. *10 msec. 45.1 3, 4 RAM address Desired test background Actual test background 45.2 3, 4...
Page 355
S5-115F Manual PLC Error Messages Error Gr. Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 53.1 Job No. Call localization parameter 53.2 3, 4 Log. OS progr. counter Call localization parameter Job No. 53.3 3, 4 Log. user progr. counter A 5, 6 Log.
Page 356
PLC Error Messages S5-115F Manual Error Gr. Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 54.8 (FXFE URS+0) (FXFE URS+1) (FXFE URS+2) (FXFE URS+3) (FXFE URS+4) 55.1 I/O word No. 0, 2 to 254 55.2 Subunit A, B Source slave No.
Page 357
S5-115F Manual PLC Error Messages Error Gr. Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 100.6 Code No. 101.1 EPROM identifier in A EPROM identifier in B 101.2 3, 4 User EPROM signature in A 5, 6 User EPROM signature in B 102.1 EPROM identifier 102.2...
Page 358
PLC Error Messages S5-115F Manual Error Gr. Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 105.1 3, 4 Configured scan time 5, 6 Actual scan time /10 msec. /10 msec. 105.2 106.1 DB No. 4, 5 DB length 106.2 DB No.
Page 359
S5-115F Manual PLC Error Messages Error Gr. Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 109.10 109.11 109.12 109.13 109.14 I/O identifier: Interrupt DI word No. 0, 1 to 63 ** Interrupt DI with CH DQ 109.14 in subunit A CH DQ word No.
Page 360
PLC Error Messages S5-115F Manual Error Gr. Byte Additional Information Remarks Byte Additional Information Remarks Nos. Nos. 250.7 I/O identifier: AI word No. 0, 1 to 63 ** AI without CH AQ and CH Rel DQ, 250.7 with one sensor; CH AQ word No.
Page 363
Federal Republic Ireland Siemens AG Österreich of Germany (continued) Siemens Ltd. Vienna Cologne Dublin Bregenz Leipsic Graz Mannheim Italy Innsbruck Munich Siemens S. p. A. Klagenfurt Nuremberg Milan Linz Saarbrücken Bari Salzburg Stuttgart Bologna Brescia Belgium Finland Casoria Siemens S.A.
Page 364
Siemens Addresses Worldwide S5-115F Manual Romania Switzerland USSR Siemens birou de Siemens-Albis AG Siemens AG Agency consultat ¸ ii tehnice Zürich Moscow Bukarest Bern Siemens-Albis S.A. Yugoslavia Spain Lausanne, Renens General Export Siemens S.A. OOUR Zastupstvo Madrid Turkey Belgrade ETMAS ¸...
Page 365
S5-115F Manual Siemens Addresses Worldwide Sudan Brazil Honduras National Electrical & Siemens S.A. Representaciones Electro- Commercial Company São Paulo industriales S. de R.L. (NECC) Belém Tegucigalpa Khartoum Belo Horizonte Brasília Mexico Swaziland Campinas Siemens S.A. Siemens (Pty.) Ltd. Curitiba Mexico City, D.F.
Page 366
Electro Mechanical Co. Iraq Peshawer Abu Dhabi Samhiry Bros. Co. (W.L.L.) Quetta Baghdad Rawalpindi Siemens Resident Engineer Abu Dhabi Siemens AG (Iraq Branch) People's Republic of China Scientechnic Baghdad Siemens Represen- Dubai tative Office Japan Beijing Siemens Resident Engineer Siemens K.K.
Page 367
S5-115F Manual Siemens Addresses Worldwide Asia (continued) Yemen (Arab Republic) Tihama Tractors & Engineering Co.o., Ltd. Sanaa Siemens Resident Engineer Sanaa Australasia Australia Siemens Ltd. Melbourne Brisbane Perth Sydney New Zealand Siemens Liaison Office Auckland EWA 4NEB 811 6149-02...
S5-115F Manual Abbreviations Abbreviations Abbreviation Term Analog input module Analog output module BASP Command output disable Battery failure Binary coded decimal Block end Conditional block end BSTACK Block stack Central controller CH AQ Check analog output module CH DQ Check digital output module Communications processor Central processing unit Control system flowchart...
Page 370
Abbreviations S5-115F Manual Abbreviation Term I/O ETV Input/output error tolerance variant Intelligent input/output module Interrupt service routine ISTACK Interrupt stack Input word Conditional jump Unconditional jump Character Fixed-point number Floating-point number Hexadecimal number Bit pattern KN/KT Channel number/channel type Time Byte;...
Page 371
Readback digital input module Read/write memory Result of logic operation Read-only memory Step address counter (memory address) Sequence block SINEC Siemens Network Communication STOP Statement list TRAF Transfer error Interrupt condition code word Scan (cycle) time exceeded EWA 4NEB 811 6149-02...
Page 373
S5-115F Manual Index Index Address (cont.) Acceptance test 10-68 - setting 4-22, 5-1 Access 10-25 - on the IM 306 7-36, 7-47, - in the AI address area 3-12 10-54 - operation 3-75 - structure - permissible 10-11 - switches 5-3, 5-4 - to I/O modules 10-11...
Page 374
Index S5-115F Manual Analog input signal Assignment form 5-12, 10-25, - intermittent 10-38 10-26 - non-intermittent 10-37 Assigning parameters to the Analog I/O modules PID algorithm 6-18 - configuring 6-34 Automatic mode 6-16 Analog module Initialization form Auxiliary function 1-23, 1-53, Analog module 1-3, 10-52, 1-56...
Page 375
S5-115F Manual Index Block - address 5-12 Cabinet installation 3-18 - address list 5-10, 2-6, Cable 2-18, 3-32, - adaptation of the length 3-25 3-36 - duct 3-42 - body - shielding 3-46 - calls 10-13, 5-3, Call - disable 2-11 - conditional 3-34...
Page 376
Index S5-115F Manual Checking (cont.) Condition code generation (cont.) - relay digital output 10-40 - for conversion operation 3-71 - modules 10-35, 10-43 - for digital logic operation 3-70 Circuit diagram - for shift operation 3-71 - conversion Conditions of inspection 10-73 Circuit interruption voltage 8-14, 8-15...
Page 377
S5-115F Manual Index Connection Coordination - fault-tolerant - byte 7-4, 7-5, - line voltage 7-6, 7-19, - nonsafety-related 7-2, 7-3 7-21, 1-3 - safety-related - structure - to power supply for Copy programmers 3-47 - command 1-35 - types 7-11 - softkey commands 1-32 - with IM 304/314 interface...
Page 378
Index S5-115F Manual Diagnostics 1-21 Data - functions - correction 10-69 Digital input 2-5, 2-7, 2-8, - flow charts 10-1 2-10, 10-17, - to be initialized 1-31 1-28 - traffic between the master Digital input module 7-10, 10-16, and the slave 10-25, 1-34 - transmission - 430-7LA12...
Page 379
S5-115F Manual Index Digital words unused Discrepancy (cont.) - I/O type assignment 10-51 - time 9-5, 10-7, Dimension drawing 3-15, 3-16, 10-8, 10-10, 3-17 10-11, 10-25, - modules with adapter casing 3-17 10-29, - modules without adapter 1-8, 1-36, casing 3-16 1-38, 1-39, - mounting racks...
Page 380
Index S5-115F Manual Entry Error (cont.) - fields - response 1-8, 2-7, - function 4-6, 10-25, - illegal 10-27, 10-63, - in the Error DB 5-10 10-65, Entry DB 1-38, 1-49, EPROM 1-27 5-12, 5-14, - submodule 2-12 5-15, 5-16 Equipotential bonding 3-44, 6-29 - routine...
Page 381
S5-115F Manual Index Feedback Function block (cont.) - address 1-31, 1-33 - integral - module 1-8, 9-5 - integrated 2-17, 5-13 Feedforward injection of disturbance - programming 2-17 variable 6-17 - test 10-13, 10-38 Field transfer 3-67 Function selector switch File name - AE 460 6-10...
Page 382
Index S5-115F Manual Initialization (cont.) Interface module (cont.) - form - connector pin assignment - I/O type 2 1-38 - functions 2-11 - I/O type 8 1-40 - IM 304 8-38 - I/O type 9 1-41 - IM 306 3-21, 5-2, - I/O type 10 1-42 5-3, 8-39...
Page 383
S5-115F Manual Index Interrupt (cont.) I/O type 10 1-42 - stack 5-1, 5-2 I/O type 13 1-43 - synchronization I/O type 14 1-46 Interslave data traffic 7-31 I/O type 15 1-49 Interval monitoring 2-10, 3-54 I/O type 16 1-50 I/O error 7-40, 10-6, I/O type 18 1-51...
Page 384
Index S5-115F Manual Load power supply 10-59 Matching blocks - units 3-33, 3-34 Mean time to repair Load resistance 8-32, 8-34, Measured value 8-36 - binary 6-16, 6-22 Loads Measures against electromagnetic - connecting to analog output interference 3-46 modules 6-29 Memory Local area network SINEC L1...
Page 385
S5-115F Manual Index Mounting rack 2-2, 3-1 to 3-3, OB Organization block 3-5, 3-6, 3-8, OB 2 5-14 3-10, 3-12 to ODGR Analog value matching 3-15, 8-3 to blocks Off-delay 3-24 - CR 700-0 - timer 3-16, 3-62 - for central controller OGR Analog value matching blocks - possible configurations On-delay...
Page 386
Index S5-115F Manual Operation (cont.) Parallel interface 1-7, - TIR 3-75 2-2 to 2-4, - TNB 3-75 3-19, - T PW 3-13, 3-75 3-20, 5-11, - T PY 3-13, 3-75 8-41, 5-12 Operator - settings on the IM 304 3-19 - entry function 10-67, 10-68 - settings on the IM 324...
Page 387
S5-115F Manual Index Personal computer Printout PG Programmer - configuration 1-28, 1-54 - configured data 1-52 - algorithm 1-3, - package 1-52 6-1, 6-15 Process - assigning parameters 6-18 - access 5-13 - calling the controller 6-19 - image 2-4, 4-4, - control algorithm 4-5, 5-5, - typical application...
Page 391
S5-115F Manual Index Short test at restart 10-27 SINEC L1 (cont.) Shutdown 10-29 - LAN Signal - link - binary 6-31 - master 7-33 - characteristics 10-25 - master coordination byte 1-17 - group 9-4, 10-25, - messages 7-11 10-46, 10-57, - network 1-15 10-59, 1-36,...
Page 392
Index S5-115F Manual Standardization schematic 6-39 Synchronization 1-8, 7-30, Starting COM 115F 7-32, 10-9, ”Start” operation 3-43 10-26 Startup - block 3-17, 3-18, - analog input module 460 3-20, 3-23, Statement list (STL) 6-10 Status - FB 254 SYNC 6-10 - byte 5-4, 5-13 - calls...
Page 393
S5-115F Manual Index Timer 2-4, 2-10, T BIT Analog value matching blocks 3-19 Technical specifications - operation 2-3, 3-16, Temperature sensor 6-20 3-17, 3-19, Terminal 3-62 - assignment - overview 3-16, 3-62 - front connector 3-35, 6-7 TNB operations 10-12 - front connector AE 463 6-12 Tolerance variant...
Page 394
Index S5-115F Manual UDGR Analog value matching Wear-out failures blocks Wire-break 6-17, 8-27, Unified value 8-30, 9-5, Uniform value 10-10, 10-24, 9-6, 1-12, 10-25, 10-63 - generation 10-63 - detection 6-26, 1-47 Unit value 1-47 - with the FB 250 ANEI 6-26 Updating - per hardware...
Page 395
Siemens AG AUT 125 Doku Postfach 1963 D-92209 Amberg Federal Republic of Germany From: Your Name: Your Title: Company Name: Street: City, Zip Code: Country: Phone: Please check any industry that applies to you: Automotive Pharmaceutical Chemical Plastic Electrical Machinery...
Page 396
Your comments and recommendations will help us to improve the quality and usefulness of our publications. Please take the first available opportunity to fill out this questionnaire and return it to Siemens. Title of Your Manual: Order No. of Your Manual:...