Fbd

Nikhil

Member
Join Date
Dec 2003
Posts
23
I am new to FBD programming.!!! my question was about one thing I have noticed in FBD is that we can't call a subroutine. Is this a correct observation ?? My immediate senior colleague tells me that the part about subroutine call I should write in ladder. The program will take care about jumping between ladder and FBD as per the addresses involved. I am not convinced. I feel there must be some way to cater to this facility in FBD. I would appreciate any inputs regarding this...
 
The JSR instruction jumps execution to a different routine. The SBR instruction passes data to and executes a routine. The RET instruction returns the results.

Available Languages

Relay Ladder
Function Block
Structured Text

Above is a copy and paste from RSLogix 5000 help file on the JSR instruction. You can win the arguement. Regards Alan

I assumed you were using Rockwell RSLogix 5000
 
Last edited:
Thank you

Thanks Alan and Jesper!!! I did check out the help of RSLogix 5000 (that is what I am using...) and to my satisfaction, I found the SBR, RET instructions in FBD. I'll try and write my program using FBD thru and thru now.
 

Similar Topics

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
112
Hardware: 5069-L320ERMS2 Software: Logix Designer 35.11 / Ignition 8.1 Issue: When attempting to write to the tag "HMI_DRV200_DynamicTrim" in...
Replies
5
Views
757
Hi, I'm using Control Expert (a.k.a Unity Pro) to program M340 PLC. I am looking for a patch to fix what I think is a bug in PLC library. Please...
Replies
10
Views
1,000
Hi, does anyone have experience with the Off Delay Long Timer function in GX works 3, I need a PV greater than T#2147483ms If I use Long Timer...
Replies
7
Views
1,220
Hi. I haven't touched RSLogix since at least 10 years and I'm a little lost. I spent most of these years on Unity Pro. but now the customer...
Replies
3
Views
632
Back
Top Bottom