Professional Documents
Culture Documents
PLC Trainer
Programmable controller, in brief PLC, and it is a new industrial automatic controller based on
American traditional sequence controllers, microelectronic technology and computer technology in
1960s.
Presently, in China, PLC is used widely in steel and iron, petroleum, chemical industry, electric
power, construction materials, machinery manufacture, automobile, light industry, transportation and
environmental protection. With the advancement of industrial control technologies, PLC is widely used
in industrial production process and automatic control fields. To satisfy the requirements in the society,
many colleges, secondary technical and vocational schools have set up the related courses and subjects.
The PLC application technology is a highly practical subject, only through actual and practical
operations, can students really learn the knowledge and skills. We developed a whole set of PLC trainers,
including PLC controller and 6 types of training models, as well as related ladders and instructions for
students to learn how to make programming. Students also can design and make ladders and programs
according to teaching models.
The controller is Siemens S7-200 CPU226 PLC, compact and reliable, easy to operate. Now we
developed AC 3-phase motor control, automatic washing machine control, stepper motor control,
traffic lighting control, 4-floor elevator control and electrical plating automatic production line control
and so on. The students, through training, can learn and understand various instructions and functions,
to improve programming skills and PLC application capabilities.
The manual is divided into 3 parts, part 1 is to introduce S7-200 programming software, part 2 is
for programming training, and part 3 is to introduce PLC application training.
1. STEP7-Micro/WIN32 software
1. Brief description
Programming software STEP7-Micro/WIN32 Version 3.1 is suitable for S7-200 series of PLC
system setting (CPU group), for programs development and real-time monitor operation; Updated
Microwin3.1 SPL V3.1 functions; Toolbox provides users instruction and touch screen TP070 group
software, SP1 and Toolbox software. STEP7-Micro/WIN32 software is based on Windows application
software.
2. Programming software installation
Programming software STEP7-Micro/WIN32 can be installed on PC(man and computer) and
SIMATIC programming PG70. Installation methods are lower:
(1) Installation
PC486 or higher, can install Windows 95 and above operating systems, memory: 8MB and above,
hard disc: 50MB and above.
(2) Installation methods
Click Microwin 3.1Microwin 3.1 SPLToolboxMicrowin 3.11, to install.
3. Establish S7-200 CPU communication
S7-200 CPU and PC communication connection is by special PC/PPL cable, or by MPI card and
common cables. Take PC as the main controller, through PC/PPL cable or MPI card and or some PLC
connection, for equipments communication.
(1) PC/PPL communication
PC/PPL supports PC, according to PPL communication protocol setting special cable, with
communication modules, external braud rate setting switches and the two terminals are RS-232 and
RS-485 ports. PC/PPL RS-232 terminal is connected to computer RS-232 communication port COM1
and COM2 ports, PC/PPL terminal (RS-485) is connected to S7-200 CPU communication port.
(2) MPI communication
MPI card provides a RS-485 terminal port, for straight and network connection, when MPI
communication is established, you can make STEP7-Micro/WIN32 connections to many other
equipment networks, each S7-200 can be the main controller and has each own address. Install MPI
card in PC and PCL, then start installation, the setting file is stored in Windows directory, CPU and
PCRS-485 ports are in cable connection.
(3) Communication parameters setting
The communication parameters setting include S7-200 CPU address, PC software address and
PORT setting. Shown in Diagram1-1-1 is communication parameters setting dialogue block. drag
monitor menu, click communication (M), to show communication parameters. The system programmer
Double click
S7-200 modes: stop mode and operation mode. CPU panel LED status displays current operation
mode. In stop mode, S7-200 will not run programs, and then you can download programs, data and
CPU system setting. In operation mode, run S7-200 program.
1. S7-200 operation mode
Click
You can select Debug>Program Status to monitor program, STEP7-Micro/WIN to display running
result, if you want to stop running program, you can click STOP icon or select menu command
PLC>STOP to make S7-200 in STOP mode.
2. Power supply budget:
The S7-200 CPU has an internal power supply, to provide 24V DC power supply for CPU
self\extended modules and other equipments. S7-200 provides all 5V DC logic power supplies for all
extended modules in the system, you shall make your system configured with CPU 5V power supply,
for further modules, if your requirements are higher than CPU power supply capacities, then you have
to clear off some modules or select a better power supply. S7-200 CPU also provides 24V DCsensor
power supply, and the 24VDC can be power supply for input points, extended modules, relay coils or
other equipments, if the equipment power consumption exceeds sensor power supply budget, you have
to prepare another external 24VDC power supply power supply for the system.
Programming software step 7-micro/win32 basic function is to help users to complete PLC
application programs development, in PLC parameters setting, encryption and monitor functions.
STEP7-Micro/WIN32 programming software, in off-line mode, can be used for program input,
edit, and translation functions.
Programming software, in on-line modes (PLC and programming PC are connected), the upload,
download, communication test and real-time monitor functions are available.
STEP7-Micro/WIN32 window group and functions
View-- program block, icon, table, status diagram, data block, system block, intercross reference and
communication button.
Tools-- instruction guide, TD200 guide, position control guide, EM253 control panel and demodulator
guide button;
Instruction tree-- all project objects in current program editor (LAD, FBD or STL), an instruction tree
window. You can operate on all open projects and objects in the branches of the project.
Status diagram-- allow program input, output or variables input, to monitor its status.
Output window-- output information during program or instruction translation. When lists of program
errors are output, it will display corresponding program networks in the program editor window
Menu
The common or tools shortcut buttons (as shown in Diagram1-2-2). You can select items in the
tools bar.
Options
Inser Network
Run
Program Status Write All Unforce
Force
Diagram1-2-5 debugging tools bar
Line Operation
Coil-F6
Allow you to use mouse or keyboard to run instructions. And you can select tools menu, modify
according to your requirements.
1. Main menu and submenu status information
(1) File
Create, open, close, save, save as, import, export, upload, download, page setting, print and
preview.
(2) Edit
Cancel, cut, paste, all select, insert, delete, search, replace, for program modification operation.
(3) View
Monitor menu functions:
You can select program datadisplay window to display various program editors. Such as
statement table (STL), ladder (LAD), function Diagram (FBD);
You can make data block, icon table setting;
Make setting on system block intersection, communication parameters;
Tools bar can be used to select browse bar, instruction tree and output windows;
Zoom in/out;
Program block properties setting.
(4) PLC
PLC menu is used to establish PLC on-line communication, such as to use software to change PLC
work mode, to edit users programs, to clear PLC programs and reset power supply, display PLC
information and make PLC setting.
(5) Debug
Debugg menu has items such as on-line dynamic debugging, single scan, multiply scans, and
program status. Select submenu and monitor menu zoom in/out function.
(6) Tools
Tools menu has a complicate instruction guide (PID, NETR, NETW, HSC instructions) and TD200
setting guide, and TP070 (touch screen) setting.
(7) Windows
Windows menu is used to select window display and display format (ladder, statement table and
various tables).
(8) Help
Help menu can provide S7-200 instruction system and programming software information, has
1, Ladder fundamental
The current can flow through a switch, and the coil represents current charged relay or output;
instruction box represents instruction box functions when current flows.
2, Ladder layout principle
The network shall start from contacts, coil or instruction box..
Attention: in each users program, 1 coil or instruction box only can be used for one time, more
coils in serial connection are not allowed.
(3) Ladder input instruction (programming elements)
1
Network1
Network Title(Single row)
2
Network2
Diagram1-3-1ladder instruction
The programming elements input can be done by double click on instruction tree, drag and click
tools bar shortcut keys F4 (contacts), F6(coil), F9(instruction box), or double clilck instruction tree to
select input programming software.
The tools bar has 7 programming keys, the first four are to connect cables, and the latter 3 are
contacts, coil, and instruction box.
The programming elements input is in program edit window, move cursor onto the elements, then
input programming elements. The programming elements input is two methods. By mouse and left
key to input programming elements, for example, input contacts elements, move cursor into
programming area, left key click tools bar contacts button, to show a menu, use mouse to click the
programming elements, push return key, input programming elements, then click programming
1, Program operation
When PLC working mode is in TERM or RUN status, run STEP7-Micro/WIN32 menu command
or click shortcut button to make software setting in CPU working mode.
2, Program monitor
The program editor can monitor programrun process and all elements status and data during PLC
operation.
Ladder monitor function: drag debugging menu, select program status, close contacts. In RUN
status, it can carry out timing and counting process operation, in each cycle, it can output refreshed
status of each element, and it can dynamically display timing, counter current values, in order to
observe program on-line operation dynamically, shown in Diagram 1-3-2.
10
2
Network2
4, Steps
5, Precautions
11
1. Timer instruction
12
Network2
T37 Q0.0
( )
As shown in Diagram 2-3-1, turn on delay timer, timer T37 will start timing, the normaly open
contacts are turned on, drive Q0.0 output; when I0.0 is off, T37 resets, when current value clears, status
bit will be cleared, to recover to initial status. If I0.0 is ON, and is OFF before the time is over, then T37
will reset, and Q0.0 will not output.
2. Counter instruction
Networkl
C1
I0.0
CD CTD
I0.
I0.
I0.1 3 3
2 2
1
CD 0
C
+3- PV Q0.
M0.0
2
Network2
I0.2 I0.4 Q0.1
0.3
13
Network 1: when input I0.0 is set (I0.0=1), input terminal I0.1 is clear (I0.1= 0 I0.1 =1 status),
coil M0.0 is on (internal standard M0.0 is 1), normally open contacts will close, to make I0.0 reset voil
(I0.0=0), M0.0 coil is powered. M0.0 coil is normally contact, I0.1 is ON (I0.1=1 I0.1 =0), M0.0
self-lock circuit is open, coil off.
Network 2: when input I0.2 or I0.3 is set, when I0.4 is clear, and output coil Q0.1 on.
2 Sequence control instruction:
When I0.0 input is on, start S0.0, run program, first step, output Q0.0 is 1(ON red light) Q0.1 is 0
(OFF green light), start timer T37, 2S later, jog jump instruction, S0.1 is 1, S0.0 is 0, program enter the
second step, output Q0.1 is 1 (green light ON), Q0.0 is 0 (red light OFF), in a same time, start timer T38,
2s later, jog instruction, S0.0 is 1, S0.1 is 0, program enter the first step, cycle in this way.
1 16
Network16
Network1
I0.0 0.0 S0.1
S SCR
Network2
2 0.0
Network7
7
SCR
SM0..0 Q0.0
R
Network3
3
Q0.1
SM0..0 Q0.0
S
S T38
Q0.1 IN TON
S
Network8
8 +20- PT
T37
IN TON T38 0.0
+20- PT SCRT
Network4
4
Network9
9
T37 0.1
SCRE
SCRT
5
Network5
SCRE
14
Netork4
I0.3 4 Network 4
AN Q0.2
=Q0.1
Netork16 //LBL 4, jump program entry Network16
4
LBL LBL
Network17
In Network 4, JUMP makes the program jump over branches (Network 5-15), to LBL 4. N is as
same as the N in LBL command. In the scanning periods during jump, the program stops, and the
status of each out elements in the program never changes, and does not response to any changes in
situations.
15
1, Purposes
1, Learn programmer basic operation and programmer input, check and operation.
2, Learn PLC automatic washing machine control fundamental and I/O port connection, PLC
programming and debugging operation.
3, Learn I/O port distribution andI/O port wiringmethods.
4, Learn PLC programming language.
2, components
3, Fundamental
16
5, I/O circuit
Water supply indicator light
Start
I0.0 Q0.0
Drsin indication light
Stop Q0.1
I0.1 For ward blend
indicator light
Upper limit Q0.2
Back blend
I0.2 indicator light
Q0.3
Lower limit Drying indicator light
I0.3 Q0.4
Buzzer indication light
Drain Q0.5
I0.4
- +
1M 1L
+ -
24V 2M 2L
12V FU
CPU 226 CN
7, Circuit
Connect automatic washing machine control circuit according to Diagram 3-1-2.
8, Questions
1, Washing machine rotates forward, back time are 10s, cycle for 5 times.
17
IN Water
OUT
Forward 1L
upplimit Lowerlimit Drain spply blend Dry Q0.0 Q0.1 Q0.2 Q0.3 2 Q0.4 Q0.5
COM
COM 1M COM 2M M L+
19
1, Purposes
2, Cmponents
3, Fundamental
4, I/O
20
KM1
SB1 Q0.0
I0.0
KM2
SB2
I0.1 Q0.1
KM
SB3 Q0.2
I0.2
1M KMY
Q0.3
24V 2M
CPU 226 CN
1L
12V FU
Diagram 3-2-13-phase motor sequence controlI/O circuit
6, Steps
1, Turn off PLC controller power supply, do wiring according to Diagram 3-13-2, do not short circuit 12V
and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer, download
programs into PLC then put PLC in RUN status.
4, Turn on 2.6 (2.4, 2.5, 2.7 are off).
5, Operation and observe.
7, Circuit
8, Questions
1, Rrequirements: forward start operation for 30s, then stop for 2s, start back operation for 30s, then stop for
2s, repeat.
21
COM
IN
KM KMY
SB1 SB2 SB3 COM
- 12V +
COM 1M COM 2M M L+
22
1, Purposes
2, Components
3, Fundamental
DC CB BA AD
When the motor is in back rotation, the power supply time sequence:
AB BC CD DA
4. I/O
23
5. I/O circuit
Forward and
Back Rotation A
I0.0 Q1.0
N3 B
I0.1
Q1.1
N2 C
I0.2
Q1.2
N1
I0.3 D
Q1.3
Manul
I0.5
+ -
Start 2L
I0.6
3L 12V FU
S I0.7
CPU 226 CN
- +
1M
24V 2M
6, Steps
1, Turn off PLC controller power supply, do wiring according to Diagram 3-13-2, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.6, 2.7(2.4, 2.5 are off).
5, Training operation:
(1) Make forward /back switch setting is forward.
(2) Select speed stage N1, N2 and N3, make start/stop switch is in start, observe how the motor
works. Push stop button, to stop the motor.
24
7, Circuit
8, Questions
25
26
1, Purposes
2, Components
3, Fundamental
4, I/O
Table 3-4-1traffic lightcontrol I/O
input output
I0.0 Start witch Q0.0 east & westred light
I0.1 Stop sitch Q0.1 east & westgreen light
I0.2 Shielded switch Q0.2 east & westyellow light
Q0.3 south & northred light
Q0.4 south & northgreen light
south & northyellow
Q0.5
light
5, I/O circuit
27
1L
2L 12V FU
CPU 226 CN
1, Turn off PLC controller power supply, do wiring according to Diagram 3-4-2, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.5 (2.4, 2.6, 2.7 are off).
5, Training operation process:
(1) Turn on S1, observe traffic light change.
(2) Turn on shielded switch S3, observe light change, down S3, observe light change.
(3) Turn on stop switch S2, observe light change, down S2, and observe light change.
(4) Compare switch S2 and S3. S2 makes light OFF, S3 makes light temporarily OFF.
7, Circuit
8, Questions
28
OUT
green yellow red 1L Q0.0 Q0.1 Q0.2 Q0.3 2L Q0.4 Q0.5
East
IN West
S1 S2 S3 COM COM
29
1, Purposes
30
4, I/O
Table 3-5-1 4-floor elevator control I/O
input output
I0.0 1-floor position Q0.0 Upward indication
switch SQ1
I0.1 2-floor position Q0.1 Downward indication
switch SQ2
I0.2 3-floor position Q0.2 Upward drive
switch SQ3
I0.3 4-floor position Q0.3 Downward drive
switch SQ4
I0.4 1-floor instruction Q0.4 1-floor instruction register
switch K10
I0.5 2-floor instruction Q0.5 2-floor instruction register
switch K9
I0.6 3-floor instruction Q0.6 3-floor instruction register
switch K8
I0.7 4-floor instruction Q0.7 4-floor instruction register
switch K7
I1.0 1-floor upward Q1.0 1-floor upward calling register
button K1
I1.1 2-floor upward Q1.1 2-floor upward calling register
button K3
I1.2 3-floor upward Q1.2 3-floor upward calling register
button K5
I1.3 2-floor downward Q1.3 2-floor downward calling register
button K2
I1.4 3-floor downward Q1.4 3-floor downward calling register
buttonK4
I1.5 4-floor downward Q1.5 4-floor downward calling register
buttonK6
Q1.6 Door close
Q1.7 Door open
31
1M 1L
24V 2M 12V FU
2L
CPU 226 CN
3L
6, Steps
1, Turn off PLC controller power supply, do wiring according to Diagram 3-5-2, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert the other end to
220V power supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4,Turn on 2.5,2.7(2.4,2.6 turn on ).
5, According to fundamentalworking modes operation, observe results.
32
Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7
- 12V +
COM 1M COM 2M M L+
X10 X11 X12 X13 X14 X15 COM I1.0 I1.1 I1.2 I1.3 I1.4 I1.5
33
1, Purposes
2, Components
3, Fundamental
1, Process:
Upper limit
XK1 XK2 XK3
Left
limit
On the leftside of the electrical plating production line, insert the workpiece and send automatic
start signal, and it will rise and start automatic movement. Then it stops on the position for a period
required, and drops automatically. Each time when it stops, it will stop for a period, then drops
automatically, to finish each procedure on the production line, then it will return to original position
automatically for workpiece insertion again.
2, Work flow chart is following:
Origin: when it is in the initial status, hook is in lower limit position.
Automatic process:starthook upwardupper limit travel switch closesrightward to No. 1
xk1 travel switch closeshook drops into No. 1lower limit travel switch closeselectrical plating
delayhook upward.from No. 3, hook moves upward, leftward to right limit position, and hook
drops to lower limit position (origin).
Continuous mode: when hook returns to origin, delay for a period, it will automaticcally move
34
4, I/O
Table 3-6-1electrical plating production linecontrol I/O
input output
I0.0 Upper limit travel switch Q0.0 Rise
I0.1 Lower limit travel switch Q0.1 Drop
I0.2 Left limit Q0.3 Rightward
I0.3 XK1 travel switch Q0.4 Leftward
I0.4 XK2 travel switch Q0.7 Origin
I0.5 XK3 travel switch
I0.6 Origin switch
I0.7 Continuous mode switch
I1.0 Start button
I1.1 Stop button
I1.2 Stepper button
I1.3 Single cycle button
5, I/O circuit
Upper limit
travel switch
I0.0 Rise
Lower limit Q0.0
travel switch
I0.1
Left limit
Drop
I0.2 Q0.1
XK1
I0.3
Rightward
XK2 Q0.3
I0.4
XK3 Leftward
I0.5 Q0.4
Origin switch
I0.6
Origin
Continuous
mode switch Q0.7
I0.7
Start button
I1.0
Stop button
1L
I1.1
2L 12V FU
Stepper button
I1.2
Single cycle
button
I1.3
1M CPU 226 CN
24V 2M
35
1, Turn off PLC controller power supply, do wiring according to Diagram 3-6-2, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.5, 2.6 (2.7, 2.8 are off).
5, Process:
(1) Push origin switch, make it in initial position, then origin indicator light is ON.
(2) Push continuous work switch, thenpush start button, make it continuously work, observe
equipment work process. Push stop button, observe equipment how to stop .
(3) Push single cycleswitch, select single cycleworking modes, push startbutton, a cycle later,
it stops in origin, in work process, push stop button, observe whether it can stop immediately, then
push start button, see whether it continues.
(4) Push jog switch, select jog working modes.
(5) In continuous work, single cycle and jog, push origin button, it will return to origin.
7, Circuit
Connect electrical plating production line control circuit according to Diagram 3-6-2.
36
IN
Continuous Single cycle Stepper Drop Leftward Origin
Origin
mode switch button button switch Start Stop
37
1, Purposes
2, Components
3, Fundamental
4, I/O
38
1M 1L
1, Turn off PLC controller power supply, do wiring according to Diagram 3-7-2, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.5, 2.6, 2.7 (2.4 is off).
5, Training operation:
(1) Turn off limit switch S4, solenoid valve Y is ON, lower limit switch S4 resets.
(2) Turn on limit switch S3, solenoid valve Y is OFF, upper limit switch S3 resets.
(3) Turn off limit switch S2, pump M is ON, lower limit switch S2 resets.
(4) Turn on limit switch S1, pump M is OFF, upper limit switch S1 resets.
7, Circuit
Connect water tower level automatic control circuit according to Diagram 3-7-2.
8, Questions
When the water tank level is lower than the lower limit level (S4 is ON), solenoid valve Y opens to
input water, within 3s, switch S4 does not close, then the solenoid valve Y doeas not open, and faults
occur, then indicator light Y flashes.
39
40
1, Purposes
41
Q0.3
S3
I0.3 solenoid valve Y4
Q0.4
S4
I.04
S5
I0.5
S6
I0.6 1L
12V FU
1M 2L
24V 2M
CPU 226 CN
1, Turn off PLC controller power supply, do wiring according to Diagram 3-8-2, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.4(2.5, 2.6, 2.7 are off).
5, Operation:
(1) Turn S1-S6 in OFF status, turn Y3 ON.
(2) When PLC starts, turn on S2, S4, S6.
(3) Turn on start switch 0.0, Y2, Y3.
(4) Make S4=OFF (down), S3=ON (up), Y1, Y2, Y4 ON.
(5) Make S2=S6=OFF (down); make S1=S5=ON (up), Y3 light ON.
(6) Make S1=S3=S5=OFF, S2=S4=S6=ON, Y3 light ON. S1-S6 indicator lights are ON.
7, Circuit
8, Questions
42
- 12V +
COM 1M COM 2M M L+
43
1, Purposes
2, Components
3, Fundamental
4, I/O
Table 3-9-1 automatic charging system I/O
Input output
I0.0 Upper limit level switch S1 Q0.0 Supply switch K1
I0.1 Position detection switch S2 Q0.1 switch K2
Q0.2 motor M1
Q0.3 motor M2
Q0.4 motor M3
Q0.5 green light L1
Q0.6 red light L2
5, I/O circuit
44
S2 K2
I0.1 Q0.1
M1
Q0.2 M
M2
Q0.3 M
M3
Q0.4 M
L1
Q0.5
1M
24V 2M L2
Q0.6
1L
CPU 226 CN
2L
12V FU
1, Turn off PLC controller power supply, do wiring according to Diagram 3-9-2, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.4, 2.5, 2.7 (2.6 is off).
5, Training operation:
(1) Start, L1 green light is ON, K1 light is ON.
(2) Upper switch S2 (indicator light ON), L1 green light is OFF, L2 red light is ON, motor M3, M2,
M1 are ON.
(3) Upper switch S1 (indicator light ON), K1 is OFF, K2 is ON.
(4) Lower switch S2 (indicator light ON), motor M1, M2, M3 are OFF, L1 is ON, K1 light is ON,
recver to (1).
7, Circuit
8, Questions
45
OUT
IN K1 K2 M1 M2 1L Q0.0 Q0.1 Q0.2 Q0.3 2L Q0.4 Q0.5 Q0.6
COM
S2 S1
L1 L2 M3 COM
I0.0 I0.1
46
1, Purposes
2, Components
3, Fundamental
4, I/O
Table 3-10-1 Multi-liquid automatic control I/O
I/O port Remark I/O port Remark
I0.0 Start Q0.1 solenoid valve Y1
I0.1 L1 Q0.2 solenoid valve Y2
I0.2 L2 Q0.3 solenoid valve Y3
I0.3 L3 Q0.4 solenoid valve Y4
I0.4 T Q0.5 Blender M
Q0.6 Furnance H
47
solenoid valve 1
Q0.1
solenoid valve2
L1
I0.1 Q0.2
solenoid valve3
L2
I0.2 Q0.3
solenoid valve4
L3
I0.3 Q0.4
Blender M
T
I0.4 Q0.5 M
Furnance H
1M Q0.6 H
2M 1L
24V 2L
CPU 226 CN
12V FU
6, Steps
1, Turn off PLC controller power supply, do wiring according to Diagram 3-10-2, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.4, 2.5, 2.7 (2.6 is off).
5, Training operation:
(1) Turn start switch 0.0, solenoid valve Y1, Y2 light ON.
(2) Turn on L3, L2, solenoid valve Y1, Y2 OFF, solenoid valve Y3 ON.
(3) Turn on L1, solenoid valve Y3 OFF, blender M is ON, 5s later, the solenoid valve Y4 is ON.
(4) Turn off L1, L2, L3, delay for 5s, the solenoid valve Y4 is OFF.
7, Circuit
8, Questions
48
49
1, Purposes
2, Components
3, Fundamental
50
4, I/O
Table 3-11-1 automatic steel rolling machine I/O
input output
I0.0 Start Q0.1 Y1
I0.1 Sensor S1 Q0.3 Solenoid valve Y2
I0.2 Sensor S2 Q0.4 Motor M1
Q0.5 Motor M2
Q0.6 Motor M3 forward
Q0.7 Motor M3back
5,I/O circuit
Start Y1
I0.0 Q0.1
S1 Solenoid valve Y2
I0.1 Q0.3
S2 Motor M1
I0.2 Q0.4 M
Motor M2
Q0.5 M
Motor M3 forward
Q0.6 M
Motor M3back
Q0.7 M
CPU 226 CN
1M 1L
2M 2L
24V 12V FU
51
1, Turn off PLC controller power supply, do wiring according to Diagram 3-11-3, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.4, 2.5, 2.7 (2.6 is off).
5, Training operation:
(1) Turn on Y1, M1, M2 light ON.
(2)Up S1, down S1, Y1, M1, M2 and leftward light is ON (M3 forward).
(3)Up S2, down S2, Y1 lights, Y2 and rightward arrow light is ON(M3 back).
(4)Up S1, down S1, Y1 lights, M1, M2 and leftward arrow light is ON (M3 forward).
(5)Up S2, down S2, Y13 lights, Y2 and rightward arrow light is ON (M3 back).
(6)Up S1, down S1, M1, M2, Y13 lights and leftward arrow light is ON (M3 forward).
(7)Up S2, down S2, whole process is finished.
7, Circuit
8, Questions
52
COM
S2 12V M2 M3Back Y2
I0.1 I0.2
53
1, Purposes
2, Components
3, Fundamental
54
4, I/O
Table 3-12-1 mails allocation control system I/O
Input output
Analogy optical
I0.0 Q0.1 Analogy impeller M1
encoder S1
I0.1 Start Q0.2 Analogy impeller M2
Analogy code
I0.2 Q0.3 Analogy impeller M3
reader S2
Q0.4 Analogy impeller M4
Q0.5 Drive motor M5
Q0.6 Red light L1
Q0.7 Green light L2
5, I/O circuit
Analogy impeller M1
S1 Q0.1 M
I0.0
Analogy impeller M2
I0.1
Q0.2 M
Analogy impeller M3
S2
I0.2
Q0.3 M
Analogy impeller M4
Q0.4 M
Drive motor M5
Q0.5 M
Red light L1
Q0.6
Green light L2
Q0.7
1L
1M 2L
12V FU
2M
24V CPU 226 CN
55
1, Turn off PLC controller power supply, do wiring according to Diagram 3-12-3, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.4, 2.5 (2.6, 2.7 is off).
5, Training operation:
(1) 1.0-1.3, the binary number shall be within 1-5 (1.0, 1.1, 1.2, 1.3 is 1, 2, 4, 8).
(2) Push 0.1, L2, M5 is ON.
(3) L1 is ON, L2 is OFF, when it recovers, L2, L5 are ON.
(4) Then you can recheck mails.
7, Circuit
8, Questions
56
S2 12V 0V L1 L2
I0.0 I0.2
57
1, Purposes
2, Components
3, Fundamental
4, I/O
Table 3-13-1 iron tower lighting I/O
Output output
Q0.0 Color light L1 Q1.1 7-segment decoder A
Q0.1 Color light L2 Q1.2 7-segment decoder B
Q0.2 Color light L3 Q.13 7-segment decoder C
Q0.3 Color light L4 Q1.4 7-segment decoder D
Q0.4 Color light L5 Q1.5 7-segment decoder E
Q0.5 Color light L6 Q1.6 7-segment decoder F
Q0.6 Color light L7 Q1.7 7-segment decoder G
Q0.7 Color light L8
Q1.0 Color light L9
58
1L
2L 12V FU
CPU 226 CN 3L
6, Steps
1, Turn off PLC controller power supply, do wiring according to Diagram 3-13-2, do not short
circuit 12V and 24V power supply.
2, Insert power supply cable into PLC controller power supply socket, and insert 220V power
supply socket.
3, Turn on PLC controller power supply, put PLC in STOP status, by computer or programmer,
download programs into PLC then put PLC in RUN status.
4, Turn on 2.4, 2.5, 2.7 (2.6 is off).
5, Start automatic lighting, one light each time; from botton to top, then from top to bottom.
7, Circuit
8, Questions
59
IN OUT
A E L6 L1
B F L7 L2
C G L8 L3
D H L9 L4
Q0.6 Q0.7 3L Q1.0 Q1.1 Q1.2 Q1.3
COM L5
COM 2M M L+ - 12V +
60