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

Wood Sawing and Blower System: PLC Control Design
Configuring and Usage of Cyclic Interrupts TIA Portal (OB 30+)
Documentation and Change Control of PLC or DCS Systems
How to Create New Project in Studio 5000?
PLC Timer Programming Examples – TON, TOF, TP and TONR
Types of Script in Intouch Scada
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

PLC Program for Automatic Parameter Initialization When Power UP
How to Prevent Ground Loops in Analog Circuits?
Safety PLC Coding Practices – Programming Recommendations
Types of Cables used in Industrial Automation
DCS Commissioning Steps
PLC System Documentation
PLC or DCS Control System Spares
Concept of Interlocking in PLC

Keep Learning

Sorting Defective Parts PLC Logic

Advanced PLC Programming for Defective Parts Sorting

Complementary Split Range Control

What is Complementary Split Range Control (CSRC)?

Gate Array Logic using PLC

PLC Program to Simulate Gate Array Logic

PLC Battery

Everything You Need to Know About PLC Battery

What is RS Linx - Types of Softwares in Rockwell Automation

What is RS Linx? Types of Software in Rockwell Automation

Midline output instruction

What is Midline Instruction in Siemens PLC?

Control Methods in Servo Motor Drives

Various Control Methods in Servo Motor Drives

What is the consumed tag in Studio 5000 software?

Produced Tags and Consumed Tags in Studio 5000

Learn More

Faults in a Transformer

Function Block Program Simulation

What are Functions in PLC Programming? (FCs)

Types of Potentiometers

Types of Potentiometers – What is a Potentiometer? – Applications

Electrical Machines Questions and Answers

DC Machine Quiz

Power Systems Questions & Answers

Power Systems MCQ Series 18

Types of Failures in Industrial Automation Systems

Types of Failures in Industrial Automation Systems

Pump and Mixer Operations Example PLC Timer-Based Control

Pump and Mixer Operations Example: PLC Timer-Based Control

what-is-gas-metering-system

What is Gas Metering System?

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?