Phy PLC PROGRAMMING
Phy PLC PROGRAMMING
1. Control System
2. Reference Input
3. Controlled Variable
4. Disturbance
5. Feedback Element
System
Time Controller Actuator (street Street Lamp
set up (timer) (Relay) lighting ON @ OFF
system)
Fig. 2: Block diagram of Street Lighting System using Open loop control system
comparator
System
Reference input controller Actuator Output
signal
Measurement element
• Dark =comparator
ON and Bright = OFF)
System
Reference input controller Actuator Output
(Light intensity) (relay) (street signal
lighting (lamp
system) ON@OFF)
Measurement element
(light sensor)
COMPUTER
Reference system
controller Actuator Output
signal
signal
Measurement element
i. Easy to program.
ii. Not need rewiring the control system if
change the program.
iii. Smaller in size, cheaper and high reliability.
iv. simple construction and low maintenance
v. Cost- competitive
i. Compact PLC
ii. Modular PLC
iii. PLC Plug-in Card
i. Compact PLC:
Data BUS
Address Bus
Control Bus
b. Memory Unit
• The user’s ladder logic program, the state of I/O in the memory of PLC.
• The main program and the other programs necessary for the operation of
PLC.
2 types of Memory
ROM RA
M
TYPES OF MEMORY:
RAM ROM
Random Access Memory Read Only Memory (read)
This memory can be read from This memory can be read only
and written to.
Entire contents will be lost if power Memory content remain when the
is switched off. power is switched off.
• Input Unit:
Function as a medium that connects the external input
devices
(Switch, sensor & timer)
• Output Unit:
Function as a medium that connects the external output
devices to the CPU within PLC.
( Lamp, motor & solenoid )
Push Button
Limit Switch
Thumbwheel
SW
Level SW
Flow SW
Solenoid
LED Display
Heater Coil
Lamp
Monitor Screen
f. Programming Unit
Consist of 2 devices:
i. Programming Console
ii. Computer
i. Printing Unit
Used to print control system programming that controlled by PLC
wether graphically or text.
PLC Programming Languages