Download paper

The Plc Controlled Systems Computer Science Essay

This papers has been created to give an overview of what PLC Systems are and why we use them in modern twenty-four hours life. By composing this study I hope to give a good apprehension of what I know about PLC Systems. I will get down with a short history of PLCs demoing how they foremost started off to what we presently use today including the different design types.

History of PLC ‘s

A PLC is a Programmable Logic Controller. It is a digital device that is used to command electromechanical systems/processes.

They were designed in head of replacing systems that are controlled by relays. Up until the late 60 ‘s mechanization in mills would utilize sometimes 1000s of relays and Cam timers to accomplish simple undertakings. This was really expensive and took up a batch of infinite. The disbursal was seen when the relays had to be changed, in a state of affairs were all the relays had to be updated and changed, an lineman would be required to separately re-wire each relay ensuing in really high labor clip.

Digital computing machines started to be used in a batch of industries to command procedures but were far from perfect. The computing machine would hold to run into really rigorous demands that were non yet popular. These demands would dwell of specializer coders that at this clip would be an expensive plus. The computing machine would hold to be protected to defy the environments in which it was being used. The computing machine would treat bit-form input and end product in order to command everything.

Top Experts
Prof. Clara
Verified expert
5 (345)
Writer Lyla
Verified expert
5 (876)
Chris Al
Verified expert
4.9 (478)
hire verified expert

At this phase an operator would be needed to supervise the system to maintain everything in cheque. PLC systems were foremost invented on petition from an automotive industry ; General Motors. They required a system that could replace the bing relay driven system. A proposal was accepted from Bedford Associates who subsequently went on to bring forthing the first Programmable Logic Controller. The image below shows the PLC 084 ( name given to it by Bedford Associates as it was their 84th undertaking. The unit stayed in service for about 20 old ages.

As shown in the exposure, PLCs were really big. Over the old ages PLCs have greatly reduced in size every bit good as their public presentation has greatly increased. There are now besides a few different types of PLCs that have been designed and used over the old ages. The chief types of PLCs are Unitary, Modular and Rack Mounted.

PLC Design Types


Unitary PLC ‘s are the simplest signifier of a Programmable Logic Controller. These accountants are individual compact units that have all the constituents including the processor, inputs and end products built in to one lodging. Having all constituents built in to one sealed unit means there is no room for enlargement so you are restricted to the sum of input and outputs the unit has. On the other manus it does intend a little unit is produced leting it to be used in many mundane applications such as rinsing machines. The exposure below ( obtained from google images ) shows some illustrations of unitary PLCs. these little units would be mounted straight to the application it is commanding. The ruin to unitary accountants is that you ‘re limited to the restraints of the accountant for illustration if a accountant is built with 8 inputs and 7 end products, that is all that accountant will of all time make.


Modular PLCs are built up of a figure of different faculties. These faculties are linked together leting for the accountant to be customised to accommodate the demands. All the nucleus maps such as the computing machine processor, inputs and power ordinance are normally

contained in the base faculty. Other faculties are so added on as enlargements of inputs and end products and parallel to digital signal convertors.

This type of plan is perfect for a system that may necessitate to spread out in the hereafter, unlike the Unitary type design, this type is thought of as a more future cogent evidence design. That being said a Modular design accountant does n’t hold and infinite sum of enlargement, there will merely be room for a certain sum of enlargement.

Rack Mounted

Rack Mounting PLCs are the best design for big graduated table usage. They work in a really similar manner to the Modular type of PLC where excess faculties can be added for enlargement merely much more enlargement is available. Where as the Modular design has all its chief maps under one base faculty and enlargement faculties are added straight to it ; a Rack Mounting PLC keeps all of the faculties in organized racks and uses a web to link them intending that each faculty is separate from one another. Using this type or system allows us to spread out on a much larger graduated table without things acquiring excessively complicated. This design still allows for a really orderly system that allows you to take and add faculties as required without making any injury to the system. This is a modern attack that uses networking the same as many sections in a concern today e.g. Computer networking. Using this design of PLC reasonably much hereafter proofs your apparatus for spread outing as the sum of enlargement is reasonably much endless by adding more and more racks of faculties to the web.

The image above is an illustration of a Rack Mounting PLC ( image obtained from google images ) .

Input and Output Devicess

There are many different input and end product devices that can be used with a Programmable Logic Controller. The PLC is responsible for treating all of the input and end product devices connected. Input signals are usually some kind of detector or exchange that feeds back to the PLC and allows the PLC to supervise and utilize the informations to signal and run the relevant end product. An end product is the procedure that the PLC is basically commanding. Some illustrations of the different types of inputs and end products are below.

Mechanical Switchs

Mechanical switches are a really popular signifier of input used with PLC ‘s. The PLC will supervise the switch and delay for a signal to be sent from the switch. Switches usually operate in two ways ; usually open or usually closed. With a usually unfastened exchange a signal is sent to the switch but does n’t return ( make the PLC ) due to an unfastened circuit. When the switch is made ( pressed ) the circuit is closed and a signal returns ( reaches the PLC ) , from this the PLC can treat the informations and procedure the relevant plan. A usually closed switch operates in the opposite manner where a signal is invariably being received by the PLC and when the switch is made, the circuit is made and the PLC no longer receives the signal, from this is processes the relevant plan. A typical illustration of a mechanical switch would be the type that would be found at the start and terminal of a pneumatic Piston that is pressed by the Piston itself when the Piston reaches the relevant shot, these are called bound switches.

Non-mechanical Digital Beginnings

Non mechanical digital resources refers to sensor inputs that do n’t necessitate a direct mechanical operation to run like the mechanical switch. Non-mechanical switches are far more complicated than mechanical switches and have no moving parts. They are besides much faster than mechanical switches which is why they are used for calculating. An illustration of a non-mechanical switch is a transistor. Transistors work by adding an electrical charge to shut the switch and let the flow of current, when the electrical charge is removed, the switch is unfastened and the current can no longer flux. The switch uses silicone assorted with other elements as a semiconducting material and when an electrical charge is added, it becomes conductive leting the flow of current. So the alteration in province would be the electrical charge that operates the transistor and the flow of current would be the signal to the PLC.

Optical detectors are another signifier of non-mechanical beginning. They work by directing out an optical signal to a reflector. When the signal is interrupted the PLC will treat and preform an action. Optical beginnings now use Infrared as opposed to the old systems utilizing the normal light spectrum so that natural visible radiation beginnings do n’t interfere.


Transducers are a common signifier of detector typically used as a measurement device. A transducer is a device that converts one signifier of energy into another ( hypertext transfer protocol: // ) . They typically convert a mechanical energy in to an electrical energy, an electrical energy that can be used to describe to the PLC.

End products

There are a really broad choice of points that can be used as an end product for PLC systems such as ; relays, visible radiations, Sirens, motor starting motors, solenoids, etc. These are all classed as what the PLC is basically commanding. The PLC would utilize the information fed back to it from the inputs, put to death a plan and trip the end product consequently an illustration of this could be a thermoregulator and air conditioning unit, the thermoregulator being the input to the PLC leting the PLC to cognize when a preset temperature has been reached. When the temperature raises above the predetermined temperature required, the thermoregulator will direct the signal to the PLC ( as described in subdivision 6 ) , the PLC will treat the signal and direct a signal to the end product which in this instance would probably be a relay that when activated boots up the air conditioning unit. When the needed temperature is reached the PLC will treat and signal the relay to exchange, turning the A/C unit off.

Communication Linkss

Automation utilizing PLC systems use networking. Networking is used for devices to pass on with each other and can come in many different signifiers and can be broken down in to different subdivisions such as ; Remote I/O, equal to peer, host computing machine communications and LAN ( local country web ) .

Remote I/O is a system that has the inputs and end products at a distance off from the PLC. This system allows a PLC to command a assortment of both digital and linear points to be controlled extinguishing the demand for a accountant at each point and ensuing in a cost effectual set up. The I/O constellation can link the PLC to all kinds of works equipment to supervise things such as rhythm counts and times. Each I/O device is related to as a slave for the 1s straight on the machine and the maestro accountant that all the slave I/Os study back to. The maestro PLC will direct a signal to the slave I/Os and which it so receives a response, the PLC so uses this response to trip the relevant plan that it so signals the distant I/O to alter its end products to accommodate. These signals are sent highly fast and rhythm 100s of times per second.

Peer to peer webs work somewhat otherwise in the manner that they are connected, utilizing multiple PLCs. This type of web will link each PLC in sequence to each other and is sometimes known as a daisy concatenation. This system is really cagey in the manner it works maintaining all the PLCs in the web, up to day of the month leting all the PLCs to command their systems with the cognition of what is go oning in all the other systems. This allows for similar scheduling due to holding to merely plan each accountant to run its designated system. This type of networking allows for a safe working system that when set up and programmed right means everything will flux and work in sync far quicker than that a homo could treat. Unlike distant I/O, this system does non necessitate a ‘master ‘ PLC as they all merely use each others informations, nevertheless sometimes they are used as a Centre control point.

Host computing machine communications connects the PLCs on a web to a computing machine. Most PLCs regardless of size can usually be connected to a computing machine. This allows for plans to be written in ladder logic signifier. Ladder logic signifier is the programming type that is rather popular in modern scheduling. It allows for a kind of thoracic type of programming that personally I find easy to understand. The ladder plan can be written, edited and tested ( virtually ) via a computing machine and so downloaded on to the PLC. Other signifiers of intelligent devices can besides be used with PLC systems to have informations for monitoring intents.

Internal Architecture

The internal architecture is made up of the CPU, storage devices, memory, opto-isolators, input and end product units, flags and displacement registries. All of these work together to organize a really intelligent device.

The CPU ( cardinal treating unit ) is where the chief processing and ‘thinking ‘ is done, this is frequently thought of as the encephalon of any intelligent device utilizing a CPU.

A PLC has to be able to hive away information such as plans. The plans are stored to a storage device such as a difficult disc thrust or solid province bit. The plans are written on an external beginning such as a computing machine and so transferred to the PLC storage device where the PLCs CPU can so run the plans.

The memory in an intelligent device is frequently confused with the storage device but is non really used to hive away information long term like the storage device is. A signifier of memory most normally used is Random Access Memory ( RAM ) , this is used in PLCs and computing machines every bit good as the huge bulk of intelligent devices such as smart phones. The RAM is used as a impermanent memory for plans being run, it allows the CPU to entree random spots of memory as it needs it from where of all time it is stored, it does this at a really fast rate. Regular storage devices such as difficult disc thrusts can non run at this velocity because of limitations merely leting them to entree memory in a unvarying order and depending on where the information is stored will depend on how long the CPU will take to happen it.

An Opto-isolator is a protection device that transportations electrical signals between the input and end product while protecting the internal circuity of the PLC. It protects against hight electromotive forces and quickly altering electromotive forces that can happen in the system.

Input and end product ports are the ports that the input and end product devices are connected to.

Flags is a term given for a information type used in PLC systems, more specifically it is the term that relates to simple ‘on/off ‘ or ‘I/O ‘ Fieldss.

Shift registries are information from old plan rhythms stored by the PLC and subsequently used/reflected on for running other plans.

Operational Features

Scaning is the procedure that the PLC goes through get downing with the input and stoping with the end product. One scan rhythm would travel as follows:

READ INPUT — – & A ; gt ; EXECUTE PROGRAM — – & A ; gt ; PROCESS MESSAGES — – & A ; gt ;


Read Input = PLC keeps look intoing for input signal

Execute Program = PLC prepares plan but does n’t direct it

Procedure Program = PLC reads the plan and passes it on

Execute Self Diagnostics = PLC will look into the plan works ( theory trial )

Write Output = PLC so signals relevant end products

This is merely one full scan rhythm that happens every 5 millionths of a 2nd, this shows merely how fast PLCs operate.

Continuous updating is the CPU scanning the inputs in the specified order with a physique in hold. The CPU scans each single input before the plan is determined. This allows the CPU to merely treat valid input readings but does have a negative consequence on the clip it takes to treat when there are a batch of inputs each with the hold.

Information and Communication Techniques

There are three signifiers of signal used with PLCs ; parallel, Digital and Discrete.

Analogue signals are typically 0-10v DC or 4-20mA. These inputs are converted in to numerical values when they enter the PLC so they can be processed in the plan. The PLC can besides change over to an linear signal on the end product if required ( if needed by the end product device ) .

Digital signals are different from the linear signal as they are non dynamic, alternatively they are usually a simple on or off signal. This signal can be processed quicker than the parallel. PLCs work with digital signals internally. This type of signal comes from more non mechanical input devices ( see subdivision 7 – non mechanical digital beginnings ) .

A distinct signal is kind of a mixture of the two above. It is a signal that can hold a variable value or scope that is usually electromotive force of current. It provides a on of signal like the digital signal but will work within set scopes. For illustration a PLC utilizing 12 V DC I/O might be set that a value about 10 V DV means on and Values below 6 V DC means off.

PLCs are capable of working on assorted totaling systems. These totaling systems can be ; denary, binary, octal, hexadecimal or BCD. The most common being denary or binary.

The denary enumeration system is the additive array of figures and the placing of each figure. Depending on the order or arrangement of the figure will depend on their existent value, this means that you could hold the same figure but have a different value for each. An illustration would be the figure 3563, the first figure = 3×1000, the 2nd figure = 5×100, the 3rd digit = 6×10 and the 4th figure = 3×1. This allows a broad scope of Numberss to be used as each figure can travel to 0-9. It besides allows for the following figure to increase when the figure before exceeds 9.

The binary enumeration system uses a different manner of interpreting a value. Where as with denary figure each figure can run between 0 and 9, binary systems merely have 0-1. There are set numerical values that are chosen by utilizing the 1 or 0.

















The tabular array above is an illustration of an 8 spot codification. 8 spots of information ( 1s and 0s ) . When a 1 is displayed, the value above is ‘active ‘ so the figure 10011100 would really be 1×2^7 + 0x2^6 + 0x2^5 + 1×2^4 + 1×2^3 + 1×2^2 + 0x2^1 + 0x2^0 = 156. Or displayed as 128 + 0 + 0 + 16 + 8 + 4 + 0 + 0 = 156.

Methods of Programing

PLCs can be programmed in assorted different ways ; Ladder/logic diagrams, statement lists, maps

Ladder and logic diagrams are a really popular simple manner or PLC programming. They are a kind of pictural type of programming that allows the coder to see precisely whats go oning. From the ladder diagram you are able to utilize use simulation package to drag run your plan to look into that it is working right before uploading it to the PLC. Within the package preset parts such as switches and relays are easy added to the plan. An illustration of the ladder diagram is shown on the following page followed by a screenshot of the simulation. This shows the how a ladder diagram would be made and linked to a working simulation on the computing machine package, it is somewhat different to how the existent PLC plan will be written but works as a simulation before composing the existent plan. The diagram is drawn up with what will be required in the circuit such as detectors, switches, air supply etc. The ladder diagram is so drawn and all the parts that have been used in the circuit are linked to the ladder. Coils are besides added to accomplish the needed rhythm.

Ladder Diagram

Simulation of Ladder Diagram

When the interior decorator is happy with the PLC simulation plan, he/she will so utilize it to compose the existent PLC plan for reassigning to the PLC. This package is somewhat different but still produces a ladder manner diagram where operations run left to compensate. The PLC scheduling package will hold preset parts that are entered to the plan. Once the plan reflects the tried simulation plan, it is transferred directly to the PLC itself.

Word count: 2504 words

Cite this page

The Plc Controlled Systems Computer Science Essay. (2020, Jun 02). Retrieved from

Are You on a Short Deadline? Let a Professional Expert Help You
Let’s chat?  We're online 24/7