Default Header
(header konnte nicht geladen werden)
2/27/2010 7:46 PM | |
Posts: 2 Rating:
|
Hello Its Ricky here. I am working on S7 lite and facing some problems described below. 1) We have 13 analog inputs and want to scale them so for that i used FC105 scale function. But when i tries to compile the program it shows me an error. (Below is the attached images.) Analyze block dependencies...... Error occured while compiling one or more blocks. This block are marked in red in offline project. And SCALE:FC105 in project view appears in red color. I am not sure what is wrong and i tried different way like i used FC105 in main program/FB/FC but result is same. Do we need to assign analog hardware in hardware configuration before using scale function? If you have any solution or demo project which can guide me how to use FC105 plz send me. 2) I want to make several FB using one instance DB. I did read some pdf but confused about how to assign n what to assign in variable assign table? 3)What is the importance of static tags and where/ how we can use it? 4)when we make variable assign table for any FB/FC it automatically creates address for those variables. What are they, what is the important n how system uses it? Theses are the question i want to know. If you give me answer would be very grateful. Have A Great Day!! Thanks in Advance AttachmentNew Folder (2).zip (212 Downloads) |
2/28/2010 5:08 PM | |
Joined: 1/7/2006 Last visit: 5/11/2025 Posts: 2705 Rating:
|
Hi Ricky, I have unfortunily never worked with STEP7 Lite, I 'am always working with the bigger brother STEP7 Profesional. I don't know if it is possible to use multiple instance in a Lite program, but I can tell you how to do it as in Basis: First make a FB (is that possible in Lite) and then use the In- and Output variable and the STATics for programming the block. After that you may call the FB in another FB and then fill in a name for the multiple instance. I have made a small programm to let the instructions see for this block,see the hardcopy's in Analog.zip. AttachmentFB Analog.zip (237 Downloads) |
I hope that the answer will help, if you have still questions, don't hesitate to ask me. |
|
2/28/2010 6:25 PM | |
Posts: 2 Rating:
|
Hello Late Thanks for your reply but I am still getting the error. I made the FC and used SFC105:105 in it. Assign vairables and define it in VAR table. Now the problem is when i try to compile it gives me an error. I have attached images of error in zip folder. Please tell me how to solve it.
AttachmentNew Folder (2).zip (206 Downloads) |
Follow us on