FC's FB's and other step7

Unregistered

Guest
U
hello,



please correct me,



1.OB for example calls FB which calls FC, and DB is made for variables used by all or any FB's FC's???



2.and SFB and SFC are biult in blcoks that you can use in your application??



3.and what is exactly the varaible table for if you have DB's??



4.where can i get the list of syntax of all functions such as: s5T#2s



thank you
 
1) In principle yes, although you can also call FCs directly from OB1. DBs can either be "Global" - available for general access, or "Instance", belonging to a specific FB. However, these "Instance DBs" can also be accessed by other FBs / FCs (preferably read only though!).

2) Yes.

3) The Variable Tables (VATs) are only avaliable offline and are primarily used for testing. With them you can observe the state of all memory variables, not just DBs.

4) You can find this at the Siemens support web-site. Unfortunately, I'm not in the office at present, so I don't have the address handy. If nobody else has posted it before I'm back in the office tomorrow, I'll post it then.

Hope I've covered what you wanted, if not come back and post the questions again, perhaps slightly differently phrased.
 
Hello,

To follow RMA's well-rounded answer, here is a link to Siemens' support website. Use the Search utility to look for documents. I recommend "Programming with step 7", "Ladder with Step 7", "Standard and system functions" to get direct answers to your original questions.
http://www4.ad.siemens.de/-snm-0135030360-1078737597-0000010179-0000000017-1079359750-enm-WW/llisapi.dll?func=cslib.csinfo&changelang=true&aktprim=0&siteid=cseus&lang=en

By the way, if you are working with a computer that has Step 7 installed, those documents and others have been made available to you already (Start--> Programs-->Simatic-->Documentation).

Hope this helps,
Daniel Chartier
 
Press F1 on the command you have problem in the software will try to find a propper answer
 

Similar Topics

is there any free trial version available for step7 professional and wincc comfort v17. i searched and downloaded TRIAL Download STEP 7...
Replies
1
Views
57
Hello. I need your help. I work at STEP7. There are two CPU 317-2 PN/DP controllers (317-2EK14-0AB0), working on PROFIBUS, as Master (CPU_1) and...
Replies
6
Views
169
This is the first time I am working with Simatic Manager Step7 as I started my siemens journey with TIA which is pretty easy and do a lot of stuff...
Replies
3
Views
178
When you download a DB, the values get overwritten by what is in the "actual" column in offline DB. Does this happen at the start of the PLC...
Replies
6
Views
160
Hello Inside a FB, I´m trying to transfer a string from a DB to a IN_OUT var that was define as a UDT. The problem is that i can´t determine the...
Replies
4
Views
161
Back
Top Bottom