Académique Documents
Professionnel Documents
Culture Documents
Jerzy Kasprzyk
1. Introduction
In the respect of the PLC architecture, one can distinguish:
Compact controllers,
Modular controllers.
Table 1. The most popular PLC families
Manufacturer
Intelligent
relays
Small
Medium
Large
Siemens
Logo
SIMATIC S7200
SIMATIC S7-300
SIMATIC S7-400
Schneider
Electric
Zelio
Nano,
Micro,
Twido
Premium,
Compact,
Momentum
Quantum
GE Fanuc
VersaMaxNano
VersaMaxMicro
90-30,
VersaMax,
PACSystems
RX3i
90-70,
PACSystems
RX7i
Mitsubishi
Electric
ALPHA
MELSEC FX1,
FX2
MELSEC QnAS
MELSEC QnA,
MELSEC System
Q
CPM1, CPM2,
CQM1H
C200H-alpha,
CJ1, CS1
CVM1
MicroLogix
SLC500,
FlexLogix,
ControlLogix
PLC-5
Omron
Rockwell
Automation
(Allen-Bradley)
Pico
Others: PCD family of SAIA-Burgess, Bernecker & Rainer (multitasking operating system),
Beckhoff, WAGO, Moeller, etc.
Communication modules,
Hardware configuration:
number and type of baseplates, types of modules,
parameters of the modules that can be configured by the user, e.g. signal ranges, voltage
or current mode for AI or AO, code (e.g. binary, BCD), references (direct addresses).
In the older systems, some of the parameters have been set in hardware (e.g. jumpers),
nowadays it is rather done in a software way.
For communication modules, the user should declare: parameters of the communication link
(e.g. speed rate, address of the node, data protection), references for transmitted data, etc.
INITIALIZATION
INITIALIZATION
SCAN
THE INPUTS
?
NO
YES
READING
THE INPUTS
MODE "RUN"
?
NO
SCAN
TIME
YES
PROCESSING OF
PROGRAM
LOGIC
EXECUTE
A PROGRAM
UPDATE
THE OUTPUTS
?
YES
WRITE
THE OUTPUTS
COMMUNICATION
DIAGNOSTICS
NO
WRITING
THE OUTPUTS
COMMUNICATION
WITH PADT
AND SYSTEM
COMMUNICATION
DIAGNOSTICS
RUN typical mode, all phases are executed including application program;
Other modes: Constant Sweep, test modes: Single Sweep, Step by Step, RUN without digital
output activation.
Scan Time (sweep time) can not be arbitrary long there is a watchdog in CPU that prevents
PLC against program hang-up (typically 100 ms to 500 ms).
Baseplate
Extension
Remote
16 DI
0,030
0,055
0,206
16 DO
0,030
0,053
0,197
4 AI
0,075
0,105
0,396
2 AO
0,058
0,114
0,402
16 AI
0,978
1,446
3,999
8 AO
1,274
1,988
4,472
HSC
1,381
2,106
5,221
APM (1 axis)
1,527
2,581
6,388
Ethernet
0,038
0,041
0,053
0,567
0,866
1,830
1,714
2,514
5,783
0,798
1,202
2,540
18,38
25,377
70,777
GCM
GBC
To other circuits
Optical
coupling
Fig. 5. Simplified schematic and field wiring diagram for MDL 646
(24Volt DC Positive/Negative Input Module)
Optical
coupling
Fig. 6. Simplified schematic and field wiring diagram for MDL 231
(240 Volt AC Isolated Input Module)
To other
curcuits
Fig. 7. Simplified schematic and field wiring diagram for MDL 742
(24Volt DC Positive Output Module)
a)
b)
.022mF 100
630V
1A, 100V
DO
c)
0.5 W
DO
d)
DO
DO
10 V, +10 V;
0 V, +10 V;
+1 V, +5 V;
4 mA, 20 mA;
0 mA, 20 mA.
differential (A/D converts the difference voltage between the inputs IN+ and IN );
single-ended (A/D converts the difference voltage between the input and COM).
Additional element
of the curcuit
A
250
D
%IW1
A
250
GND
24V
%IW2
ANALOG
INPUT
Fig. 9. Wiring diagram for a single-ended AI current module and 2-wire sensors
Additional element
of the curcuit
4-wire
sensor
250
D
%IW1
4-wire
sensor
250
D
%IW2
GND
ANALOG
INPUT
24V
Fig. 10. Wiring diagram for a differential AI current module and 4-wire sensors
Additional element
of the circuit
+
A
D %IW1
A
D %IW2
GND
ANALOG
INPUT
optional
Accuracy;
It is defined as the maximum difference between expected and measured values e.g.
10 V, +10 V;
0 V, +10 V;
+1 V, +5 V;
4 mA, 20 mA;
0 mA, 20 mA.
Usually, a user can also define the signal state on the output while PLC is in the STOP mode
(Timeout State). It can be done in hardware way (using jumpers) or software way (during
configuration). Then the user can declare the state as e.g. User Defined or Last Value.
Additional element
of the circuit
%QW1
D
A
%QW2
D
A
ANALOG
OUTPUT
24V
A hot standby system consists of two identically configured PLC units that are
communicating with each other via hot standby processors. If there is a failure of the primary
PLC, the secondary (or backup) PLC will assume the control check. Under normal
conditions, the secondary PLC assumes no control functions, it only checks status information
to detect errors.
Primary PLC
Secondary PLC
Connector to RIOS
2.
3.
The Hot Standby solution provides bumpless transfer of I/O using remote I/O. In case of a
failure, the controllers switchover and the system recovers quickly.
After Hot Standby system has been started and is running normally, it will continue to
function automatically. It constantly tests itself for faults and is always ready to transfer
control from the Primary to the Standby, if it detects a fault.
While the system is running, the primary CHS module will automatically transfer a
predetermined amount of state RAM to the Standby unit each scan. This ensures that the
Standby is ready to take control if needed.
If one or both of the links between the Hot Standby modules are broken, the Primary
controller will function as though no backup is available.
If the Primary controller fails, the Standby automatically assumes control of the remote I/O
network. If the Primary controller recovers from failure, it assumes Standby responsibilities.
If it cannot recover, it remains offline.
If the Standby controller fails, it goes offline. The Primary controller functions as a standalone and continues to manage the I/O networks.
TMR is a fault tolerant solution, in which three systems perform a process and that result is
processed by a voting system (two of three) to produce a single output. This means, if one of
the three systems fails, the other two systems can correct and mask the fault.
Example: the GE Fanuc Genius Modular Redundancy (GMR) system.