what is the similarity and what is the difference between relays and plc?
Relays are electro-mechanical switches that have coil and two types of contacts that is NO & NC. But a Programmable Logic Controller, PLC is a mini computer which can take decision based on the programme and its input & output.