TASK 1 PLC and its types
Programmable Logic Controller (PLC) is a digital computer used for the automation of various electro-mechanical processes in industries. These controllers are particularly designed to survive in harsh situations and safeguarded from heat, cold, dust, and moisture etc. PLC comprises of a microprocessor which is programmed consuming the computer language.
Unitary. (Aries, n.d.)
A unitary PLC is the simpler type of controller, and contains all of the basic system components within a single housing, or box. These components typically include the processor, which runs the software program, in addition to ports for input and output connections. Unitary PLCs are typically attached directly to the device or application that is being controlled.
Advantages. (E.Moorley, 2015)
It includes on-board memory for storing programs, 32 digital input and output ports, and a communications port used to program the unit.
Whole beast needs replacing if any component becomes damaged.
Can only run relatively small programmers.
Unable to expand.
Example- The Micrologix 1000
A modular PLC contains several different modules that can be coupled together to build a customized controller. Typically, a base module contains core functions such as electrical power regulation, the computer processor, and input connections. Additional modules, including analogue to digital signal converters or additional outputs, can be added to this core unit as needed.
This modular design allows a PLC to be customized and changed easily. This unit is able to handle between 23 and 40 inputs and outputs. This provides a wide range of flexibility and is typical of a modular PLC.
Requires separate power supply, Whole Module needs substituting if any component becomes damaged. Limited expansion is allowed depending on type of brand
Example- The Allen Bradley Micrologix 1200.
The rack mounting type of PLC will be comparable to the modular concept, but is employed differently. Whereas each module in a modular PLC attaches to the base unit directly, a rack mounting PLC keeps each module separate. All extra modules are connected through a network, and modules are held in organized racks. This approach allows for larger systems to be built without becoming overly cluttered and complicated. Modules are well organized on the rack and can be removed and reinserted as needed.
There are essentially no limits on the number of modules that can be added to this system, each mounted on a standard rack chassis. This setup allows large, scalable automation solutions to be built and is common in factory settings.
Overwhelming initial cost.
Example- SLC 500
TASK 2. Typical switching voltages and sensors in PLC.
Typical switching voltages applied to the input of PLC.
In smaller PLCs the inputs are typically built in and are definite when purchasing the PLC. For larger PLCs the inputs are procured as modules, or cards, with 8 or 16 inputs of the same type on each card. The list below shows characteristic ranges for input voltages, and is unevenly in order of popularity. (engineeringonadisk,com, 2015)
• 12-24 Vdc.
• 100-120 Vac.
• 10-60 Vdc.
• 12-24 Vac/dc.
• 5 Vdc (TTL).
• 200-240 Vac.
• 48 Vdc.
• 24 Vac.
• DC voltages are commonly lower, and therefore safer (i.e., 12-24V)
• DC inputs are very fast; AC inputs require a longer on-time. For example, a 60Hz wave may require up to 1/60sec for reasonable recognition.
• DC voltages can be connected to larger variety of electrical systems.
• AC signals are more insusceptible to noise than DC, so they are suited to long distances, and noisy (magnetic) environments.
• AC power stays easier and less expensive to source to equipment.
• AC signals are very common in numerous existing automation devices.
Types of switch
• N.O. pushbuttons.
• N.C. Stop switch.
Types of sensors.
PH Sensors. (sensorland.com, n.d.)
The PH sensor perceives the acidity of any substance, it includes a measuring electrode, a position electrode, and a temperature sensor; a preamplifier, and an analyser or transmitter. PH is an important parameter to be measured and controlled.
Digital Temperature Sensor (Jon, 2010)
Digital temperature sensor that delivers temperature of device with 9-bit temperature readings. It acts a thermostat through its three thermal alarm outputs. If the temperature of device is greater than or equal to operator defined temperature TH, then THIGH is determined high. If the temperature of the device is fewer than or equal to user defined temperature TL, then the TLOW is determined high. If the temperature of the device exceeds TH and remains high until it falls below that of TL, then the TCOM is driven high.
Proximity Sensor Prototypical for the Food and Beverage Industry. Applicable to 120°C (with DC 3-wire connection) (Heat resistance to 1,000 hours.), Water resistant under high-temperature, high-pressure cleaning base. (Pressure: 8,000 to 10,000 kPa, Water temperature: 80°C,) it detects the presence of object without any physical contact, it detects the position of the object to stop or continue the running process.
When drilling vertical, horizontal, or prolonged reach wells, finding accurate measurements of inclination and azimuth directional sensor is obligatory.
Broken Beam Sensor (Dale R. Patrick, 2009)
Typically, it is use for counting and sensing objects or for checking levels in a container. They are a simple way to detect motion. It works on the basics of photodetector but in this it has two parts transmitter and receiver when the beam between beaks while something comes in between it sent information to the PLC. To control the process.
Related to PIR sensors, break beam sensor are faster and allow better control mechanism of where you want to sense the motion. Associated to Sonar modules, they're less expensive.
TASK 3 digital information communication parts of PLC.
PLCs have in-built communications ports, usually 9-pin, Ethernet. Various protocols are typically included. Many of these protocols are vendor specific.
Most modern PLCs can interconnect over a network to some other system, such as a computer running a SCADA (Supervisory Control and Data Acquisition) system or web browser.
PLCs used in larger I/O systems may have peer-to-peer (P2P) communication among processors. This allows separate portions of a complex process to have individual control while allowing the subsystems to co-ordinate over the communication link. These communication links are also frequently used for HMI devices such as keypads or PC-type workstations.
Formerly, some manufacturers offered enthusiastic communication modules as an add-on function where the processor had no network connection built-in.
TWISTED PAIR. (rose, n.d.)
Twisted pair is the commonplace copper wire that connects home and many business computers to the telephone company. To decrease crosstalk or electromagnetic induction between pairs of wires, two insulated copper wires are twisted around each other. Each linking on twisted pair necessitates both wires. Since some telephone sets or desktop locations necessitate numerous connections, twisted pair is sometimes installed in two or supplementary pairs, all within a single cable. For some business locations, twisted pair is bounded in a shield that utilities as a ground. This is recognized as shielded twisted pair (STP). Regular wire to the home is unshielded twisted pair (UTP).
Less expensive, in a telephone system, signals can travel several kilometers without amplification when twisted pair wires are used. These media can be used for both analog and digital data transmissions. The bandwidth depends on the thickness of the wire and the distance travelled, but several megabits per second can remain achieved for a few kilometers in many cases.
Easily pick up noise signals which results in higher error rates when the line length surpasses 100 meters. Being thin cutting-edge size, it is likely to break easily. It can support 19,200 bps up to 50 feet on RS-232 port.
Coaxial cables (raw, n.d.)
Coaxial cables are a type of cable that is used by cable TV and that is mutual for data communications. Data is transmitted through the center wire, while the outer braided layer serves as a line to ground. Both of these conductors are parallel and share the same axis.
Just like all electrical components, coaxial cables have a characteristic impedance. This impedance depends on the dielectric material and the radii of each conducting material.
It has better shield in contradiction of electromagnetic interference than twisted pair cable, so it can span longer distance at higher data bits per second (bps).
It can be used for both analog and digital data transmissions. For analog data transmission, 75-ohm broadband coaxial is used and for digital transmission, 50 – ohm baseband cable is used.
It is inexpensive as compared to twisted pair wires and UTP cables but easy to handle.
It tends to be more ridged and more problematic to bend around tight corners.
It has a tendency to pick up signals around it without shielded. Power transformers, high signal cables, home power lines can all cause interference on the cable. Imperfect shielded can source a grounded loop. Proper installation with good grounded will limit this.
A fiber optic cable consists of a bundle of glass threads, each of which is accomplished of transmitting messages modulated onto light waves. Fiber optics has several advantages over traditional metal communications lines: Fiber optic cables have a much superior bandwidth than metal cables.
It can handle much higher bandwidth than copper. Due to the low diminution, repeaters are needed only about every 30 Km on fiber lines, versus about every 5 km for copper.
Fiber is not affected by power surges, electromagnetic interference, or power failures. Nor is it affected by corrosive chemicals in the air, making it ideal for factory environments where electrical interference is very high.
Fiber is lighter than copper. One thousand twisted pairs copper cables of 1 km long weigh 800 kg. But fibers have individual 100 kg.
Fibers do not leak light and are quite difficult to tap. This gives them excellent security in contradiction of potential wire-tappers.
Fibber is an unacquainted technology requiring skills which may not be easily available.
Since optical broadcast is inherently unidirectional, two-way communication necessitates either two fiber cables or two frequency bands on one fiber.
Fiber interfaces cost additional than electrical interfaces.
A network is a group of two or more computer systems connected together. There are many types of computer networks, counting the following: local-area networks (LANs): The computers are physically close together (that is, in the same building). As control systems become more complex, they require more active communication schemes between the system components. Some machine and process control systems necessitate that programmable controllers be interconnected, so that data can be passed among them easily to accomplish the control task.
Files can be stored on a central computer (the file server) permitting data to be shared throughout an organization.
Files can be backed up more easily when they are all on a central fileserver rather than when they are distributed across a number of independent workstations.
Networks also permit security to be established, ensuring that the network users may only have access to positive files and applications.
Disadvantages of Networks.
The main disadvantage of networks is that users become dependent upon them. For example, if a network file server develops a fault, then many users may not be able to run application programs and get admittance to shared data. To overcome this, a back-up server can be switched into action when the main server fails. A fault on a network may also stop users from being able to admittance peripherals such as printers and plotters. To minimize this, a network is normally segmented so that a failure in one part of it does not affect other parts.
Another major problem with networks is that their efficiency is very dependent on the skill of the systems manager. A desperately managed network may operate less efficiently than non-networked computers. Also, a poorly run network may allow external users into it with little protection against them causing damage. Damage could also be caused by beginners causing problems, such as deleting important files.
TASK 4 Storing, executing of a program in a PLC
Mechanically connected PLC diagram
A Programmable Logic Controller (PLC) is simply a specialized type of computer for controlling industrial processes. It usually is set to store programs in a battery-backed electronic memory, or non-volatile RAM.
To implement a program, a computer needs to be powered up and started. Once this happens the CPU loads an instruction from a portion of the memory space occupied by ROM (read-only memory) where a loader program resides and also the basic control programs for the busses that lead to input-output registers and buffers. Once the basic hardware is initialized to a known state the program in ROM executes a jump to the program in RAM.
Instructions in RAM are loaded into the CPU and administered. The CPU and the IO Registers have flags that specify the outcome of definite instructions or results from the Arithmetic and Logic Unit (ALU) or certain external events (Transmission complete output register empty, or Input waiting, for example) and either the program polls for these events or the events interrupt the CPU which then stores its existing state and loads from an interrupt vector to call dedicated code to deal with the event.
That is pretty much the course without getting into specifics on the PLCs on the market. A PLC is basically worthless without sensors and switches connected to it to actually control something.
Finally, the PLC is in most ways very much like the personal computer. The PC fetches its initial program from ROM or EPROM, then gathers a saved state (settings for various options such as the device to boot from first) from battery-backed non-volatile RAM before seeking to load the operating system and its programs from some boot device. The PLC has non-volatile RAM as its boot device in many cases
ALU (Kruge, 2005)
An arithmetic-logic unit (ALU) is the part of a computer processor (CPU) that transmits out arithmetic and logic operations on the operands in computer order words. In nearly processors, the ALU is alienated into two units, an arithmetic unit (AU) then a logic unit (LU). Some processors comprise more than one AU - for example, one for fixed-point operations and another for floating-point operations. (In personal computers floating point operations are sometimes done by a floating point unit on a separate chip called a numeric coprocessor.)
Read-Only Memory (ROM): A memory from which data can be read but not written. ROMs are often used to keep programs or data from being demolished due to user intervention.
Random Access Memory (RAM): A memory where data can be accessed at any address without having to read a number of sequential addresses. Data can be read from and written to storage locations. RAM has volatile memory, meaning a loss of power will cause the contents in the RAM to be lost.
The internal paths along which the digital signals flow within the PLC are called Busses.
The system has four busses:
– The CPU uses the data bus for distribution of data between the dissimilar elements,
– The address bus to conduct the addresses of locations for accessing stored data,
– The control bus for signals relating to interior control actions,
– The system bus is secondhand for communications between the I/O ports and the I/O unit.
AND GATE (Anon., n.d.)
A Logic AND Gate is a type of digital logic gate that has an output which is normally at logic level “0” and only goes “HIGH” to a logic level “1” when ALL of its inputs are at logic level “1”. The output formal of a “Logic AND Gate” only returns “LOW” again when ANY of its inputs are at a logic level “0”. In supplementary words, for a logic AND gate, somewhat LOW input will provide a LOW output.
A Logic OR Gate or Inclusive-OR gate is a type of digital logic gate that has an output which is normally at logic level “0” and only goes “HIGH” to a logic level “1” when one or more of its inputs are at logic level “1”. The yield, Q of a “Logic OR Gate” only returns “LOW” again when ALL of its inputs are at a logic level “0”. In other words, for a logic OR gate, any “HIGH” input will provide a “HIGH”, logic level “1” output.
The digital Logic NOT Gate is the most basic of all the logical gates and is sometimes referred to as an Inverting Buffer or simply a Digital Inverter. It is a solitary input device which has an output level that is generally at logic level “1” and goes “LOW” to a logic level “0” when its single input is at logic level “1”, in supplementary words it “inverts” (complements) its input signal. The output after a NOT gate only returns “HIGH” again when its input is at logic level “0” giving us the Boolean
expression of: A = Q.
Parts of PLC connected electrically diagram
Task 5 presentation of architecture of PLC
Task 6 application of unitary style PLC’s (Mimic., n.d.)
Application of unitary PLC
Unitary PLC: The Main Basic Types
The Unitary PLC is typically the smallest and least expensive. It would be used in a small machine or fixed application such as overhead door controls or a stand-alone parts inspection system. They are not expandable so the application is limited to on-board I/O. There are, however, some very powerful units available with built in GSM, color screens, and web servers. Most have 1 or 2 analog I/O channels as well as a high speed input and pulse train output for simple motion control.
Comparing types of PLC
Besides the unitary PLC, there’re two other types of PLC system: the modular and the rack mounted one. The unitary type is considered the most basic and simplest kind of PLC system. It contains of one box only, which accommodates processor, software, and output-input connectors. The modular type is the one involving of several modules or several programs that can be used to adjust the users’ preference and need.
This type of PLC system is suitable for complicated processes and operation, where the overall program is more lenient and flexible; not fixed. The rack mounted type is fundamentally almost the same with the modular one, but the implementation is different. In modular type, different modules will be connected directly to the base unit. In rack mounted type, however, the modules remain separated. People have their own reasons why they choose the unitary PLC or the other types.
Rack style PLCs are typically more expensive, expandable, and powerful than unitary or modular PLCs. The rack provides a power and communication backplane that greatly increases the communication rate between the processor and the modules as well as permitting some specialty modules to communicate with each other without the processor. In some brands, multiple processors can be in the same rack and share the inputs. Racks also allow for terminated processors for critical systems such as waste water pumps or fire control systems.
Most widely used type of PLC for industrial application.
The advantage of unitary PLC is; the system is suitable for all small to medium scale industries. It’s compact and simple. It can be attached straight to the systems being controlled. With such flexibility and lenience, the users no need to fumble with messy application or difficult procedures. It’s perfect for small business with fixed type of operations.
...(download the rest of the essay above)