for all the controllogix xsperts (function block help)

ghriver

Member
Join Date
Aug 2002
Location
Earth>North America>US>CA>Hanford
Posts
65
Ok got an easy one. i have a scaled (4-20) signal scaled with the scl block in controllogix. the scaled output (0-100 tank level %) is used in ladder to do a pump up pump down (start pumping when tank level reaches 50% then latch in until tank pumps down to 20%). In ladder this is real easy. How would i do this in function block so i can keep it all together?
 
Haven't tested this, but I think it will work....

FBD.jpg
 
thx, that will work, i was hoping there was some instruction i was missing to make it less cluttered and easier to trouble shoot. I guess i will stick to the logic to do it. Well maybe not, I use the function block and see if anyone complains. :)

Thx again.
 
Thanks Gerry. I'm an old PLC5 guy who has only recently entered the ControlLogix world. The SETD block is a much more elegant solution than my And/Or logic. The ALM block will also work by setting the high alarm limit at 50 and the deadband to 30. But visually, the SETD is the better solution.

This old dog still likes to try new tricks.
 
Right click on the output of the BOR block and check "Assume Data Available" and it will compile.

I think Gerry has a better solution.
 
Here's how you could do it using the ALM block:

OnOffLevelController_.png



Attached is the above logic wrapped as an AddOn (remove the .txt extension to import)

-Trevor
 
Last edited:
danny.michael said:
Here is the logic for the SETD block:

FBD1.jpg


danny

use RESD inplace of SETD for safety conditions you have to stop based on emergency PB & OLR



Here the difference is

RESD

The Reset input has precedence over the Set input.

SETD

Set input has precedence over the Reset input.
 

Similar Topics

Why does the controllogix redundancy modules use a single mode fiber vs multimode fiber?
Replies
1
Views
80
Hello, I have two 16 point input cards and 1 16 point output card showing module faulted on my IO tree in Logix Designer. The fault code is...
Replies
7
Views
214
Hello, My associate and I are trying to sync up two ControlLogix racks (7-slot chassis) with identical modules. We are able to see the secondary...
Replies
4
Views
193
Trying to setup a message read via Ethernet. I have the path setup as 1, 1, 2, 192.168.66.10 I get an error code 1, ext err 315. I am beating...
Replies
9
Views
231
I have a redundant ControlLogix being set up. This program reads a value from a remote site which happens to be SLC PLC. Rockwell mentions SLC...
Replies
2
Views
96
Back
Top Bottom