Académique Documents
Professionnel Documents
Culture Documents
1.
2.
3.
4.
5.
6.
7.
8.
9.
1.
2.
3.
4.
5.
6.
Serial processing
Programming unit required
High initial cost for simple processes
Sensitive to dust, high temperature and high
humidity
Repair must be made by qualified personnel
No uniform programming language
1.
2.
3.
Parallel processing
Small cost for small systems
Advantage to small scale operation
1.
2.
3.
4.
5.
Difficult to change
Large proportion of hardware
Complicated fault finding
Larger performance requirement
Construction only possible after parts
are available
Extensions not easily made
6.
1. HARDWARE
It pertains to all electronic and mechanical
components of a computer system which includes:
Central Control Unit ( CCU )
Central Processor Unit
System memory
Power Supply
Peripherals
Input and Output Peripherals
Connecting cables
Personal Computer
2. SOFTWARE
It pertains to programs which specify the conditions
under which the components in the installation are to be
triggered.
The software program, running on a PC, may be
used to create a program for the PLC and is typically
specific to one PLC or a family of PLCs.
The programming languages in PLC includes:
a. Instruction List ( IL )
b. Structured Text ( ST )
c. Ladder Diagram ( LD )
d. Function Block Diagram ( FBD )
e. Sequential Function Chart ( SFC )
3. SENSORS
They are electronic devices that report to the PLC
the status of the system to be controlled and if
necessary, non-electrical signals are converted to
electrical ones in order that they may be accepted by
the input module. Sensor may include:
a. Limit switches
b. Cylinder switches
c. Inductive sensors
d. Capacitive sensors
e. Reflective sensors
f. Others
4. ACTUATORS
Actuators are the components that make devices
move or start working.
These actuators may be:
Motor Starters for Electrical Motors
Solenoid Valves for Cylinders
Encoder for Motor Controls
5. PROGRAMMER
It refers to the programming devices that are used
to write the PLC programs and translate the programs
into machine codes for the CCU until it is transferred to
the program memory for testing. Programmers include:
a. Handheld Programming Console
b. Personal Computer
1. INSTRUCTION LIST
A text-based Low-level type of programming
language which is based on how the processor works
and consists of control instruction. Every instruction
consists of an operator and an operand.
Operator
A
AN
=
EP
Operand
I0.0
I0.1
Q0.0
Bit Address
Byte Address
2. STRUCTURED TEXT
It is a so-called "High level language" which is
based on the programming language PASCAL.
Structured Text is eventually used for more complex
problems and data structures.
Example of a small ST-Program:
PROGRAM HELLO_ST
(* Start and name of POU *)
VAR
(* Declaration section *)
OUTPUT AT %Q0.0 : BOOL;
INPUT AT %I0.0 : BOOL;
Enable_signal : BOOL;
END_VAR
IF INPUT=TRUE THEN
(* Instruction section *)
Enable_signal:=TRUE
ELSE
OUTPUT:=0;
END_IF
END_PROGRAM
(* End of program *)
WinSPS Help 3.2 Copyright (c) 1996-2002 Bosch Rexroth AG
3. LADDER DIAGRAM
It is a graphical programming language which has
its origins in the circuit diagrams of direct wired relay
controls.
Contacts
Contact Rail
I0.0
Element
Field
I0.1
EP
Input
Elements
Operand
Field
Q0.0
Connections/
Links
Output
Elements
I0.0
I0.1
Operand
Field
Connecting
Line
&
Element
Field
Q0.0
M0 .1
1N1
Logical
One
Q0.0
I0.0
&
I0.1
M0 .1
1N2
End
Logical
Q0.0
One
1. INPUT ( I )
I0.0 to I0.7
I1.0 to I1.7
Up to I23.7
= 192 Inputs
2. OUTPUT ( Q)
Q0.0 to Q0.7
Q1.0 to Q1.7
Up to Q15.7 = 128 Outputs
3. FLAGS / MARKERS ( M )
M0.0 to M0.7
M1.0 to M1.7
Up to M191.7 = 1536 Markers ( Internal Relays )
4. TIMERS ( T )
T0 to T127
= 128 Timers
5. COUNTERS ( C )
C0 to C63
= 64 Counters
PROCESS
OR
MACHINE
MEASURE
FIELD
INPUTS
CONTROL
PROGRAMMABLE
LOGIC
CONTROLLER
FIELD
OUTPUTS
PROGRAMMABLE
24V DC
Power
Supply
I 0.0
LOGIC
CONTROLLER
Q 0.0 24V DC
Output
Programmable Logic
Controller
PLC Status
Indicators
Power-ON Switch
Output LED
Indicators
+24V Output
Output Terminals
Ground
Input LED
Indicators
+24V Input
Input Terminals
I0.0
Built-in Input
Switches
INPUT CONTACT
STATUS
INPUT CONTACT
STATUS
PLC CONTACT
TYPE
PLC CONTACT
TYPE
PLC CONTACT
STATUS
PLC CONTACT
STATUS
A
A
I0.0
I0.1
Q0.0
AN
A
I0.0
I0.1
Q0.0
A
O
I0.0
I0.1
Q0.0
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