Call instruction

vj5588

Member
Join Date
Dec 2010
Location
India
Posts
1
Hello friends

I am practicing simatic s7-300, I just want to know how to use CALL instruction, while programming. I reviewed the simatic manual but I could not understand. Can anyone guide me please.
 
call

Call ? Call function, function block ?

In stl:

UC FC10 = unconditional call, this calls the Function FC10 without conditions. The code in FC10 will be executed and then it comes back to resume the program.

Don't know what u don't understand... please explain more...



Hello friends

I am practicing simatic s7-300, I just want to know how to use CALL instruction, while programming. I reviewed the simatic manual but I could not understand. Can anyone guide me please.
 
Hi Vj,

When the PLC goes into RUN mode it immediately calls OB1. You then 'call' other FCs (functions) and FBs (function blocks) from OB1 to direct the program flow.

So, for example, in OB1 you would have:
CALL FC 1
CALL FC 25
CALL FB 15, DB 20 (each FB needs an associated DataBlock)

HTH ;-)
 

Similar Topics

Hi All In RSLogix is always a JSR to call in all Programm Routines into the main Program. HOW IS SAME DONE IN SIMATIC MANAGER and TIA Portal to...
Replies
12
Views
2,911
I wanted to have a standard add-on instruction that would take and array (as an in_out parameter). However I wanted it to work with arrays of...
Replies
4
Views
10,471
Just finished reading P Lucas's question. Can an instruction be placed in front of the "Call" instruction? (I have just finished work and haven't...
Replies
1
Views
4,374
Hello everyone. I am working on designing a call light/alarm system I have roughly 20 stations that will each have their own call switch. Then...
Replies
20
Views
371
I've gotten to the learning curve where I can program a call for pump to come on at set point but I'm not sure how to turn the same pump off when...
Replies
1
Views
122
Back
Top Bottom