Previous in Forum: choked flow   Next in Forum: AIR SET & ACTUATOR IN CONTROL VALVE
Close
Close
Close
7 comments
Rate Comments: Nested
Anonymous Poster

ladder logic for level transmitter

05/26/2008 5:53 AM

How can I program a PLC (ladder logic) for a level transmitter (4-20mA) to reflect the level of the ore in the tank and to turn off a motor when the level is less than or equal to 15%

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
Hobbies - Musician - Engineering Fields - Chemical Engineering - New Member Engineering Fields - Control Engineering - New Member Engineering Fields - Instrumentation Engineering - New Member

Join Date: Jan 2007
Location: Moses Lake, WA, USA, Thulcandra - The Silent Planet (C.S. Lewis)
Posts: 4216
Good Answers: 194
#1

Re: ladder logic for level transmitter

05/26/2008 4:06 PM

What Ladder Logic programmer are you using?

Does the PLC itself have 4-20mA analog inputs?

Does the PLC have Relay Outputs?

If you are using either CScape (Horner) or Cimplicity/Proficy (GE Fanuc) I could probably send you an image of a simple ladder diagram to do this.

Mike

__________________
"Reason is not automatic. Those who deny it cannot be conquered by it. Do not count on them. Leave them alone." - Ayn Rand
Reply
Participant

Join Date: May 2008
Posts: 1
#5
In reply to #1

Re: ladder logic for level transmitter

05/27/2008 7:37 AM

1. RSlogix 5000 and/ 500

2. The PLC has a 4-20mA analog inputs and relay outputs

However, I will still welcome any ladder logic diagrams from any programmer and use that idea for the rests.

Thanks Mikerho

Reply
Power-User

Join Date: May 2008
Location: Europe
Posts: 285
Good Answers: 9
#2

Re: ladder logic for level transmitter

05/27/2008 1:55 AM

Dear Guest, Am I correct in assumming that you have a PLC with the level transmitter and motor already connected and you want to make this modification ? If so then if you could forward the make/ model then you will find assistance here on CR4.

Kind Regards

Reply
Anonymous Poster
#6
In reply to #2

Re: ladder logic for level transmitter

05/27/2008 7:50 AM

The make of the PLC is allen bradley and the level transmitter is a radar from www.vega.com. Besides the motor is an ABB (22kW) model.

Regards

Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#3

Re: ladder logic for level transmitter

05/27/2008 3:48 AM
  • Range the input signal 4-20mA into 0-100% engineering units
  • Raise an out-of-range error if the signal is <0% or >100%
  • Compare the input in engineering units with 15% and use that to drive the motor

3 rungs. Maybe less.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Reply
Power-User

Join Date: May 2008
Location: Europe
Posts: 285
Good Answers: 9
#4

Re: ladder logic for level transmitter

05/27/2008 3:58 AM

Some PLC's contain internal function blocks for what you require, you just put in the required scale, raw value (analog channel), a couple of more parameters and it will return the scaled value. It will also indicate error conditions (<0% and >100%). This information will be contained in the PLC documentation.

Reply
Guru

Join Date: Nov 2007
Location: Eastern Arizona mountains on Route 666 about a mile from God's country
Posts: 1676
Good Answers: 122
#7

Re: ladder logic for level transmitter

05/27/2008 12:16 PM

Set up a rung with an analog (4-20mA) input for the ore level (condtioned upon your equipment start permissive logic directly to the enable input) to a geater-than (relational) block PV with the output of the GT (greater-than) connected to a "Set" bit/coil. This would be to Start the motor when GT 15%.

Do the same type of logic on the next rung and use the same ore level analog (4-20mA) to feed a Less-than-or-equal-to" LE block with the output of the LE going to the "Reset" of the same bit/coil used to start the motor.

You will need to program a "deadband" of operation into your logic to prevent "short-cycling" of the motor which will severely shorten the life of the motor. This "deadband" must be based upon the motor nameplate DATA and "duty-cycle" rating.

The next rung would be a series logic bit string that uses the "Set-Reset" bit/coil connected to a discrete output that switches the motor control circuit.

The analog PV value from the 4-20mA ore level must be either linked to an HMI graphic display tag or in series with an analog display meter scaled to properly reflect/display the level in 0 -100% or 0-xxFt.

If you are not using a HMI graphics display, you may contact any display meter manufacturer and they will be more than happy to create whatever scale on the display meter you need.

Please keep in mind that you may need to "condition/filter" the analog signal if the dynamics and/or noise is excessive in your circuit wiring.

You may also want to "truncate" the analog PV value before displaying to provide a whole number if decimal points are not needed.

Also if you are using "seal-in" / maintained motor stop logic, you will need to add a separate rung dedicated for the stop logic.

Good luck!

__________________
They said; "Brain size?" I heard; "Train size?" so I said: "I'll take a small one, thank you."
Reply
Reply to Forum Thread 7 comments
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); dee boy (1); HoleInTheSnow (2); Mikerho (1); PWSlack (1); SHOCKHISCAN (1)

Previous in Forum: choked flow   Next in Forum: AIR SET & ACTUATOR IN CONTROL VALVE

Advertisement