Syllabus of PLC Mitsubishi Qcpu 2020
Syllabus of PLC Mitsubishi Qcpu 2020
Syllabus of PLC Mitsubishi Qcpu 2020
ĐC: 68B/2 TỔ 8, KP3, P TÂN HIỆP, TP. BIÊN HÒA, T. ĐỒNG NAI
Website: http://tudonghoadongnai.com hoặc: http://tudonghoadongnai.com.vn
÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷÷
ĐT: 0945791177
GIÁO TRÌNH
PLC MITSUBISHI QCPU - INVERTER - HMI
(This manual is for internal circulation only)
Biên soạn:
Ths. Lê Xuân Quang
1
CONTENTS
CONTENTS .............................................................................................................. 2
Part I. Overview of PLC Mitsubishi and Software Programming ............................ 4
1.1. Hardware structure of PLC set ................................................................... 4
1.2. GX work2 software and installing ............................................................. 8
1.3. Connection with GX Works2 (PC) to PLC ............................................... 9
Part II. Create a lader program, connect I / O PLC to devices ............................... 10
2.1. Download/upload a programe to PLC (practice). .................................... 10
2.2. Create a program with I/O basic. ............................................................. 10
2.3. Check programe in PLC........................................................................... 10
2.5. Connect relays to PLC outputs. ............................................................... 11
2.6. Connect sensors NPN and PNP to PLC input.......................................... 12
Part III. Programming Guide, check and handle the errors in the PLC .................. 13
3.1. SET and RESET instructions ................................................................... 13
3.3. TIMER instruction ................................................................................... 13
3.4. COUNTER instruction and applications ................................................. 15
3.5. COMPARATOR instruction .................................................................... 16
3.6. MOVE instruction and applications......................................................... 17
3.7. Conversion instructions............................................................................ 18
3.8. Call Subroutine ........................................................................................ 19
3.9. Real time programming ........................................................................... 20
3.9. Mathematics instructions ......................................................................... 21
3.10. Master control and master control reset instructions (MC/MCR) ......... 23
3.11. Set password AND Unlock password .................................................... 23
Part IV. INVERTER MITSUBISHI FR-E720-0.75K ............................................ 24
4.1 Wiring inverter .......................................................................................... 24
4.2. Clear all parameter ................................................................................... 25
4.3. Control inverter on keypad ...................................................................... 26
4.4. External operation .................................................................................... 30
4.5. Using PLC to CONTROL Inverter .......................................................... 34
2
Part V. HIGH-SPEED COUNTER PROCESSING ............................................... 35
5.1. Encoder and application ........................................................................... 35
5.2. Instructions to Process counter ................................................................ 35
5.3. Application Encoder and high speed counter .......................................... 37
PART VI. ANALOG............................................................................................... 37
6.1. SPECIAL FUNCTION BLOCK DA: ...................................................... 37
6.2. SPECIAL FUNCTION BLOCK DA: ...................................................... 41
6.3. INC (increase) and DEC (decrease) instructions ..................................... 42
6.4 Do exercises .............................................................................................. 42
PART VII. HUMAN-MACHINE INTERFACES_HMI ........................................ 43
7.1. Overview of GOT (Graphic Operation Terminal) ................................... 43
7.2. Technical details. ..................................................................................... 43
7.3. Connection Diagram. ............................................................................... 43
7.4. Install software and programing. ............................................................. 43
APPENDIX ............................................................................................................. 46
3
Part I. Overview of PLC Mitsubishi and Software Programming
1.1. Hardware structure of PLC set
4
1.2.2. Power supply: Q61P-A1, Q61P-A2, Q61P, Q62P, Q63P, Q64PN , Q64P, Q61P-D,
Q61SP, Q64RPN, Q64RP, Q63RP,...
For Example Power Supply: Q61P
5
1) Module fixing hook, 2) MODE LED, 3) RUN LED, 4) ERR. LED, 5) USER LED, 6) BAT.
LED, 7) BOOT LED, 8) Serial number, 9) Memory card EJECT button Used to eject the
memory card from the CPU module, 10)Memory card installing connector, 11) USB connector,
12) RS-232 connector
14) RUN/STOP, 15) RESET/L, 15) RESET/L. CLR Used to turn "Off"
1.2.4. Input Module Specifications: QX10 AC Input Module, QX28 AC Input
Module, QX40 DC Input Module (Positive Common Type), QX40-S1 DC Input
Module (Positive Common Type), QX41 DC Input Module (Positive Common
Type), QX41-S1 DC Input Module (Positive Common Type),...
For example QX40 DC Input Module
6
1.2.5. Output Module Specifications: QY10 Contact Output Module, QY22
TRIAC Output Module, QY40P Transistor Output Module (Sink Type), QY41P
Transistor Output Module (Sink Type), QY68 Transistor Output Module (All
Points Independent, Sink/Source Type),QY80 Transistor Output Module (Source
Type), QY81P Transistor Output Module (Source Type),...
7
For example QY10 Contact Output Module
8
1.3. Connection with GX Works2 (PC) to PLC
- Checking driver
Using usb connector
9
1.5. Parameter setting, assignment and System Configuration.
- Write comments
10
2.4. Saving a project with another name
11
SINK OUTPUT: TRIAC OUTPUT:
Input wiring
12
Part III. Programming Guide, check and handle the errors in the PLC
3.1. SET and RESET instructions
Sample
Program Example
Timing chart:
OUT ST, OUTH ST (High-speed retentive timer and Low-speed retentive timer)
13
Change timer setting:
14
3.4. COUNTER instruction and applications
EXERCISES
EXERCISE 01 (USING TIMER AND COUNTER)
Comman Input/Output,...
15
Global device comment and local device comment
16
3.5.2. Timer comparison (do exercises)
18
Example
19
3.9. Real time programming
Using DATED instruction to reads real time in registers, result is stored in D1000
for example:
More example
20
Exercises:
Programming controller alarms working hours automatically for the company upon
request:
8h 30s the bell rings began working time
11:30 the bell rings 15s for break lunch
13h the bell rings 30s for work
16h30 the bell rings 45s for the end of working hours
The program only works from Monday to Friday every week, and do not work on
holidays, 30/4, 01/5, .....
Note! We should use Move instruction to erase the data in registers first…
3.9. Mathematics instructions
Symbol
21
3.9.2. SUB instruction
Symbol
Application exercises:
Program to cotrol close and open a garage gate
Symbol
Symbol
22
3.10. Master control and master control reset instructions (MC/MCR)
The master control instruction is used to enable the creation of highly efficient
ladder switching sequence programs, through the opening and closing of a
common bus for ladders. A ladder using the master control is as follows:
23
Part IV. INVERTER MITSUBISHI FR-E720-0.75K
4.1 Wiring inverter
24
4.2. Clear all parameter
25
RESET ALL PARAMETERS
1, SET P0 (starting torque) = 6% default.
2, SET P1= 50 HZ (Maximum Frequency)
3, SET P2 = 0 HZ (Minimum Frequency)
4, SET P3 = 50 HZ (Base Frequency)
5, SET P80 (P79=0) = = 200W = 0.2 KW (0.20). (Motor Capacity (Max))
6, SET P81 = 4 (Motor Pole)
7, SET P83 = 220V (Rated Motor Voltage).
4.3. Control inverter on keypad
26
4.3.2. Setting the frequency by switches (Three-speed setting) (Pr. 4 to Pr. 6)
27
28
4.3.3. Setting the frequency by analog input (voltage input)
29
4.4. External operation
30
31
4.4.3. Setting the frequency by analog input (voltage input)
32
Set Pr 179 = 8 (STR => STX second fuction)
Set to 3 Groups P4 – P6; P24 – P27; P232 – P239
33
4.5. Using PLC to CONTROL Inverter
34
Part V. HIGH-SPEED COUNTER PROCESSING
5.1. Encoder and application
35
5.2.2. Count 2-phase input up or down (UDCNT2)
36
5.3. Application Encoder and high speed counter
37
38
6.1.2. External wiring
6.1.3. CONFIGURATION
1) I/O ASSIGNMENT
39
2) SWITCH SETTING
3) PARAMETER
SET ENABLE
4) AUTO_REFRESH
40
6.2. SPECIAL FUNCTION BLOCK DA:
Q64AD -Q68ADV -Q68ADI
6.2.1. OVERVIEW
6.2.2. WIRING
41
6.2.3. CONFIGURATION
6.3. INC (increase) and DEC (decrease) instructions
Acceleration and deceleration using for output analog
Combination positional control and the speed accelerates
Combination positional control, forward reverse and the speed accelerates
Advanced exercises:
6.4 Do exercises
42
PART VII. HUMAN-MACHINE INTERFACES_HMI
7.1. Overview of GOT (Graphic Operation Terminal)
43
Screen2
Screen3
44
Screen4
Make Alarm History
45
APPENDIX
Some devices
Giáo trình học thực hành PLC CPUQ-Mitsubishi – Inverter – HMI (45g)
“Học một lần được hỗ trợ kỹ thuật suốt cuộc đời”
46