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.


December 21, 2019

Open-loop and closed-loop (feedback) control


Fundamentally, there are two types of control loop;

1.     open loop control

2.     Closed loop feedback control.

In open loop control, the control action from the controller is independent of the "process output" (or "controlled process variable").

A good example of this is a central heating boiler controlled only by a timer, so that heat is applied for a constant time, regardless of the temperature of the building. (The control action is the switching on/off of the boiler. The process output is the building temperature).

In closed-loop control, the control action from the controller is dependent on the process output. In the case of the boiler analogy, this would include a thermostat to monitor the building temperature, and thereby feedback a signal to ensure the controller maintains the building at the temperature set on the thermostat.



A closed loop controller, therefore, has a feedback loop which ensures the controller exerts a control action to give a process output the same as the "Reference input" or "set point". For this reason, closed-loop controllers are also called feedback controllers.

The definition of a closed loop control system according to the British Standard Institution is 'a control system possessing monitoring feedback, the deviation signal formed as a result of this feedback being used to control the action of a final control element in such a way as to tend to reduce the deviation to zero.

Likewise, a Feedback Control System is a system which tends to maintain a prescribed relationship of one system variable to another by comparing functions of these variables and using the difference as a means of control.

The advanced type of automation that revolutionized manufacturing, aircraft, communications, and other industries, is feedback control, which is usually continuous and involves taking measurements using a sensor and making calculated adjustments to keep the measured variable within a set range. The theoretical basis of closed-loop automation is control theory.

December 20, 2019

Difference between discrete signals and analog signals:-


Digital Signal:-

Discrete (digital) signals behave as binary switches, yielding simply an ON or OFF signal (1 or 0, True or False, respectively).

Examples of digital signals:-Push buttons, limit switches, and photoelectric sensors are examples of devices providing a discrete signal.

Discrete signals are sent using either voltage or current, where a specific range is designated as ON and another as OFF.

For example, a PLC might use 24 V DC I/O, with values above 22 V DC representing ON, values below 2VDC representing OFF, and intermediate values undefined. Initially, PLCs had only digital I/O.



Analog Signal:-

Analog signals are like volume controls, with a range of values between zero and full-scale.

These are typically interpreted as integer values (counts) by the PLC, with various ranges of accuracy depending on the device and the number of bits available to store the data.

As PLCs typically use 16-bit signed binary processors, the integer values are limited between -32,768 and +32,767.

Examples of analog signal:-Pressure, temperature, flow, and weight are often represented by analog signals.

Analog signals can use voltage or current with a magnitude proportional to the value of the process signal. For example, an analog 0 to 10 V or 4-20 mA input would be converted into an integer value of 0 to 32767.

Current inputs are less sensitive to electrical noise (e.g. from welders or electric motor starts) than voltage inputs.

October 3, 2019

Create a Function for a valve Logic in siemens PLC

Learn how to create function (FC) in PLC using Simatic manager. Explanation using industrial valve example.


 https://instrumentationtools.com/create-function-for-valve-logic/

Creating FB block in simatic manager


Learn how to create FB block in Simatic manager. Explanation with example of industrial motor.



Click here for more detail.
 https://instrumentationtools.com/function-block-diagram-motor-control-logic/

DP master configuration in PLC

Learn how to configure profinet I/O system in PLC using Simatic manager.




Click here for more detail
 https://instrumentationtools.com/profinet-plc-configuration/

DP master system configuration in PLC

Configuring a PROFIBUS DP Master System in Siemens SIMATIC Manager

This guide outlines the steps to configure a PROFIBUS DP (Decentralized Peripherals) master system using Siemens SIMATIC Manager software. We will set up a PLC as the DP master and an IM module as a DP slave for communication.

Understanding the PROFIBUS DP Master System

A PROFIBUS DP master system is the central control unit responsible for managing communication with connected DP slave devices on a PROFIBUS network. It orchestrates data exchange, ensuring efficient and reliable communication between the PLC (master) and various I/O modules or field devices (slaves).


For this example, we will use a Siemens S7-300 PLC (specifically CPU 315-2 PN/DP) as the DP master and an IM 153-1 module as a DP slave device.

Configuration Steps in SIMATIC Manager:

  1. Configure the DP Master PLC:

    • First, open SIMATIC Manager and navigate to the hardware configuration.

    • From the hardware catalog, select and insert the CPU 315-2 PN/DP (or your chosen S7-300 CPU) into your project. This CPU will serve as our DP master system.

    • Once the CPU is added, the PROFIBUS DP master system line will be automatically created and associated with the CPU's integrated DP interface.

  2. Modify DP Master System Properties (Optional):

    • Click on the automatically generated DP master bus line in the hardware configuration.

    • In the properties window (typically at the bottom of the screen), you can modify various parameters of the DP master system, such as the PROFIBUS address, baud rate, and diagnostic settings, as per your project requirements.

  3. Add DP Slave Modules:

    • Right-click on the DP master line (the green PROFIBUS line) and select "Insert New Object" or drag and drop from the hardware catalog.

    • From the hardware catalog, navigate to the PROFIBUS DP > DP Slaves section.

    • Select and insert your desired DP slave device. For this example, choose an IM 153-1 module.

    • The IM module will appear connected to the DP master bus.

  4. Configure DP Slave Properties:

    • Double-click on the inserted IM 153-1 module to open its properties dialog.

    • Here, you can configure specific settings for the IM module, such as its PROFIBUS address, diagnostic behavior, and the I/O modules that will be connected to it. Configure these parameters according to your application's needs.

  5. Adding Multiple DP Slaves (If Required):

    • If your system requires more IM modules or other DP slave devices, simply repeat step 3 and 4 for each additional slave. All added slaves will appear on the same DP master bus.

  6. Understand I/O Module Slot Numbering:

    • For IM modules (like IM 153-1), the slot numbering for actual I/O modules connected to it will typically start from slot 4. This is because the initial slots (0-3) are reserved for internal communication or specific functions of the IM module itself, consistent with the S7-300 system's addressing scheme.