
Input interface The PLC reads external signals through its input interface to in order to operate as a reference
for the program.
In general, in order to prevent noise interference, the internal circuit of PLC inputs will isolate by photocouplers.
The acceptable voltage of the input photocoupler is not high, so special attention should be paid to the external
wiring. High voltage will damage the photocoupler and cause the input interface break down.
Output interface The PLC sends the computed result to its output interface, then to drive components and
reach the control action concretely.
In order to avoid interference from noises, at the output interface of a PLC has the isolation circuit. Typically, the
outputs are relays (by mechanically magnetic isolation) or transistors with photocouplers.
The relay output is the dry contact of switch which with the advantage of intuitive no current direction limit and
accepts AC or DC signal. The disadvantages are shorter life of contact, which is not a durable part and will affect the
controller's life. Also, the movement of its contact is slow (about 5 ~ 10ms) which is not suited for the fast response
output.
The transistor is a semiconductor contactless switch, which has advantages and disadvantages just opposite to a
relay.
According to the characteristics of the control objectives, should choose an appropriate output type when designing
the control system. In addition, for the purpose of the system reliability, may choose the transistor output type if it is
possible.
Data memory The data memory in PLC is responsible for storing the data.
Both the operating system and the user program must have data workspace. Typically, SRAM (static random access
memory) is used as the data work area.
However, a part of the PLC data memory area must have latched feature to preserve the relevant parameter settings
and specic operating results when power is missing. There are two components can cooperate with the SRAM to
latch, one is the lithium battery, the other is the non-volatile (such as EEPROM, Flash ROM, FRAM, etc.) memory.
Regarding their advantages and disadvantages, please refer to the description of program memory.
2
Program memory The memory for the PLC user to store the compiled control program, can let the CPU to
interpret and compute then produces the control procedures.
The program memory must have the ability to preserve its contents, in order to continue work after the power is
resumption. At present, there are two ways.
The rst way is to use the SRAM (static random access memory) cooperated with a lithium battery. The advantages
of this method are more exible and less restrictive. But, the disadvantage is once the battery is exhausted, all the
program and settings will disastrously disappear.
The second method is to use non-volatile memory (such as EEPROM, Flash ROM, FRAM, etc.). By the no battery
required characteristic of those semiconductor components to preserve the program. Its advantages are stable and
reliable; but usually with higher cost, has the restriction on the number of writing times and slower in writing.
A control system which is composed by a small PLC usually got less care from the owner. Therefore, it is a better
choice to use battery-free non-volatile memory to store the user program.
Communication interface An interface which is responsible for linking PLC with the surrounding equipment for
data transmission.
Programming device The PLC manufacturer provides a device for users to program and debug.
Nowadays, the common communication interfaces are the RS-232, RS-422 and RS-485, also the use of Ethernet is
gradually increased.
In addition to protocol with their own products, the PLC manufacturers usually provide communication protocol with
MODICON's MODBUS to facilitate connecting with peripherals.
With the increasing complexity of automatic control systems, PLC manufacturers also pay attention to the
communication capacity to link with more peripherals. Therefore, higher level of PLC can provide several
communication interfaces to make it work with more peripherals and complete complex control demands.
Common programming devices include handheld programming device and PC programming software.
The handheld programming device usually uses the simple-text of Instruction List (IL), in fact it is an important part in
the programming development of a PLC. However, with the progress of the times and the popularity of personal
computers. The software at PC which can provide graphical interface and has become the best choice for PLC
programming.
Peripheral equipment Various devices are linked with the PLC to complete the control system together.
A PLC is often linked with peripheral equipments, such as the computer, human-machine interface (HMI), inverter,
thermostat, servo drive, power meter and other PLC.
The most commonly peripheral equipment which PLC operates with are:
1. A computer or human-machine interface connected to a PLC for machine settings and monitoring
2. A computer or human-machine interface connected with multiple PLCs that becomes a local network team and its
monitor.
3. Linking several PLCs for proceeding decentralized control.
4 Linking PLC to a variety of peripheral equipment of specic use, for extending control areas.
Programming interface The communication interface for to link the programming device with the PLC.
The user uses the programming device to write a control program and through the programming interface to load to
the PLC. Furthermore, monitoring and debugging to complete the program's calibration test.
Generally, the programming interface is a serial communication interface, the RS-232, RS-422 or RS-485 port is
popular. Recently there have been some PLC introduced with the USB interface to provide faster communication link.