Custom Search
Showing posts with label PLC. Show all posts
Showing posts with label PLC. Show all posts
Tuesday, January 25, 2011
I. Introduction and Requirements of Industrial Automation
1. Industries go through a certain process or processes to manufacture their products.
2. Process involve various physical and chemical treatments.
3. They involve control of physical parameters like speed, force and torque, power, energy, pressure, temperature, time etc.
4. Not only that the parameters are to be controlled, they have to be controlled in an appropriate sequence so that the process is effectively controlled.
5. In a process plant, engineers like the mechanical (thermal), metallurgical, chemical engineers are involved in the actual process know-how; electrical engineers are involved extensively in the control and the actual implementation of the process.
6. The electrical engineers have at their disposal, various electrical and electronic items – equipments, components as well as other electrically operated devices enabling them to implement, operate, control monitor and trouble-shoot the above process controls.
7. The normal devices are motors, motor control equipment, power on/off devices, types of solenoids, pumps, fans, compressors, heaters, refrigeration system etc.
8. The above are the work-horses or the equipment of the action in the control process. These actions are getting monitored through various sensors or transducers for the parameters like the speed, current, voltage, pressure, flow, temperature, position, time etc and if necessary modified. These modifications can either be on-off type or of continuous regulation.
9. All these methods need to be controlled as per an appropriate strategy or program which is unique for each process.
10. Also modifications are to be done to improve the process efficiency or changing the process for different product requirements should be done fast and effectively.
11. There must be methods to visually monitor whether the process is proceeding according to the desired requirements.
12. There must be trouble shooting methods in case of problems; There must be preventive maintenance methods.
13. Maintaining records of all the process issues as follows for a reasonable time.
- Process parameter logging.
- History of energy consumption.
- History of problem and solutions.
- History of revisions etc.
14. Other facilities as follows are also required.
- Process scheduling
- Maintenance Scheduling
- Energy consumption calculations.
The above form the requirement for industrial automation.
II. Typical Industrial Electrical Equipment:
The following are the various electrical equipment for the implementation of the Process. The actual items present will vary from plant to plant depending the individual requirements.
1. HT power distribution through HT breakers / isolators including their protective relaying and monitoring through CT-s / PT-s
2. HT cables and bus ducts.
3. Various Transformers including their protective relaying and monitoring.
4. LT cables and bus ducts.
5. LT power distribution and control panels.
- Power distribution boards with monitoring.
- Local isolation Transformers for voltage and fault level matching
- Motor control centers with starters for fixed frequency AC motors.
- Power conversion panels for variable speed drive panels.
- Output power distribution panels for individual motors
6. Various types of motors.
- HT AC motors and their starters.
- Main and auxiliary DC / AC motors ( for the VSD-s) as well as
- Fixed speed AC motors for conventional applications.
7. Other common electrical utilities like
- Pumps; - fans; - compressors; - heaters; - lighting systems,
- Material handling equipment like cranes etc.
8. Sensors
- Motor mounted devices called MMD-s
- Field mounted devices called FMD-s for instrumentation, feedback and controls.
9. Central relay and PLC based control panels for (earlier these functions were carried out by relays; now they are extensively carried out by PLC-s)
- Providing power suppliers for all the PLC inputs and outputs as well as other devices, sensors, solenoids and such actuators.
- For process sequencing
- Fault monitoring and protection
- Special REAL TIME controls like coordinated controls.
- Communication networking for the 1) control signals and 2) Information signals through separate control bus and information bus.
- Fault annunciation. requirements
- Status annunciation requirements.
- Human Machine Interface terminals for Total mill visualization and controls (these are normally located in the control pulpit for the operator’s requirement)
- Event history recorders and Data loggers.
10. Control desks and posts with PB-s, Lamps, selector switches, meters, LCD panels as well as HMI-s for total mill visualization and controls.
11. Other miscellaneous items like, UPS, CCTV-s, fire alarm, lighting, material handling cranes, communication systems etc.
III. Functions of Central relay or PLC based control panels:
1. They form the central set of control, interlock and protection panels.
2. In earlier days, with relay panels the exchanges were related to mainly commands and status ( called discrete or digital signals) only. With PLC, these signals can now be either digital or analog (control values or variables). The analog set points or feedbacks can also be processed as required.
3. They interface with all other equipment in the plant and exchange various signals as enumerated below
i) For HT panels the status indication, fault annunciation, feed back information for instrumentation such as input voltage, current, pf and energy input.
ii) For transformers, the status, temperature figures, fault annunciation etc.
iii) For PDB-s, status indication, voltage current and pf feedback and hence the energy of a section.
iv) For drive control panels the relevant signals are, status signals, healthy signals, on/off command, forward/reverse commands, fault annunciation, voltage, current speed and such relevant control parameters and also the required generation of the appropriate reference signals.
v) For MCC-s the on/off, forward/ reverse commands, fault annunciation and other relevant indications.
vi) For motors, signals related to temperature, cooling, motor protection relay inputs, insulation levels and also vibration level signals.
vii) With utility panels, they ensure proper operation of these equipment and they receive status of hydraulic, pneumatic and water utility systems of the plant like, pressure, flow, temperature, on/off conditions and if required redundancy operation for reliability.
viii) For MMD-s and FMD-s the various feedbacks and status signals are received. The required power supplies for these are also provided from these panels.
ix) The central relay and PLC based control panels interface with the devices in the control desks in control pulpits like the various PB-s, switches (on / off or selector type), lockable selector switches, mushroom head PB-s, foot operated switches etc. for the inputs or commands and with the lamps, PB lamps, meters, hooters etc for the outputs. Most of these devices are oil tight types. Also HMI is normally mounted in a control desk for the human machine interface with PC-based SCADA for visualization and control with industrially ruggedized PC and membrane type keyboard. In older control pulpits individual fault annunciation windows on the panels used to be always present ; In the present day plants these are only provided optionally as these functions can be provided in the HMI PC itself.
Thus the relay and PLC based control and protection panels interface with all the mill equipment and functions and hence is truly a central panel. The enclosed drawing provide both the power flow and the signal exchange flow with this central panel in a typical plant.
IV Relaying Functions of the Conventional central relay and control panels or called the mill interlock panels
The conventional central relay and control panels generally provide the relaying ( sequencing ) functions only. In addition they are used for contact multiplication for distribution of the commands and outputs.
1. Industrial Relays
Even though PLC-s have replaced the relays effectively, the knowledge of the elector-mechanical relays are necessary because they are still used for contact multiplication, voltage and current matching of the output etc. along with the PLC I/O-s themselves.
i. Relays have coils with appropriate windings wound on a hollow former through which the plunger moves when energized. The moving contacts are connected to the plunger. The coil is energized by a DC or AC voltage. 24V DC, 110V AC, 220V AC are some of the standard voltages.
ii. The relay can be individually front mounted with the coils and terminals accessible from front or socket mounted with the wiring done to the socket.
iii. The DC relay coils are normally connected with a free wheeling diode across the coil. This provides protection to the coil against high voltage breakdown, when the coil current is interrupted.
iv. The contacts are N/O or N/C type or C/O type. The individual front mounting type relays have normally 2 N/O + 2 N/C contacts. Sometimes additional contacts can be added to the basic relay.
v. In the socket mounting type relay, the contacts are C/O type, with one pole and 1NC and 1 No contacts. Normally 3 C/O contacts are present in such a relay.
vi. If more contacts are required to implement a logic may have to add additional contact multiplication relays. This is one of the major disadvantages of the conventional relay panels. Physical contacts must be present for each function. In contrast in the PLC panels the status of the input or output ( called input and output images ) or intermediate flags can be used any number of times as these are soft signals when implementing the logic
vii. The relays for the logic build-up can be same type with minimum current rating. However the relays for the outputs be selected such that the contact current rating should take care of the load current.
viii. The relays along with their contact blocks can be wired in such a way that the appropriate sequencing is taken care of.
2. Timing Relays
i. Till recently it was implemented using a pneumatic timing head which was getting added to a relay to provide the time delays.
ii. This time delay could be during on-time or during off time or some times they are with on/off time delays.
iii. Now a days solid state timers are available for use and pneumatic timers are hardly in use.
iv. The timer relays are normally provided with adjustment for setting the time delays.
The above relay contacts ( under 1 and 2 ) go back to the normal conditions when the power is disconnected or made off.
3. Latching or memory relay
• This has got 2 coils – one latching coil and the other un-latching coil.
• The latching coil when energized , closes and latches the relay by a mechanical means. With this, the relay maintains its position even when the power is off.
• To de-energize the relay, a de-energizing coil need to be momentarily energized.
4. Mechanically latched type
These are two individual relays with an additional mechanical latching arrangement to ensure that when one relay is on, the other is necessarily off. One will not be able to energize the second relay. This will be useful for applications like forward / reverse control of a motor where only one function is normally required.
The above discussions on relays provide the idea of control functions which can be executed with the conventional relay panels and which need to be executed when PLC-s are used.
These conventional panels are built up depending on the logic to be implemented after the mill builder provides the overall operational method which is elaborated further by the electrical supplier as per the actual implementation.
While the functionality of the mill interlock panel is similar in the PLC panels, the concept defining the number of inputs and outputs came into the use with the implementation with PLC-s.
V PLC based control and inter lock panels
As compared to the central relay and interlock panels or mill interlock panels , the modern day PLC based interlock panels are able to handle much more of functionalities as explained under III . Since the PLC-s themselves are micro- processor or controller based they have the same working architecture like the standard computer architecture with the following elements. They are the i) Central processing unit or CPU-s along with their hard-ware, firm-ware and application software, ii) memory iii) communication with other PLC-s, HMI-s , other devices etc. iv) power supply as well as the racks with back plane for mounting the cards and the v) inputs and vi ) outputs. The inputs and the outputs form the bulk of the hardware depending on the plant requirement and capacity.
While the PLC CPU, instruction sets, software, memory, communication and other capabilities . are dealt with separately under the next section, this section deals with inputs and outputs. Apart from the functions involving Boolean logic ( normally done by electro-mechanical relays ), PLC-s handle many other functions like, counters, timers, real time clock, communication with other PLC-s and devices, handling math functions etc. The functionalities differ from PLC to PLC. The appropriate and optimal type has to be selected to address the application requirements and to get the best value for the cost.
Apart from the functionalities , the PLC type is primarily decided based on the number and the type of inputs and outputs.
The defining of the inputs and the outputs got into the use with the use of PLC-s for the control and interlock functions. This is because in the PLC panels the status of the inputs or outputs ( called input and output images ) or intermediate flags can be used any number of times as these are soft signals when implementing the logic. The advantage of this method is that even at the beginning of a project ( even during the cost estimation stage ) one can estimate the number of inputs and outputs and decide the type of the PLC. One need not even be fully clear about the logic or the total functionalities to estimate the PLC-s.
An example for selecting the number of inputs and outputs is given in one of the following sections . The types of industrial inputs and outputs are discussed first .
1 Input Devices:
1.1 Push Buttons:
They are the commonly used input devices They have basically two parts – operating buttons (actuators) and the contact units. The contact unit can be N/O or N/C types;
i. Normally 2 N/O and / or 2 N/C contact blocks are common when used with the conventional relay based control panels. With PLC based system, the input block need only be 1 N/O or 1 N/C. This input along with their complement can be used any number of times in the PLC ladder diagrams .
ii. The operator buttons are of different types; i. flushed or extended head ii. Mushroom head
iii. The buttons are normally with different colours, like the indication lamps to be described under the outputs. Green is normally used for ‘on’ functions and ‘Red’ is used for ‘off’ function; other colors like yellow, black etc are used for other functions like start, stop, jog, thread etc. functions.
iv. Sometimes the mushroom headed red coloured off (emergency) PB actuators get mechanically latched when pressed; They need to be turned in one direction to release the same.
v. Sometimes other types of actuators replace the conventional push button heads, like the following : i) locking type (through key )PB actuator ii) selector type push button actuators ; They are selected for certain locking type control functions like enable / disable or forward / reverse selection type respectively.
vi. Some times the PB actuator unit has a transparent head(with appropriate coloured lens) with in built indication lamp, apart from the contact blocks. This can be used for an application like starting a motor by processing the PB which initiates closing a contactor for starting the motor and at the same time provide a feed back through this contactor auxiliary contact block (a N/O contact getting closed) which lights up the inbuilt lamp in the PB head. These are called PB lamps. For a PB lamp, the lamp will be fed as the output of a relay or PLC.
vii. Push buttons are extensively used as input devices for the control relay and PLC panels giving the required ‘operator commands’
1.2 Limit switches:
These are normally used to sense the reaching of the required physical limit by a machinery or a motion control system. On reaching the required limit, the limit switch closes and provides an input to the central relay and PLC panels for initiating an action;
eg stopping a motor or reversing an operation etc. The following types limit switches are there:
i) Mechanical / lever type limit switch :
The limit switch operates on physical contact and closes a switch provided with N/O and N/C contacts.
ii) Rotary programmable cam limit switches:
Here the rotary limit switch arrangement is coupled to the motor or the actual load shaft driving an operation. The coupling is through an appropriate gear box so that for number of revolution on the equipment shaft side, the limit switch shaft rotates once. On the limit switch shaft are number of cams and the cam actuation positions are set at the required appropriate angles. These cam settings are adjustable programmable. With this arrangement the individual cams operate the associated limit switches. The operation of these limit switches can be associated with the reaching of appropriate limits in a linear travel; eg. travel of a cage (carriage) carrying the ore and other materials into a blast furnace. At the various operations of the limit switches various functions as follows can be initiated :
Position i. Bottom position – start at low speed
Position ii. Acceleration to full speed
Position iii. Signal to small bell to open
Position iv. Signal to close small bell
Position v. Deceleration to low speed
Position vi. Stop ; top position for tipping the material into furnace.
iii) Rotary programmable encoder type limit switch:
This functions exactly like ii) but this is done by counting of the pulses generated by the encoder and comparing the accumulated count with the preset counts. This type is much more flexible as compared to ii) and is easily settable. However they require external power supplies.
iv) Non-contact type proximity switches:
1. They also function as limit switches but without physical contact.
2. There are two types – called inductive proximity switches or capacitive proximity switches which operate due to changes in the magnetic field or the capacitance value under the proximity of the part or item being sensed. These switches also require external power supply and the outputs are normally open collector transistor type to which an external relay can be connected or can be a direct input to PLC input card.
3. These proximity sensors can also be used to measure the speed of a motor or drive by non-contact method.
1.3 Other type of sensors
Other type of sensors include rotary pulse tacho-generator (incremental encoder) for speed measurement, absolute encoder for position measurement, light sensors, ultra sonic linear velocity sensing unit, temperature measuring sensor, pressure measuring sensor, flow measuring sensor, on-off type (discrete levels) temperature monitor , pressure monitor, flow monitor etc.
Of the above mentioned inputs, many of them are on/off type (either potential free contacts or open collector type) and are called as digital inputs and some of them are providing analog inputs for continuous controls.
There are also other soft inputs like the keyboard inputs etc. but they do not form hard wired inputs.
2. Output devices:
The above mentioned devices are input devices for a relay and PLC control system. There are also number of output devices which get connected to a relay or PLC based control system. They are as follows:
2.1 Contactors
i. The functioning of contactors are similar to relays; Additionally contactors have 3 or 4 power N/O contacts (normally) which is used to switch on the power.
ii. The contactor coils are energized through PLC output or another relays contact and through the coil power supply (110VAC, 220VAC, 415VAC etc). DC supplied coils are also present some times.
iii. The contactors are normally used to switch 3 phase AC power to say a motor or a power modulator or such an application and they are extensively used.
iv. Contactors are normally available in various sizes (size 0 to size 16 – corresponding to 16 A to 630 A and more).
v. Most of the contactors are for AC power switching.
vi. There are also DC power switching contactors available. They require special arc- chutes for lengthening the arc.
vii. Hence these DC contactors are more expensive and need to be carefully selected.
viii. All contactors have auxiliary contacts for inter locking and relaying functions. Normally 2 No + 2 N/C contacts are provided for these auxiliary functions.
ix. Even though relays, times etc. are replaced by the soft logic of PLC to undertake logic function, the contactors continue to be used for feeding the final load like a motor etc. Hence the contactors are normally on-off devices for the other electrically operated equipment and hence it is essentially an output device. Only their auxiliary contacts take part in the relaying functions.
x. Apart from the selection of contactors to match with output load current and voltage, they need to be selected, also considering the numbers of operating cycles per hour.
2.2 Solenoids
i. Like a relay and contactor, the solenoid is an electro-mechanical device. In this the electrical energy is used to magnetically cause a mechanical movement.
ii. The solenoid; like the contactor has a frame, plunger and the coil. The coil is energized by AC or DC voltage. Upon the application of the voltage to the coil, the corresponding plunger is pulled back through a spring in case the coil voltage is interrupted.
iii. The AC solenoid draws a large in-rush current on energizing, when the plunger is fully out. The current drops to minimum value when the plunger is fully in. Due to this, it is important to ensure that the solenoid is fully energized i.e. the plunger is fully in. Otherwise the solenoid coil will take more than rated current continuously resulting in the burn-out of the coil.
iv. As against this, DC solenoid takes a constant coil current; but AC solenoid has superior initial pull.
v. For many industrial applications, 24V DC solenoids are normally preferred.
vi. While the contactor as output devices are selected based on the load current and voltage requirement, the solenoids are normally selected to handle appropriate pressure, force or weigh to be lifted etc. Accordingly the solenoid size varies.
vii. Depending on the application, there are different types of solenoids
1. Single solenoid (with one motion) with one coil. When it is energized it moves against the spring and when de-energized comes back to original position.
2. Single solenoid (with one motion) but with two coils. This is similar to above but with latching feature. One coil is for switching on and another is for switching off.
3. Double solenoid (with two motions, say up / down) and with two coils. When one coil is energized, the motion is upwards and downwards when the other coil is energized. It goes to neutral position when both the coils are not energized.
4. As it can be understood the number of coils to be energized decide the number of outputs per solenoid to be considered by the PLC.
5. There are different types of solenoids available like solenoids for gas, for lubricants, for water or for emulsion (water + oil) etc and depending upon the application or the force the type is selected.
2.3 Proportional solenoids / solenoid valves:
Normally the above solenoids are on/off devices; some times it is required to provide a motion which is proportional to the supply current amplitude. They will be normally supplied with currents in the range of 4 mA to 20 mA for opening a valve from 0% to 100%. Proportional valves are used in a closed loop systems to correctly adjust position, pressure/force of a control system eg for automatic gauge control of a cold rolling mill.
There are also continuously adjustable devices – e.g screw down in a rolling mill, measuring gauge adjustment for a cut length etc which are controlled through a proportional control system based on electrical motors or hydraulic valves .
2.4 Other output devices
Apart from the above, there are number of other output devices, such as air / oil / gas circuit breakers, clutch with a coil for mechanical equipment like shears, brake and brake coil for stopping the machine precisely, magnetic lifts etc.
Other commonly used outputs are indication lamps with different colours ( like the colours for the input PB-s ), fault annunciation windows, hooters and howlers for the faults, various indication meters.
Of the above mentioned outputs, many of them are on/off type ( through either potential free contacts or open collector type outputs ) and are called as digital outputs and some of them are providing analog outputs for continuous controls.
There are also other soft inputs like the keyboard inputs etc. but they do not form hard wired outputs.
The above discussions provide information on the various types of inputs and outputs seen by a PLC.
3. PLC inputs and outputs : For a PLC, normally there are separate input and output cards ( there are also mixed type of cards having both inputs and outputs ); these cards are normally with number of inputs or outputs –for 8 or 16 or 32 digital inputs or outputs and 4 or 8 or 16 analog inputs or outputs. All the digital inputs are normally opto- isolated and analog inputs are either single ended type or the differential type. The differential inputs have better noise immunity. The digital outputs are normally open collector type; some of the digital output cards have potential free contacts of a relay. Similarly the analog outputs are single ended or differential type.
Most of the input and output cards are suitable for 24 V DC power supplies. This is the most preferred power supply. Other voltages like 110 V DC or AC are also common The analog input and output cards are capable of accepting and providing ± 10 V inputs and outputs respectively.
These cards are generally located in the racks. Low end PLC-s have brick type construction and are DIN-Rail mounted. Some of the micro PLC-s are available in a compact version as a single module with all the functions interconnected. They can be in the main PLC rack itself or in the extension racks located in the PLC panel exclusively for these I/O-s. These input cards access the PLC in the parallel mode and hence their access times are quite small. Normally all the inputs and outputs which require fast access are located in the PLC or their extension racks. Similarly all time critical analog inputs and outputs are normally located in these racks. These I/O-s are called parallel I/Os.
While the main PLC rack will be located in the control room with controlled ambience – dust free and at controlled temperature , the I/ O-s can also be located all over the plant. These are called remote I/O-s. These are located in the vicinity of an area where there are number of I/O-s. E.g in the pulpit there will be number of I/O-s and they are terminated into a panel or box which house the remote I/Os. These are also located in the racks. But they are different from the racks in the PLC panel. They are called remote racks with their own separate power supplies etc. This arrangement helps to minimize the length of cabling for majority of the I/O-s in the plant. From the remote rack, only a single serial cable communicates with the main CPU in the PLC room through special remote communication cards at both ends at speeds of the order of 56 or 112 KBPS . Since the remote I/O-s communicate over the serial cables the response or through-put of these I/O-s will be slower than the parallel I/O-s.
Depending on the application, the PLC I/o racks are to be selected ( parallel type or remote serial type ) and used considering the saving in the cabling cost on one hand and the required responses on the other hand.
4. Selection of the PLC based on inputs and outputs :
i) PLC as a standard programmable controllers are being offered by many important multinational electrical product companies such as i) General electric company of USA, ii) Siemens, iii) ABB iv) Alstom v ) Allen Bradley ( Rock-well automation) vi) Mitsubhishi vii) Hitachi and some other companies. In India Siemens and Allen- Bradley PLC-s are the most popular. All these companies have range of PLC-s from micro PLC-s ( addressing less than 10 digital inputs and 10 digital outputs for simple sequencing ( Boolean ) capabilities ) to high-end large scale PLC-s ( addressing more than 10 K inputs and outputs – both digital and analog types-and with complex instructional capabilities and handling high speed calculations involving real or floating point values ).
i. The I/O-s (which as mentioned earlier) form the bulk of the PLC hardware, are decided based on the motor and component list normally prepared by the machine supplier or mill builder.
ii. This is the starting document for deciding the specification of all the electrical equipments. Refer the enclosed ‘typical motor & Component list’.
iii. This list provides information such as:
1. Name of the application and its 5 No of the mechanical supplier.
2,3. Quantity and type of motor or other actuator required – DC separately excited, AC slip ring or AC squirrel cage, single solenoid, double solenoid etc.
4,5. kW and RPM of the motor.
6. Duty class of operation S 1 to S 9
7,8. Mounting, protection class and cooling method for the motor and make.
9. Input voltage supply available or preferred like 3 ph, 415V, 50Hz etc.
10,11. Type of control of the motor- Reversing / non-reversing etc and quantity of power circuit.
12. Open loop or closed loop etc.
13. Location of the controls.
14,15. Quantity and types of other accessories (sensors and transducers like proximity switches, infrared sensors, light sensors, pressure transducers) etc.
16. Remarks
iv. The above information is used to decide the final number of I/o-s for the Mill automation.
Thursday, December 16, 2010
PLC
A programmable logic controller (PLC) or programmable controller is a digital computer used for automation of electromechanical processes, such as control of machinery on factory assembly lines, amusement rides, or lighting fixtures. PLCs are used in many industries and machines. Unlike general-purpose computers, the PLC is designed for multiple inputs and output arrangements, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Programs to control machine operation are typically stored in battery-backed or non-volatile memory. A PLC is an example of a hard real time system since output results must be produced in response to input conditions within a bounded time, otherwise unintended operation will result.
History
The PLC was invented in response to the needs of the American automotive manufacturing industry. Programmable logic controllers were initially adopted by the automotive industry where software revision replaced the re-wiring of hard-wired control panels when production models changed.
Before the PLC, control, sequencing, and safety interlock logic for manufacturing automobiles was accomplished using hundreds or thousands of relays, cam timers, and drum sequencers and dedicated closed-loop controllers. The process for updating such facilities for the yearly model change-over was very time consuming and expensive, as electricians needed to individually rewire each and every relay.
In 1968 GM Hydramatic (the automatic transmission division of General Motors) issued a request for proposal for an electronic replacement for hard-wired relay systems. The winning proposal came from Bedford Associates of Bedford, Massachusetts. The first PLC, designated the 084 because it was Bedford Associates' eighty-fourth project, was the result. Bedford Associates started a new company dedicated to developing, manufacturing, selling, and servicing this new product: Modicon, which stood for MOdular DIgital CONtroller. One of the people who worked on that project was Dick Morley, who is considered to be the "father" of the PLC. The Modicon brand was sold in 1977 to Gould Electronics, and later acquired by German Company AEG and then by French Schneider Electric, the current owner.
One of the very first 084 models built is now on display at Modicon's headquarters in North Andover, Massachusetts. It was presented to Modicon by GM, when the unit was retired after nearly twenty years of uninterrupted service. Modicon used the 84 moniker at the end of its product range until the 984 made its appearance.
The automotive industry is still one of the largest users of PLCs.
Development
Early PLCs were designed to replace relay logic systems. These PLCs were programmed in "ladder logic", which strongly resembles a schematic diagram of relay logic. This program notation was chosen to reduce training demands for the existing technicians. Other early PLCs used a form of instruction list programming, based on a stack-based logic solver.
Modern PLCs can be programmed in a variety of ways, from ladder logic to more traditional programming languages such as BASIC and C. Another method is State Logic, a very high-level programming language designed to program PLCs based on state transition diagrams.
Many early PLCs did not have accompanying programming terminals that were capable of graphical representation of the logic, and so the logic was instead represented as a series of logic expressions in some version of Boolean format, similar to Boolean algebra. As programming terminals evolved, it became more common for ladder logic to be used, for the aforementioned reasons. Newer formats such as State Logic and Function Block (which is similar to the way logic is depicted when using digital integrated logic circuits) exist, but they are still not as popular as ladder logic. A primary reason for this is that PLCs solve the logic in a predictable and repeating sequence, and ladder logic allows the programmer (the person writing the logic) to see any issues with the timing of the logic sequence more easily than would be possible in other formats.
Programming
Early PLCs, up to the mid-1980s, were programmed using proprietary programming panels or special-purpose programming terminals, which often had dedicated function keys representing the various logical elements of PLC programs. Programs were stored on cassette tape cartridges. Facilities for printing and documentation were very minimal due to lack of memory capacity. The very oldest PLCs used non-volatile magnetic core memory.
More recently, PLCs are programmed using application software on personal computers. The computer is connected to the PLC through Ethernet, RS-232, RS-485 or RS-422 cabling. The programming software allows entry and editing of the ladder-style logic. Generally the software provides functions for debugging and troubleshooting the PLC software, for example, by highlighting portions of the logic to show current status during operation or via simulation. The software will upload and download the PLC program, for backup and restoration purposes. In some models of programmable controller, the program is transferred from a personal computer to the PLC though a programming board which writes the program into a removable chip such as an EEPROM or EPROM.
Functionality
The functionality of the PLC has evolved over the years to include sequential relay control, motion control, process control, distributed control systems and networking. The data handling, storage, processing power and communication capabilities of some modern PLCs are approximately equivalent to desktop computers. PLC-like programming combined with remote I/O hardware, allow a general-purpose desktop computer to overlap some PLCs in certain applications. Regarding the practicality of these desktop computer based logic controllers, it is important to note that they have not been generally accepted in heavy industry because the desktop computers run on less stable operating systems than do PLCs, and because the desktop computer hardware is typically not designed to the same levels of tolerance to temperature, humidity, vibration, and longevity as the processors used in PLCs. In addition to the hardware limitations of desktop based logic, operating systems such as Windows do not lend themselves to deterministic logic execution, with the result that the logic may not always respond to changes in logic state or input status with the extreme consistency in timing as is expected from PLCs. Still, such desktop logic applications find use in less critical situations, such as laboratory automation and use in small facilities where the application is less demanding and critical, because they are generally much less expensive than PLCs.
In more recent years, small products called PLRs (programmable logic relays), and also by similar names, have become more common and accepted. These are very much like PLCs, and are used in light industry where only a few points of I/O (i.e. a few signals coming in from the real world and a few going out) are involved, and low cost is desired. These small devices are typically made in a common physical size and shape by several manufacturers, and branded by the makers of larger PLCs to fill out their low end product range. Popular names include PICO Controller, NANO PLC, and other names implying very small controllers. Most of these have between 8 and 12 digital inputs, 4 and 8 digital outputs, and up to 2 analog inputs. Size is usually about 4" wide, 3" high, and 3" deep. Most such devices include a tiny postage stamp sized LCD screen for viewing simplified ladder logic (only a very small portion of the program being visible at a given time) and status of I/O points, and typically these screens are accompanied by a 4-way rocker push-button plus four more separate push-buttons, similar to the key buttons on a VCR remote control, and used to navigate and edit the logic. Most have a small plug for connecting via RS-232 or RS-485 to a personal computer so that programmers can use simple Windows applications for programming instead of being forced to use the tiny LCD and push-button set for this purpose. Unlike regular PLCs that are usually modular and greatly expandable, the PLRs are usually not modular or expandable, but their price can be two orders of magnitude less than a PLC and they still offer robust design and deterministic execution of the logic.
Features
The main difference from other computers is that PLCs are armored for severe conditions (such as dust, moisture, heat, cold) and have the facility for extensive input/output (I/O) arrangements. These connect the PLC to sensors and actuators. PLCs read limit switches, analog process variables (such as temperature and pressure), and the positions of complex positioning systems. Some use machine vision. On the actuator side, PLCs operate electric motors, pneumatic or hydraulic cylinders, magnetic relays, solenoids, or analog outputs. The input/output arrangements may be built into a simple PLC, or the PLC may have external I/O modules attached to a computer network that plugs into the PLC.
System scale
A small PLC will have a fixed number of connections built in for inputs and outputs. Typically, expansions are available if the base model has insufficient I/O.
Modular PLCs have a chassis (also called a rack) into which are placed modules with different functions. The processor and selection of I/O modules is customised for the particular application. Several racks can be administered by a single processor, and may have thousands of inputs and outputs. A special high speed serial I/O link is used so that racks can be distributed away from the processor, reducing the wiring costs for large plants.
User interface
PLCs may need to interact with people for the purpose of configuration, alarm reporting or everyday control.
A Human-Machine Interface (HMI) is employed for this purpose. HMIs are also referred to as MMIs (Man Machine Interface) and GUIs (Graphical User Interface).
A simple system may use buttons and lights to interact with the user. Text displays are available as well as graphical touch screens. More complex systems use a programming and monitoring software installed on a computer, with the PLC connected via a communication interface.
Communications
PLCs have built in communications ports, usually 9-pin RS-232, but optionally EIA-485 or Ethernet. Modbus, BACnet or DF1 is usually included as one of the communications protocols. Other options include various fieldbuses such as DeviceNet or Profibus. Other communications protocols that may be used are listed in the List of automation protocols.
Most modern PLCs can communicate 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 between processors. This allows separate parts of a complex process to have individual control while allowing the subsystems to co-ordinate over the communication link. These communication links are also often used for HMI devices such as keypads or PC-type workstations.
Programming
PLC programs are typically written in a special application on a personal computer, then downloaded by a direct-connection cable or over a network to the PLC. The program is stored in the PLC either in battery-backed-up RAM or some other non-volatile flash memory. Often, a single PLC can be programmed to replace thousands of relays.
Under the IEC 61131-3 standard, PLCs can be programmed using standards-based programming languages. A graphical programming notation called Sequential Function Charts is available on certain programmable controllers. Initially most PLCs utilized Ladder Logic Diagram Programming, a model which emulated electromechanical control panel devices (such as the contact and coils of relays) which PLCs replaced. This model remains common today.
IEC 61131-3 currently defines five programming languages for programmable control systems: FBD (Function block diagram), LD (Ladder diagram), ST (Structured text, similar to the Pascal programming language), IL (Instruction list, similar to assembly language) and SFC (Sequential function chart). These techniques emphasize logical organization of operations.
While the fundamental concepts of PLC programming are common to all manufacturers, differences in I/O addressing, memory organization and instruction sets mean that PLC programs are never perfectly interchangeable between different makers. Even within the same product line of a single manufacturer, different models may not be directly compatible.
PLC compared with other control systems
PLCs are well-adapted to a range of automation tasks. These are typically industrial processes in manufacturing where the cost of developing and maintaining the automation system is high relative to the total cost of the automation, and where changes to the system would be expected during its operational life. PLCs contain input and output devices compatible with industrial pilot devices and controls; little electrical design is required, and the design problem centers on expressing the desired sequence of operations. PLC applications are typically highly customized systems so the cost of a packaged PLC is low compared to the cost of a specific custom-built controller design. On the other hand, in the case of mass-produced goods, customized control systems are economic due to the lower cost of the components, which can be optimally chosen instead of a "generic" solution, and where the non-recurring engineering charges are spread over thousands or millions of units.
For high volume or very simple fixed automation tasks, different techniques are used. For example, a consumer dishwasher would be controlled by an electromechanical cam timer costing only a few dollars in production quantities.
A microcontroller-based design would be appropriate where hundreds or thousands of units will be produced and so the development cost (design of power supplies, input/output hardware and necessary testing and certification) can be spread over many sales, and where the end-user would not need to alter the control. Automotive applications are an example; millions of units are built each year, and very few end-users alter the programming of these controllers. However, some specialty vehicles such as transit busses economically use PLCs instead of custom-designed controls, because the volumes are low and the development cost would be uneconomic.
Very complex process control, such as used in the chemical industry, may require algorithms and performance beyond the capability of even high-performance PLCs. Very high-speed or precision controls may also require customized solutions; for example, aircraft flight controls.
Programmable controllers are widely used in motion control, positioning control and torque control. Some manufacturers produce motion control units to be integrated with PLC so that G-code (involving a CNC machine) can be used to instruct machine movements.[citation needed]
PLCs may include logic for single-variable feedback analog control loop, a "proportional, integral, derivative" or "PID controller". A PID loop could be used to control the temperature of a manufacturing process, for example. Historically PLCs were usually configured with only a few analog control loops; where processes required hundreds or thousands of loops, a distributed control system (DCS) would instead be used. As PLCs have become more powerful, the boundary between DCS and PLC applications has become less distinct.
PLCs have similar functionality as Remote Terminal Units. An RTU, however, usually does not support control algorithms or control loops. As hardware rapidly becomes more powerful and cheaper, RTUs, PLCs and DCSs are increasingly beginning to overlap in responsibilities, and many vendors sell RTUs with PLC-like features and vice versa. The industry has standardized on the IEC 61131-3 functional block language for creating programs to run on RTUs and PLCs, although nearly all vendors also offer proprietary alternatives and associated development environments.
Digital and analog signals
Digital or discrete signals behave as binary switches, yielding simply an On or Off signal (1 or 0, True or False, respectively). 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 discrete I/O.
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. 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 - 10 V input or 4-20 mA would be converted into an integer value of 0 - 32767.
Current inputs are less sensitive to electrical noise (i.e. from welders or electric motor starts) than voltage inputs.
Labels:
PLC
Subscribe to:
Posts (Atom)
Basics of Instrumentation & Control
Pressure
Flow
Level
Temperature
Analytical Instrumentation
Labels
Analytical Instrumentation
(7)
Automation
(4)
Basics
(48)
Control elements
(2)
DCS
(1)
Flow
(27)
Flow Meters
(22)
Instrumentation Career
(2)
Level
(19)
P and I Diagram
(1)
PLC
(2)
Pressure
(12)
Process Control
(5)
Process Control Systems
(6)
SCADA
(2)
Sensors
(7)
Temperature
(17)
Transducer
(17)
Virtual Instrumentation
(1)
