EEE 4706 Control System Engineering Lab
EEE 4706 Control System Engineering Lab
EEE 4706 Control System Engineering Lab
environments with considerable electrical disturbance and high electric currents. In fact, inside them there is a simple but highly reliable microprocessor equipped with special input/output interfaces that can connect the microprocessor directly to electrical signals of installations and machinery.
The functioning of a PLC is quite simple: 1. In the first phase, the input interfaces (simply called inputs) acquire the status of the signals coming from the buttons, sensors and contacts. 2. In the second phase the microprocessor, processing the program on the basis of the inputs and internal data, produces signals that are sent to the output interfaces (simply called outputs). 3. In the third phase, the output signals that are transmitted to the actuators (motors, solenoid valves, consensuses etc) that put the machine in the motion.
Basic principle:
A LDR (light dependent resistor) is used as the light sensor which will sense the amount of daylight falling on it. Depending on the LDR value a relay will be turned on or off. The output from the relay will be connected to PLC which will in turn switch on the street lights. When the sun rises in the morning, the LDR value will be changed which will turn off the street lights.
Circuit diagram:
Op-Amp LM741
10K
10K
10 K
Relay
4007
470
PLC
Lights
2N2222
220 uF 1K 25V
PLC coding:
In PLC there are three conventions are followed for coding. They are as follows: 1. Ladder logic (LAD) 2. Functional block diagram (FBD)
3. Statement list (STL) Among all three most easy and widely used is Ladder Logic. It is nothing but drag and drop of graphical symbols according to desired operation. In PLC bit, byte and word operations can be executed.
** For further information about PLC programming you can collect the PLC
trainer manual from the lab