Instruction/ maintenance manual of the product B4 Siemens
Go to page of 18
Automation– and Driv e Technology - SCE Training document for the company -w ide automation solution Totally Integrated Automation (T I A) MODULE B4 Data blocks T I A Training doc ument Page 1 of 18.
Automation– and Driv e Technology - SCE This docum ent was provided by Siemens A&D SC E (autom ation and drive technology, Siemens A&D Cooperates with Education) f or training purposes . Siem ens does not m ake any ty pe of guarantee regar ding its contents.
Automation– and Driv e Technology - SCE PA GE: 1. Forward ................................................................................................................. 4 2. Notes for Dat a Blocks .................................................
Automation– and Driv e Technology - SCE 1. FORWA RD The m odule B4 is as signed content wise to A dditional functions of S TEP 7- Progra mming . Basics of STEP 7- Programmin g 2 - 3 da y s A m odule.
Automation– and Driv e Technology - SCE Required har dware and software 1 PC, Operating system W indows 95/98/2000/ME/NT 4.0 with - Minimal: 133MHz and 64MB RAM, approx. 65 MB f ree hard dis k spac e - Optim al: 500MHz and 128MB RAM, approx. 65 MB free hard dis k s pace 2 Software ST EP 7 V 5.
Automation– and Driv e Technology - SCE 2. NOTES FOR DATA BLOCKS Data Block s (DBs) can be used by y our program to save data in the CPU. Your hard disk contains up to 8 KBy tes ( 8192 Bytes ) space.
Automation– and Driv e Technology - SCE 3. GENERA TING DA TA BLOCKS Data block s are generated and opened lik e program block s in the tool LAD,S TL,FBD: Program blocks .
Automation– and Driv e Technology - SCE In order to generate this program exam ple, the following steps m ust be f ollowed (Ther eby the program is dispens ed with the creation of the hardware c onfiguration): 1. Call SI MA TI C Ma n a g e r with a double click ( ® SIMATIC Manager) 2.
Automation– and Driv e Technology - SCE 3. In the name path, c reate the projec t with the name T estproject_DB . ( ® ’Tes tproject_DB’ ® OK) 4.
Automation– and Driv e Technology - SCE 5. Highlight the f older Blocks . ( ® Block s) 6. Insert Data Block ( ® Insert ® S7 Block ® Data Block ).
Automation– and Driv e Technology - SCE 7. Enter the num ber DB10 f or the data block and accept with OK ( ® DB10 ® OK). 8. Open the data bloc k DB10 with a double click ( ® DB10).
Automation– and Driv e Technology - SCE 9. Ack nowledge the ty pe of data block . ( ® Data Block ® OK ) Note: Data block s with an assigned FB are autom atically display ed by the call of your associated FB. It m ak es no sens e to create this alone.
Automation– and Driv e Technology - SCE 10. The Data Bloc k is gener ated with a sy mbol Name . T he Ty pe , an Initial value as well as a Comment (optional) are enter ed. The addres s is autom atically generated and cannot be altered. The data bloc k can be s aved and downloaded into the PLC .
Automation– and Driv e Technology - SCE Data in a data block mus t be determ ined through data ty pes. The f ollowing standard- data types are defined in the S7 below : Type and description Size in .
Automation– and Driv e Technology - SCE 11. Values should be m odified in a data bloc k. It is not adequate to modif y them in the field Initial valu e . This is only possible, when one switches to the Data View under View ( ® View ® Data View). 12.
Automation– and Driv e Technology - SCE 13. In order to generate the progr am with the acc essible data elem ents, the OB1 mus t be opened through a double click in SI MA TIC Ma n a ge r ( ® SIMATIC Manager ® OB1). 14. Then ac cept the setting with OK ( ® OK ).
Automation– and Driv e Technology - SCE There are t hree possibilities to access th e data: 1. Direct address access: One can acc ess one data elem ent in a data block with the following instructions : Exam ple: L DB 20. DBB2 Load data byte 2 from DB20 into ACCU 1 L DB 22.
Automation– and Driv e Technology - SCE 15. W ith LA D, STL, FBD: Progra m blocks , y ou now have an editor that give y ou the possibility to generate your STEP 7-Program . The s chem a for the selec tion of the data elem ent through the button is s hown for the firs t three inputs as s pecified below.
An important point after buying a device Siemens B4 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Siemens B4 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Siemens B4 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Siemens B4 you will learn all the available features of the product, as well as information on its operation. The information that you get Siemens B4 will certainly help you make a decision on the purchase.
If you already are a holder of Siemens B4, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Siemens B4.
However, one of the most important roles played by the user manual is to help in solving problems with Siemens B4. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Siemens B4 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center