Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

71%
+3 −0
Q&A How do PLCs normally measure 4-20mA current loops?

You should not be relying on the internal circuitry of whatever senses the 4-20 mA current. Note that the two implementations you show both use current sense resistors. The only difference is the...

posted 2y ago by Olin Lathrop‭  ·  edited 2y ago by Olin Lathrop‭

Answer
#4: Post edited by user avatar Olin Lathrop‭ · 2022-04-26T12:41:48Z (almost 2 years ago)
  • You should not be relying on the internal circuitry of whatever senses the 4-20 mA current. Note that the two implementations you show both use current sense resistors. The only difference is their value.
  • I have designed several current-sense front ends, although none were inside a PLC. The customer gets a spec for accuracy and maximum voltage drop. I would have been reluctant in some cases to provide any further specs because that would have limited future options. The maximum voltage drop is all that the customer <i>should</i> care about. How I might use that voltage range isn't anyone else's business.
  • For example, I used a 220 &Omega; resistor in one case where the voltage was fed directly into the A/D of a microcontroller running on 5 V. The next iteration might have used a 3.3 V micro, or a separate A/D for higher resolution or accuracy. Someone who relied on an unspecified value, like 220 &Omega; input resistance, would have had trouble with the new version, even though the new version is fully backwards compatible with the previous according to all published specs.
  • The answer to your question is <i>"Don't do it that way"</i>. This is clearly an X-Y problem since you are asking about an imagined solution instead of describing the actual problem.
  • Pop up a few levels and describe the real problem in a separate question. It seems you have a set of signals, and you want a PLC to determine how many of them are asserted at any one time. Tell us more about these signals, their voltage levels, AC/DC, whether isolation is really required, how much current they can support, etc. There are several options that come to mind, but I don't want to guess at answers that would not meet criteria that are not yet stated.
  • <hr>
  • <blockquote>My "actual" problem is that I've delivered a 24V relay system and the customer changed their mind and wishes to have a PLC with 4-20mA inputs instead</blockquote>
  • That's definitely better than what you asked originally. Apparently you're stuck with relay outputs, and a PLC needs to be able to read the number of asserted relays via a 4-20 mA input. If that's correct, ask that as a separate question. I can think of some possibilities that don't relay on how exactly the PLC implements current measurement.
  • You should not be relying on the internal circuitry of whatever senses the 4-20 mA current. Note that the two implementations you show both use current sense resistors. The only difference is their value.
  • I have designed several current-sense front ends, although none were inside a PLC. The customer gets a spec for accuracy and maximum voltage drop. I would have been reluctant in some cases to provide any further specs because that would have limited future options. The maximum voltage drop is all that the customer <i>should</i> care about. How I might use that voltage range isn't anyone else's business.
  • For example, I used a 220 &Omega; resistor in one case where the voltage was fed directly into the A/D of a microcontroller running on 5 V. The next iteration might have used a 3.3 V micro, or a separate A/D for higher resolution or accuracy. Someone who relied on an unspecified value, like 220 &Omega; input resistance, would have had trouble with the new version, even though the new version is fully backwards compatible with the previous according to all published specs.
  • The answer to your question is <i>"Don't do it that way"</i>. This is clearly an X-Y problem since you are asking about an imagined solution instead of describing the actual problem.
  • Pop up a few levels and describe the real problem in a separate question. It seems you have a set of signals, and you want a PLC to determine how many of them are asserted at any one time. Tell us more about these signals, their voltage levels, AC/DC, whether isolation is really required, how much current they can support, etc. There are several options that come to mind, but I don't want to guess at answers that would not meet criteria that are not yet stated.
  • <hr>
  • <blockquote>My "actual" problem is that I've delivered a 24V relay system and the customer changed their mind and wishes to have a PLC with 4-20mA inputs instead</blockquote>
  • That's definitely better than what you asked originally. Apparently you're stuck with relay outputs, and a PLC needs to be able to read the number of asserted relays via a 4-20 mA input. If that's correct, ask that as a separate question. I can think of some possibilities that don't rely on how exactly the PLC implements current measurement.
#3: Post edited by user avatar Olin Lathrop‭ · 2022-04-26T12:01:34Z (almost 2 years ago)
  • You should not be relying on the internal circuitry of whatever senses the 4-20 mA current. Note that the two implementations you show both use current sense resistors. The only difference is their value.
  • I have designed several current-sense front ends, although none were inside a PLC. The customer gets a spec for accuracy and maximum voltage drop. I would have been reluctant in some cases to provide any further specs because that would have limited future options. The maximum voltage drop is all that the customer <i>should</i> care about. How I might use that voltage range isn't anyone else's business.
  • For example, I used a 220 &Omega; resistor in one case where the voltage was fed directly into the A/D of a microcontroller running on 5 V. The next iteration might have used a 3.3 V micro, or a separate A/D for higher resolution or accuracy. Someone who relied on an unspecified value, like 220 &Omega; input resistance, would have had trouble with the new version, even though the new version is fully backwards compatible with the previous according to all published specs.
  • The answer to your question is <i>"Don't do it that way"</i>. This is clearly an X-Y problem since you are asking about an imagined solution instead of describing the actual problem.
  • Pop up a few levels and describe the real problem in a separate question. It seems you have a set of signals, and you want a PLC to determine how many of them are asserted at any one time. Tell us more about these signals, their voltage levels, AC/DC, whether isolation is really required, how much current they can support, etc. There are several options that come to mind, but I don't want to guess at answers that would not meet criteria that are not yet stated.
  • You should not be relying on the internal circuitry of whatever senses the 4-20 mA current. Note that the two implementations you show both use current sense resistors. The only difference is their value.
  • I have designed several current-sense front ends, although none were inside a PLC. The customer gets a spec for accuracy and maximum voltage drop. I would have been reluctant in some cases to provide any further specs because that would have limited future options. The maximum voltage drop is all that the customer <i>should</i> care about. How I might use that voltage range isn't anyone else's business.
  • For example, I used a 220 &Omega; resistor in one case where the voltage was fed directly into the A/D of a microcontroller running on 5 V. The next iteration might have used a 3.3 V micro, or a separate A/D for higher resolution or accuracy. Someone who relied on an unspecified value, like 220 &Omega; input resistance, would have had trouble with the new version, even though the new version is fully backwards compatible with the previous according to all published specs.
  • The answer to your question is <i>"Don't do it that way"</i>. This is clearly an X-Y problem since you are asking about an imagined solution instead of describing the actual problem.
  • Pop up a few levels and describe the real problem in a separate question. It seems you have a set of signals, and you want a PLC to determine how many of them are asserted at any one time. Tell us more about these signals, their voltage levels, AC/DC, whether isolation is really required, how much current they can support, etc. There are several options that come to mind, but I don't want to guess at answers that would not meet criteria that are not yet stated.
  • <hr>
  • <blockquote>My "actual" problem is that I've delivered a 24V relay system and the customer changed their mind and wishes to have a PLC with 4-20mA inputs instead</blockquote>
  • That's definitely better than what you asked originally. Apparently you're stuck with relay outputs, and a PLC needs to be able to read the number of asserted relays via a 4-20 mA input. If that's correct, ask that as a separate question. I can think of some possibilities that don't relay on how exactly the PLC implements current measurement.
#2: Post edited by user avatar Olin Lathrop‭ · 2022-04-25T13:38:50Z (about 2 years ago)
  • You should not be relying on the internal circuitry of whatever senses the 4-20 mA current. Note that the two implementations you show both use current sense resistors. The only difference is their value.
  • I have designed several current-sense front ends, although none were inside a PLC. The customer gets a spec for accuracy and maximum voltage drop. I would have been reluctant in some cases to provide any further spec because that would have limited future options. The maximum voltage drop is all that the customer <i>should</i> care about. How I might use that voltage range isn't anyone else's business.
  • For example, I used a 220 &Omega; resistor in one case where the voltage was fed directly into the A/D of a microcontroller running on 5 V. The next iteration might have used a 3.3 V micro, or a separate A/D for higher resolution or accuracy. Someone who relied on an unspecified value, like 220 &Omega; input resistance, would have had trouble with the new version, even though the new version is fully backwards compatible with the previous according to all published specs.
  • The answer to your question is <i>"Don't do it that way"</i>. This is clearly an X-Y problem since you are asking about an imagined solution instead of describing the actual problem.
  • Pop up a few levels and describe the real problem. It seems you have a set of signals, and you want a PLC to determine how many of them are asserted at any one time. Tell us more about these signals, their voltage levels, AC/DC, whether isolation is really required, how much current they can support, etc. There are several options that come to mind, but I don't want to guess at answers that would not meet criteria that are not yet stated.
  • You should not be relying on the internal circuitry of whatever senses the 4-20 mA current. Note that the two implementations you show both use current sense resistors. The only difference is their value.
  • I have designed several current-sense front ends, although none were inside a PLC. The customer gets a spec for accuracy and maximum voltage drop. I would have been reluctant in some cases to provide any further specs because that would have limited future options. The maximum voltage drop is all that the customer <i>should</i> care about. How I might use that voltage range isn't anyone else's business.
  • For example, I used a 220 &Omega; resistor in one case where the voltage was fed directly into the A/D of a microcontroller running on 5 V. The next iteration might have used a 3.3 V micro, or a separate A/D for higher resolution or accuracy. Someone who relied on an unspecified value, like 220 &Omega; input resistance, would have had trouble with the new version, even though the new version is fully backwards compatible with the previous according to all published specs.
  • The answer to your question is <i>"Don't do it that way"</i>. This is clearly an X-Y problem since you are asking about an imagined solution instead of describing the actual problem.
  • Pop up a few levels and describe the real problem in a separate question. It seems you have a set of signals, and you want a PLC to determine how many of them are asserted at any one time. Tell us more about these signals, their voltage levels, AC/DC, whether isolation is really required, how much current they can support, etc. There are several options that come to mind, but I don't want to guess at answers that would not meet criteria that are not yet stated.
#1: Initial revision by user avatar Olin Lathrop‭ · 2022-04-25T12:00:55Z (about 2 years ago)
You should not be relying on the internal circuitry of whatever senses the 4-20 mA current.  Note that the two implementations you show both use current sense resistors.  The only difference is their value.

I have designed several current-sense front ends, although none were inside a PLC.  The customer gets a spec for accuracy and maximum voltage drop.  I would have been reluctant in some cases to provide any further spec because that would have limited future options.  The maximum voltage drop is all that the customer <i>should</i> care about.  How I might use that voltage range isn't anyone else's business.

For example, I used a 220 &Omega; resistor in one case where the voltage was fed directly into the A/D of a microcontroller running on 5 V.  The next iteration might have used a 3.3 V micro, or a separate A/D for higher resolution or accuracy.  Someone who relied on an unspecified value, like 220 &Omega; input resistance, would have had trouble with the new version, even though the new version is fully backwards compatible with the previous according to all published specs.

The answer to your question is <i>"Don't do it that way"</i>.  This is clearly an X-Y problem since you are asking about an imagined solution instead of describing the actual problem.

Pop up a few levels and describe the real problem.  It seems you have a set of signals, and you want a PLC to determine how many of them are asserted at any one time.  Tell us more about these signals, their voltage levels, AC/DC, whether isolation is really required, how much current they can support, etc.  There are several options that come to mind, but I don't want to guess at answers that would not meet criteria that are not yet stated.