Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: PLC Analog I/O Potential Problems – Troubleshooting & Issues
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > PLC Analog I/O Potential Problems – Troubleshooting & Issues

PLC Analog I/O Potential Problems – Troubleshooting & Issues

This section covers the PLC Analog I/O Potential Problems and PLC troubleshooting tips for the basic programmable logic controller (PLC).

Last updated: November 2, 2023 3:29 pm
Editorial Staff
PLC Tutorials
1 Comment
Share
7 Min Read
SHARE

Analog I/O is generally handled internally to the PLC as register values. For most PLCs the values can be mathematically manipulated using software math operations.

Contents
PLC Potential ProblemsExample ProblemSolutionAnalog I/O ProblemsConstant Offset ErrorPercentage Offset ErrorUnstable Reading

PLC Potential Problems

For more powerful PLCs, these can be done in binary, octal, decimal or hexadecimal arithmetic.

However, in the lower cost PLCs, the PLC may be limited in the number systems it is capable of handling, so designer may be forced to work in a number system other then decimal.

When this occurs, simple conversions between the PLC’s number system and decimal will allow the designer to verify input values and program output values.

Example Problem

A voltage of 3.500 volts is applied to an 8-bit 5 volt unipolar analog input of a PLC. Using monitor software, the PLC analog input register shows a value of 2638. Is the analog input working correctly?

Solution

First, convert 2638 to decimal. It would be 2 x 82 + 6 x 81 + 3 x 80 = 179. For an 8-bit

5 volt unipolar converter, 179 would correspond to 179 x 5 / 28 = 3.496 volts.

Since the resolution is 5 / 28 = 0.0195 volts, the result is within ½ of a bit and is therefore correct.

Analog I/O Problems

After installing an analog input system, it sometimes becomes apparent that there are problems.

Generally these problems occur in analog inputs and fall into three categories, a constant offset error, percentage offset error, or an unstable reading.

Constant Offset Error

Constant offset errors appear as an error in which you find that the correct values always differ from the measured values by an additive (or subtractive) constant. It is also accompanied by a zero error (where zero volts is not measured as zero).

Although there are many potential causes for this, the most common is that the analog input is sharing a ground circuit with some other device. The other device is drawing significant current through the ground such that a voltage drop appears on the ground conductor.

Since the analog input is also using the ground, the voltage drop appears as an additional analog input.

This problem can be avoided by making sure that all analog inputs are 2-wire inputs and both of the wires extend all the way to the source.

Also, the negative (-) wire of the pair should only be grounded at one point (called single point grounding).

Care should be taken here because many analog sensors have a negative (-) output wire that is grounded inside the sensor.

This means that if you ground the negative wire at the analog input also, you will create the potential for a ground loop with its accompanying voltage drop and analog input error.

Percentage Offset Error

This type of error is also called gain error. This is apparent when the measured value can be corrected by multiplying it by a constant.

It can be caused by a gain error in the analog input, a gain error in the sensor output, or most likely, loading effect caused by interaction between the output resistance of the sensor and the input resistance of the analog input.

Also, if a resistive voltage divider is used on the input to reduce a high voltage to a voltage that is within the range of the analog input, an error in the ratio of the two resistors will produce this type of problem.

Unstable Reading

This is also called a noisy reading. It appears in cases where the source voltage is stable, but the measured value rambles, usually around the correct value. It is usually caused by external noise entering the system before it reaches the analog input.

There are numerous possible reasons for this; however, they are all generally caused by electromagnetic or electrostatic pickup of noise by the wires connecting the signal source to the analog input.

When designing a system with analog inputs (or troubleshooting a system with this type of problem), remember that the strength of an electromagnetic field around a current carrying wire is directly proportional to the current being carried by the wire and the frequency of that current.

If an analog signal wire is bundled with or near a wire carrying high alternating currents or high frequency signals, it is likely that the analog signal wires will pickup electrical noise. There are some standard design practices that will help reduce or minimize noise pickup.

For the analog signal wiring, use twisted pair shielded cable. The twisted pair will cause electromagnetic interference to appear equally in both wires which will be cancelled by the differential amplifier at the analog input.

The copper braid shield will supply some electromagnetic shielding and excellent electrostatic shielding. To prevent currents from circulating in the shield, ground the shield only on one end.

Use common sense when routing analog cables. Tying them into a bundle with AC line or controls wiring, or routing the analog wires near high current conductors or sources of high electromagnetic fields (such as motors or transformers) is likely to cause problems.

If all else fails, route the analog wires inside steel conduit. The steel has a high magnetic permeability and will shunt most if not all interference from external magnetic fields around the wires inside, thereby shielding the wires.

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Analog Input Sampling Logic
  • Process Control Loop Works
  • Certified Automation Professional
  • Digital Control Systems MCQ
  • Types of Diodes
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Control Algorithms in PLC Programming
Muting Functions of Safety Control Circuits – PLC Example
PID with Practical Example
What is a Data Block? Global Data Blocks in PLC
Repeat Until Statement in SCL Language
Control Speed of Induction Motor using Analog Output of PLC
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
1 Comment
  • Abdullah Khan says:
    January 22, 2017 at 11:29 am

    thanks a lots Sir really I analyze my self is improve please sir keep sharing….

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Communication Processor Module in Siemens PLC
Tank Filling and Emptying using Intouch Scada Script
How to use Masked Move Instruction in PLC
OPC in Old PLC Systems
What is Trace Function in Tia Portal?
PLC Program to Control a Water Pump
Forcing and Modifying PLC Logic
Split Range Control Application using PLC Ladder Logic

Keep Learning

PLC Programming Sequence Logic

PLC Programming to Control Lights in a Sequence

siemens plc db addressing

FB Block in Siemens PLC Programming

PLC Program for Analog Input Sampling

PLC Analog Input Sampling Ladder Logic

What is Profibus

All About Fieldbus Protocols

SCADA Systems

SCADA Systems

Factory IO PLC Course

Factory I/O PLC Automation Training Course (Free)

Complementary Split Range Control

What is Complementary Split Range Control (CSRC)?

Industrial Automation Projects

Evaluating Industrial Automation Projects Return on investment (ROI)

Learn More

Power Systems Operation and Control Interview questions

Power Systems Operation and Control Interview questions

Standard Operating Procedure

What is SOP and How to Create an SOP?

Auto Changeover Switch

What is an Auto Changeover Switch?

Emergency Shutdown Button Installation (ESD)

Understanding Emergency Shutdown Button Installation (ESD)

Difference between Single-phase and three-phase power supply

Difference between Single-phase and Three-phase Power

Difference between KW and KVA

Difference between KW and KVA

Continuity Testing using Multimeter

How to do Continuity Testing using Multimeter

phototransistor symbols

Phototransistor Working Principle

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?