Shubham Automation File
Shubham Automation File
ON
TITLE OF TRAINING
Submitted by:
Affiliated to
Vprotech digital
SCF – 116, SECOND FLOOR, INDUSTRIAL AREA SECTOR 58, PhASE-5,
MOHALI, 160059
E-Mail – [email protected]
WEB – https://vprotechdigital.com/
Contact 172-4639508, 7901949497
INTRODUCTION OF SOFTWARE TRAINING
Fast and Easy PLC Control The object of a PLC simulator is to 'fake out' the
input into a PLC so that the programmer can test and debug the program
before installation into it's operating environment. Our patent pending PLC
simulators achieve this by mounting on the existing terminal strip of the
PLC card and providing easy controls to turn digital inputs on/off or adjust
analog signals. If you are a engineer who programs PLCs or even a
technician in need of a quick way to test a PLC functionality then these
devices are for you. Save time, money and embarrassment by fixing
problems before they start. These PLC simulators are for sale in our products
section.
History
The PLC was invented in response to the needs of the American automotive
industry. Before the PLC, control, sequencing, and safety interlock logic for
manufacturing automobiles was accomplished using relays, timers and
dedicated closed-loop controllers. The process for updating such facilities
for the yearly model change-over was very time consuming and expensive,
as the relay systems needed to be rewired by skilled electricians. In 1968
GM Hydromantic (the automatic transmission division of General Motors)
issued a request for proposal for an electronic replacement for hard-wired
relay systems.
Characteristics
The main difference from other computers is that PLCs are armoured
for severe condition (dust, moisture, heat, cold, etc) 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 even use machine
vision. On the actuator side, PLCs operate electric motors, pneumatic
or hydraulic cylinders, magnetic relays or 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.
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.
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 does not have enough I/O.
Modular PLCs have a chassis (also called a rack) into which is 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.
Programming in PLCs
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. 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.
FLOWCHART OF THE WORK TO BE FOLLOWED/PROJECT
Introduction
applications since their advent in the 70s. The programming of logic controllers
has been done majorly by the knowledge of the programmer and no formal
methods are used. Hence, the task of writing the code becomes a difficult one with
the efficiency of the code varying from programmer to programmer. The ladder
logic structure of coding PLCs makes it difficult to realize higher level concepts
such as function calls and looping. The discrete event based modeling of systems
be dealt as Discrete Event problems. The DES based modeling and Supervisory
Control of a manufacturing cell is already dealt with in [1]. Hence, in our paper,
we deal with another problem, that is, Supervisory Control of a Dynamic Power
Flow Controller using the same approach as in [2]. The Supervisory Control
Theory (SCT) was proposed first by Ramadge and Wonham [3]. In this paper, they
introduce the concept of Supervisors and how a feedback system is established for
the control of a DES. Although, SCT has gained critical acclaim in the academic
sector, industrial applications have been minimal. This is mainly due to the fact
that the number of states in the Supervisor increases exponentially and is so larger
supervisors are used which work synchronously to achieve the same control action
due the “bridge between the asynchronous DES world and synchronous PLC
world” [5]. The DES modeling assumes the events to occur spontaneously at any
random instant. But, the PLC follows a synchronous system of scan cycles. Some
problems with physical implementation of supervisors are dealt with in [5], [6],
[7]. In [5] , Fabian and Hellgren discuss some problems such as causality, inexact
above problems which are to some extent implemented in our work. For physical
all these problems have been discussed effective solutions are still open to
research. Max and Vieira [4] suggest some methods while programming to
overcome some of the problems discussed. They define a three level architecture
which contains the Modular supervisors at the top, the product systems in the next
level and the related operational procedures in the lowest level. They also use some
auxiliary variables in the code to make sure the supervisors are not updated in the
next cycles before the output is changed. Our work uses all these methods to
As discussed earlier the SCT, although it has earned much acclaim in the
Our work mainly aims at proving that the complete automation of the
ad-hoc solutions were sufficient. But, due to the increasing complexity of man-
made systems, has taken such systems to such a level that formal methods for
analysis and design are required. One of the first papers on the formal methods for
control of discrete event systems were by Ramadge and Wonham [3]. The main
advantage of the model is that it separates the concept of open loop dynamics
(plant) from the feedback control, and thus permits the formulation and solution of
a variety of control synthesis problems. After the initiative by them, many other
But, what the researches had not considered was the implementation of SCT.
regarding changes that occurred in the system. A controller controlling the system
was described in a similar way, accepting the outputs of the plant, and in turn
producing commands. Under these semantics both the controller and the plant
formed the “generating” process in the closed-loop systems. This was in contrast to
the original framework of Ramadge and Wonham where the plant alone was the
between the plant and the supervisor. Using this scheme a control environment for
4
implemented at the Center for Integrated Systems at Stanford University. The
applications were unknown. Fabian and Hellgren [5] in 1996, suggested that the
main reason for this was the discrepancy between the abstract supervisor and its
examples. Malik [6] also dealt with problems like determinism and suggested some
solutions.
In 2002 Max and Cury [1] attempted the modular supervisory control of a
manufacturing cell. They suggest a three level structure for the PLC
implementation of the supervisors. Again in 2006 [4], they improved their structure
and proposed a Sequential Flow Chart based algorithm for developing the PLC
code. In 2009 Max and Silva [2], developed the control scheme for a factory
manufacturing cell using the methods in [4] and they also used an automatic code
generator for the PLC code part. This was a real step forward in the automation of
the controller implementation process. Further, the tools TCT and IDES developed
by Wonham [9] and Rudie [10] respectively greatly aided to the ease of design
process.
REFERENCES
[1] Queiroz M.H. and Cury J.E.R. Synthesis and Implementation of Local
[2] Queiroz M.H and Silva Y.G. Formal Synthesis, simulation and automatic code
[3] Ramadge P.J.G and Wonham W.M. The Control Of Discrete Event Systems,
[4] Vieira A.D and Cury J.E.R and Qeiroz M.H. A Model for PLC
IEEE(2006).
[5] Fabian M. and Hellgran A. PLC-based Implementation of Supervisory Control
[7] Dietrich P., Malik R., Wonham W.M., and and Brandin B., Implementation Considerations
[9] Cassandras C.G. and Lafortune S., Introduction to Discrete Event Systems
[11] Feng L. and Wonham W.M. TCT: A computational Tool for Supervisory