Home
Catalog ST 50 english, chpt. 1 - Automation Technology
Contents
1. Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 562 5 29 CPU 9421 562 5 29 CPU 9431 562 5 29 CPU 9441 562 5 16 CPU 945 789 10 2 6 1 As of Order No 6ES5 94 7UB Ordering data Order No The standard function blocks for IP 240 are part of the Configuring package for IP 240 consisting of Manual and standard FBs for me tering position acquisition and Order No positioning German 6ES5 240 5AA11 English 6ES5 240 5AA21 French 6ES5 240 5AA31 Italian 6ES5 240 5AA51 7 112 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software PER ZSTK Counter module controller for page addressing FB 178 for 115U 135U 155U PER ZSTL Counter module controller for linear addressing FB 179 for 115U 155U The IP 242 A counter module normally uses page addres sing The FB 178 function block supports the following functions e Counter initialization Issue of commands to the counter module e g start stop initialize Interrupt processing The function block can be called both from a restart or ganization block for cold re starts and from a cyclic or in terrupt driven program Different functions are ena bled according to the calling point e g initialization is ena bled if it is called in the cold restart OB interrupt acknow ledgement is enabled if called in the interrupt O
2. ward ed automatically to the secondary sequencer All other functions are the same main sequencer steps as in FB 70 Technical specifications STEP 5 blocks Block length Call length Processing time for S5 in words in words 100U with CPU 103 1104 16 115U with CPU 941 944 1104 16 Depending on the CPU 945 1101 16 volume of the 195U 550 wi Snes CPU 922 1089 16 A e CPU 928 1089 16 peg CPU 928B 1089 16 CPU 948 1099 16 155U with CPU 946 947 1099 16 7 56 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software GPH SIM1 The GPH SIM1 function High speed block enables somewhat less simultaneous sequencer convenient but high speed processing of alternative and FB 72 for simultaneous sequencers Number of sequencers and S5U to 155U steps as for FB 70 Technical specifications Block length Call length Processing time For S5 in words in words 95U 731 9 100U with CPU 103 731 9 115U with CPU 941 944 731 g Depending on the CPU 945 731 9 volume of the se 19sussU ih noa CPU 922 731 9 f cae CPU 928 731 9 pag CPU 928B 731 9 CPU 948 731 9 155U with CPU 946 947 731 9 GPH LIN1 The GPH LIN1 function High speed linear sequencer block enables somewhat less convenient but high speed FB 73 for processing of linear sequenc 95U to 155U ers Number of sequencers and steps as for FB 70 Technical specifications Block length Call length Processing time For S5 in wo
3. 2 byte 2 With 64 SL words 3 With 254 words 4 With 254 SR words 5 With 254 SL words 6 As of Order No 6ES5 94 7UB REG FIFO Buffer FB 12 for 95U FB 12 for 100U FB 26 for 155U The REG FIFO function block contains a FIFO first in first out register of variable depth The FIFO is located in a data area this data area and the length of the buffer must be specified 16 bit words can be read in and read out The function block has out puts for Buffer full and Buffer empty Technical specifications For S5 Block length Call length Processing time in words in words inms 95U 160 11 1 4 100U with CPU 103 160 11 1 6 115U with CPU 9414 160 11 2 3 CPU 9424 160 11 2 3 CPU 9434 160 11 22 CPU 9444 160 11 0 3 CPU 945 148 ial 0 015 135U 155U with CPU 922 160 11 1 2 CPU 928 160 slat 0 6 CPU 928B 160 11 0 1 CPU 948 162 11 0 035 155U with CPU 946 947 162 11 0 2 1 As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 43 Software Runtime Software Siemens AG 2007 REG LIFO Stack FB 13 for 95U FB 13 for 100U FB 27 for 155U COD B8 Code converter BCD into binary COD 32 Code converter binary into BCD The REG LIFO function block stores the information in a stack LIFO last in first out The depth of the stack is variable The stack is located in a data area this data area and the depth of the stack must be specifi
4. 6ES5 886 2WP01 6ES5 886 2WP01 0KL1 6ES5 897 2UD 1 PRODAVE WIN 64R For data link via e g CP 524 CP 525 RK 512 or CP 521 SI CP 523 3964R under Windows 3 11 operating system on 31 2 diskettes opera ting instructions in German and English Single license Copy license PRODAVE NET For data link with SIMATIC S5 via PROFIBUS Industrial Ethernet under MS DOS and MS WINDOWS operating system on 31 2 diskettes manual in German and English Single license Copy license PRODAVE WIN DDE for SIMATIC S5 For data link via programming device interface of the PLC under Windows 3 11 with DDE inter face on 31 2 diskettes opera ting instructions in German and English Single license Copy license 6ES5 897 2VD01 6ES5 897 2VD01 0KL1 6ES5 886 2MS01 6ES5 886 2MS01 0KL1 6ES5 886 2WS01 6ES5 886 2WS01 0KL1 Copy license 6ES5 897 2UD 1 0KL1 German 1 English 2 French 3 Spanish 4 7 16 Siemens ST 50 1998 Siemens AG 2007 Software Engineering Tools COM 246 COM 247 Application The COM 246 and COM 247 parameter assignment soft ware enables parameter as COM signment programming and gt ET control of the IP 246 and IP Programming i 247 positioning modules AA COM 246 is required for the following modules 6ES5 246 4UA31 COM 247 is required for the IP 247 following modules 6ES5 247 4UA31 Full functional capability can only be guaranteed with these combi
5. Data puffer Restart FB lt COPY gt section Restart OB OB 20 DBz DB lt G5 PARA gt Parameter data OB 22 Fig 7 32 Calling structure for diagnostics 7 58 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software COPY Write diagnostic messages FB 68 for 100U to 155U The COPY function block enters the diagnostic mes sages in the diagnostic buffer G5 DIAG Diagnostics FB 69 for 100U to 155U Diagnostic functions GPH REAK Reactivate times FB 75 for 100U to 155U The DIAG function block organizes and monitors the GRAPH 5 II diagnostics It calls function blocks FB 67 and FB 68 Technical specifications For S5 Block length in words FB 67 FB 68 FB 69 95U 118 107 1800 100U with CPU 103 115U with CPU 941 944 118 107 1800 CPU 945 120 109 1667 135U 155U with CPU 922 103 92 1520 CPU 928 103 92 1520 CPU 928B 103 92 1520 CPU 948 112 101 1530 155U with CPU 946 947 112 101 1530 The diagnostic functions mon Services e Selection and display of se itor all GRAPH 5 Il sequenc ers and transfer the se quencer status information to a programming device or an operator control and monitor ing device The GPH REAK function block saves and reactivates quencer operating modes e Recording of diagnostic in formation in a data buffer e Detection of errors in se quencers and preparation of first up signa
6. Siemens AG 2007 STEP 5 programming software Software Standard Tools Application Design De STEP 5 Window Mode Fig 7 2 STEP 5 STL representation STEP 5 is the time tested pro gramming software for Sl MATIC S5 programmable con trollers With STEP 5 it is possible to create test and document user programs for all SIMATIC S5 programmable controllers STEP 5 is an attractive solu tion for all S5 users e Ergonomic user interface according to the SAA stan dard makes STEP 5 user friendly and easy to operate e Novell based network capa bility facilitates data mainte nance and archiving consid erably e Large range of functions manages even complex tasks without great effort STEP 5 ST basic package for programming devices and PCs The scope of supply includes e STEP 5 programming soft ware including KOMDOk e STL editor batch compiler COM DB 1 parameterization software SSPRSOIZ STEP 5 is available in two variants e STEP 5 ST basic package for programming devices and PCs for programming testing documenting installing and automatic documentation of S5 programs for the pro grammable controllers S5 90U S5 95U F 5 100U S5101 U 5 115U H F S5 135U 5 150U and S5 155U H STEP 5 ST for mini PLCs for PC STEP 5 ST for mini PLCs is specially for programming the mini controllers S5 90U S5 95 U F and S5 100U Only the following software packages are executable
7. Symbol length 8 Comment length 24 Display syabelic t Opexands syabolic RE lt Come ESC gt lt project P gt Fig 7 5 Project settings index cards e Extended and standardized syntax for the block list valid for all functions editor printer etc New functions Numerous new functions have been integrated into the pro gram e Switchover between various languages within STEP 5 e Call of a DOS shell from STEP 5 e Automatic loading of the last active optional package on restarting STEP 5 if para meterized e Retention of the project files last used in the file menu e History repetition function for input fields in dialog boxes or in program han dling lt Mistery lt E it lt 2414t lt Info gt lt Melp hituri gt e Extension of help and info functions in the menu and in the dialog boxes fast ac cess by menu keys e Integration of COM pack ages into the change menu e New options for general project settings e g com patibility monitoring between older and new STEP 5 ver sions Extensive downward compati bility In the development of STEP 5 ST V7 0 the greatest pos sible compatibility with ver sions 3 x and 6 x has been re tained If new options are used e g DOS paths incompatibility with older STEP 5 versions can arise because they do not know these functions In this case a message appears in dicating abandonment of compa
8. luation and monitoring of a Read data words from block range from to e Write data words into block address range Read write data words from in blocks with simulta neous conversion of the data e g KF KG format process but also intervention in the process because a number of functions for wri ting data from the program ming device to the program mable controller are available e Read input bytes from the PLC e Write output byte to the PLC e Format conversion of data e g KH to integer e Bit memory bit test as status check e Read bit memory byte or word from the PLC Siemens ST 50 1998 7 15 Software Engineering Tools PRODAVE continued Siemens AG 2007 Functions continued e Write bit memory byte or word to the PLC Read counter statuses from the PLC e Set counter statuses in the PLC Read timers from the PLC Time calls for the user pro gram delay reset sync e g for delay loops for reading data cyclically Output error messages in plaintext Load the toolbox in the user memory Remove the toolbox from the user memory Further functions of PRODAVE DOS 511 and WIN 511 Common reading of data of different format MIX READ function e Detection of all data blocks DB and DX in the PLC with the book function e Operation of PRODAVE with TK 858 and modem not for PRODAVE for SIMATIC S7 300 400 e Additional use of the pro
9. 247 5 2 5to4 CPU 9421 247 5 2 5to4 CPU 9431 247 5 2 3 to 3 9 CPU 9441 247 5 0 4 to 0 7 135U 155U with CPU 922 224 5 2 8 to 4 2 CPU 928 224 5 1 4 to 2 3 CPU 928B 224 5 1 0 to 1 4 CPU 948 194 5 0 115 to 0 175 155U with CPU 946 947 194 5 0 6 to 0 7 1 As of Order No 6ES5 94 7UB FB 182 Technical specifications PER IN for 115U 135U 155U For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 203 6 3 3 CPU 9421 203 6 3 3 CPU 9431 203 6 3 1 CPU 9441 203 6 0 6 135U 155U with CPU 922 154 6 27 CPU 928 154 6 1 3 CPU 928B 154 6 ii CPU 948 160 7 0 13 155U with CPU 946 947 160 7 0 7 1 As of Order No 6ES5 94 7UB 7 116 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software ZYK 242B Counter module controller FB 183 for 115U 135U 155U The following functions can be executed with the Counter module controller function block e Counter initialization e Loading starting and reading of counter To initialize the counter mod ule the function block FB 183 is normally called in the restart organization blocks OB 20 21 and 22 Control of the counter module i e starting of counter or reading of actual values is then carried out in the cyclic program organization block OB 1 Counter data initialization val ues counter settings actual counter readings etc are stored in a data block for pro cessing by the CPU or for
10. As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 115 Siemens AG 2007 Software Runtime Software PER BS The IP 242 A counter module Write to counter module is capable of executing com for page addressing mand lists as a result of inter PER BL rupt events This attribute Read from counter module helps to offload the CPU and for page addressing enhances the response time PER IN of the total system Certain Acknowledge counter module interrupt for page addressing function blocks have been de veloped to further accelerate data exchange between the CPU and the IP 242 A These blocks are read from wo module write to module and acknowledge interrupt The FBs are used in conjunc tion with FB 178 Module to be used 6ES5 242 1AA3 FB 180 Technical specifications PER BS for 115U 135U 155U For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 466 5 3 9 to 14 3 CPU 9421 466 5 3 9 to 14 3 CPU 9431 466 5 3 7 to 13 8 CPU 944 466 5 0 7 to 1 7 135U 155U with CPU 922 364 5 3 6 to 10 1 CPU 928 364 5 2 1 to 5 4 CPU 928B 364 5 1 5 to 4 8 CPU 948 338 5 0 175 to 0 675 155U with CPU 946 947 338 5 0 7 to 1 4 1 As of Order No 6ES5 94 7UB FB 181 Technical specifications PER BL for 115U 135U 155U For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411
11. CPU928 CPU928B CPU 945 CPU CPU 948 922 928 947 948 946 947 01 SINUS 242 192 211 3 8 24 18 0 039 0 4 0 15 02 COSINUS 238 188 207 3 8 24 1 4 0 038 0 4 0 14 03 TANGENS 318 268 287 4 0 25 1 4 0 043 0 4 0 16 04 COTANG 321 271 290 4 0 2 5 TS 0 041 0 4 0 15 05 ARCSIN 218 184 203 3 5 2 2 1 3 0 035 0 35 0 14 06 ARCCOS 253 219 238 3 7 2 3 13 0 040 0 35 0 15 07 ARCTAN 268 241 260 4 2 2 6 1 4 0 044 0 45 0 17 08 ARCCOT 269 246 265 43 27 1 4 0 046 0 45 0 17 09 LNX 222 187 206 4 3 2 9 1 5 0 042 0 5 0 17 10 LG X 222 191 210 43 2 9 1 5 0 044 0 5 0 17 11 BLOG X 274 227 254 76 5 1 1 9 0 079 0 95 0 31 12 EUX 253 217 236 45 3 0 1 5 0 046 0 5 0 18 13 ZEHN X 260 224 243 46 3 1 1 5 0 048 0 5 0 19 14 A2 A1 418 364 391 TA 4 9 1 9 0 077 0 5 0 31 Ordering data Order No Program package Mathematical functions for S5 115U with CPU 945 5 135U 155U with CPU 922 928 928B CPU 948 S5 155U with CPU 946 947 with manual in German English French for MS DOS S5 DOS MT operating systems on 3 1 2 diskettes 720 Kbyte and on 5 1 4 diskettes 360 Kbyte Single license 6ES5 848 7MT01 Copy license 6ES5 848 7MT01 0KL1 7 54 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Application GRAPH 5 Il is an easy to use Andes software system for planning ee Sequencer and design programming documenting and testing se FE BR ev quencers It consists of the GRAPH 5 II system program Main Pr
12. Function block Explanations Arithmetic functions ADD 32 32 bit binary adder FB 1 SUB 32 32 bit binary subtractor FB 2 MUL 32 32 bit binary multiplier FB 3 DIV 32 32 bit binary divider FB 4 Signalling functions TAKT1 Clock generator via OB 13 call FB 50 TAKT2 Clock generator via timer FB 51 MLD ERST First up signal FB 52 FB 1 block name ADD 32 adds two fixed point binary numbers 31 bit sign The result is a fixed point binary number 31 bit sign and lies within the interval 230 230 The function block sets the following identifier for further processing e Overflow of the number range e Result of the addition is zero FB 2 block name SUB 32 subtracts two fixed point binary numbers 31 bit sign The result is also a fixed point binary number 31 bit sign and lies within the interval 230 to 230 The function block sets the following identifier for further processing e Overflow of the number range e Result of the subtraction is zero FB 3 block name MUL 32 multiplies two fixed point binary numbers 31 bit sign The result is a fixed point binary number 63 bit sign and lies within the interval 262 to 262 The function block sets the following identifier for further processing e Overflow of the number range e Result of the multiplication is zero FB 4 block name DIV 32 divides two fixed point binary numbers 31 bit sign The result
13. PB DB DX Fig 7 28 Function blocks within a user program The user writes his programs The following types of blocks for the S5 programmable con are used for different pur trollers of the U range in the poses STEP 5 programming lan Organization blocks OB guage The programs are for supervising the user structured i e broken down program into self contained sections Program blocks PB for The individual program sec structuring the program tions are called blocks according to the technologi cal control task Function blocks FB FX for recurring complex functions OB Organization block PB Program block FB FX Function block SB Sequence block DB DX Data block e Sequence blocks SB for individual technological sequence controls e Data blocks DB DX these are memory areas in which data for the user program can be stored The blocks can be nested as required Fig 7 28 i e blocks from one level can call blocks in a lower level 7 36 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Design continued Notes on programming with standard function blocks JU FB1 JU FB1 Name ADD 32 JU ZA M1 FB1 zi IW3 Z22 IW5 ADD 32 Zoi W7 OV Q0 0 Z12 Z3 0 Q0 1 Zii Zo QW1 ZA QW3 BE to gt 232 FBI Zoi ADD 32 We IW1 4 z12 ov Q 00 W3 z11 Z3 0 Q 0 1 IW5 722 z32 aw
14. a ainn the ne aa which are required for driving Fie avanti the CP 544 and the second in hy terface on the CPU 928B The COM PP software is user Programming friendly with interactive opera device tor prompting CPU 928B 5 135U S5 155 Fig 7 19 Programming with COM PP Ordering data Order No Order No COM PP Operating instructions see CP 544 manual or parameter assignment software 5 135U 155U manual for paramerizing the CP 544 and for CP 928B the second interface on the CPU 928 B on 31 2 and 51 diskettes German English French Single license 6ES5 895 4SP01 Copy license 6ES5 895 4SP01 0KL1 7 26 Siemens ST 50 1998 Siemens AG 2007 Software Engineering Tools Siemens ST 50 1998 7 27 Software Engineering Tools Siemens AG 2007 COM 115H COM 155H COM 95F COM 115F COM 115H and COM 155H parameter assignment soft ware COM 95F and COM 115F parameter assignment soft ware The COM 115H and COM 155H software packages as sign parameters to the fault tolerant S5 115H and S5 155H programmable con trollers The COM 95F and COM 115F software packages assign pa rameters to the failsafe S5 95F and S5 115F program mable controllers They support the user in con figuring and fault diagnostics e Configuring the H related data e Generating the configuration block from the configuration data They support the user at e Configuring the inputs a
15. arc cosine arc tangent arc cotangent e Logarithmic functions natural logarithm common logarithm logarithm to any base e Exponential functions exponent to base e exponent to base 10 exponent to any base The function blocks are available for S5 135U and 5 155U Principle of operation Standard function blocks for mathematical functions are handled in the same way as equivalent STEP 5 statements When the block is called the contents of accumulator 1 are changed in accor dance with the function exe cuted without altering the contents of the other accu mulators or the base address register BR or the contents of accumula tors 1 and 2 are combined in accordance with the function executed with the contents of accumulator 3 being pushed into accumulator 2 and the contents of accumu lator 4 into accumulator 3 like a STEP 5 arithmetical function The contents of the BR register remain un changed All standard function blocks for mathematical functions process 32 bit floating point numbers SINUS The SINUS function block The value must lie within the sin x calculates the sine of a range 24 32 bit floating point O KG 0000000 00 to FB 101 for number 2x KG 6283185 01 115U 135U 155U COSINUS The COSINUS function The value must lie within the cos x block calculates the cosine of range a 24 32 bit floating point 9 KG 0000000 00 to FB 102 for number
16. chine data or traversing pro grams on the IP 246 or IP 247 and simultaneously read actual values actual position value residual path FB 165 works in conjunction with the DB 165 data block It requires data words DW 3 to DW 47 inclusive for its work ing area The user can specify an axis specific data block through the DBNR parameter This data block requires a job block of 15 data words in length for every axis Technical specifications For S5 Block length Call length Processing time in words in words inms 115U with CPU 9411 706 13 5 4 to 11 8 CPU 9421 706 13 5 4 to 11 8 CPU 9431 706 13 5 1to 9 3 CPU 9441 706 13 3 2to 8 3 CPU 945 640 135U 155U with CPU 9222 573 19 3 0 to 13 CPU 9283 5 3 13 1 0to 6 6 CPU 928B 573 13 1 2to 4 0 CPU 948 569 155U with 13 18to 6 1 CPU 946 947 569 1 As of Order No 6ES5 94 7UB 2 As of Order No 6ES5 922 8UA11 3 As of Order No 6ES5 928 3UA12 The FB 164 and FR 165 func tion blocks can be initialized directly or indirectly In the case of direct initialization the job specific data and parame ters are provided as input pa rameters to the FB With indi rect initialization the axis specific data block is configured from the data block which was valid before the call The function block supplies the remainder of the parameters from the axis spe cific DB The SEND RECEIVE FETCH and SYNCHRON data handling
17. ex tended I Os Ordering data Order No Allen Bradley Data Highway MODBUS master Copy license MODBUS slave Extended open driver with operation of the RS 232C V 24 accompanying signals or two wire operation for RS 485 German German English French Single license Single license 6ES5 897 3DC 1 Copy license Copy license 6ES5 897 3DC 1 0KL1 t German 1 English 2 French German RTU message frame format Single license 6ES5 897 3WB11 German English French Copy license 6ES5 897 3WB11 0KL1 Single license RTU message frame format Order No 6ES5 897 3KB 1 6ES5 897 3KB 1 0KL1 6ES5 897 3QA 1 6ES5 897 3QA 1 0KL1 ND 3 1 To be used with CP 525 only 7 142 Siemens ST 50 1998 Siemens AG 2007
18. timebase e Factor for character timeout 1 9 Technical specifications Settable parameters Settable parameters The communications software consists of a special driver and two function blocks Data transmission is performed according to the master slave principle The master takes the initiative in transmission the CP 544B func tions as a slave and only transmits to the ma ster on request Message frame exchange from slave to slave is not possible MODBUS protocol with RTU format Master slave link SIMATIC S5 is the slave Implemented function codes 01 02 03 04 05 06 08 15 16 CRC polynomial X16 x15 x2 1 Interfaces 20 mA TTY RS 232C V 24 RS 422 485 two wire or four wire Communications FBs FB 180 for start up FB 181 for cyclic operation with data handling blocks MODBUS data address is converted to S5 data areas Processable data areas DB or DX flags out puts timers counters extended I Os ex ended system addresses Character timeout 3 5 characters baudrate dependent Transmission rate of 300 baud o 76800 baud TTY up to 9600 baud RS 232C V 24 up to 19200 baud Character frame Slave address of the CP With without RS 485 operation for two wire connections With without modem operation ignore scratch character Factor for character timeout 1 9 Number of the working DB for FB proces sing Release of the memory areas that can be written by the master and the readable
19. 0 9 to 2 1 1 As of Order No 6ES5 94 7UB The Initialize position de coder function block sup plies the IP 240 position de coding mode with the initial and final setpoint values of the tracks for both channels and the assignments of process interrupts and digital outputs to the tracks The data is forwarded in a data block The user must ini tialize this DB before calling the function block The function block is normally called in restart organization blocks Technical specifications For S5 Block length Call length Processing time in words in words inms 115U with CPU 9411 1098 12 76 CPU 9421 1098 12 76 CPU 9431 1098 12 76 CPU 9441 1098 12 20 CPU 945 971 15 14 8 135U 155U with CPU 922 1654 13 83 CPU 928 1654 13 56 CPU 928B 1654 13 20 CPU 948 993 14 19 2 155U with CPU 946 947 992 14 23 1 As of Order No 6ES5 94 7UB 7 110 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software STEU WEG Control position decoder FB 170 for 115U 135U 155U The following functions can be executed with the Control position decoder function block in Position decoding mode Read actual values and status bits Read track identification bits Read delete or modify start and end values of a track e Write zero offset e Read interrupt request bytes The function block is normally called in the cyclic program Before
20. 102 detects an error when checking the security information or if the programmed monitoring time runs out FB 102 deletes the contents of the receive data block 2 As of Order No 6ES5 942 7UF13 Siemens ST 50 1998 7 133 Siemens AG 2007 Software Runtime Software Ordering data Order No Order No Standard function block Standard function block package Fuel engineering package Extended functions for S5 95F S5 115F for S5 95F S5 115F incl German manual consisting of on 31 2 and 51 4 diskettes Arithmetic functions signalling Single license 6ES5 840 8NR11 functions step sequence control Copy license 6ES5 840 8NR11 0KL1 and safety related point to point Standard function block aie incl German ackage Emergency off pa re gency on 31 2 and 51 4 diskettes incl Gorman Manaa Single license 6ES5 845 8DH12 A Copy license 6ES5 845 8DH12 0KL1 on 31 2 and 51 4 diskettes Single license 6ES5 840 8NQ12 Copy license 6ES5 840 8NQ12 0KL1 7 134 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Application CP 524 CP 525 2 Programmable controller qm n q EPROM memory submodule E Special driver software Programming device Fig 7 89 Special driver software on the CP 524 CP 525 2 driver software on minidiskette routines are located into EPROM on the CP 524 and into RAM or EPROM on the CP 525 are required for interfacing
21. 243 for CPU 945 FB 33 for 135U 155U used to read in analog values from the 6ES5 466 3LA1 analog input modules The function block takes into consideration the characteris tics of the various analog in put modules and produces at its output a standardized value between specified lower and upper limits for a given sets the limits 6ES5 466 3LA1 The function block for the S5 115U CPU 941 to 944 produces the standardized value as a 16 bit fixed point number for the S5 115U CPU 945 S5 135U and S5 155 as a 32 bit floating point number is integrated in the PRET operating system of Technical specifications the CPU 945 For S5 Block length Call length Processing time in word in words in ms 115U with CPU 9411 283 9 10 6 CPU 9421 283 9 10 6 CPU 9431 283 9 8 4 CPU 9441 283 9 4 8 135U 155U with CPU 922 252 11 38 CPU 928 252 11 1 6 CPU 928B 252 11 0 5 CPU 948 254 11 0 09 155U with CPU 946 947 254 11 0 7 1 As of Order No 6ES5 94 7UB 7 46 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software RLG AA Output analog value Modules to be used 6ES5 470 4UA12 6ES5 470 4UB12 6ES5 470 4UC12 6ES5 470 7LA12 6ES5 470 7LB12 6ES5470 7LC12 The function block Output analog value is used to out put analog signals to the pro cess via analog output modules The function block must be assigned values be tween a lower and an upper FB
22. 251 for 95U FB 251 for 100U limit FB 251 for 115U Technical specifications FB 41 for 135U 155U ae For S5 Block length Call length Processing time is integrated in the operating in words in words inms system 100U with CPU 103 9 max 6 115U with CPU 9411 9 max 6 CPU 9421 9 max 6 CPU 9431 9 max 6 CPU 9441 9 max 6 135U 155U with CPU 922 101 12 2 9 CPU 928 101 12 24 CPU 928B 101 12 0 2 CPU 948 105 12 0 053 155U with CPU 946 947 105 12 0 27 1 As of Order No 6ES5 94 7UB Retten When a cyclic user program interrupt driven program The LADEN function block is Laden is interrupted by a time con The RETTEN function block called at the end of the inter Save load scratch bit memories trolled or process interrupt driven program there is dan ger of the data stored in the scratched bit memory area FW 200 to FW 254 being over written by the rupt service routine to reload FW 200 to FW 254 with the scratch bit memories for the cyclic program is called at the beginning of the interrupt service routine to save the scratch bit memories in a data block FB 38 for 115U FB 39 for 115U Technical specifications FB 38 for 1 1 3910r dew For S5 Block length Call length Processing time in words in words in ms FB 38 for 135U 155U FB 38 FB 39 FB 38 FB 39 FB 38 FB 439 115U with CPU 945 93 86 3 3 0 133 0 133 135U 155U with CPU 948 105 96 3 3 0 11 0
23. 94 1 0 1 58 1 44 1 52 155U with CPU 946 947 1 65 12 15 2 15 1 85 2 2 32 2 8 Si 5 3 4 75 AI 1 Processing times for sequencers with 25 steps 3 assignments per step 3 scans per transition switching per cycle in ms Siemens ST 50 1998 7 55 Siemens AG 2007 Software Runtime Software GPH HKET The GPH HKET function ual automatic and calls the A maximum of eight columns Main sequencer block controls the main se secondary sequencers simultaneous or alternative quencer of a sequence con A maximum of 255 sequenc branches can be pro trol system It controls the ers can be called a single se grammed for each sequencer FB 70 for conveniently programmable quencer can contain 127 one initial step can be se 100U to 155U operating modes e g man steps lected for each column Technical specifications For S5 Block length Call length Processing time in words in words 100U with CPU 103 1100 24 115U with CPU 941 944 1100 24 Depending on the CPU 945 1097 24 volume of the sequence A control system see 135U 155U with CPU 922 1085 24 table on page 7 55 CPU 928 1085 24 CPU 928B 1085 24 CPU 948 1095 24 155U with CPU 946 947 1095 24 GPH UKET The GPH UKET function The operating modes of the Secondary sequencer block controls the secondar main sequencer are for y seq y sequencer of a sequence control system Secondary sequencers are called in the FB 71 for 100U to 155U
24. 941 944 CPU 941 944 ADD 32 FB 1 FB 1 FB 1 FB 1 FB 3 SUB 32 FB 2 FB 2 FB 2 FB 2 FB 7 MUL 32 FB3 FB3 FB 3 FB 3 FB 3 FB 11 DIV 32 FB 4 FB 4 FB 4 FB 4 FB 4 FB 15 RAD 16 FB 5 FB5 FB5 FB5 FB5 FB 18 RAD GP FB 6 FB 6 FB 19 REG SCHB FB 10 FB 10 FB 10 FB 10 FB 10 FB 24 REG SCHW FB 11 FB 11 FB 11 FB 11 FB 11 FB 25 REG FIFO FB 12 FB 12 FB 12 FB 12 FB 12 FB 26 REG LIFO FB 13 FB 13 FB 13 FB 13 FB 13 FB 27 COD B8 FB 21 COD 32 FB 23 AE 464 FB 30 FB 30 FB 30 FB 2421 FB 30 FB 30 AE 460 FB 31 FB 2501 FB 31 FB 31 AE 463 FB 32 FB 2411 FB 32 FB 32 AE 466 FB 33 FB 2431 FB 33 FB 33 RLG AA FB 251 FB 2511 FB 251 FB 2511 FB 41 FB 41 SON WS SST UHR FB 129 Retten FB 38 FB 38 Laden FB 39 FB 39 DB COPY FB 44 45 FB 44 45 FB 44 45 FB 44 45 PER ET FB 196 197 FB 196 197 FB 196 197 FB 196 197 1 These function blocks are integrated in the operating system of the CPU Ordering data Order No Program package Basic functions for S5 95U S5 100 S5 115 S5 135 S5 155 CPU 945 U with CPU 103 U with CPU 941 9442 U 155U with CPU 922 928 928 B CPU 948 U with CPU 946 947 with manual in German English French for MS DOS S5 DOS MT operating system on 31 2 diskettes 720 Kbyte and on 51 4 diskettes 360 Kbyte Single license Copy l
25. Allen Bradley modules on which the full du plex protocol can be parameterized on the asynchronous link interface can be used as the communication modules Coupling with the 2nd CPU interface of Allen Bradley CPUs is also possible if the full duplex protocol can be set The procedure is operated on an RS 232C V 24 20 mA TTY or RS 422 four wire full du plex interface e Allen Bradley Data Highway full duplex DF 1 protocol Interfaces 20 mA TTY RS 282C V 24 RS 422 485 four wire No embedded responses e Transmission rate of 300 baud to 76800 baud TTY up to 9600 baud RS 232 V 24 up to 19200 baud e Character frame e Receive mailbox DB and data word e Timeout for acknowledgment character 30 ms to 10 s Number of repetitions on NAK 0 to 5 Number of ENQ requests 0 to 5 Duplicate message transmission detection ON or OFF e Acknowledgment of the CP immediately after receipt or only after transfer to the PLC Settable parameters Transmission is performed asynchronously half or full duplex and is run on an RS 232C V 24 20 mA TTY or RS 422 485 interface The RS 485 interface of the CP 544B can use the RS 232C V 24 interface with a modem for multipoint connections Moreover RS 232C V 24 signaling and control lines can be used if the special driver is used Transmission rate 300 baud to 76800 baud TTY up to 9600 baud RS 232C V 24 up to 19200 baud e Character frame e Mode i e
26. EZW and MLD EZWK function blocks indicate changes in signal status either with a steady light or flashing light de pending on acknowledgement signals The sensor signals are processed in word mode either on the open circuit or closed circuit principle The function block imple ments the indication of a first up signal and the output of an audible signal First up sig nals new value signals and the audible signal are all ack nowledged separately In the case of the MLD EZW function block FB 51 the signals are routed to outputs In the case of the MLD EZWK function block FB 57 the signals can be routed either to outputs or to bit memories Technical specifications Max number of Block Call Processing Block Call Processing signal signals length length time length length time words in in inms in in in ms words words words words FB FB 51 FB 57 FB 51 FB 57 For S5 95U 16 256 368 18 4 4 to 137 378 19 4 4 to 137 100U with CPU 103 16 256 368 18 5 3 to 162 386 19 5 30 to 162 115U with CPU 9411 16 256 368 18 6 8 to 212 386 12 6 8 to 212 CPU 9421 16 256 368 18 6 8 to 212 386 1 6 8 to 212 CPU 9431 16 256 368 18 6 5 to 207 386 19 6 5 to 207 CPU 9441 16 256 368 18 0 30 to 1 8 386 19 0 3 to 11 8 CPU 945 16 256 326 18 0 40 to 0 925 339 19 0 04 to 0 9 135U 155U with CPU 922 16 256 368 18 4 to 60 392 19 4 to 60 CPU 928 16 256 368 18 4to 55 392 19 4 to 55 CPU 928B 16 256 368 18 0 2 to 7 7 392 19 0 2 to 7 7 CPU 94
27. PPX APT 6202 T User manual for APT software Upgrade to V1 7a German PPX APT 8101D withimanlialset French PPX APT 8101F SIMATIC APT software PPX APT 6204 T r rogramming instructions for APT software Version 1 7a with APT manual set German PPX APT 8102D on and network card French PPX APT 8102F for linking with Industrial Ethernet Manual set for APT software PPX APT 8200 T compatible with SIMATIC 505 and Version 1 7a SIMATIC S5 1 Scientific Apparatus Manufacturers Association Siemens ST 50 1998 7 9 Siemens AG 2007 Siemens AG 2007 Software Engineering Tools GRAPH 5 Il Application The S5 software package GRAPH 5 Il is used for config uring programming testing Transition 4 Part inserted and documenting sequence E71 control systems with a stan Eug dard method of representa E73 tion Graph 5 Il contains all E74 functions of the STEP 5 basic ae package see page 7 3 E Auto enable A program package with stan dard function blocks is re quired for running the GRAPH 5 11 functions in the program Slap Reuact ann mable controllers see page Bu 7 55 mak Ver1 GRAPH 5 11 can be used in v RENE the following programmable Si Ware controllers S5 95U Overview Detailed representation or zoom as of 6ES5 095 8M 2 only with FB 72 FB73 FB fig 7 8 GRAPH 5 11 methods of representation 74 and SB5 S5 100U S5 135U GRAPH 5 Il is executable un only with CP
28. a pro gramming device PC under S DOS and Windows 3 11 PRODAVE DDE for SIMATIC S5 PRODAVE DDE communi cates via the serial interface of the programming device with the programming device interface on the CPU protocol AS 511 STEP 5 user program Reading writing converting data Processing of data in standard applications like e g Lotus or Excel It also communicates via the serial interface of the pro gramming device PC with a point to point CP slotted into a programmable controller e g CP 524 protocol RK 512 PRODAVE DDE includes a DDE interface with which standard Windows applica tions e g Excel can commu nicate with the control PRODAVE for SIMATIC S7 300 400 PRODAVE for SIMATIC S7 300 400 runs un der MS DOS Win dows 3 11 WIndows 95 and communicates with the control via the MPI interface no operation with TK 858 and modem Principle of operation Functions Once loaded the PRODAVE toolbox remains resident in memory It can therefore ope rate in quasi background whilst other applications such as statistical evaluations of The toolbox contains the following functions Read PLC info PLC type CP type version Read PLC status RUN STOP e Byte conversion from a byte to 8 logical values and vice versa such process data run in the foreground The individual tools can be called within the processing program PRO DAVE allows not only the eva
29. blocks are re quired for communication be tween the positioning module and the CPU see page 7 97 and are called by FB 164 or FB 165 The SYNCHRON block must be called once by the user in the restart organization blocks The COM 246 or COM 247 system program see page 7 21 for the appropriate pro gramming device is required for comfortable installation and programming of the posi tioning module Ordering data The standard function blocks for IP 246 247 are part of the Configuring package for IP 2461 A consisting of Manual standard FBs and para meter asgmt software COM 246 German English French Order No 6ES5 246 5AA11 6ES5 246 5AA21 6ES5 246 5AA31 The standard function blocks for IP 246 247 are also part of the Configuring package for IP 247 consisting of Manual standard FBs and para meter assignment software COM 247 German English French 6ES5 247 5AA11 6ES5 247 5AA21 6ES5 247 5AA31 Siemens ST 50 1998 7 123 Software Runtime Software Siemens AG 2007 Function blocks for CP 516 memory submodule Application FB 199 for 115U 135U 155U Data transfer between the CPU and the CP 516 is car ried out with the function block FB 199 The handling blocks see page 7 104 must also be provided in the CPU DB 255 is permanently assi gned as work area to FB 199 Functions e Transfer of a data block from
30. com mands to be executed by the programmable controller e Ladder diagram LAD Graphic representation of the automation task with cir cuit diagram symbols American representation e Blocks A linear sequence of com mands is subdivided into sections and each section packed into a block There are different types of blocks for different technological subtasks of a program The executable program consists of calls of blocks in other blocks Nesting is pos sible to a depth of 32 levels Control system flowchart CSF Graphical method of repre senting the automation task with symbols according to DIN 40700 DIN 40719 With all three methods of rep resentation absolute or sym bolic designations for oper ands can be used e Segments For fine structuring inside blocks subtasks can be pro grammed in individual seg ments Segments can be co pied from one block to another Comments A complete program blocks segments and indi vidual statements can be commented directly This ensures that the program re mains understandable on every level of abstraction In LAD and CSF complex functions and function block calls can be entered using the function keys They are dis played as graphic symbols on the screen Programs that were created in STL cannot necessarily be displayed in LAD or CSF be cause STL has several fea tures of its own However pro grams in LAD or CSF can be translated to STL LAD a
31. e Max transceiving length 128 byte Copy license 6ES5 897 2MA11 0KL1 control Does not support control signals of the V 24 interface G Sinale li 6ES5 897 2BB11 ABB BBC Slave In acc with alia ees Bree E Procontrol P DIN 19 244 Sy ane i d station auto The DSCA 114 interface eae mationsysten board is required on the ABB side mece ABB ASEA e V 24 control signals not Master EXCOM Master Piece supported protocol 200 1 e Note Master Piece ABB offers further modules which can 800 also be used for communication with SIMATIC e g via Modbus protocol with DSCA 180B interface e g via Siemens RK 512 i protocol with DSCA 180F GE single license 6ES5 897 2WB 1 interface F For details please contact ABB Copy license 6ES5 897 2WB 41 0KL1 e For PLC 2 communication controller i A 1771 KGM is G Single license 6ES5 897 2XD11 required Copy license 6ES5 897 2XD11 0KL1 Allen Bradley a Po Fa max 252 byte Slave PLC 2 e Reading from the sub module max 255 byte Please consult DEC ATRON e RK 512 drivers are available for SIMATIC Master Memory S5 sister controllers submodule G 1 E 2 DEC F 3 Micro VAX PDP 11 Siemens ST 50 1998 7 137 Software Siemens AG 2007 Runtime Software Special driver software continued Technical specifications and ordering data for special driver programs continued Device Details Master Protocol Lan License Order No slave gua relation ge ship S5 is Data
32. en KG 6283185 01 115U 135U 155U TANGENS The TANGENS function If the input value is 1 2 tan x block calculates the tangent KG 1570796 01 or FB 103 for 115U 135U 155U COTANG cotan x FB 104 for 115U 135U 155U of a 24 32 bit floating point number The value must lie within the range O KG 0000000 00 to 2x KG 6283185 01 The COTANG function block calculates the cotangent of a 24 32 bit floating point num ber The value must lie within the range KG 2938734 34 to KG 6283184 01 3n 2 KG 4712389 01 the result is infinite and the function block reports an error If the input value is Ox KG 3141593 01 or 2x KG 6283185 01 the result is infinite and the function block reports an error gt D O o arcsin x FB 105 for 115U 135U 155U The ARCSIN function block calculates the arcsine of a 24 32 bit floating point number The value must lie within the range 1 KG 1000000 01 to 1 KG 1000000 01 N en O1 N Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software ARCCOS arccos x FB 106 for 115U 135U 155U The ARCCOS function block calculates the arccos of a 24 32 bit floating point number The value must lie within the range 1 KG 1000000 01 to 1 KG 1000000 01 The ARCTAN function block ARCTAN arctan x FB 107 for 115U 13
33. first up signal and new value The first e Addition Addition of two fixed point binary signal is output FB 101 numbers 31 bit sign New value Every signal change is output as a new e Subtraction Subtraction of two fixed point binary signal value FB 102 numbers 31 bit sign FB 153 Sequential control e Multiplication Multiplication of two fixed point Sequencer e Linear processing FB 103 binary numbers 31 bit sign FB 170 Branched processing e Division Division of two fixed point binary e Alternative branchings FB 104 numbers 31 bit sign The FB 170 function block operates in Signalling conjunction with up to 255 sequence functions blocks SB 1 to SB 255 and one work e Clock gener OB 13 call for 8 edge synchronous ing data block DB One single step of ator FB 150 blink frequencies The OB 13 call a sequential control is programmed in a interval determines the blink fre step block The function block requires e Clock gener quency the working data block for storing the ator FB 151 Called in the cyclical program current statuses of the sequencer such section The blink frequencies are as operating mode and current generated via a timer step 7 130 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Standard function block package Extended functions continued The following functions can be used for the S5 115F Arithmetic functions e Signalling functions e Sequencer
34. following must also be defined e Setting of the transmission rate e Setting of the failure re sponse 16 10 19 COM PROFIBUS EX Datel Bearbetien Projektieren Dokumentation Service Fenster Hitto 7 SiS EF RRS O Busbezeichrung PROFIBUS DP Hostbezelchnung 96 116U CPU S44A GESS 944A E 0 AOS Fig 7 21 Parameter assignment with COM PROFIBUS S5 95U DP master SOFTNET The set configuration of PC modules PROFIBUS DP is transferred CP 5411 to the programmable con CP 5511 troller by downloading via CP 5611 the DP interface e FMS configuring CP 5412 A2 PC module COM PROFIBUS runs on the PG 720 PG 740 or PG 760 and AT compatible PCs under Windows 3 11 or Windows 95 lt ____ Programming H COM PROFIBUS F1 Memory card l Example IM 308 C interface 5 115U 5 135U S5 155U SSS Aa S5 95U DP master El E Fig 7 22 Parameter assignment with COM PROFIBUS With an online connection be tween the programming de vice PC and PROFIBUS DP the COM PROFIBUS parameter assignment soft ware can be used to locate faults in the startup phase or during operation Siemens ST 50 1998 7 29 Software Engineering Tools Siemens AG 2007 COM PROFIBUS parameter as signment software for programming the IM 308 C and other DP master modules runs on PG 720 740 and 760 or AT compatible PCs with Windows 3 1 or Windows 95 on 3 1 2
35. from the others be cause of queue processing see ACTIVE and UP ACTIV function blocks Four to five ACTIVE calls are necessary for data transfer depending on the amount of data processing times for the function blocks including the data transfer time and a waiting period of 5 ms for the module response a maxi mum of 2 waiting periods of up to 5 ms each may occur values for one R processor trans ferring data with the data handling blocks When four R processors are used in parallel it can take up to 11 ms for example to transfer 256 bytes In multiprocessor oper involved When these calls are not implementedin one cycle the user program cycle time must be taken into account when estimating the total data transfer time ation the properties of the CPs IPs must be taken into account Siemens ST 50 1998 7 105 Software Runtime Software Siemens AG 2007 FETCH FB 246 for 115U integrated in the operating system CONTROL FB 247 for 115U integrated in the operating system RESET FB 248 for 115U FB 124 for 135U The FETCH standard function block signals the module that it has to make certain specific data available in the memory dual port RAM The central processor then queries these data with the RECEIVE AIl function Technical specifications For S5 Block length in words Processing time 135U 155U with CPU 922 36 See table on CPU 928 36 page
36. gramming device interfaces COM 3 and COM 4 for the data traffic also for PRODAVE WIN 511 Mini e Fast processing of the data traffic without considerable additional memory space requirements Scope of supply PRODAVE software on 31 2 For that the receipt of the old must be stated and the origi diskettes instructions in software package must be nal diskette must be sent in German and English presented its serial number with the rest of the labels Ordering data Order No Order No PRODAVE DOS 511 For data link via programming device interface of the PLC under MS DOS operating system on 3 2 diskettes operating in structions in German and English Single license Copy license PRODAVE WIN 511 For data link via programming device interface of the PLC under WINDOWS 3 11 operating sy stem on 31 diskettes opera ting instructions in German and English Single license Copy license PRODAVE WIN 511 Mini For data link via programming device interface of the PLC under Windows operating system only DB read write and ask for PLC status on 31 2 diskettes operating in structions in German and English Single license Copy license PRODAVE DOS 64R For data link via CP 524 CP 525 RK 512 or CP 521 SI CP 523 3964R under MS DOS operating system on 31 2 diskettes with operating instructions Single license 6ES5 886 2MP01 6ES5 886 2MP01 0KL1 6ES5 886 2WQ01 6ES5 886 2WQ01 0KL1
37. is also a fixed point binary number 31 bit sign with remainder 31 bit sign The function block sets the following identifier for further processing e Overflow e Error from division by zero e Quotient equals zero e Remainder equals zero Continuous monitoring of the process is frequently required for rationalized and safe control in process engineering and power engineering All signifi cant checkback signals indicator signals and fault signals must be cap tured and indicated via LEDs or audible signals The following blocks are available for this purpose FB 50 block name TAKT1 generates eight edge synchronous blink fre quencies The block is called in OB 13 The blink frequencies are defined by the OB 13 call interval FB 51 generates eight edge synchronous blink frequencies The block is called in the cyclic program section The blink frequencies are generated via timer T in the cyclic control program The basic frequency f1 is defined via the programmable time value FB 52 monitors an encoder word 16 signals e for signal level O quiescent current monitor or e for signal level 1 load current monitor The signals are differentiated according to first up signal and new value Indications depends on the acknowledgment signals The monitor responds with a signal if e one bit of the encoder word and e the bit of the specification parameter have the same signal state The modified signal states o
38. no S Bit memories 0 1023 0 4095 byte no The PER ET function block Note is used with one of the follow The I O modules addressed ing interface modules with one block call must be IM 300 3 IM 300 5 5CA11 addressed continuously After IM 300 5 5LB11 IM 301 3 each gap in the addresses IM 301 5 IM 304 IM 305 the PER ET function block IM 306 IM 307 and IM 308 must be called again Technical specifications For S5 Block length Call length Processing time in words in words in ms FB 196 FB 197 FB 196 FB 197 FB 196 FB 197 115U with CPU 9411 213 272 7 2 2 3 to 10 9 2 1 to 10 7 CPU 9421 213 272 7 2 2 3 to 10 9 2 1 to 10 7 CPU 9431 213 272 7 2 2 1 to 10 7 1 9to 10 5 CPU 9441 213 272 2 0 4 to 0 6 0 7 to 0 9 CPU 945 214 282 7 2 0 025 to 0 115 0 035 to 0 125 135U 155U with CPU 922 267 322 7 2 3 2 to 4 7 3 9 to 5 4 CPU 928 267 322 7 2 1 4 to 2 6 1 8 to 3 0 CPU 928B 267 322 7 2 0 9 to 2 1 1 0 to 2 2 CPU 948 301 369 7 2 0 07 to 1 2 0 09 to 1 4 155U with CPU 946 947 301 369 7 2 iio 1 310 1 5 1 As of Order No 6ES5 94 7UB 2 The times are depending on the number of bytes to be transferred Siemens ST 50 1998 7 49 Software Runtime Software Basic functions continued Siemens AG 2007 Summary Program package Basic functions Function block For S5 programmable controllers 95U 100U with 115U with 115U with 135U 155U CPU 103 CPU
39. outputs or bit memories Technical specifications Max Block Call Processing Block Call Processing number length length time length length time of signal in in in ms in in in ms words words words words words Function FB 55 FB 55 FB 59 block FB 59 For S5 95U 30 301 21 3 9 to 100 0 314 22 8 9 to 100 0 100U with CPU 103 30 300 21 5 1 to 100 8 309 22 5 1 to 100 8 115U with CPU 9411 30 300 21 5 8 to 120 309 22 5 8 to 120 CPU 9421 30 300 21 5 8 to 120 309 22 5 8 to 120 CPU 9431 30 300 21 5 7 to 115 309 22 5 7 to 115 CPU 9441 30 300 21 0 2to 7 5 309 22 0 2 to 7 5 CPU 945 30 282 21 0 035 to 0 955 296 22 0 035 to 0 955 135U 155U 6to 175 6 to 158 with CPU 922 30 281 22 4 to 86 318 22 4to 85 CPU 928 30 300 22 0 2 to7 318 22 0 2 to 6 7 CPU 928B 30 300 22 0 09 to 2 585 318 22 0 08 to 2 38 CPU 948 64 282 21 293 22 155U with 0202 0 2 to 12 CPU 946 947 64 282 21 293 22 1 As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 101 Software Runtime Software Siemens AG 2007 MLD ED MLD EDK First up signal with double frequency flashing light bit mode The MLD ED and MLD EDK function blocks indicate changes in signal status with a flashing light whose fre quency depends on acknowl edgement signals The sensor signals are processed on the The function block imple ments the indication of a first up signal and the output of an audible signal First up sig nals new value signals and
40. table on CPU 922 21 page 7 105 CPU 928 21 CPU 928B 21 CPU 948 21 SEND A The SEND A is a special ver Send sion of the SEND function block The SEND AII function call is shorter thus making parameter assignment more FB 126 for 135U lucid PB 20 On IS Technical specifications For S5 Block length in words Processing time 135U 155U with CPU 922 24 See table on CPU 928 24 page 7 105 CPU 928B 24 CPU 948 24 REC A REC A is a special version of Receive the RECEIVE function block The RECEIVE AIl function call is shorter thus making pa rameter assignment more lu FB 127 for 135U cid pe terterdoal Technical specifications For S5 Block length in words Processing time 135U 155U with CPU 922 24 see table on CPU 928 24 page 7 105 CPU 928B 24 CPU 948 24 Siemens ST 50 1998 7 107 Siemens AG 2007 Software Runtime Software Summary The Data handling blocks program package contains For S5 rt a 155U with the following function CPU 945 CPU 928 blocks CPU 928B CPU 948 SEND FB 244 FB 120 RECEIVE FB 245 FB 121 FETCH FB 246 FB 122 CONTROL FB 247 FB 123 RESET FB 248 FB 124 SYNCHRON FB 249 FB 125 ACTIVE UP ACTIV SEND A FB 126 REC A FB 127 With the S5 115U the function blocks are contained in the operating system of the central controller module Ordering data Order No Data handling blocks program package fo
41. the memory re quirements in the conven tional memory area e Lower package reloading times for improved strategy e Integration of the EPROM driver into the STEP 5 ST ba sic package it no longer needs to be resident in the RAM Ergonomic user interface Operator ergonomics has been improved once again e Shallower menu structures by and large there are now only two menu levels e Standardization of the dialog field structure New acceleration keys and hotkeys e Project settings in index cards e Access to interfaces from project settings e Direct fast callup of editors from the project settings the block directory and ISTACK e Test functions quickly ac cessible through new menu items test and PLC Online offline switchover now in dialog boxes EP 5 Wadon Mode SSKX501Z Blocks Directory Settings Directory of X Progres file WOMAMEST SSD i Pc 2D STEPS ST 591V7 35 NE Selection Dock sc SE Syabole file NONAME yD STEPSISTPSILVI S Output to x Serem Printer File CHOKAMELS INT DD STEPS STPSGLVT SS_ MONE Options Protool type Standard lt History n gt sixed with preheaders Ps wich nome lt Select o gt lt Cancel ESC gt Fig 7 4 Dialog field structure lt Info F7 gt lt Help Shifcer gt Symbols file NOMAMEZO INT DD STEPS STPS9LV7 35_BONE hasignaent List NONAMEZO SEQ gt D STEPS STPSSLV7 55_ HOME
42. to 266 CPU 9421 16 256 454 20 10 2 to 266 469 21 10 2 to 266 CPU 9431 16 256 454 20 9 8 to 261 469 21 9 8 to 261 CPU 9441 16 256 454 20 0 5 to 14 1 469 21 0 5 to 14 1 CPU 945 16 256 401 20 0 045 to 1 145 417 21 0 045 to 1 145 135U 155U 4 to 88 4 to 88 with CPU 922 16 256 457 20 4 to 63 477 21 4 to 63 CPU 928 16 256 457 20 0 2 to 9 4 477 21 0 2 to 9 4 CPU 928B 16 256 457 20 0 11 to 2 856 477 21 0 11 to 2 856 CPU 948 40 640 401 20 417 21 155U with 0 21015 O210 15 CPU 946 947 40 640 401 20 417 21 1 As of Order No 6ES5 94 7UB 7 100 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software MLD EZ MLD EZK First up signal with single frequency flashing light bit mode FB 55 for 95U to 155U FB 59 for 95U to 155U The MLD EZ and MLD EZK function blocks indicate changes in signal status ei ther with a steady light or flashing light depending on acknowledgement signals The sensor signals are pro cessed on the open circuit or closed circuit principle Processing is carried out in bit mode The function block imple ments the indication of a first up signal and the output of an audible signal First up sig nals new value signals and the audible signal are ack nowledged separately In the case of the MLD EZ function block FB 55 the signals are routed to outputs In the case of the MLD EZK function block FB 59 the signals can be routed either to
43. tocol or via the 3964R AK512 PRODAVE runs under MS DOS or Windows All cur rent compilers such as MS C Turbo C and Turbo Pascal can be used as programming lan guage Further details about the pro tocol processing are not re quired The PLC communication is processed by PRODAVE au tonomously in the back ground PRODAVE DOS WIN PRODAVE DOS WIN commu nicates via the serial interface of the programming de vice PC with the programming device interface at the CPU i e no special communications processor is needed in the PLC for connection of the pro gramming device PC Either the COM 1 or COM2 interface can be used in the program ming device or PC For con nection via the COM2 inter face of the programming device or COM1 and COM2 interface of the PC an V 24 TTY converter must be used The programming device multplexer PG MUX can be used as an interface multi plexer for the connection of max 7 PLCs to a serial inter face of the programming de vice PC PRODAVE Program ming de vice PC A Fig 7 11 Programming with PRODAVE PRODAVE DOS 64R PRODAVE WIN 64R PRODAVE DOS 64R or WIN 64R communicate with the PLC via the serial inter face of the programming de vice and via the CP 521 CP 523 CP 524 and CP 525 communications processors Thus the interface of the CPU remains free PRODAVE NET PRODAVE NET communicates with the programmable con troller via SINEC H1 PROFIBUS and runs on
44. 0 to 22 2 2 4 to 22 5 CPU 9441 216 273 8 2 1 0 to 1 2 0 9 to 1 5 CPU 945 247 318 8 2 0 025 to 0 115 0 035 to 0 125 135U 155U with CPU 922 168 217 8 2 2 3 to 2 8 3 0 to 3 3 CPU 928 168 217 8 2 1 4to 1 6 1 7 to 2 0 CPU 928B 168 217 8 2 0 3 to 0 6 0 4 to 0 7 CPU 948 233 303 8 2 0 04 to 0 315 0 09 to 0 34 155U with CPU 946 947 233 303 8 2 0 3 to 0 7 0 3 to 0 8 1 As of Order No 6ES5 94 7UB 2 The times are depending on the number of bytes to be transfered 7 48 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software PER ET Read and write extended I Os The function block Read and write extended I Os transfers depending on the type of pa Input bytes can thus be read from the extended I Os and output bytes written to the The following table contains all source and destination areas which can be rameter assignment an I O extended I Os addressed area via one of the interface FB 196 modules specified toa CPU Direct parameter assignment internal area or vice versa FB 197 Indirect parameter assign ment Areas S5 115U S5 135U with S 5 155U CPU 922 CPU 928 928 UA UB I O area P byte no 128 255 128 255 128 255 128 255 Q byte no 0 255 0 255 0 255 0 255 IM3 byte no 0 255 0 255 0 255 0 255 IM4 byte no 0 255 0 255 0 255 0 255 Internal area DB DW no 10 2042 10 2042 10 2042 10 2042 DX DW no 10 2042 10 2042 10 2042 Bit memories 0 235 0 235 0 235 0 235 byte
45. 105 155U with CPU 946 947 105 96 3 3 0 24 0 24 Siemens ST 50 1998 7 47 Software Runtime Software Siemens AG 2007 SST UHR Clock FB 129 for 155U DB COPY Copy data words between data blocks DB DX FB 44 45 for 115U FB 44 45 for 135U The SST UHR function block sets and reads the system clock The block is not pro grammable It reserves the data words DW 0 to DW 11 in DB 55 the user must initialize these data words Technical specifications For S5 Block length Call length Processing time in words in words in ms 155U with CPU 946 947 53 2 0 1 to 0 4 The function blocks copy a defined number of data words 0 to 255 between a source DB DX and a destination DB DX With the CPU 941 to CPU 944 only the normal data area DB is permitted The FB 44 and FB 45 function blocks have the same func tion They differ only in their type of parameter assign ment The parameters of the FB 44 are specified when they are called direct parameter assignment while the FB 45 receives its block parameters by the transfer of a pointer on a parameter field indirect pa rameter assignment FB 44 45 for 155U Technical specifications For S5 Block length Call length Processing time in words in words in ms FB44 FB 45 FB 44 FB 45 FB 44 FB 45 115U with CPU 9411 216 273 8 2 2 4 to 24 3 2 6 to 24 7 CPU 9421 216 273 8 2 2 4 to 24 3 2 6 to 24 7 CPU 9431 216 273 8 2 2
46. 1AD01 0EA0 assigns parameters to the com French 6GK1 745 1AD02 0EA0 munications processor Italian 6GK1 745 1AD04 0EA0 CP 1473 MAP with manual CP 1473 MAP on 31 2 diskettes German 6GK1 773 0MA10 0EA0 English 6GK1 773 0MA11 0EA0 CP 1430 TF manual German 6GK1 970 1MA73 0AA0 English 6GK1 970 1MA73 0AA1 Siemens ST 50 1998 7 33 Software Runtime Software Siemens AG 2007 Application Standard function blocks are For instance standard func Complex functions can be in ready made software modules tion blocks for mathematical cluded very simply by the which can be linked into pro and arithmetic functions se user in his programs through grams written by the user for quence control and closed the use of standard function the programmable controllers loop control are available The blocks This makes program of the U range They consist blocks are stored in the user ming testing and debugging of self contained complex memory of the programmable of user programs very effi functional procedures which controller and can be called cient The user can tap a vast are often required by the user up by the user as required in amount of experience by us when programming his program They can be ing standard function blocks called many times during pro The blocks are continuously gram execution and supplied updated and main tained with the required actual pa rameters Design User program structure PB
47. 250 e T V safety class 2 Both unidirectional and bi directional data exchange are possible via point to point connection Data blocks function as send and receive mailboxes for the safety related data Organization of data exchange is handled by three standard function blocks FB 100 is called in the startup OB It transfers to the CP 523 all the data required to parameterize the CP 523 for safety related data exchange FB 101 is processed in the cyclic program OB 1 It organizes sending of frame data to the connected CP 523 FB 101 starts data transfer by reading the net data from the send data block and calculating data for frame secu rity Send and security data are then transferred to the CP 523 in several data records In the case of error free transfer the frame data are transferred automatically by the connected CP 523 to the second CP 523 If FB 101 detects a parameter assignment error or a send error it signals this error in the PAFE byte You must evaluate the PAFE byte and branch to an error routine in the event of a send error Function block FB 102 is processed in the cyclic program OB 1 It handles receiving of the frame data from the connected CP 523 FB 102 reads the frame data in several data records from the CP 523 and checks the received frame for errors using the security information Only when the frame has been received without errors does FB 102 transfer the net data to the receive data block If FB
48. 35U 155U with CPU 922 885 333 15 CPU 928 385 333 15 CPU 928B 385 333 75 CPU 948 885 333 75 155U with CPU 946 947 885 333 75 For each sequencer of a se quence control system there is one sequence block SBx which contains the structure step enabling or transition conditions and actions The user generates sequence blocks SBx using the GRAPH 5 11 system program 7 60 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Sequence blocks cont Synchronization block SB5 Linear sequencers with alter native branches can be syn chronized with the system The GRAPH 5 Il option package generates a block for the sequencer with the conditions of synchronization With the synchronization conditions the synchroniza tion block SB 5 sets the step which corresponds to the system status The SB 5 synchronization block can be run on the following programmable controllers S5 95U e S5 100U with CPU 103 e S5 115U with CPU 941 944 945 e S5 135U 155U with CPU 922 928 928 B 948 e S5 155U with CPU 946 947 It has a block length of 318 words OB 1 PB a SBx User block Transitions actions DB x User DB SB 100 x Synchronisazion block Fig 7 33 Call structure for synchronization Data blocks One DBx work data block is The error messages for all se The DBx and DBy blocks are Work and diagnostic available
49. 5 242 5AB21 French 6ES5 242 5AB31 Italian 6ES5 242 5AB51 Order No PER ANL Read analog module The function block read ana log module accepts the se lected analog value if the analog module IP 243 is pres ent and passes on the value either as a bit pattern as it is received from the module or as a 16 bit fixed point num ber scaled to the appropriate nominal values Moreover the function block can be used to read the digi tal inputs and comparator out puts FB 160 f r 115U 135U 155U Technical specifications for S5 Block length Call length Execution time words words in ms 115U with CPU 9411 165 13 4 4t0 5 9 CPU 9421 165 13 4 9 to 5 9 CPU 9431 165 13 4 1t0 5 5 CPU 9441 165 13 0 3 to 1 7 CPU 945 222 14 0 175 to 0 185 135U 155U with CPU 922 180 14 1 8 to 2 1 CPU 928 180 14 1 1 to 1 2 CPU 928B 180 14 1 0to 1 1 CPU 948 222 14 0 48 to 0 49 155U with CPU 946 947 222 14 0 69 to 0 74 1 As of Order No 6ES5 94 7UB PER ANS Write analog module The function block write ana log module transfers the ei ther specified bit pattern or a FB 161 f r 115U 135U 155U 16 bit fixed point number scaled to the nominal value to the IP 243 3 analog module The function block can be used to control digital outputs the module must be equipped with a memory for digital output Technical specifications for S5 Block length Call length Exe
50. 5 244 3AA22 and 6ES5 244 3AB31 Technical specifications For S5 Block length Call length Processing time in words in words inms 115U with CPU 9411 1746 15 6 9 to74 4 CPU 9421 1746 15 69 to744 CPU 9431 1746 15 6 5 to72 8 CPU 9441 1746 15 0a 0 SE CPU 945 1788 15 0 185to 3 72 135U 155U with CPU 9222 1504 1S 5 7 to 88 CPU 928 1504 15 44 to 6 2 CPU 928B 1504 15 1 6 to12 6 CPU 948 1637 15 0 36 to 3 39 155U with CPU 946 947 1637 15 0a 17 1 As of Order No 6ES5 94 7UB 2 As of Order No 6ES5 922 3UA11 3 As of Order No 6ES5 928 3UA12 Ordering data The standard function blocks for IP 244 are part of the Configuring package for IP 244 consisting of Manual and standard FBs German English French Italian Order No 6ES5 244 5AA11 6ES5 244 5AA21 6ES5 244 5AA31 6ES5 244 5AA51 Siemens ST 50 1998 7 121 Software Runtime Software Siemens AG 2007 Application PER POS Control and monitor positioning module FB 164 for 115U 135U 155U PER PDAT Positioning module FB 165 for 115U 135U 155U The Control and monitor po sitioning module and Initia lize positioning module The Control and monitor po sitioning module function block performs the following functions Starts a job modes BA 1 BA 19 on the IP 246 or IP 247 modes BA 1 BA 17 from an application pro gram Cyclically reads an actual position
51. 55U The control function block first checks to make sure that the channel has been configured for positioning mode Then depending on the parameters with which the FR was initia lized specific data areas are forwarded from the data block to the IP or read out from the IP and updated in the data block The following functions are possible e Read actual value final value and status bits e Write control bits and position number e Write position data for position O e Read interrupt request bytes e Write new position values for positions 1 to 254 e Write new zero offset e Write new distance values for positions 1 to 254 Parameter assignment errors and data errors are flagged in the PAFE byte and described in detail in words DW 8 to 10 and DW 13 When an error is detected the selected func tion is not executed The control FB is normally in voked in the cyclic program Before it is called IP 240 must be initialized with the configuring function block FB 167 STRU POS initalize positioning mode Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 830 5 6 0 to 7 4 CPU 9421 830 5 6 0 to 7 4 CPU 9431 830 5 6 0 to 7 4 CPU 9441 830 5 1 9 to 2 8 CPU 945 801 5 1 1 to 2 0 135U 155U with CPU 922 833 5 4 3 to 6 2 CPU 928 833 5 2 5 to 4 CPU 928B 833 5 2 1 to 3 0 CPU 948 795 5 0 8 to 2 4 155U with CPU 946 947 795 5
52. 5U 155U calculates the arctan of a 24 32 bit floating point number With a value of less than KG 5773456 07 the re sult output is 1 2 with a value greater than KG 1209486 07 the result is 1 2 gt D O O fed ad Q O x FB 108 for 115U 135U 155U The ARCCOT function block calculates the arccot of a 24 32 bit floating point number With a value of less than KG 5773456 07 the result output is x with a value greater than KG 1209486 07 the result is O LN X x FB 109 for 115U 135U 155U The LN X function block cal culates the natural log of a 24 32 bit floating point number With a value of less than or equal to 0 accumulator 1 remains unchanged and the function block reports an error The LG X function block LGX Ig x FB 110 for 115U 135U 155U iu e Q calculates the common log of a 24 32 bit floating point num ber With a value of less than or equal to 0 accumulator 1 re mains unchanged and the function block reports an error The B LOG X function block Q aj o9 FB 111 for 115U 135U 155U m gt x lt calculates the log to any base Base b is expected in accumulator 1 the value x in accumulator 2 both as 24 32 bit floating point num bers Both values must be greater than 0 and the base cannot have the value 1 The result is represented in accumulator 1 as a 24 32 b
53. 6 6 iS 115U with CPU 9411 126 6 1 6 CPU 9421 126 6 1 6 CPU 9431 126 6 1 4 CPU 9441 126 6 0 3 CPU 9451 126 6 0 045 135U 155U with CPU 922 126 6 0 6 to 9 7 CPU 928 126 6 0 42 to 6 5 CPU 928B 126 6 0 4 CPU 948 128 6 0 12 155U with CPU 946 947 128 6 0 7 1 As of Order No 6ES5 94 7UB The RAD GP function block extracts the square root of a floating point number expo nent 7 bit sign mantissa 23 bit sign The result is also a floating point number exponent 7 bit sign man tisse 23 bit sign The least significant bit of the mantissa is not rounded The function block sets the following condition code if appropriate Radicand negative Number range Radicand 0 1469368 exp 39 to 0 1701412 exp 39 Root 0 3833234 exp 19 to 0 1304382 exp 20 Technical specifications For S5 Block length Call length Processing time in words in words inms 115U with CPU 945 127 5 0 04 135U 155U with CPU 922 133 8 3 8 to 10 8 CPU 928 193 8 2 2t0 7 1 CPU 928B 189 8 0 4 CPU 948 129 5 0 09 155U with CPU 946 947 129 5 0 3 to 0 4 Siemens ST 50 1998 7 41 Software Runtime Software Siemens AG 2007 REG SCHB Shift register bit FB 10 for 95U FB 10 for 100U FB 10 for 115U The REG SCHB bit function block implements a right left shift register of variable length The shift register is lo cated in the bit memory area th
54. 6 947 386 11 0 4 1 As of Order No 6ES5 94 7UB 2 As of Order No 6ES5 103 8MA03 AE 460 Read in analog value from 6ES5 460 465 modules FB 30 for CPU 941 to 944 FB 250 for CPU 945 FB 31 for 135U 155U is integrated in the operating system of the CPU 945 The function block AE 460 is used to read in analog values from the 6ES5 460 4UA 7LA or 6ES5 465 4UA 7LA analog input modules The function block takes into consideration the characteris tics of the various analog in put modules and produces at its output a standardized value between specified lower and upper limits for a given nominal input signal The user sets the limits The function block for the S5 115U CPU 941 to 944 produces the standardized value as a 16 bit fixed point number for the S5 115U CPU 945 S5 135U and S5 155 as a 32 bit floating point number Both cyclic and selective sampling are possible Modules to be used 6ES5 460 4UA1 6ES5 460 4LA1 6ES5 465 4UA1 6ES5 465 7LA1 Technical specifications For S5 Block length Call length Processing time in words in words inms 115U with CPU 9411 315 11 4 9 CPU 9421 315 11 4 9 CPU 9431 315 11 4 6 CPU 9441 315 11 2 8 135U 155U with CPU 922 300 13 3 5 CPU 928 300 13 1 6 CPU 928B 300 13 0 6 CPU 948 305 13 0 095 155U with CPU 946 947 305 13 0 4 1 As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 45 Soft
55. 7 105 CPU 928B 36 CPU 948 36 The CONTROL standard func tion block queries the module for status information at any point in the user program The request might be for the num ber of the task which the module is currently proces sing or for the information whether a certain task is currently exe cuting or whether that task is free of errors or whether it has been finished due to a specific error Technical specifications For S5 Block length in words Processing time 135U 155U with CPU 922 24 See table on CPU 928 24 page 7 105 CPU 928B 24 CPU 948 24 The RESET function block can be used to reset individual communications relationships to their initial status Technical specifications FB 124 for 155U For S5 Block length in words Processing time 135U 155U with integrated in the operating CPU 921 76 See table on system CPU 922 21 page 7 105 CPU 928 21 CPU 928B 21 CPU 948 21 7 106 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software SYNCHRON The SYNCHRON function The memory dual port RAM Synchronize block synchronizes the inter is thereby cleared or preset face between the central pro cessor and the modules CP FB 249 for 115U IP magnetic bubble memory during system start up Technical specifications For S5 Block length in words Processing time integrated in the operating 135U 155U with system CPU 921 119 See
56. 8 CPU 9283 618 19 0 5to 6 0 CPU 928B 618 19 2e 89 CPU 948 682 19 0 6to 1 2 155U with CPU 946 947 682 19 10to 44 1 As of Order No 6ES5 94 7UB 2 As of Order No 6ES5 922 3UA11 3 As of Order No 6ES5 928 3UA12 The Initialize positioning Data transfer Data transfer from module function block hand les the transfer of data bet ween the application program and the IP 246 or IP 247 Each valid job number leads to data transfer between the mo dule and the PLC PLC IP 246 IP 247 Data awaiting transfer are stored in a data block Source DB which you must first create The data block is con figured directly using the FB 165 block parameters or indirectly in the axis specific data block IP 246 IP 247 PLC Data to be read from the IP 246 or IP 247 are stored in a data block target DR in the controllers memory target DB The user can configure this data block directly using the FB 165 block parameters or indirectly in the axis spe cific data block 7 122 Siemens ST 50 1998 Siemens AG 2007 Function blocks for IP 246 and 247 continued Software Runtime Software Positioning module PER PDAT FB 165 continued With the aid of FB 165 and the PLC interface the user can Read delete and transfer machine data and traversing programs on the IP 246 or IP 247 Read the SYS ID from the IP 246 or IP 247 and transfer it to the IP 246 or IP 247 Request an overview of ma
57. 8 3 5 CPU 9421 320 8 3 5 CPU 9431 302 8 2 5 CPU 9441 302 8 12 1 As of Order No 6ES5 94 7UB 7 44 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software AE 464 Read in analog value from 6ES5 464 modules FB 30 for 95U FB 30 for 100U FB 30 for CPU 941 to 944 FB 27 for 155U The function block AE 464 is used to read in analog values from the 6ES5 464 8M ana log input modules The function block takes into consideration the characteris tics of the various analog in put modules and produces at its output a standardized value between specified lower and upper limits for a given nominal input signal The user sets the limits The function block for the S5 95U S5 100U and S5 115U CPU 941 to 944 produces the standardized value as a 16 bit fixed point number for the S5 115U CPU 945 S5 135U and S5 155 as a 32 bit floating point number Modules to be used 6ES5 464 8MA11 6ES5 464 8MA21 6ES5 464 8MB11 6ES5 464 8MC11 6ES5 464 8MD11 6ES5 464 8ME11 6ES5 464 8MF11 6ES5 464 8MF21 Technical specifications For S5 Block length Call length Processing time in words in words in ms 95U 395 9 5 8 100U with CPU 1032 395 9 3 5 115U with CPU 9411 418 9 4 5 CPU 9421 418 9 4 5 CPU 9431 418 9 3 9 CPU 9441 418 9 27 135U 155U with CPU 922 384 11 3 6 CPU 928 384 11 1 9 CPU 928B 384 11 0 6 CPU 948 386 11 0 095 155U with CPU 94
58. 8 40 640 323 18 0 07 to 1 575 336 19 0 07 to 1 575 155U with CPU 946 947 40 640 323 18 0 2 to 10 336 14 0 2 to 10 1 As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 99 Software Runtime Software Siemens AG 2007 MLD EDW MLD EDWK First up signal with double frequency flashing light word mode FB 52 for 95U to 155U FB 58 for 95U to 155U The MLD EDW and MLD EDWK function blocks indicate changes in signal status with a flashing light whose frequency depends on acknowledgement signals The sensor signals are pro cessed in word mode either on the open circuit or closed circuit principle The function block imple ments the indication of a first up signal and the output of an audible signal First up sig nals new value signals and the audible signal are all ack nowledged separately In the case of the MLD EDW function block FB 52 the signals are routed to outputs In the case of the MLD EDWK function block FB 58 the signals can be routed either to outputs or to flags Technical specifications Max number of Block Call Processing Block Call Processing signal signals length length time length length time words in in inms in in in ms words words words words FB FB 52 FB 58 FB 52 FB 58 For S5 95U 16 256 449 20 4 8 to 177 463 21 4 8 to 177 100U with CPU 103 16 256 454 20 8 1 to 223 469 21 8 1 to 223 115U with CPU 9411 16 256 454 20 1 2 to 266 469 21 10 2
59. 928 100 10 0 74 CPU 928B 100 10 0 4 CPU 948 69 10 0 03 155U with CPU 946 947 69 10 0 13 1 As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 39 Software Runtime Software Siemens AG 2007 MUL 32 32 bit binary multiplier FB 3 for 95U FB 3 for 100U DIV 32 32 bit binary multiplier FB 4 for 95U FB 4 for 100U FB 4 for 115U FB 4 for 135U The MUL 32 function block The function block sets the Number range multiplies two fixed point following condition code if Multiplicand 231 to 231 1 binary numbers 31 bit appropriate Multiplier 231 to 231 1 sign The result is also a Result is 0 Product 263 to 263 1 fixed point binary number 63 bit sign Technical specifications For S5 Block length Call length Processing time in words in words inms 95U 399 11 8 3 to 31 4 100U with CPU 103 399 11 3 2 to 5 4 115U with CPU 9411 399 11 4 0 to 8 2 CPU 9421 399 11 4 0 to 8 2 CPU 9431 399 11 3 5 to 5 6 CPU 9441 209 di 0 01 to 0 035 135U 155U with CPU 922 302 11 116 CPU 928 302 11 4 32 CPU 928B 302 11 05 CPU 948 197 11 0 11 155U with CPU 946 947 197 11 0 7 1 As of Order No 6ES5 94 7UB The DIV 32 function block divides two fixed point binary numbers 31 bit sign The result is also a fixed point binary number 31 bit sign The function block sets the following condition codes if appropriatie Overflow result is cande
60. 945 311 10 0 04 to 2 07 135U 155U with CPU 922 394 10 1 8 to 17 CPU 928 394 10 0 9 to 4 7 CPU 928B 394 10 lt 0 5 to 3 4 CPU 948 370 11 0 05 to 2 00 155U with CPU 946 947 370 11 lt 0 5 to 2 3 1 As of Order No 6ES5 94 7UB Standard function block FB 185 ZA 242B quickly reads the counter module IP 242B page addressing The function block FB 185 matches the functions of FB 183 when called with BEF ZA in a cyclic time controlled program You can additionally invoke the FB 185 which has shorter running times This function block can e read the counter state regis ter e read the counter value regis ter e read the results register Technical specifications for S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 346 5 2 0 to 5 9 CPU 9421 346 5 2 0 to 5 2 CPU 9431 346 5 1 8 to 6 7 CPU 9441 346 5 0 4 to 1 3 CPU 945 303 5 0 03 to 0 6 135U 155U with CPU 922 352 5 1 8 to 6 2 CPU 928 352 5 CPU 928B 352 5 lt 0 5 to 2 9 CPU 948 367 6 0 05 to 0 25 155U with CPU 946 947 367 6 lt 0 4to 1 2 1 As of Order No 6ES5 94 7UB 7 118 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Ordering data Order No The standard function blocks for IP 242A and IP 242B are part of the Configuration package for IP 242A B consisting of Manual and standard FBs German 6ES5 242 5AB11 English 6ES
61. B and all other functions are enabled if called in the cyclic program Counter data initialization va lues counter settings actual counter readings etc are stored in a data block for pro cessing by the CPU or for transfer to the counter module Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 1359 11 4 8 to 60 2 CPU 9421 1359 11 4 8 to 60 2 CPU 9431 1359 11 4 7 to 59 6 CPU 9441 1359 11 0 8 to 10 7 135U 155U with CPU 9222 1281 11 3 6 to 48 CPU 9283 1281 11 2 to 26 CPU 928B 1281 11 1 6 to 19 9 CPU 948 1203 12 0 23 to 2 65 155U with CPU 946 947 1203 12 12 to 6 4 1 As of Order No 6ES5 94 7UB The IP 242A counter module can be used for linear addres sing in the S5 115U and 5 155U programmable con trollers This addressing technique uses a special address space in the PLC As with page addressing data exchange between the CPU and the IP 242 A can only take place via the function block Interrupt handling func tionality is restricted if the IP 242 A is used with linear addressing Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 1407 11 4 8 to 60 2 CPU 9421 1407 11 4 8 to 60 2 CPU 9431 1407 11 4 7 to 59 6 CPU 9441 1407 11 0 8 to 10 7 155U with CPU 946 947 1225 12 1 2 to 6 4 CPU 948 1225 12 0 23 to 2 65 1
62. CB 1 RK 512 times character frames and control charac Copy license 6ES5 897 2CB 1 0KL1 ters are programmable RK 512 always has S5 header Siemens Toolbox PRODAVE DOS 64R for PG PC RK 512 or G E Single license 6ES5 897 2UD 1 PG 7xx AT and AT compatible under MS DOS 3964 R FS operating system procedure Copy license 6ES5 897 2UD 1 0KL1 Tandem Burroughs G Single license 6ES5 897 2TB11 Computer Print to Print Copy license 6ES5 897 2TB11 0KL1 Connection Protocol G 1 E 2 E 3 S 4 7 140 Siemens ST 50 1998 Siemens AG 2007 Special driver programs for CP 544B Software Runtime Software Hard and software require ments The special drivers are execu table on the CP 544B 6ES5 544 3UB11 A RAM or Flash EPROM memory submodule or must be plugged into the CP 544B as the memory The two serial interfaces of the CP 544B can be operated independently of each other with different standard proto cols and special drivers with the interface modules RS 232C V 24 TTY RS 422 485 For loading and parameteri zing special drivers the para meter assignment software COM PP Version 3 0 and hig her is required Allen Bradley Data Highway General notes Technical specifications Settable parameters Technical specifications Extended open driver Data transmission is performed with the full du General notes plex DF 1 protocol for the data highway asyn chronous link from Allan Bradley All
63. G770 line mode only ae programming devices e IBM PCs IBM compatible PCs Ordering data Order No Order No TISOFT for 505 Version 6 2 PPX PC505 6262 Manual for 505 TISOFT g a r English PPX TS505 8101 6 Usa oe to PPX PC505 UPG62 Cerman PPX TS505 8101D French PPX TS505 8101F TISOFT license V6 2 for 505 PPX TSSL505 6251 Italian PPX TS505 81011 TISOFT V6 2 additional copy for 505 PLC PPX TSSL505 6362 7 8 Siemens ST 50 1998 Siemens AG 2007 APT Application Productivity Tool Software Standard Tools Application APT is an integrated control system design environment that uses computer aided software engineering CASE 3 APT technology to provide an ob Programming i ject oriented design environ Zs ment for the SIMATIC 505 pro grammable controllers APT PG PC also provides a link between the individual controllers and their logical representation in the data base of the SIMATIC PCS human ma chine interface The package ifi runs on PCs or on the state of the art Siemens program il ming devices 505 Fig 7 7 Programming with APT Functions APT provides anaturalmeans Separate safe state sequen The principal features of APT of mapping the physical pro tial function charts SFC pro are cess into the control system vide alternate control actions e Supports sequential continu It encourages the partition for emergency situations The ous safe state parallel into a hierarchical struc
64. GRAPH Mini COM IP 266 COM GRAPH COM Text COM 95F COM DB1 COM 521 BASIC All other COM packages and optional packages can not be used The basic package is instal led on the programming devi ces PG 720 PG 740 and PG 760 as standard software If it is required for a PC it is sup plied on CD and diskettes STEP 5 runs under the operat ing systems e MS DOS 5 0 or higher e Windows 3 x and e Windows 95 on PG 730 PG 750 PG 770 PG 720 PG 740 PG 760 or AT compatible PC At least 4 megabytes of RAM are required STEP 5 ST for mini controllers The scope of supply includes e STEP 5 programming soft ware for mini controllers based on the STEP 5 pro gramming language STEP 5 for mini controllers is only supplied for PC on CD and diskettes Siemens ST 50 1998 7 3 Software Standard Tools Siemens AG 2007 STEP 5 programming software continued Function Structured programming Methods of representation With STEP 5 it is possible to program clearly from simple AND OR operations to com plex functions e g switch off delays or arithmetic calcula tions A STEP 5 program can be several thousand state ments long To keep pro grams as clear as possible STEP 5 features several con trol structures STEP 5 can be programmed in three methods of represen tation e Statement list STL The program consists of a sequence of mnemonic ab breviations of the
65. S5 895 6MF 2 0KL1 French 3 German 1 Spanish 4 English 2 Italian 5 French 3 Italian 5 7 28 Siemens ST 50 1998 Siemens AG 2007 Software Engineering Tools Application Principle of operation COM PROFIBUS allows the connection of e distributed I O devices ET 200U ET 200M ET 200B ET200C ET 200L ET 200X the DP AS interface link DP PA link the S5 95U DP slave S7 200 300 as the slave and other field devices to the master interface IM 308 C S5 95U DP master and other DP master mod ules Compared to COM ET 200 Windows up to 12 96 COM PROFIBUS has been ex tended to include FMS config uring of the 5412 A2 PC module see page 3 89 IM 308 C The set configuration of PROFIBUS DP is stored ona memory card Burning of the memory card can be imple mented directly with the pro gramming device or a PC with EPROM EEPROM PG The data are downloaded via the CP 5411 CP 5511 CP 5611 PC modules or the MPI The COM PROFIBUS parame ter assignment software is in stalled on the programming device PC It enables simple user prompted generation of the address list and parame ters for the slave devices The following must be defined DP address Address area in which the I O modules are to be ad dressed e Start addresses of the I O modules e Slave specific parameter as signments for example measuring range of an ana log input channel The
66. Transfer of the list of data e Transfer contents of card A the CPU to the CP 516 or blocks of a sector to a data to card B or vice versa vice versa block e Formatting of a memory e Deletion of a sector or a Transfer of the memory card card data block within a sector on data type capacity to the the CP 5161 CPU Technical specifications For S5 Name Block length Call length Transfer time in words in words CP CPU or CPU CP ins 115U with CPU 941 EXT 115U 959 20 Approx 1s CPU 942 EXT 115U 959 20 for 1 kbyte at CPU 943 EXT 115U 959 20 100 ms scan CPU 944 EXT 115U 959 20 time CPU 945 EXT 945U 988 20 135U 155U with CPU 922 EXT 135R 1168 20 CPU 928 EXT 135R 1168 20 CPU 928B EXT 135R 1168 20 CPU 948 EXT 155U 1168 20 155U with CPU 946 947 EXT 155U 1168 20 Ordering data Order No Standard function blocks for the CP 516 memory submodule for S5 115U with CPU 941 944 945 S5 135U 155U with CPU 922 928 928B 948 S5 155U with CPU 946 947 with CP 516 manual for MS DOS S5 DOS MT operating system on 3 1 2 diskettes 720 Kbyte on 5 1 4 diskettes 360 Kbyte Single license 6ES5 848 6GC 1 Copy license with manual in German English French 6ES5 848 6GC 1 0KL1 ND gt 1 Not for S5 115U 7 128 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Application S5 95F Only the following function blocks can be used in the S5 95F e Prototype tested standard fu
67. U 103 with CPU 922 CPU 928and der S5 DOS ST S5 DOS MT 55 115U CPU 928B V 6x on the following pro with CPU 941 CPU 942 S5 150U gramming devices a ee ee no restrictions PG 710 Plus PG 720 55 155U PG 720C PG 740 PG 730 with CPU 946 CPU 947 and PG 730C PG 740 PG 750 CPU 948 PG 760 and PG 770 Functions e Generating the programs in Synchronization with the links and locks are only con accordance with the stan dard IEC DIS 1131 3 e Conversion of GRAPH 5 blocks to GRAPH 5 Il and vice versa change of GRAPH 5 blocks Programming of the steps S and transitions T in STL CSF or LAD e Overview and detailed rep resentation or zoom e Synchronization of system process and programmable controller There are 2 methods of synchronization Synchronization with the au tomatically generated syn chronization SB supports alternative branches standard function block FB 70 73 which controls the chain also supports si multaneous branches Diagnostic functions with criteria analysis via Indus trial Ethernet for up to 4 pro grammable controllers op erating mask on the screen as HW tableau PG operat ing panel or as Simple op erating panel indication of fault signals User interface and plausibil ity check when generating step chains Step overlapping magnify ing glass multiple control of the same outputs similar figured and saved once step independent actions are realized can
68. also be included in chain diagnostic function Search function Operands can be found step and transition overlap ping Preset timer values for easier programming Minimum monitoring time for monitoring unpermissible system states Optimization of the runtime by shorter operating times of the blocks and immediate activation of the following step at completed transition Ordering data GRAPH 5 Il software package S5 DOS ST S5 DOS MT for configuring and programming sequence control systems for the S5 95U to S5 155U program mable controllers for S5 95U only with restrictions on 31 2 diskettes German English French Single license Copy license Order No 6ES5 884 1FA03 6ES5 884 1FA03 0KL1 Documentation for GRAPH 5 Il V6 6 German English French Software package GRAPH 5 II V7 02 MS DOS FlexOS Order No 6ES5 998 1FA13 6ES5 998 1FA23 6ES5 998 1FA33 availble soon 1 Does not run under STEP 5 ST V7 0 2 Adapted to the new architecture and improved user interface of STEP 5 ST V7 0 Siemens ST 50 1998 7 11 Siemens AG 2007 _ PRODAVE Siemens AG 2007 software Engineering Tools Application PRODAVE is a toolbox which allows process data traffic be tween the programmable con troller and the programming device PC PRODAVE builds up the process data traffic be tween the programmable con troller and the programming device PC via the AS511 pro
69. and ordering data for special driver programs Device Details Master slave Protocol Lan License Order No relation ship gua S5 is ge AEG Logistat Does not support control Master SEAB 1 G Single license 6ES5 897 2RB11 CP80 signals of the V 24 interface Copy license 6ES5 897 2RB11 0KL1 Riou G Single license 6ES5 897 2RD11 AEG Logistat Only for use with CP 524 Master SEAB 1 Copy license 6ES5 897 2RD11 0KL1 CP80 e Processes the V 24 RTS A200 A500 control signals e Enables data transmission via modem module e g a aieet G Single license 6ES5 897 2RE11 SE Copy license 6ES5 897 2RE11 0KL1 AEG Logistat Only for use with CP 524 Slave SEAB 1 CP80 e Processes the V 24 RTS A200 A500 and DCD control signals e Enables data transmission via modems e g UEB4 or GDU from AEG e Does not support control signals of the G Single license 6ES5 897 2UB11 AEG Logistat V 24 interface Slave SEAB 1 Copy license 6ES5 897 2UB11 0KL1 es A 1 G Single license 6ES5 897 2ND11 e Connection unit from the Copy license 6ES5 897 2ND11 0KL1 AEG Geazent 8006 system with Partyline pro Slave AEG cedure to Partyline Geazent 8006 a G Single license 6ES5 897 2XA11 system Copy license 6ES5 897 2XA11 0KL1 Does not support control signals of the j AEG MARK IV V24 interface G Single license 6ES5 897 2KD11 Copy license 6ES5 897 2KD11 0KL1 Turbine control Does not support control ABB ASEA signals of the V 24 interface ADLP 10 G Sing SIRS 6ES5 897 2MA11 Robot
70. ations complex functions e g sub stitution statements test functions word logic decre menting incrementing and branching functions This can only be executed in STL e Data blocks DB for storing data that is re quired to process the control program e g actual values limit values texts System operations These access the operating system directly and must therefore only be used by experienced programmers They can only be executed in STL A whole range of easy to use additional functions make pro gram handling easy e Storage of user specific project settings For commissioning and main tenance STEP 5 provides a number of test and service functions With the menu documenta tion it is possible to output the following documentation on a printer Complete programs or pro gram sections if necessary with comments e Cross reference lists for op erand symbols I Q F T C S and or individual operands e g 1 7 Symbol editor for creating and automati cally updating assignment lists for the symbolic pro gramming of blocks Automatic generation and updating of cross reference lists Comparison of user pro grams between diskette hard disk PLC or EPROM Direct and program depen dent signal state display i e status of variables or blocks program status Program overview display if necessary with call structure of all blocks of a complete program Assignment plan for i
71. ction symbol Documentation A software handbook contain ing a comprehensive descrip tion of the function blocks is provided with each of the pro gram packages on dis kettes Siemens ST 50 1998 7 37 Software Runtime Software Overview Siemens AG 2007 Program packages blocks Installable in S5 90U 95U 100U 115U 135U 155U 155U Page CPU CPU CPU CPU CPU CPU CPU CPU 103 941 945 922 928 928B 946 948 to 947 944 Basic functions E E m E a E 7 39 Floating point arithmetic Hi 7 51 Mathematical functions a a a 7 52 GRAPH 5 Il a E m 7 55 Closed loop control 5 100U 115U closed loop control meS R64 controller structure E 7 72 Compact fuzzy control a ia a a a a WS ee PID and 7 77 uzzy control Standard software PMC PMC LS B a a a a a 7 91 Message functions Message functions for standard CP a E E E 7 94 Fe message func 7 96 ions Signalling functions E m a 7 98 F Inter Inter A Data handling blocks all nal 7 104 Intelligent 1 0 modules E E E Gi a E a a a 7 109 CP 516 i memory submodule a n mnz Failsafe standard function A Can be used for S5 95F S5 115F only CPU 942F 7 129 7 38 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software ADD 32 32 bit binary adder The ADD 32 function block adds two f
72. current loop up to 9 600 baud e Character frame Receiving data block data word and CPU number Message end parameter 1 or 2 end codes timer Full duplex mode Half duplex mode Optional XON XOFF protocol for sending monitoring time 6 s and STX hold off inter val optional echo e Character delay time 100 to 25 500 ms in 101 ms raster Note The S5D002 driver is suitable only for use in the CP 524 Technical specifications No block check character no software handshake acknowledgement programmable hardware handshake RTS CTS handshake DTR STEP 5 compatible PS3 DCD DSR RI and PM1 can be evaluated from STEP 5 CP 524 20 mA current loop V 24 with auxiliary signals RS 422 maximum sending length from DB 4096 byte maximum receiving length 508 byte Ordering data Program Open driver S5D004 for CP 524 CP 525 2 programmed with PG Single license Copy license with description in German English French Order No 6ES5897 2DC 1 6ES5897 2DC 1 0KL1 1 2 3 Program Open driver S5D002 for CP 524 programmed with PG Single license Copy license with description in German English Order No 6ES5 897 2NB 1 6ES5 897 2NB 1 0KL1 1 1 2 1 To be used with CP 525 only 7 136 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Special driver software continued Technical specifications
73. cution time words words inms 115U with CPU 9411 158 8 3 2 to 3 5 CPU 9421 158 8 3 2 to 3 5 CPU 9431 158 8 2 6 to 2 8 CPU 9441 158 8 0 1 to 1 66 CPU 945 202 9 0 05 to 0 06 135U 155U with CPU 922 170 9 1 4to 1 7 CPU 928 170 9 0 7 to1 CPU 928B 170 9 0 2 to 0 3 CPU 948 195 9 0 06 to 0 07 155U with CPU 946 947 195 9 0 6 to 0 64 1 As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 119 Siemens AG 2007 Software Runtime Software The Standard function blocks for IP 243 3 for S5 115 with CPU 941 944 CPU 945 S5 135U 155 with CPU 922 928 928B 948 S5 155U with CPU 946 947 for operating system MS DOS S5 DOS MT on 31 2 diskettes or 51 4 diskettes incl example program German English French 7 120 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software PER TREG Control temperature controller FB 162 for 115U 135U 155U The Control temperature con troller function block trans fers the control parameters and setpoint values to the module and reads error mes sages actual values and ma nipulated variables extreme values or the self optimizing parameters The data is stored in three data blocks The function block can assign parameters to the entire mod ule or one controller The diskette also contains a test program to facilitate installation with comments in the appropriate language Module to be used 6ES
74. d to the follow ing e Library number check e Usage to the intended pur pose check e Block parameter assignment check Standard function block package Fuel engineering The standard function block Fuel engineering contains typical functions for fuel engineering The function blocks can be called as often as desired allowing several burners to be operated with one S5 95F or S5 115F The blocks are designed for continuous and intermittent operation They have been TUV prototype tested Design Function block Explanations Function block Explanations Initialization e Call in OB 21 22 Solenoid valve Control of the oil solenoid valves FB 10 e Reset data in DB oil FB 15 Fuel preselec Switching of operating mode oil Solenoid valve Control of the gas solenoid valves tion FB 11 gas gas FB16 e Seal check e Generation of control enable e Indication of operating states e Indication of operating mode via Networked con External controller check LEDs trollers FB 17 Ignition position networked controller Safety se e Scanning of safety sequence ON depending on fuel closed loop quence e Output of fault signals as first up control enable open loop control en FB 12 signal able limit switch e Interface to text display e Start of pre ventilation time e Control of the actuating motor in the Pre ventilation OPEN CLOSED position FB 13 e Valve control and monitor First up signal Output o
75. dering data Order No Order No COM 525 parameter assign CP 5431 FMS DP manual ment software German 6GK1 970 5AB01 0AA0 assigns parameters to the CP English 6GK1 970 5AB01 0AA1 524 and CP 525 French 6GK1 970 5AB01 0AA2 German English French Italian 6GK1 970 5AB01 0AA4 on 31 2 and 51 4 diskettes ee se i 6ES5 895 4SA 1 ROMANE i icen i Copy license 6ES5 895 4SA 1 0KL1 parameter gssignment Sonware assigns parameters to the COM 530 parameter assign CP 1430 TF with CP 1430 TF ma ment software nual on 31 2 diskettes assigns parameters to the CP German 6GK1 743 0TA00 0EA0 530 Ger English French Italian English 6GK1 743 0TA01 0EA0 on 31 5 diskettes French 6GK1 743 0TA02 0EA0 Single license 6ES5 835 6SC 1 kalian NE DE Copy license 6ES5 835 6SC 1 0KL1 CP 1430 TF COM 1430 TF on 5 diskettes manual Single license 6ES5 895 6SC 1 German 6GK1 970 1TA43 0AA0 Copy license 6ES5 895 6SC 1 English 6GK1 970 1TA43 0AA1 French 6GK1 970 1TA43 0AA2 German 1 Italian 6GK1 970 1TA43 0AA4 English 2 Parameter assignment soft 2XV9 450 1AU01 French 3 ware COM 1430 TCP Spanish 4 Configuration software for Italian 5 CP 1430 TCP on 31 2 diskettes COM 5431 FMS DP Manual parameter assignment software CP 1430 TCP COM 1430 TCP assigns parameters to the German 2XV9 450 1AU03 CP 5431 FMS DP English 2XV9 450 1AU02 with manual CP 5431 FMS DP on 31 2 diskettes COM 1473 MAP German 6GK1 745 1AD00 0EA0 parameter assignment software English 6GK1 745
76. diskettes with manual for the distributed ET 200 I O system single license copy license German English French Spanish Italian Manual for the distributed ET 200 I O system German English French Spanish Italian 7 30 Siemens ST 50 1998 Siemens AG 2007 Siemens AG 2007 Software Engineering Tools Application Functions The COM 525 COM 530 COM 5431 FMS DP COM 1430 TF COM 1430 TCP and COM 1473 MAP parame ter assignment software is needed for programming and parameter input for the rele vant communications proces sors with a programming de vice e COM 525 for CP 524 CP 525 COM 530 for CP 530 L1 e COM 5431 FMS DP for CP 5431 FMS DP PROFI BUS e COM 1430 TF for CP 1430 TF Industrial Ethernet COM 1430 TCP for CP 1430 TCP Industrial Ethernet e COM 1473 MAP for CP 1473 MAP MAP 3 0 Ethernet The programs offer operator prompting and interactive screen forms to facilitate the programming of specific func tions of the communications Programming device CP 5 115U S5 135 S5 150U S5 155U rs Fig 7 26 Programming the communications processors processors The programs also include extensive testing diagnostics and documenta tion functions 7 32 Siemens ST 50 1998 Siemens AG 2007 software Engineering Tools COM 525 COM 530 COM 5431 FMS DP COM 1430 TF COM 1473 MAP continued Or
77. dule The SEND AII function on the other hand sends only data requested by the module and determines which data are to be transmitted by the central processor Technical specifications integrated in the operating For S5 Block length in words Processing time system 135U 155U with CPU 922 36 See table on CPU 928 36 page 7 105 CPU 928B 36 CPU 948 36 7 104 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software RECEIVE Receive FB 245 for 115U The RECEIVE standard func tion block transfers data from the I O module memory dual port RAM to the central pro cessor Like the SEND function block the RECEIVE function block has two operating modes RECEIVE Direct and RECEIVE AIl Technical specifications For S5 Block length in words Processing time 135U 155U with integrated in the operating CPU 922 36 See table system CPU 928 36 below CPU 928B 36 CPU 948 36 Processing times for data transmission using the SEND and RECEIVE data handling blocks For S5 Processing time in ms for transmission of 16 byte 128 byte 256 byte 512 byte 115U with 1 75 15 30 CPU 941 to 944 CPU 945 135U 155U with CPU 9211 CPU 9221 60 65 70 93 M prozessor2 3 6 T 8 10 CPU 928 6 7 8 10 CPU 928B 6 Y Y 9 CPU 948 6 T T 9 6 7 7 9 1 The S processor data handling 2 The specified times contain the 3 The times given are approximate blocks differ
78. e Runtime Software Function blocks for IP 240 continued STEU DOS Control counter The Control counter function block can execute the follow ing functions in Counting mode e Issue commands to the IP 240 such as start stop FB 172 for 115U 135U 155U Read actual values and status bits e Process interrupts The function block is normally called in the cyclic program Before it is called the IP 240 must be initialized with FB 171 STRU DOC initialize position decoder initialize Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 680 5 6 to 11 CPU 9421 680 5 6to 11 CPU 9431 680 5 6to 11 CPU 9441 680 5 1 6to 2 2 CPU 945 641 5 0 9 to 1 2 135U 155U with CPU 922 1110 5 6 to 10 CPU 928 1110 5 3 5 to 6 0 CPU 928B 1110 5 1 9 to 2 2 CPU 948 696 5 0 8 to 1 2 155U with CPU 946 947 696 5 1 6 to 2 2 1 As of Order No 6ES5 94 7UB STRU 252 The Initialize soeed measure Initialize speed ment function block reserves measurement the IP 240 for IP 252 expan sion mode only This mode is FB 173 possible only on the S5 115U for 115U 135U 155U The user must initialize a data block with the data to be for warded before calling the function block The FB is normally called in organization block OB 20 ona cold restart and in organiza tion block OB 22 on a warm restart
79. e can begin with any character The CP reco gnizes the end of the data e Message end parameter 1 or 2 end codes timer fixed length combination of end codes or timer with fi xed partblock length possi ble Full duplex mode Half duplex mode optional XON XOFF protocol for sending and receiving optional STX hold off interval optional echo optional BREAK evaluation in ANZW Wordwise or bytewise transmission Character delay time 4 to 65 535 ms in 1 ms raster string being received from the end parameter When the CP recognizes the end parame ter the complete message is passed to the CPU The data are entered with the aid of FB RECEIVE ALL The data block for all received messages must have been created beforehand Technical specifications No block check character No software handshake ac knowledgement no hardware handshake auxiliary signals CP 524 20 mA current loop V 24 RS 422 RS 485 CP 525 20 mA current loop V 24 Maximum sending length from DB 4096 byte unlimited receiving length through blocking maximum block length 1024 byte Buffering for heavy message traffic The S5D002 open driver sup ports the V 24 auxiliary signal hardware handshake of the CP 524 as required The S5D002 open driver is configured through a direct SEND job from a STEP 5 program The following can be parame terized Baud rate from 50 to 19 200 baud with full duplex and 20 mA
80. e first and last bit memory byte must be specified The shift register has inputs for right and left shifting and corresponding outputs for the carry The REG SCHB function block requires a data block which must be called before REG SCHB itself Max register length 32 bit Technical specifications For S5 Block length Call length Processing time FB 10 for 135U in words in words in ms 1 2 FB 24 for 155U 95U 250 14 5 31 to 77 42 100U with CPU 103 250 14 2 3 to 28 82 115U with CPU 9414 250 14 6 7 to 33 42 CPU 9424 250 14 6 7 to 33 42 CPU 9434 250 14 6 41 to 31 82 CPU 9444 250 14 0 51 to 2 52 CPU 945 250 14 0 045 to 0 282 135U 155U with CPU 922 250 14 1 59 CPU 928 250 14 1 98 CPU 928B 250 14 om CPU 948 252 14 0 04 to 1 49 155U with CPU 946 947 252 14 0 2 to 12 1 With 8 bit 3 With 32 bit 2 With 128 bit 4 As of Order No 6ES5 94 7UB REG SCHW The REG SCHW word func Several shift register func Conditions Shift register word FB 11 for 95U FB 11 for 100U tion block implements a right left shift register of variable length The shift register is located in the data area this data area and the number of data words needed must be specified The shift register has inputs for right and left shifting and corresponding outputs for the carry tion blocks can be chained if bit memory words input words output words or peri pheral words are used for the input
81. ed 16 bit words can be stored The function block has out puts for Stack full and Stack empty Technical specifications For S5 Block length Call length Processing time in words in words inms 95U 117 11 1 4 100U with CPU 103 117 11 1 4 115U with CPU 9411 Wily 11 max 2 4 CPU 9421 117 11 max 2 4 CPU 9431 117 11 max 2 3 CPU 9441 117 11 max 0 3 CPU 945 110 11 max 0 012 135U 155U with CPU 922 117 11 0 9 CPU 928 117 11 0 52 CPU 928B 117 11 0 1 CPU 948 119 11 0 03 155U with CPU 946 947 119 11 0 2 1 As of Order No 6ES5 94 7UB The function block Code con verter BCD into binary con verts a BCD number consis ting of 8 decades plus sign into a fixed point binary num ber 31 1 bit Permissible range of BCD numbers 99999999 to 99999999 Technical specifications For S5 Block length Call length Processing time in words in words inms 115U with CPU 9411 183 7 88 CPU 9421 183 7 8s CPU 9431 183 7 2 5 CPU 9441 183 7 0 9 1 As of Order No 6ES5 94 7UB The function block Code con verter binary into BCD con verts a fixed point binary number 31 1 bit into a BCD number consisting of 10 de cades plus sign Permissible range of the fixed point binary numbers 231 to 231 1 Technical specifications For S5 Block length Call length Processing time in words in words inms 115U with CPU 9411 302
82. end criterion for receive e CP functions as master of a master slave link e With without RS 485 operation for two wire connections e With without RS 232C V 24 accompanying signals e Handling of transmission errors at beginning of message frame e Break evaluation e Character timeout in millisecond timebase e Block assembly continuous receiving BREAK output Data flow control with XON XOFF or BUSY is not supported by this driver Siemens ST 50 1998 7 141 Siemens AG 2007 Software Runtime Software _ Special driver programs for CP 544B continued Technical specifications continued MODBUS master MODBUS slave Technical specifications MODBUS protocol with RTU format General notes e Master slave link SIMATIC S5 is master Implemented function codes 01 02 03 04 05 06 07 08 11 12 15 16 e No RS 232C V 24 control and signal lines e CRC polynomial X16 x15 x2 1 e Interfaces 20 mA TTY RS 232C V 24 RS 422 485 two wire or four wire e Receive mailbox DB and data word are spe cified on transmission e Character timeout 3 5 characters baudrate dependent e Broadcast message possible e Transmission rate of 300 baud to 76800 baud TTY up to 9600 baud RS 232C V 24 up to 19200 baud e Character frame e With without RS 485 operation for two wire connections e With without modem operation ignore scratch character e Response timeout 100 ms to 25 5 s in 100 ms
83. example see Fig 7 76 In the case of the S5 115U the data handling blocks are fully integrated in the operat ing system The functions for the CPU 922 928 928B and CPU 948 of the S5 135U are stored in the operating system the parameters however are passed via loadable standard function blocks The data handling blocks can handle the central processor data traffic with all commu nications processors inter faced to the programmable controller e g with two CPs 525 or one CP 528 The structure of the data handling blocks depends on the type of the central processor used but not on the communica tions processors Standard function blocks for multiprocessor communica tion are integrated in the op erating systems of the CPU 922 928 928B and CPU 948 for data transfer between CPUs over the page frames of the C coordinator Note The relevant standard function blocks are required for initial ization and control of the intel ligent I Os These standard function blocks call the data handling blocks as required SEND Send FB 244 for 115U FB 120 for 135U FB 120 for 155U The SEND standard function block controls data transmis sion from the central proces sor to an I O module memory dual port RAM The two possible operating modes are SEND AIl and SEND Direct SEND Direct can be used for example to send a data area specified by the user program in the central processor to the mo
84. f the encoder word are indicated First up indicator The first indication of a signal change is output as the first up signal The first up signal is indicated by setting output bits 1 As of Order No 6ES5 942 7UF12 Siemens ST 50 1998 7 131 Siemens AG 2007 Software Runtime Software Standard function block Design package Extended functions Function block Explanations continued Signalling functions continued e MLD NEUW FB 53 block name MLD NEUW monitors an encoder word 16 signals First up signal e for signal level O quiescent current monitor or o for 1145F FB 53 e for signal level 1 load current monitor The monitor responds with a signal if e one bit of the encoder word and e the bit of the specification parameter have the same signal state Modified signal states of the encoder word EINW are indicated with e Flashing light Steady light e Horn Indication depends on acknowledgment signals New value indication The first indication of a signal change is output as the first up signal The first up signal is indicated by setting output bits Step sequence control Many technical process sequences can be subdivided into individual steps that must be processed chronologically one after the other Control tasks of this type can be implemented very easily and clearly using step sequence controls The essential advantages of step sequence controls are e Easy and time sav
85. f the first fault signal of 16 e Display of operating mode FB 18 possible signals Ignition e Control of ignition valve depend e Acknowledgment of fault signals one FB 14 ing on fuel networked control after the other lers pre ventilation e Manual automatic ignition e Indication of operating mode Lamp test Siemens ST 50 1998 7 129 Siemens AG 2007 Software Runtime Software Failsafe standard FBs continued Standard function block package Emergency off Emergency off circuits of category 0 to 2 in accordance with DIN EN 60204 Part 1 can be safely controlled with the standard function block pack age Emergency off The blocks have been prototype for 95F tested by the German Trade Association Institute for Safety at Work Handling emergency off with on board 1 0 Up to 16 emergency off se quences and 8 shutdown de vices can be implemented Handling emergency off with external I O Up to 56 emergency off se quences and 28 shutdown devices can be implemented Explanations Design Function block Explanations Function block e Startup initia Initialization of the data used at e Start block for e tion FB 21 start up OB 3 FB 22 FB 41 e Start block for Management of a shutdown OB 1 device FB 40 e Monitoring of the start condition for the sequence e Restart disable after initiation e Actuator readback e Acknowledgment of an initiation e Can be called eig
86. for each sequencer quencers in a programmable generated with the GRAPH data blocks in sequence control system controller are stored in the 5 Il system program DBx DBy and is allocated automatically DBy diagnostic data block to the associated SBx se The GRAPH 5 system pro quence block The DBx work gram diagnostic function can data block maintains the cur thus be used to trace group rent status of the sequencer errors over the inidvidual se quencers all the way to the detail level of the faulty se quencer Summary The GRAPH 5 Il program e Function blocks e Sequence blocks package contains the follow FB 67 to FB 75 SB 0 SB 2 SB 3 SB5 ing blocks Ordering data Order No Order No GRAPH 5 Il program package GRAPH 5 1 See page 7 11 for programming software S5 95U 7 S5 100U with CPU 103 Documentation for GRAPH 5 Il S5 115U with CPU 941 944 945 program package V 6 6 S5 1 S5U 155U with German 6ES5 998 1FA13 CPU 922 928 928B CPU 948 Englisch 6ES5 998 1FA23 S5 155U with CPU 946 947 French PE ee MS DOS S5 DOS MT operating systems on 31 5 diskettes 1 44 Mbyte and on 51 4 diskettes 1 2 Mbyte with manual in German English French Single license 6ES5 848 7DA03 Copy license 6ES5 848 7DA03 0KL1 Siemens ST 50 1998 7 61 Software Runtime Software Siemens AG 2007 nalling functions Application The processes involved in A distinction is made between The signalling and ackno
87. gnal word mode Group signal bit mode FB 53 for 95U to 155U FB 54 for 95U to 155U The MLD SAMW function block combines individual signals to form a group sig nal The smallest group con sists of one sensor word 16 signals or messages The Group signal word mode function block works together with the MLD EZW FB 51 MLD EDW FB 52 MLD EZWK FB 57 and MLD EDWK FB 58 function blocks It uses the data block edited by the signalling func tion blocks The Group signal bit mode function block works together with the MLD EZ FB 55 MLD ED FB 56 MLD EZK FB 59 and MLD EDK FB 60 function blocks It uses the data block edited by the signalling function blocks Each new signal is indicated by high frequency flashing light and an audible signal After acknowledgement of the signalling function blocks the group signal and the audible singal can be acknowledged separately if the signal is still present the flashing light changes to a steady light otherwise it darkens Technical specifications Max Block Call Processing Block Call Processing number length length time length length time of signal in in inms in in in ms words words words words words Function block FB 53 FB 53 FB 54 FB 54 For S5 95U 16 114 2 2 2 to 22 0 107 1 2 0 to 15 0 100U with CPU 103 16 116 2 2 5 to 27 6 106 1 2 2 to 59 6 115U with CPU 9411 16 116 2 2 9 to 31 2 106 1 2 9 to 31 2 CPU 9421 16 116 2 2 9 t
88. h CPU 946 947 1246 10 1 7 to 6 7 1 As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 117 Software Runtime Software Siemens AG 2007 INT 242B Process interrupt FB 184 for 115U 135U 155U INT 242B Read counter module FB 185 f r 115U 135U 155U The FB 184 function block is used to process interrupts and process alarms The great advantage is that the access times for the spe cial functions Write register Read register and Ac knowledge interrupt are opti mized To evaluate the process alarms or interrupts the FB 184 is called in an orga nization block of the interrupt driven program OB 2 to OB 9 depending on the pro grammable controller The FB 184 may only be used in conjunction with FB 183 The interrupt source can be acquired from parameter IIR Further functions are e Transfer new parameter as signment data to the module write data The counter registers and the global reg isters can thus be trans ferred from the data block to the module Read data from the counter module All counter content registers the counter status registers and all result regis ters are read by the module Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 375 10 3 5 to 12 2 CPU 9421 375 10 3 5 to 12 2 CPU 9431 375 10 2 4 to 11 3 CPU 9441 375 10 lt 0 5to 2 5 CPU
89. host systems such as computers or subsystems such as scales or bar code readers The ever increasing extent of the tasks performed by pro grammable controllers and the hierarchical structure of installations in the process in dustry often make it neces sary to connect SIMATIC S5 systems to host computers and subsystems These in clude scanners barcode readers automatic labelling machines and identification systems The CP 524 and CP 525 2 communications processors support connection to stan dard Siemens devices e g computers CRT units and printers For this purpose the CP 524 communications pro cessor has one interface and the CP 525 2 two interfaces Special drivers for CP 524 and CP 525 2 communica tions processors are available for connection to computers and subsystems of other manufacturers The special drivers enable asynchronous transmission via The 20 mA current loop in terface TTY over a distance of up to 1 km 1 6 miles e RS 232C interface V24 V 28 up to 16 m 52 48 ft e RS 422 RS 485 interface voltage differential trans mission only with CPU 524 up to 1200 m 3936 ft The user can choose from the following e Character frame ASCII or full transparent transmission number of start bits number of data bits parity bit e Procedure Opening character end character acknowledge ment character block check character e Message format Specifications pertaining to the type a
90. ht times e Start up initia Initialization of data used at start up Start block for ion FB 21 OB 3 1 FB FB 22 per DI and Start block for Management of a shutdown DQ module OB 1 1 FB device FB 43 FB 45 per DI and e Monitoring of the start condition FB 47 FB 49 DQ module for the sequence FB 51 FB 53 FB 42 FB 44 e Restart disable after initiation FB 55 FB 57 FB 46 FB 48 e Actuator readback FB 50 FB 52 e Acknowledgment of an initiation FB 54 FB 56 e Can be called four times Simultaneous management of 16 emergency off sequences and 8 shutdown devices Fast shutdown after initiation Programmable assignment of differ ent sequences to one shutdown device Simultaneous management of 8 emergency off sequences and 4 shutdown devices Fast shutdown after initiation Programmable assignment of differ ent sequences to one shutdown device The standard function block package Extended Standard function block package Extended func The diskette contains one file with functions for the S5 95F e Arithmetic functions e Signalling functions tions functions contains function and one file with functions for e Sequencer blocks for processing special the S5 115F The following functions functions can be used for the for 95F S5 95F Design Function block Explanations Function block Explanations Arithmetic e First up signal The signals are differentiated between function FB 152
91. i Do M7 z21 z31 Qw3 Qwi QW3 Fig 7 29 Representation of standard function blocks by the programming device above in statement list form STL below in control system flowchart CSF form A standard function block is designed in such a way that the programming device prompts the user when linking the block into his program The internal programming of the function block is not im portant for this The function block is called with a call statement see Fig 7 29 It is then displayed with its block name and its formal operands block pa rameters Formal operands are mnemonics which repre sent the type of function of in puts and outputs as well as the data required by the func tion block An actual operand must be entered alongside each for mal operand when the corres ponding block is called up The actual operand is chosen by the user according to the requirements of the control task at that particular point Call statement Unconditional call Block number Block name Formal operands Symbolic names of the block parameters Actual operands must be entered by the user A type parameters outputs or results are shown on the right of the function symbol Basic and supplementary op erations in function blocks can only be shown in the statement list Parameters with E D B T or Z types of parameters inputs or preset data are shown in the graphic design on the left of the fun
92. icense 6ES5 848 7AA02 6ES5 848 7AA02 0KL1 2 As of Order No 6ES594 7UB 7 50 Siemens ST 50 1998 Siemens AG 2007 Floating point arithmetic Software Runtime Software The standard function blocks for floating point arithmetice nable the S5 115U S5 100U with CPU 103 and S5 95U to execute arithmetic operations with Application Functions The following standard func tion blocks are available for floating point arithmetic FB 15 Fixed point to floating point conversion FB16 Floating point to fixed point conversion FB 17 Add two floating point numbers 32 bit fixed point numbers 31 bit sign bit and e FB 19 Multiply two floating point numbers e FB 20 Divide two floating point numbers FB 21 Compare two floating point numbers These function blocks set the following bit memories for futher processing e 32 bit floating point num bers exponent 7 bit sign bit mantissa 23 bit sign bit Number range for fixed point numbers 2 147 483 648 to 2 147 483 647 231 to 231 1 Number range for floating point numbers 1 469 368 exp 38 to 1 701 412 exp 39 FB 18 Subtract two floating e Overflow point numbers e Result is O e Error Technical specifications Block Block Block Processing time in ms with Nesting Blocks Bit memories
93. ing programming e Control program easy to modify e Fast location of errors The smallest unit of a step sequence control is the sequence step or step Each step is programmed in its own step block Each step block consists of a statement section and a scan section e In the statement section you define actions to be executed in the step for example switching of actuators starting of timers etc e In the scan section you program the step enabling condition for the next step for example by scanning limit switches or waiting times Several steps executed one after the other constitute a step sequence As well as linear unbranched step sequences in which the order of the steps is constant you can also program branched step sequences Branched step sequences are divided into several parallel program paths The paths to be followed depend on the status of the step enabling condi tion In addition there are various operating modes available for controlling the step sequence for example automatic mode single step mode sequence STOP etc as well as a fault monitor Management of the step sequence with its various operating modes and management of the fault monitor independent of the process and can thus be organized by FB 70 Only the step blocks of the step sequence are process dependent and must be programmed by you Use of GRAPH 5 software is not possible The step blocks must be programmed in STEP 5 ABL MAST Func
94. it floating point number The E X function block cal Q i FB 112 for 115U 135U 155U ZEHN X culates the exponential value to the base e of a 24 32 bit floating point number The value must lie within the range KG 8802962 02 to KG 8802966 02 otherwise an overflow condi tion is produced The ZEHN X function block 19 FB 113 for 115U 135U 155U A21A1 calculates the exponential value to the base 10 of a 24 32 bit floating point number The value must lie within the range KG 3823079 02 to KG 3823079 02 otherwise an overflow condition is produced The A2 A1 function block a221 FB 114 for 115U 135U 155U calculates the exponential value to any base Base a2 is expected in accumulator 2 the exponent a1 in accumula tor 1 both as 24 32 bit float ing point numbers The base value must be positive The result is represented in accu mulator 1 as a 24 32 bit float ing point number If the result produces an over flow the contents of accumu lators 1 and 2 remain un changed and the function block reports an error Siemens ST 50 1998 7 53 Siemens AG 2007 Software Runtime Software Mathematical functions continued Technical specifications Block Block Block length in words Processing time in ms with number goana CPU CPU 945 CPU946 CPU922
95. it is called the IP 240 must be initialized with FB 169 STRU WEG initialize position decoder Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 975 5 6 to 54 CPU 9421 975 5 6 to 54 CPU 9431 975 5 6 to 54 CPU 9441 975 5 2to17 CPU 945 918 5 0 8 to 17 135U 155U with CPU 922 1539 5 6 6 to 68 CPU 928 1539 5 3 5 to 45 CPU 928B 1539 5 1 7 to 4 0 CPU 948 980 5 0 8 to 15 9 155U with CPU 946 947 980 5 21017 1 As of Order No 6ES5 94 7UB STRU DOS Initialize counter FB 171 for 115U 135U 155U The Initialize counter func tion block transfers parameter data from the CPU to the IP 240 These data include the setpoint count and information on the use of digital output process interrupt and gate control The function block re ports any parameter errors from the IP 240 to the CPU The function block is normally called in restart organization blocks Technical specifications For S5 Block length Call length Processing time in words in words inms 115U with CPU 9411 814 9 27 CPU 9421 814 9 27 CPU 9431 814 9 27 CPU 9441 814 9 11 5 CPU 945 739 10 9 3 135U 155U with CPU 922 1248 10 25 CPU 928 1248 10 18 CPU 928B 1248 10 11 CPU 948 740 11 9 4 155U with CPU 946 947 740 11 11 1 As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 111 Siemens AG 2007 Softwar
96. ixed point binary The function block sets the following condition codes if Number range 2 147 483 648 to numbers 31 bit sign The appropriate 2 147 483 647 result is also a fixed point Overflow result is cancelled 231 to 231 1 FB 1 for 95U binary number 31 bit sign result is O FB 1 for 100U Technical specifications For S5 Block length Call length Processing time in words in words inms 95U 108 10 1 8 100U with CPU 103 108 10 24 115U with CPU 9411 108 10 2 8 CPU 9421 108 10 28 CPU 9431 108 10 2 6 CPU 9441 108 10 lt 0 2 135U 155U with CPU 922 100 10 18 CPU 928 100 10 0 8 CPU 928B 100 10 0 3 CPU 948 69 10 0 03 155U with CPU 946 947 69 10 0 13 1 As of Order No 6ES5 94 7UB SUB 32 32 bit binary subtractor The SUB 32 function block subtracts two fixed point binary numbers 31 bit sign The result is also a The function block sets the following condition codes if appropriate Overflow result is cancelled Number range 2 147 483 648 to 2 147 483 647 231 to 231 1 FB 2 for 95U fixed point binary number 31 result is O bit sign FB 2 for 100U Technical specifications FB2for115U For S5 Block length Call length Processing time 95U 108 10 1 8 FB 7 for 155U 100U with CPU 103 108 10 24 115U with CPU 9411 108 10 2 5 CPU 9421 108 10 2 5 CPU 9431 108 10 2 3 CPU 9441 108 10 lt 0 2 135U 155U with CPU 922 100 10 1 6 CPU
97. le between the program mer and SIMATIC S5 5m 10m 25m Documentation for STEP 5 ST for PG PC V7 0 also for STEP 5 ST basic pack age and STEP 5 ST for mini con trollers German English French Spanish Italian 6ES5 734 2BF00 6ES5 734 2CB00 6ES5 734 2CC50 6ES5 998 0MA14 6ES5 998 0MA24 6ES5 998 0MA34 6ES5 998 0MA44 6ES5 998 0MA54 Siemens ST 50 1998 7 7 Siemens AG 2007 software Standard Tools TISOFT Application TISOFT is a complete soft ware package for program ming and documenting all SIMATIC programmable con trollers of the series 505 TISOF TISOFT allows the rapid and oA 1 simple implementation of all ihm g g automation tasks as well as straightforward maintenance PG PC of the plant placed in opera tion fi gl 505 Fig 7 6 Programming with TISOFT Design Tools for programming doc TISOFT has the same user in Additional requirements umenting debugging de terface for all programmable Floppy disk drive at least veloping and maintaining controllers Plant modifica 360 Kbyte and hard disk programs tions and extensions can thus drive e Menu driven operation be implemented by the user Monochrome or color Extensive on line auxiliary with no additional training monitor functions TISOFT runs on e MS DOS Programmable updating SIMATIC PG 720 PG 720C Connecting cable for a PEET PG 730 PG 730C PG 740 RS 232 C modem for on ee me PG 750 PG 760 andP
98. lled quotient equals zero remainder equals zero error division by zero Number range 2 147 483 648 to 2 147 483 647 231 to 231 1 Technical specifications For S5 Block length Call length Processing time in words in words in ms 95U 395 14 2 1 to 25 8 100U with CPU 103 395 14 2 4 to 4 2 115U with CPU 9411 395 14 5 9 to 6 8 CPU 9421 395 14 5 9 to 6 8 CPU 9431 395 14 4 2 to 4 7 CPU 9441 395 14 1 7 to 2 2 CPU 9451 203 14 0 015 to 0 12 135U 155U with CPU 922 242 14 1 2 to 37 CPU 928 242 14 0 9 to 13 3 CPU 928B 242 14 12 CPU 948 203 14 0 2 155U with CPU 946 947 203 14 0 2 to 2 1 As of Order No 6ES5 94 7UB 7 40 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software RAD 16 16 bit binary root extractor FB 5 for 95U FB 5 for 100U FB 18 for 155U RAD GP Floating point root extractor FB 6 for 115U FB 6 for 135U FB 19 for 155U The RAD 16 function block extracts the sqare root of a fixed point binary number 15 bit sign The result is two fixed point binary num bers 8 bit root 16 bit remainder The function block sets the following condition code if appopriate Radicand negative Number range Radicand 32 768 to 32 767 Root Oto 181 Remainder 0 to 361 Technical specifications For S5 Block length Call length Processing time in words in words inms 95U 126 6 5 100U with CPU 103 12
99. logic e The Siemens RK 512 protocol is imple G Single license 6ES5 897 2GE11 Scanners and barcode mented in various Datalogic devices A Copy license 6ES5 897 2GE11 0KL1 readers special driver is then not required For details please contact Datalogic DIN 19 244 e Communications software in acc with Inaccwith G Single license 6ES5 897 2MD11 balanced mode DIN 19244 and IEC TC 57 format class DIN 19 244 Copy license 6ES5 897 2MD11 0KL1 FT 1 2 with customer specific adjust and ments IEC TC 57 DIN 19 244 e Communications software in acc with In acc with G Single license 6ES5 897 2TD11 unbalanced mode DIN 19 244 and IEC TC 57 format class DIN 19 244 Copy license 6ES5 897 2TD11 0KL1 FT 1 2 with customer specific adjust and IEC TC ments 57 Printer e This driver enables various printers to be LAUF GE Single license 6ES5 897 2FB 1 interfaced for process status listing with Copy license 6ES5 897 2FB 1 0KL1 CP 524 525 as standard only PT 88 89 and DR 210 21 1 230 231 printers with ECM module can be connected ENRAF NONIUS e Not suitable for E amp N CIU 858 Master G Single license 6ES5 897 2DB11 Microlect Copy license 6ES5 897 2DB11 0KL1 System Fisher Controls e Communication is possible via Modbus Slave Modbus GE Single license 6ES5 897 2QA 1 PROVOX protocol if function codes which are protocol F Process control not supported by the Fisher PROVOX RTU mes Copy license 6ES5 897 2QA 1 0KL1 system system are not used sage frame format Hewle
100. ls e Updating of status data of the sequencers monitored in the case of changes of op erationg mode and after waiting times and monitoring faults timers Technical specifications Block length Call length Processing time For S5 in words in words 100U with CPU 103 1144 12 115U with CPU 941 944 1144 12 CPU 945 1109 12 135U 155U with Depending on the CPU 922 1098 12 volume of the CPU 928 1098 12 sequence control CPU 928B 1098 12 system CPU 948 1098 112 155U with CPU 946 947 1108 12 Siemens ST 50 1998 7 59 Software Runtime Software Siemens AG 2007 Sequence blocks Execution blocks SB TIPP These blocks are needed for executing GRAPH 5 sequenc ers in the programmable con troller A special SB TIPP is al located to each GRAPH 5 Il function block FB FB 70 FB 72 FB 73 SB TIPP SBO SB2 SB3 The associated SB TIPP is called in each transition of sequence block SBx and executes the operating modes initialized in the corre sponding function block When a sequencer is gener ated with the GRAPH 5 II sys tem program the SB TIPP call is automatically entered in the user sequence block SBx Ordering data for the GRAPH 5 11 system program for pro grammers see page 7 10 Technical specifications For S5 Block length in words SBO SB2 SB3 95U 3333 75 100U with CPU 103 885 333 75 115U with CPU 941 944 885 333 75 CPU 945 385 333 75 1
101. meters and the length of the data block to be used for data in terchange with the IP 240 It then transfers the general module data machine read able product designation of the module FW and HW ver sions from the IP to the data patibility with the firmware version as it does so It then enters any errors detected during the start up test in the data block Finally the config uring data parameters for FB 167 and the following data areas are transferred from the DB to the IP Final value for the rotary axis e Distance values for the switching and signalling ranges e Position numbers and posi tion values for positions 1 to 254 The function block is normally called in restart organization blocks Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 1159 14 34 to 410 CPU 9421 1159 14 34 to 410 CPU 9431 1159 14 34 to 410 CPU 9441 1159 14 14 to 170 CPU 945 1007 15 11 6 to 135 135U 155U with CPU 922 1152 15 23 to 320 CPU 928 1152 15 18 to 264 CPU 928B 1152 15 13 to 161 CPU 948 1059 16 11 6 to 135 155U with CPU 946 947 1059 16 10 to 130 1 As of Order No 6ES5 94 7UB Siemens ST 50 1998 7 109 Software Runtime Software Siemens AG 2007 STEU POS Control function block for positioning mode FB 168 for 115U 135U 155U STRU WEG Initialize position decoder FB 169 for 115U 135U 1
102. nations See page 7 122 for standard function cee blocks for the relevant pro SE S5 150 grammable controller S5 155U COM 246 und COM 247 sind ablauffahig unter MS DOS Fig 7 14 Connection and programming of the IP 246 and IP 247 positioning modules Functions The COM 246 and COM 247 There are user friendly func e Representation of traverse parameter assignment soft ware enables operator prompted interactive dialog with the positioning modules tions available for this pur pose e Input and output of machine data and traverse programs programs in accordance with DIN 66 025 and in plaintext you can switch at will between the two repre sentation types Help menus extensive fault diagnostics Ordering data Order No The parameter assignment soft ware COM 246 is part of the Configuration package for IP 2461 A consisting of Manual standard FBs and para meter assignment software COM 246 German 6ES5 246 5AA11 English 6ES5 246 5AA21 French 6ES5 246 5AA31 Order No The parameter assignment soft ware COM 247 is part of the Configuring package for IP 247 consisting of Manual standard FBs and para meter assignment software COM 247 German 6ES5 247 5AA11 English 6ES5 247 5AA21 French 6ES5 247 5AA31 Siemens ST 50 1998 7 21 Siemens AG 2007 Software Engineering Tools Application The COM PP parameter as signment software is used for COM
103. nction blocks e User created function blocks tested at the system accep tance test Prototype tested standard function blocks have been tested by various test insti tutes and like the S5 95F possess a certificate They enable implementation of fre quently required functions without extra overhead Non prototype tested stan dard function blocks are re jected by the S5 95F S5 115F Only standard function blocks tested and approved by the German Technical Inspector ate TUV can be used for the S5 115F programmable con troller A check is made at system start up to ensure that only such standard FBs are used The software package with the standard FBs for the S5 115F contains blocks for the following tasks e Calculations with 32 bit fixed point numbers e Processing of messages e Control of sequencers e Safe point to point link between two S5 115Fs Each standard FB for the S5 115F has been prototype tested by the Bavarian Techni cal Inspectorate TUV The result of this test is recorded in a certificate supplied to gether with the software The test divides the blocks into the following groups e Standard function blocks that can perform safety re lated tasks failsafe stan dard FBs e Standard FBs that cannot in fluence other blocks of the control program reaction free standard FBs At the individual acceptance test of your control program the safety test of the standard FBs is restricte
104. nd SCF are largely mutually com patible GE 100 translatable EN Largely translatable BR Translatable with restrictions TT iis me Des mias Co E gt uo ee tee D mo Fig 7 3 Compatibility of the STEP 5 methods of representation 7 4 Siemens ST 50 1998 Siemens AG 2007 Software Standard Tools Function continued Blocks Types of operation Additional functions Test and service fuctions Program documentation There are 5 types of block Organization blocks OB for organizing the control program e Program blocks PB contain the control program subdivided according to functional or technological criteria STEP 5 makes a distinction between three types of opera tion e Basic operations e g logic operations stor age operations loading and transferring timer opera tions counter operations comparison operations arithmetic operations block operations They can be executed in organization program sequence and function blocks e Sequence blocks SB for programming sequential control systems e Function blocks FB contain frequently recurring or especially complex parts of the program e g signal ing and calculation func tions Function blocks can be parameterized and have an extended operation set Except for addition F subtraction F and organi zational operations they can be executed in all three me thods of representation Supplementary oper
105. nd outputs assigning parameter to the operating system of the CPU in dialog with the program ming device e System diagnostics via the error data block and inter rupt register e Documentation of the H re lated data via printer e General system data han dling The user need not take into account the redundancy of the PLC and the connection diagrams of the various input and output modules during program development Ordering data COM 115H parameter assign ment software for programming the S5 115H programmable controller on 31 2 and 51 diskettes German English French Spanish Italian Single license Copy license COM 155H parameter assign ment software for programming the S5 115H programmable controller on 31 2 and 51 4 diskettes German English French Single license Order No 6ES5 895 3ST 1 6ES5 895 3ST 1 0KL1 A 6ES5 895 3SR 3 COM 115F parameter assign ment software for programming the S5 115F programmable controller on 31 and 51 diskettes German English French Italian Single license Copy license COM 95F parameter assign ment software assigns parameters to the S5 95F programmable controller With manual on 31 2 and 51 diskettes German English French Italian Order No 6ES5 895 3SF 5 6ES5 695 3SFMS OKL1 Copy license 6ES5 895 3SR 3 0KL1 i Single license 6ES5 895 6MF 2 German 1 English 2 Copy license 6E
106. nd amount of data etc These technical capabilities enable optimum adaptation to the interface of the host sys tem The special drivers are deliv ered on diskette 51 4 and 31 5 and are supplied with a manual Driver routines have been de veloped for many common process computers and sub systems such as the process computers and control sys tems manufactured by AEG Allen Bradley ASEA Data General FISHER CONTROL Honeywell IBM and MODI CON as well as for the sub systems manufactured by Da talogic scanners and barcode readers SAAB SCA NIA Automation Premid mi crowave reader system Phil ips weighing equipment Leuze barcode readers and Sick Opto electronic barcode readers and other systems Thanks to their modularity new special drivers can be easily created on demand If required translations can be made of existing operating instructions for the special drivers An additional range of open drivers is also available which the user can tailor to his own requirements Many manufacturers of sub systems have integrated the Siemens RK 512 standard or 3964 R procedure in their systems This enables these systems to be interfaced via the driver software contained in the COM 525 package If only the 3964 R procedure has been implemented a special driver 6ES5 897 2AB 1 is required for the CPU 524 CP 525 2 communications processors re continuec Open drive
107. ned from Meilhaus Electronic GmbH 82178 Puchheim Federal Republic of Germany Phone 49 89 80 70 81 IBM Simliar to G Single license 6ES5 897 2JE11 S1 computer RK 512 and Copy license 6ES5 897 2JE11 0KL1 procedure 3964 Leuze Barcode reader e e g BLC 10 Modbus G Single license 6ES5 897 2GE11 e Siemens RK 512 is implemented in vari protocol Copy license 6ES5 897 2GE11 0KL1 ous devices from Leuze a special driver RTU mes is then not required sage frame For details please contact Leuze format Modicon AEG The J478 stand alone modem for exam Slave Modbus G E Single license 6ES5 897 2QA 1 ple can be used as interface module to protocol F the bus RTU mes Copy license 6ES5 897 2QA 1 0KL1 sage frame format Modicon AEG e The J478 stand alone modem for exam Master GE Single license 6ES5 897 2KB 1 ple can be used as interface module to F the bus Copy license 6ES5 897 2KB 1 0KL1 Modicon AEG e Modbus for TELEPERM AS 215 process Master Modbus l control system protocol G Single license 6ES5 897 2PD11 AS 215 is master RTU mes Copy license 6ES5 897 2PD11 0KL1 sage frame format MTU e Nantos automation system MCS 4 G Single license 6ES5 897 2LD11 Copy license 6ES5 897 2LD11 0KL1 Open driver e If the CP 524 is used No protocol GE Single license 6ES5 897 2DC 1 RS 485 operation is possible with the RS FS 422 485 module Copy license 6ES5 897 2DC 1 0KL1 Open driver e Suitable only for CP 524 with V 24 module No protocol G E Si
108. ngle license 6ES5 897 2NB 1 Support the V24 Copy license 6ES5 897 2NB 1 0KL1 accompanying signals Open driver e This driver enables connection to sim Master No protocol GE Single license 6ES5 897 2MB 1 ple RS 485 Copy license 6ES5 897 2MB 1 0KL1 master slave networks e The driver acts as master Open driver e Possible parameters end start character LAUF G single license 6ES5 897 2EA11 Operation BCC type character delay time XON Copy license 6ESS 897 2EA11 0KL1 procedure XOFF protocol Philips PR 159X family Master Philips GE Single license 6ES5 897 2HD 1 Weighing PR 1600 family EW protocol Copy license 6ES5 897 2HD 1 0KL1 systems Philips e KS 4580 KS 4770 via Master GE Single license 6ES5 897 2TA 1 Closed loop ICS 90 Copy license 6ES5 897 2TA 1 0KL1 controllers t G 1 E 2 F 3 S 4 Siemens ST 50 1998 7 139 Software Siemens AG 2007 Runtime Software Special driver programs continued Technical specifications and ordering data for special driver programs continued Device Details Master Protocol Lan License Order No slave gua relation ge ship S5 is Rotork Master Rotork PA G Single license 6ES5 897 2WA11 PAC SCAN 14 protocol Copy license 6ES5 897 2WA11 0KL1 SAAB e Suitable for microwave ID systems with G Single license 6ES5 897 2GB11 Automation 20 decimal places e g Copy license 6ES5 897 2GB11 0KL1 Philips Premid PC 301 00 02 42 central processing Ident
109. nputs outputs flags timers and counters Assignment lists with com ments up to 40 characters per assignment Transfer of blocks to EPROM or EEPROM submodules for the programmable control lers Rewiring of inputs outputs flags timers and counters i e renaming operands in the entire user program or individual blocks e Control of outputs flags etc e Detection of double assign ment of bit byte and word addresses for 1 Q F S In addition to standard output user friendly output of docu mentation functions pre viously called KOMDOK can be used It permits for exam ple automation of printout using control statements or graphic preparation sorting and evaluation of program data Siemens ST 50 1998 7 5 Software Standard Tools Siemens AG 2007 Function continued STEP 5 Version 7 0 STEP 5 Version 7 0 includes a whole range of improvements and innovations over the pre vious version Real DOS application Version 7 0 is the first real DOS variant of STEP 5 and makes consistent use of the functions of this operating system e Consistent implementation of the SAA standard e Use of DOS directory paths the previous restriction to one directory per drive has been abolished e Use of all drive letters from AtoZ Improved performance Version 7 0 includes further increases in performance e Use of the entire RAM in cluding extended memory XMS Reduction of
110. number name length depth called reserved in 5 95U S5 100 S5 115U words CPU 103 CPU 941 CPU 942 CPU943 CPU 944 FB 15 CPEPGP 72 0 41 4 67 0 9 1 3 0 85 2 0 85 2 0 78 1 4 0 04 0 23 O FW 200 to FW 203 FB 16 GP GPFP 95 OS 11 16 29 16 28 2 1A RONDS 0 FW 200 to FW 203 FB 17 GP ADD 266 1 29 22 14 12 21 25 2al 25 6 0130561110 FW 200 to 2 25 FW 212 FB 18 GP SUB 267 TA 77 28 Ai 25 21 25 G 23 0 13 0 56 0 FW 200 to FW 212 FB 19 GP MUL 176 3 63 3 97 2 7 43 25 48 25 48 22 46 13 4 4 1 FB 242 FW 200 to MUL 16 FW 220 FB 20 GP DIV 223 0 56 9 3 s 240 LG ANG 212 il 85 5 2 0 FW 200 to FW 214 FB 21 GP VGL 112 0 67 1 01 1 15 16 18 15 18 O ale an RON ONE RO FW 200 to FW 207 Ordering data Order No Program package Floating point arithmetic for S5 95U 5 100U with CPU 103 5 115U with CPU 941 944 with manual in German English French for MS DOS S5 DOS MT operating system on 3 1 2 diskettes 720 Kbyte and on 5 1 4 diskettes 360 Kbyte Single license Copy license 6ES5 845 7GP01 6ES5 845 7GP01 0KL1 Siemens ST 50 1998 7 51 Software Runtime Software Siemens AG 2007 Application The following standard func tion blocks are available for executing often used mathe matical functions Trigonometric functions sine cosine tangent cotangent e Arc functions arc sine
111. o 31 2 106 1 2 9 to 31 2 CPU 9431 16 116 2 2 8 to 30 5 106 1 2 8 to 30 5 CPU 9441 16 116 2 0 1 to 1 9 106 1 0 1 to 1 90 CPU 945 16 109 2 0 02 to 0 19 103 1 0 015 to 0 465 2to8 135U 155U 16 116 2 3 to 8 106 1 with CPU 922 1to16 CPU 928 16 116 2 1to8 106 1 0 1 to 3 6 CPU 928B 16 116 2 0 3 to 1 7 106 1 0 08 to 1 11 CPU 948 40 106 2 0 04 to 0 45 100 1 155U with 0 2 to2 CPU 946 947 40 106 2 0 2 to2 100 1 1 As of Order No 6ES5 94 7UB Ordering data Signalling functions program package for S5 95U 5 100U with CPU 103 S5 115U with CPU 941 944 CPU 945 5 135U 155U with CPU 922 928 928B CPU 948 S5 155U with CPU 946 947 for S5 DOS MT operating system on 3 1 2 diskettes 720 Kbyte and on 5 1 4 diskettes 360 Kbyte Single license Copy license Order No 6ES5 848 7EA01 6ES5 848 7EA01 0KL1 Siemens ST 50 1998 7 103 Software Runtime Software Siemens AG 2007 Application Central Communications processor processor FB SEND Communications Central processor processor FB RECEIVE lt a Fig 7 88 Example of data transmission using data handling blocks Data traffic between a central processor and Communications processors CPs Intelligent I O modules IP 246 IP 247 and IP 252 e CP 516 submodule memory is carried out with the aid of standard function blocks called data handling blocks For
112. ocessing of for the programming device SB TIPP and the GRAPH 5 Il package of standard function blocks see page 7 10 Compared with the GRAPH 5 package the GRAPH 5 II package offers additional diagnostic functions synchro nization and optimized pro cessing times sequencer Transition action ST57 2048 The sequence blocks gener ated with an older version of GRAPH 5 can be matched to the new function blocks with the GRAPH 5 1 option User block package E___ Standard function block DBs are generated by the GRAPHES system program Data traffic Block calls Fig 7 31 Calling structure Processing times z Structure 2 simultaneous sequencers 4 simultaneous sequencers 8 simultaneous sequencers linear sequencer FB FB EB FB For S5 FB 70 ESS 73 74 FB 70 FB 72 72 74 FB 70 FB 72 72 74 FB 70 FB 72 72 74 95U 5 9 8 5 11 14 19 225 38 41 100U with CPU 103 23 13 19 33 27 29 54 43 47 Tye 65 71 115U with CPU 941 13 7 10 17 12 15 29 19 22 41 29 36 CPU 942 11 6 9 116 11 13 25 117 19 39 30 33 CPU 943 10 1 4 55 14 4 10 5 11 8 22 6 18 2 19 6 38 33 6 35 1 CPU 944 2 1 0 JAS 1 45 1 3 1 45 3 56 2 0 2al 3 8 3 2 33 CPU 945 0 49 0 43 0 47 0 51 0 48 0 51 0 58 0 51 0 59 0 72 0 58 0 74 135U 155U with CPU 922 16 0 10 4 13 9 22 0 18 0 21 6 33 8 29 0 32 6 57 1 SIA 54 6 CPU 928B 1 0 0 7 0 85 15 1 1 18 1 9 1 6 1 85 24 2 85 32 CPU 948 0 59 0 5 0 57 0 73 0 67 0 74 1 01 0
113. r S5 135U 155U with CPU 922 928 928B 948 Single license 6ES5 842 7CB01 Copy license 6ES5 842 7CB01 0KL1 7 108 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Application STRU POS For the operation of the intelli gent I O modules see Sec tions 2 and 4 programs are required in the programmable controller to control the func tions of the intelligent I O modules to acquire and pro cess the data and to evaluate the signals and interrupts coming from the modules These programs are available in the form of standard func tion blocks which are briefly described below A complete description of the function blocks is contained in the pro gramming instructions which are supplied together with the modules The following standard func tion blocks are available for the IP 240 Positioning FB 167 STRU POS for initialization FB 168 STEU POS for control Position decoding FB 169 STRU WEG for initialization FB 170 STEU WEG for control Counting e FB 171 STRU DOS for initialization FB 172 STEU DOS for control Speed measurement for forewarding to the IP 252 closed loop control module e FB 173 STRU 252 for initialization for S5 115U only e Zero offset block verifying its own com Initialization of function block for positioning mode FB 167 for 115U 135U 155U The configuring FB first checks the input para
114. rds in words 95U 333 9 100U with CPU 103 333 9 115U with CPU 941 944 333 9 Depending on the CPU 945 58 9 volume of the 19sUssU ih Pe CPU 922 333 9 A PE CPU 928 333 9 Pele CPU 928B 333 9 CPU 948 333 9 155U with CPU 946 947 333 9 Siemens ST 50 1998 7 57 Siemens AG 2007 Software Runtime Software GPH ZFK1 The GPH ZFK1 function Auxiliary functions block implements auxiliary functions for FB 72 and FB 73 FB 74 for 95U to 155U e g step selection and syn chronization Technical specifications Block length Call length Processing time For S5 in words in words 95U 370 9 100U with CPU 103 370 9 115U with CPU 941 944 370 9 Depending on the CPU 945 370 9 volume of the 1uSSUIN EE CPU 922 369 9 y Dee CPU 928 369 9 Page CPU 928B 369 9 CPU 948 369 9 155U with CPU 946 947 369 9 PG COPY The PG COPY function Read diagnostic message block provides the program ming device with a diagnostic OB 1 SBx message from the diagnostic PB a N User block buffer for display purposes SN Transition SB 0 2 8 FB 67 for ae actions inching ain 100U to 155U sequencer Peg DBx FB 69 dis DBy tm FB lt GS DIA DB lt G5 DIAG gt G gt Diagnostics DB Operator hed FB 67 ee conta and Eoo er monitoring section DBy 1 E DB lt DIAG gt FB68
115. rs continued Open drivers can be used to send and receive data of any structure all printable ASCII characters and all other cha racters from OOH to FFH The message structure is kept open so that the S5 user can send complete messages to the CP with all control charac ters intact including start or end characters and likewise receive complete messages The structure of outgoing messages can vary from inco ming ones Siemens ST 50 1998 7 135 Software Runtime Software Siemens AG 2007 Special driver software continued Open drivers continued S5D004 open driver S5D002 open driver Because of the wide variety of possible configurations a tho rough knowledge is required of the interface to be connec ted There is a choice of several open drivers with different technical specifications for a variety of configurations The S5D004 open driver has the greatest choice of config urations The S5D004 open driver is configured through a direct SEND job from a STEP 5 pro gram The following can be parameterized Baud rate from 50 to 19 200 bauds with full duplex and TTY up to 9 600 bauds Character frame e Receiving data block data word and CPU number Sending All data types are allowed as source data If the source type DB is used messages can be sent from any data block The maximum mes sage length is 2048 byte Receiving A messag
116. s and outputs ZER TEL ZAR and ZAL The ZER and ZEL inputs of the following function block must then be connected to the ZAR and ZAL outputs of the preceding block The data words DWO and DW1 of the data block se lected are not available to the user this means that with a single data block the maxi mum possible length of the shift register is 254 words For K gt 254 or K 0 the function block is not pro cessed The shift register can be ex tended by one data block with each subsequent call of the REG SCHW function block Continued on the next page 7 42 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software REG SCHW continued Shift register word Technical specifications For S5 Block length Call length Processing time in words in words in ms 95U 125 10 20 11 to 31 42 81 04 to 122 85 100U with CPU 103 125 10 27 01 to 37 02 96 04 to 144 09 115U with CPU 9416 125 10 31 01 to 44 02 117 04 to 170 05 CPU 9426 125 10 31 01 to 44 02 117 04 to 170 05 CPU 9438 125 10 30 01 to 43 02 113 04 to 166 02 CPU 9449 125 10 1 51 to 2 32 5 24 to 8 79 CPU 945 120 10 0 0451 to 0 182 0 525 to 0 6759 135U 155U with CPU 922 125 10 1 0 to 100 CPU 928 125 10 0 8 to 673 CPU 928B 125 10 0 4 CPU 948 117 10 0 361 to 0 432 1 374 to 1 645 155U with CPU 946 947 117 10 0 4 1 With 64 SR words 1 word
117. system units and PC 3001 PC 3002 PC 3003 data storage units or PC 3040 00 01 compact communications units SAAB e Suitable for microwave ID systems with 8 G Single license 6ES5 897 2GC11 Automation Kbyte data storage units e g Copy license 6ES5 897 2GC11 0KL1 Philips PC 3010 52 CPUs and 2K 8 Kbyte data Premid storage units PC 3004 PC 3005 G Identsystem Staefa Master Single license 6ES5 897 2SA11 WSE 1 Bus Copy license 6ES5 897 2SA11 0KL1 SICK e Suitable for barcode readers decoders G Single IEEE 6ES5 897 2GE11 Optoeletronic terminals etc Copy license 6ES5 897 2GE11 0KL1 ea Single license 6ES5 897 2CC11 e Interfacing via SIDN interface unit Siemens 9 Master Gapyleense 6ES5 897 2CC11 0KL1 Alarm systems Siemens e Terminals 3805 3821 38xx GE Single license 6ES5 897 2DA 1 38 Terminals ES 005 ES 01 5 ES 021 Copy license 6ES5 897 2DA 1 0KL1 ES 1 01B Siemens LSV 2 G Single license 6ES5 897 2VB11 SIROTEC RCM Copy license 6ES5 897 2VB11 0KL1 Siemens e SEB M G Single license 6ES5 897 2HC11 SICOMP M Copy license 6ES5 897 2HC11 0KL1 Siemens e FM 100 field multiplexer G Single license 6ES5 897 2LB11 TELEPERM FM 100 Copy license 6ES5 897 2LB11 0KL1 Siemens 3964 R procedure with 3964 R G E Single license 6ES5 897 2AB 1 3964 R programmable character Copy license 6ES5 897 2AB 1 0KL1 frames control characters and times With Without S5 header Siemens Computer link 512 non standard feature RK 512 G E Single license 6ES5 897 2
118. the audible signal are ack nowledged separately In the case of the MLD ED function block FB 56 the signals are routed to outputs In the case of the MLD EDK function block FB 60 the signals can be routed either FB 56 for 95U to 155U FB 60 for 95U to 155U open circuit or closed circuit principle Processing is carried out in bit mode to outputs or bit memories Technical specifications Max Block Call Processing Block Call Processing number length length time length length time of signal in in inms in in in ms words words words words words Function block FB 56 FB 56 FB 60 FB 60 For S5 95U 30 334 23 4 3 to 102 0 347 24 4 3 to 102 0 100U with CPU 103 30 332 23 5 7 to 101 2 341 24 5 7 to 101 2 115U with CPU 9411 30 332 23 6 9 to 122 341 24 6 9 to 122 CPU 9421 30 332 23 6 9 to 122 341 24 6 9 to 122 CPU 9431 30 332 23 6 5 to 116 341 24 6 5 to 116 CPU 9441 30 332 23 0 3 to 8 3 341 24 0 3 to 8 3 CPU 945 30 312 23 0 04 to 1 06 326 24 0 04 to 1 06 135U 155U with CPU 922 30 311 22 6to 175 349 24 6 to 175 CPU 928 30 311 22 4 to 86 349 24 4 to 86 CPU 928B 30 311 22 0 2 t07 349 24 0 2 to 7 3 CPU 948 64 309 23 0 09 to 2 585 323 24 0 09 to 2 585 155U with CPU 946 947 64 309 23 0 2 to 16 323 24 0 2 to 16 1 As of in Order No 6ES5 94 7UB 7 102 Siemens ST 50 1998 Siemens AG 2007 Signalling functions continued Software Runtime Software MLD SAMW MLD SAM Group si
119. tibility 7 6 Siemens ST 50 1998 STEP 5 basis packages continued Siemens AG 2007 Software Standard Tools Technical specifications STEP 5 ST basic package for programmers and PCs STEP 5 ST for mini controllers Current version V7 0 V7 0 Operating system MS DOS V5 0 and higher MS DOS V5 0 and higher Windows 3 x Windows 3 x Windows 95 Windows 95 RAM capacity min 4 Mbytes 4 Mbytes in the programmer PC Disk requirements in the program 13 Mbytes 13 Mbytes mer PC Platform PG PC PC Target system S5 90U S5 90U 5 95U F 5 95U 5 100U S5 100 5 101U S5 115U H F 5 135U S5 150U S5 155U H Ordering data Order No Order No STEP 5 ST basic pacakge for PG PC AG cable 734 1 6ES5 734 1BD20 and PC V7 0 on the basis of MS DOS with au thorization diskette for program ming all PLCs with PCs on 31 2 diskettes in German English French Spanish Italian Single license Copy license STEP 5 ST for mini controllers V7 0 on the basis of MS DOS with au thorization diskette for program ming mini PLCs S5 90U 95U and 100U executable on PC on 31 2 diskettes in German English French Spanish Italian Single license Copy license 6ES5 894 0MA04 6ES5 894 0MA04 0KL1 6ES5 864 0MA04 6ES5 864 0MA04 0KL1 Connecting cable between SIMA TIC S5 15 pin and PC 25 pin 3 2m PG AG cable 734 2 included in the scope of supply of the programmer 3 2m connec ting cab
120. tion block FB 70 ABL MAST manages step sequence controls for ma Step sequence control chines or processes Function block FB 70 operates in conjunction with up FB 7 to 255 step blocks SB 1 SB 255 and one working data block DB In the step blocks you program the individual steps of the step sequence control FB 70 requires the working data block for storing the current states of the step sequence such as operating mode and current step 1 As of Order No 6ES5 942 7UF 12 7 132 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Standard function block package Extended functions continued Design Function block Explanations Safety related point to point connection between two 5 115Fs via CP 5232 ANLA 523 Start up data to CP 523 FB 100 Safety related point to point connection between two 5 115Fs via CP 5232 SEND 523 Send data to CP 523 FB 101 EMPF 523 Receive CP 523 data FB 102 The point to point connection permits safety related data exchange be tween two S5 115Fs via CP 523 Up to 124 net data words can be ex changed One CP 523 is required in each programmable controller Both CP 523s are linked via a connecting cable up to 10 m in length The failsafe point to point connection has been prototype tested by the Bavarian Technical Inspectorate TUV and is approved for plants with processes of e Requirement class 6 in accordance with DIN V 19
121. transfer to the counter mod ule The IP 242 B counter module is capable of executing com mand lists as a result of inter rupt events This attribute helps to offload the CPU and enhances the response time of the total system In contrast to the IP 242 A the IP 242 B also offers arithmetic functions in connection with load transfer and comparison operations Certain control words tailored to the module functions have been developed to further ac celerate data exchange be tween the CPU and the IP 242 B besides the use of the command list Amongst others these are the following e Process command list e Write constant register e Prepare loading e Read sequence of mea sured values The commands are used in conjunction with FB 183 The module is capable of storing the calculation results or the counter contents in measured value sequences on the IP 242 B with a total of 100 x 2 DW A second data block is re quired to read these mea sured value sequences Module to be used 6ES5 242 1AA4 Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 1111 10 9 9 to 41 CPU 9421 1111 10 9 9 to 41 CPU 9431 1111 10 8 5 to 37 78 CPU 9441 1111 10 16to7 1 CPU 945 1002 10 0 42 to 3 36 135U 155U with CPU 9222 1293 10 1 0 to 46 4 CPU 9283 1293 10 4 6 to 25 CPU 928B 1293 10 3 6 to 20 1 CPU 948 1246 10 0 74 to 3 69 155U wit
122. tt Packard e RK 512 drivers are available for SIMATIC HP 1000A Type A600 S5 sister controllers Please consult HP A700 A900 For details please contact HP Hewlett Packard HP 9000 Process G Single license 6ES5 897 2SD11 computer Copy license 6ES5 897 2SD11 0KL1 Honeywell e A Generik gateway TDC 200 or TDC Master Modbus Modbus 3000 for example can be used as inter protocol GE Single license 6ES5 897 2KB 1 face to the bus RTU mes E sage frame Copy license 6ES5 897 2KB 1 0KL1 format Honeywell e A Generik gateway TDC 200 or TDC Slave Modbus Modbus 3000 for example can be used as inter protocol face to the bus RTU mes GE Single license 6ES5 897 2QA 1 sage frame F format Copy license 6ES5 897 2QA 1 0KL1 IBM AT e Toolbox PRODAVE DOS 64R for PG RK 512 or Personal computer PC AT and AT compatible under MS procedure DOS operating system 3964 R G E Single license 6ES5 897 2UD 1 ES Copy license 6ES5 897 2UD 1 0KL1 G 1 E 2 E 3 S 4 7 138 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software Special driver programs continued Technical specifications and ordering data for special driver programs continued Device Details Master Protocol Lan License Order No slave gua relation ge ship S5 is IEEE 488 e Interfacing to the bus is possible via ICS G Single license 6ES5 897 2LA11 4835 Serial EE1E 488 Controller Copy license 6ES5 897 2LA11 0KL1 e Controller can be obtai
123. ture safe state SFCs have flexible batch control strategies and which is easier to understand return to normal paths to process partitioning and implement match the process operating Integrates application de APT uses a graphical ap procedures Extensive valida sign development testing proach to design GRAFCET tion functions are included to documentation and mainte techniques are used for de quickly trap invalid and mis nance veloping sequential logic APT Sing configurations MAITT a Windowing split screens also has a graphical repre test language interpreter IS pull down help screens em sentation for continuous con included for writing tests and bedded algorithms and fill trol processes based on the valid ting control logie in the blank forms SAMA standard Develop e Sequential function chart SFC and continuous func ment of lower level control ac oats tion chart CFC graphics tions are simplified by using a based lan F guages library of devices and contin State control and math text uous function blocks that in based languages clude internal interlocks and Multiple main and subordi comprehensive auxiliary in nate safe state SFCs with formation priority levels e Libraries of standard control algorithms Ordering data Order No Order No SIMATIC APT software PPX APT 6201 T Manuals Upgrade with manual set System overview for APT PPX APT 8100 Version 1 7a software English SIMATIC APT software
124. value follow ing error or residual path from the IP 246 or IP 247 These values are output in binary or BCD code ac cording to the setting of the BCD parameter function blocks are compa tible with both the IP 246 and the IP 247 e Continually reads the mode setting current M function feedback signals and mod ule error from the initialized interface These are pro vided as output parameters from the function block or in the axis specific data block FB 164 works in conjunction with DB 164 The data block must first be initialized by the user up to and including data word DW 15 There are no special provisions to be made for the data words DB 164 is divided into two areas Data words DW 1 to DW 7 are set aside for indirect initialization of the function block Data words DW 8 to DW 15 comprise the fixed working area of FB 164 Work areas may not be changed Job specific parameters are additionally required for some modes of operation Before a mode is enabled these must be stored in the appropriate data block as byte word and double word parameters The free area of DB 164 can be used for this purpose Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 1012 20 5 6 to 11 8 CPU 9421 1012 20 5 6 to 11 8 CPU 9431 1012 20 4 3 to 10 4 CPU 9441 1012 20 06to 53 CPU 945 627 19 0 1to 08 135U 155U with CPU 9222 618 19 3 0 to 11
125. ware Runtime Software Siemens AG 2007 AE 463 Read in analog value from 6ES5 463 4U modules FB 32 for CPU 941 to 944 FB 241 for CPU 945 FB 32 for 135U 155U is integrated in the operating system of The function block AE 463 is used to read in analog values from the 6ES5 463 4UAO0 or 6ES5 463 4UB analog input modules The function block takes into consideration the characteris tics of the various analog in put modules and produces at its output a standardized value between specified lower and upper limits for a given Modules to be used 6ES5 463 4UA1 6ES5 463 4UB1 nominal input signal The user sets the limits The function block for the S5 115U CPU 941 to 944 produces the standardized value as a 16 bit fixed point number for the S5 115U CPU 945 S5 135U and S5 155 as a 32 bit floating point number the CPU 945 Technical specifications For S5 Block length Call length Processing time in words in words in ms 115U with CPU 9411 235 9 4 2 CPU 9421 235 9 4 2 CPU 9431 235 9 4 0 CPU 9441 235 9 2 7 135U 155U with CPU 922 219 11 3 0 CPU 928 219 11 1 6 CPU 928B 219 11 0 6 CPU 948 221 11 0 08 155U with CPU 946 947 221 11 0 5 1 As of Order No 6ES5 94 7UB AE 466 The function block AE 466 is nominal input signal The user Modules to be used Read in analog value from 6ES5 466 3LA modules FB 33 for CPU 941 to 944 FB
126. wl process and power engineer _first up and new value mes edgement states can be indi ing can only be reliably con sages DIN 19 235 In the cated by a steady light or trolled and monitored if a case of the former the mes flashing light with various constant check is kept on op sage in a group of mes frequencies erations at a central point All sages whose status was the number of individual mes important events such as first in the group to change af sages can be combined and checkback auxiliary and fault ter the last acknowledgement qisplayed as a group signals and messages must was made is highlighted All message be monitored and brought to messages occuring after this the attention of the operators first up message are referred both visually and audibly to as new value messages A set of standard function blocks with the designation Signalling functions is avail able for this purpose MLD TG The Clock generator function Conditions e For the S5 155U Clock generator FB 50 for 95U to 155U block produces flashing fre quencies for the lamp outputs of the annunciator blocks The positive going edges of the 0 63 Hz 1 25 Hz 2 5 Hz and 5 Hz frequencies are synchronized The FR parameter provides these frequencies in bits 4 to 7 of the specified byte fre quency byte Bit assignment of the FR frequency byte Bit 0 Signal O Bit 1 Signal O Bit 2 Signal O Bit 3 Signal O Bit 4 F4 flicker frequenc
127. y 5 Hz Bit 5 F3 fast flashing light 2 5 Hz 1 2F4 Bit 6 F2 flashing light 1 25 Hz 1 4F4 Bit 7 F1 slow flashing light 0 63 Hz 1 8F4 e For the S5 95U S5 100U with CPU 103 S5 115U S5 135U The above frequencies re sult if called in OB 13 pro vided the cycle time is lt 1 00 ms For cycle times gt 100 ms FB 50 must be called from OB 13 only on each 2nd 5th or 10th pass the frequen cies are then changed ac cordingly FB 50 must not be called more than once ina single cycle The above frequencies re sult if called in OB 13 pro vided the cycle time is lt 100 ms For cycle times gt 100 ms FB 50 must be called from OB 14 OB 15 or OB 16 the frequencies are then changed accordingly FB 50 must not be called more than once in a single cycle Technical specifications Block length Call length Processing time For S5 in words in words inms 95U 29 3 0 4 100U with CPU 103 20 3 0 5 115U with CPU 9411 44 S 0 8 CPU 9421 20 3 0 8 CPU 9431 20 3 0 7 CPU 9441 20 3 lt 0 1 CPU 945 23 3 0 005 135U 155U with CPU 922 22 3 0 4 CPU 928 22 S 0 2 CPU 928B 22 S 0 05 CPU 948 19 S 0 01 155U with CPU 946 947 19 3 0 1 1 As of Order No 6ES5 94 7UB 7 98 Siemens ST 50 1998 Siemens AG 2007 Software Runtime Software MLD EZW MLD EZWK First up signal with single frequency flashing light word mode FB 51 for 95U to 155U FB 57 for 95U to 155U The MLD
Download Pdf Manuals
Related Search
Related Contents
Gélose Columbia (base) RCA TVPRAMP1R TV signal amplifier USER MANUAL - Debenhams Plus Baixar PDF Manual de instalação e operação dos ventiladores de iRobot Verro User's Manual HP ProLiant DL585 Generation 6 Server User Guide KERN HUM - FineMech Copyright © All rights reserved.
Failed to retrieve file