Call Function

aalberto

Member
Join Date
Oct 2009
Location
Atlanta
Posts
8
Can anybody explain to me how the 'Call' function works in GE Fanuc Series 90-30???

I have to program a traffic light intersection and I was told to use the 'Call' Function in the _Main - LD

So i have to have subroutines of the Inputs, Outputs, Events, etc but I dont understand how the call function puts it all together. the help feature in the program doesnt explain it too well.

thanks in advance

also, in my subroutine ladders, why isnt the timers not working as it would in the main LD???
 
Your sub timers are not working because the sub has not been called form the main program. Sub-routine logic is not scanned unless the sub routine is "active".

Can't help you with the "CALL" function. I "assume" that is "calling" the subroutines.

🍺
 
Basically, you place the Call instruction in your ladder with the name of the subroutine. When the scan reaches the Call, it passes control to the subroutine and executes it. When the subroutine is finished, control returns. If you don't use call, there is no way for the PLC to know you want to execute a subroutine.

You can find more information at http://support.gefanuc.com. I would not search for Call as you will get all kinds of results.
 

Similar Topics

I created this FC and it compiles, but when I use it in my MAIN OB1, it appears to have two outputs. See pictures. What am I doing wrong here...
Replies
9
Views
1,480
Hi, I'm learning GX Works 2 for upcoming project. I want to use ST Function Blocks in Ladder Program and it works if the FB(Structured text)...
Replies
5
Views
1,674
I'm struggling to implement the test case which is highlighted. What ends up happening is the servo starts when I turn the cycle on, but it...
Replies
3
Views
1,071
Hiya - another TIA question I've a got a sequencer that on step 80 should run another function (blank search) The way I Run and Stop this...
Replies
18
Views
4,437
Hi all :) , I'm very new to CitectSCADA and Cicode programming, however have good programming experience in most major programming languages...
Replies
0
Views
1,249
Back
Top Bottom