April 28, 2020

Motor Start/Stop operation with trip indication lamp

Application:-There is one machine in the factory, we want to start/stop motor using push button g from the panel. Give motor ON lamp and motor trip lamp on the panel. When motor is running ON lamp should be ON and if motor trip due to some problem, trip lamp should be ON. Write the PLC program in LAD and FBD language.
Solution:-Here we will make PLC program in the PLC so operator can operate motor from the panel and get indication on the panel. And also we will take inputs signal and outputs for our application

Diagram:-

 
PLC Program:-Write the PLC program from above application using LAD diagram language.



PLC program explanation:-
As per our application we wrote PLC program. In this program we have considered following inputs and outputs for our application. We can use any make PLC for our application.
Inputs:-
Start Button:-I0.0
Stop Button:-I0.1
Trip Input:-I0.2
Outputs:-
Motor:-Q0.0
Motor On Lamp: Q0.1
Trip Lamp:-Q0.2
Network 1:-In this network we are starting and stopping motor by push button. By pressing Start (I0.0) motor can be started and by pressing stop PB (I0.1), motor (Q0.0) can be stopped.
Network 2:-In this network we wrote the logic for motor ON lamp or indication (Q0.1). SO when motor is running, Motor ON lamp is also ON.
Network 3:-For safety purpose we have considered here trip lamp (Q0.2). So when trip signal (I0.2) is ON, trip lamp is also ON.

April 19, 2020

Analog signal concept

Selecting Analog Sensors: 0-10 VDC, 4-20mA, and 0-20mA

This guide explores the fundamental concepts behind selecting analog sensors with voltage and current outputs for Programmable Logic Controller (PLC) systems. We will delve into the distinctions between these signal types and provide clear guidelines for their application.



What You Will Learn:

  • Understand the core concepts of voltage and current sensor feedback.

  • Differentiate between voltage and current input signals in industrial applications.

  • Explore the reasons for preferring 4-20mA signals over 0-20mA signals.

  • Learn why current signals are often favored over voltage signals for analog feedback.

  • Gain straightforward guidelines for selecting analog output straight position sensors.


Understanding Analog Output Position Sensors: Voltage vs. Current

While a wide scope of advanced sensor interface types like fieldbus protocols (e.g., Profibus, EtherCAT) and synchronous serial interfaces are available, direct position sensors with basic analog outputs (0-10V, 4-20mA) still account for a significant portion (approximately 66%) of all straight position sensors sold.

When selecting a basic analog output position sensor, your choice typically narrows down to a straightforward voltage signal (e.g., 0 to 10 VDC) or a basic current signal (e.g., 4 to 20 mA or 0 to 20 mA). Let's examine the characteristics of each.

Selection of 0-10 VDC Sensors in PLC Systems

The 0-10VDC signal is a widely recognized and commonly used sensor interface in industrial automation.

Advantages of 0-10 VDC Sensors:

  • Widespread Compatibility: It is a ubiquitous standard, readily accepted by almost every modern PLC or industrial controller.

  • Ease of Troubleshooting: Its direct voltage measurement often makes it simpler to troubleshoot with a standard multimeter.

  • Simplicity: Conceptually, it's a straightforward signal type.

Disadvantages of 0-10 VDC Sensors:

  • Vulnerability to Electrical Noise: All analog signals are susceptible to electrical interference. 0-10V signals are particularly vulnerable to noise induced by nearby devices such as motors, relays, and "noisy" power supplies, which can degrade signal integrity.

  • Susceptibility to Voltage Drop: Over long cable runs, the 0-10V signal can experience significant voltage drops due to wire resistance. This leads to inaccurate readings at the PLC input, as the voltage arriving at the controller will be lower than that at the sensor output.

Selection of 4-20mA or 0-20mA Sensors in PLC Systems

Current-based signals like 4-20mA and 0-20mA are generally more robust for industrial environments.

Advantages of 4-20mA/0-20mA Sensors:

  • Enhanced Noise Immunity: Current signals offer superior immunity to electrical interference compared to voltage signals. This is because current loops are less affected by voltage fluctuations or noise picked up along the cable.

  • Reduced Signal Loss over Long Distances: Current signals are less susceptible to signal degradation and voltage drops over long cable runs. The current remains relatively constant throughout the loop, ensuring accuracy at the receiver end regardless of wire resistance (within the loop's compliance voltage limits).

  • Wider Controller Acceptance: Increasingly, modern industrial controllers and PLCs are designed to readily accept current signals, recognizing their inherent advantages.

Specific Advantages of 4-20mA over 0-20mA:

The 4-20mA signal provides a significant advantage over the 0-20mA signal due to its "live zero" or "bumble condition area" capability.

  • Built-in Fault Detection: With a 4-20mA signal, a 0% measurement (e.g., zero position) is represented by a 4mA current. If the signal ever drops to 0mA, it unambiguously indicates a fault condition, such as a broken wire, sensor failure, or power loss. This allows for immediate fault detection and system safety.

  • Clear Zero Indication: The sensor is still actively providing a signal even at its lowest measured value. This is a critical distinction from a 0-10V sensor, where 0V could mean either a true zero measurement or a complete sensor failure, making fault detection more ambiguous.

Disadvantages of 4-20mA/0-20mA Sensors:

  • Slightly Higher Cost: Historically, 4-20mA sensors could be marginally more expensive than their 0-10V counterparts. However, this cost differential is continuously decreasing as more sensor manufacturers integrate current-output capabilities as a standard feature.

  • More Complex Troubleshooting (initially): While robust, troubleshooting current loops can sometimes require a different approach or specialized tools compared to simple voltage checks.

Why Use Current Signal Instead of Voltage Signal?

In summary, current signals (like 4-20mA) are generally preferred over voltage signals (like 0-10V) for analog feedback in industrial environments due to their:

  1. Superior Noise Immunity: Less affected by electromagnetic interference.

  2. Reliability Over Distance: Minimal signal degradation over long cable runs.

  3. Built-in Fault Detection (especially 4-20mA): The "live zero" allows for clear distinction between a true zero measurement and a system fault.

April 13, 2020

Inductive proximity sensor working and fundamentals


Inductive Sensors

Inductive sensors use flows incited by attractive fields to identify close by metal objects. The inductive sensor utilizes a curl (an inductor) to produce a high recurrence attractive field as appeared as shown in Figure. On the off chance that there is a metal item close to the changing attractive field, current will stream in the article.

This subsequent current stream sets up another attractive field that restricts the first attractive field. The net impact is that it changes the inductance of the loop in the inductive sensor. By estimating the inductance the sensor can decide at the point when a metal have been brought close by.

These sensors will detect any metals, when detecting multiple types of metal multiple sensors are often used.















capacitve sensor basic principle

Capacitive Sensors fundamentals

Capacitance is ordinarily estimated in a roundabout way, by utilizing it to control the recurrence of an oscillator, or to differ the degree of coupling (or weakening) of an AC signal.

The structure of a straightforward capacitance meter is frequently founded on an unwinding oscillator. The capacitance to be detected structures a bit of the oscillator's RC circuit or LC circuit. Fundamentally the system works by accusing the obscure capacitance of a known current.

Capacitance equation,

C= Ak/d.



C= Ak/d

Where, C = capacitance (Farads)

k = dielectric constant

A = area of plates

d = distance between plates (electrodes)














The capacitance can be determined by estimating the charging time required to arrive at the edge voltage (of the unwinding oscillator), or equally, by estimating the oscillator's recurrence. Both of these are corresponding to the RC (or LC) time steady of the oscillator circuit. A shown in figure capacitance will change as per the dielectric constant change.



April 4, 2020

Reed switches fundamentals and working principle



Reed switches are very similar to relays, besides a permanent magnet is used in place of a twine Coil. When the magnet is a ways away the switch is open, however when the magnet is introduced close to the transfer is closed as shown in figure. This switches are cheap can be purchased easily. They are normally used for protection monitors and doorways because they may be tougher to ’trick’ than other sensors.


With this device the magnet is moved toward the reed transfer. Because it gets closer the switch will near. This allows proximity detection without contact, however Calls for that a separate magnet be attached to a shifting part.

Shrinking and Sourcing Concept

Shrinking and Sourcing Concept
While choosing the form of enter or output module on your PLC, it's far very critical to have a stable understanding of sinking and sourcing ideas. Use of those phrases happens frequently in dialogue of input or output circuits. It's far the intention of this publish to make these principles smooth to apprehend, so you can make the right preference the primary time when selecting the kind of I/O factors in your software.
First you'll word that the diagrams in this page are related to simplest DC circuits and now not AC, due to the reference to (+) and (-) polarities. Therefore, sinking and sourcing terminology applies simplest to DC enter and output circuits.
Input and output factors which are sinking or sourcing can behavior current in a single direction only. This means its miles viable to connect the outside supply and field tool to the I/O factor, with present day trying to go with the flow within the wrong path, and the circuit will not perform. But, the supply and discipline device can be related on every occasion based on an understanding of sourcing and sinking.
The determine underneath depicts a sinking input. To properly connect the outside supply, it must be linked so the enter gives a course to deliver not unusual (-). So, begin on the percent enter terminal, observe through the enter sensing circuit, go out at the not unusual terminal, and connect the supply (-) to the common terminal. By means of adding the transfer between the supply (+) and the input, the circuit is completed. Modern flows in the course of the arrow when the switch is closed.
Simply Shrinking type is positive logic or PNP in case of inputs and sourcing type is negative logic or NPN logic.



April 1, 2020

Transistor Transitor Logic signals in PLC

Transistor Transitor Logic signals in PLC


Transistor-Transistor Logic (TTL) depends on two voltage levels, 0V for bogus and 5V for genuine. The voltages can really be marginally bigger than 0V, or lower than 5V and still be recognized effectively. 
This strategy is truly powerless to electrical clamor on the plant floor, and should possibly be utilized when fundamental. 
TTL outputs are basic on electronic gadgets and PCs, and will be fundamental once in a while. When interfacing with different device straightforward circuits can be utilized to improve the sign, for example, the Schmitt trigger as shown in figure.


A Schmitt trigger will receive an input voltage between 0-5V and convert it to 0V or 5V. If the voltage is in an ambiguous range, about 1.5-3.5V it will be ignored.

If a sensor has a TTL output the PLC must use a TTL input card to read the values. If the TTL sensor is being used for other applications it should be noted that the maximum current output is normally about 20mA.

Sensor output as switches and relay


At the point when a sensor identifies a consistent change it must flag that change to the PLC. This is commonly done by turning a voltage or current on or off. Now and again the yield of the sensor is used to switch a heap straightforwardly, totally disposing of the PLC. Ordinary outputs from sensors (and contributions to PLCs) are recorded beneath in relative ubiquity.

Some outputs from sensors:-


Sinking/Sourcing

Plain Switches -

Strong State Relays

TTL (Transistor Logic) 

In the figure a NO contact switch is associated with input '02'. A sensor with a hand-off yield is additionally appeared. The sensor must be powered independently, thusly the 'V+' and 'V-' terminals are associated with the force supply. The output of the sensor will become dynamic when a wonder has been identified. This implies the interior switch (most likely a relay) will be shut permitting current to stream and the positive voltage will be applied to include '06'.

March 31, 2020

Relay Logic Fundamental and working

The two vertical lines that interface all gadgets on the transfer rationale chart are named L and N. The space somewhere in the range of L and N speaks to the voltage of the control circuit.

Devices are constantly associated with N. Any electrical over-burdens that are to be incorporated must be appeared between the yield gadget and N; in any case, the yield gadget must be the last segment before N.

Control gadgets are constantly appeared among L1 and the yield gadget. Control gadgets might be associated either in arrangement or in corresponding with one another.

Devices which play out a STOP work are normally associated in arrangement, while gadgets that play out a START work are associated in equal.

Electrical gadgets are appeared in their typical conditions. A NC contact would be appeared as typically shut, and a NO contact would show up as an ordinarily open gadget. All contacts related with a gadget will change state when the gadget is invigorated. 
Figure 1 shows a run of the mill hand-off rationale chart. Right now, STOP/START station is utilized to control two pilot lights. At the point when the START button is squeezed, the control transfer stimulates and its related contacts change state. The green pilot light is currently ON and the red light is OFF. At the point when the STOP button is squeezed, the contacts come back to their resting state, the red pilot light is ON, and the green switches OFF.

March 30, 2020

Functional Levels of a manufacturing control operation

SCADA system has the facility to handle different levels in the manufacturing plant. 


Level 0:-Level 0 contains the field devices in the plant such as flow and temperature sensors, and final control elements, such as control valves, final control elements.

Level 1:- Level 1 contains the controller’s industrialized input/output (I/O) modules, and their associated distributed electronic processors.

Level 2:-Level 2 contains the supervisory computers, which collect information from processor nodes on the system, and provide the operator control screens.

Level 3:- Level 3 is the production control level, which does not directly control the process, but is concerned with monitoring production and targets.

Level 4:- Level 4 is the production scheduling level.