calling an FB with SCL

mad@imap

Member
Join Date
Apr 2008
Location
Columbus, Ohio
Posts
25
Hello fellow PLCers,
I'm new to Siemens and I'm trying to call an FB using SCL when I do a call block I get (); where do I put the name of the block I'm trying to call?
 
Here's an example call (from Berger) of an FB with a specified instance DB:-

Code:
DATA_BLOCK DB291
 FB291
BEGIN
END_DATA_BLOCK
...
...
FB291.DB291(IN:=InputValue);
Result:=DB291.OUT;
 

Similar Topics

Hey gang. I hope I'm not too much of an annoyance for you guys, but I need some more help ^^ I'm more or less just getting started at...
Replies
12
Views
12,392
HELLO! I've created a FB that's supposed to return a value through an output variable. here's the FB code: FUNCTION_BLOCK FB_Scalare VAR_INPUT...
Replies
4
Views
5,411
Hi, I'm very new at siemens programming and wanted to know how to call sfc51 into scl programming. I wanted to see which slaves are connected at...
Replies
10
Views
14,949
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
142
I am looking to get an AB series 1774 (PLC1) from the 1970's up and running. I have all the parts, and it powers up just fine without errors if I...
Replies
12
Views
2,321
Back
Top Bottom