Sign In
Upload
Manuals
Brands
Mitsubishi Manuals
Controller
MELSEC-Q/L
Mitsubishi MELSEC-Q/L Manuals
Manuals and User Guides for Mitsubishi MELSEC-Q/L. We have
1
Mitsubishi MELSEC-Q/L manual available for free PDF download: Programming Manual
Mitsubishi MELSEC-Q/L Programming Manual (850 pages)
Brand:
Mitsubishi
| Category:
Controller
| Size: 47.08 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
4
Revisions
5
Introduction
7
Table of Contents
8
Contents
8
Manuals
20
Chapter 1 General Description
22
Related Programming Manuals
22
Abbreviations and Generic Names
25
Chapter 2 Instruction Tables
27
Types of Instructions
27
How to Read Instruction Tables
29
Sequence Instructions
31
Contact Instructions
31
Association Instructions
32
Output Instructions
33
Shift Instructions
33
Master Control Instructions
34
Termination Instructions
34
Other Instructions
34
Basic Instructions
35
Comparison Operation Instructions
35
Arithmetic Operation Instructions
41
Data Conversion Instructions
46
Data Transfer Instructions
49
I/O Refresh Instructions
51
Program Branch Instructions
51
Program Execution Control Instructions
51
Other Convenient Instructions
52
Application Instructions
53
Logical Operation Instructions
53
Rotation Instructions
55
Shift Instructions
56
Bit Processing Instructions
58
Data Processing Instructions
58
Structure Creation Instructions
61
Data Table Operation Instructions
63
Buffer Memory Access Instructions
64
Display Instructions
64
Character String Processing Instructions
65
Debugging and Failure Diagnosis Instructions
65
Special Function Instructions
69
Data Control Instructions
72
Clock Instructions
74
Switching Instructions
74
Expansion Clock Instructions
77
Program Control Instructions
78
Other Instructions
78
Instructions for Data Link
81
Instructions for Network Refresh
81
Instructions for Reading/Writing Routing Information
81
Multiple CPU Dedicated Instruction
82
Instructions for Writing to the CPU Shared Memory of Host CPU
82
Instructions for Reading from the CPU Shared Memory of Another CPU
82
Multiple CPU High-Speed Transmission Dedicated Instruction
83
Redundant System Instructions (for Redundant CPU)
83
Instructions for Multiple CPU High-Speed Transmission
83
Instructions for Redundant System (for Redundant CPU)
83
Chapter 3 Configuration of Instructions
84
Configuration of Instructions
84
Designating Data
85
Using Bit Data
85
Using Word (16 Bits) Data
86
Using Double Word Data (32 Bits)
87
Using Real Number Data
90
Using Character String Data
92
Indexing
93
Indirect Specification
102
Reducing Instruction Processing Time
104
Subset Processing
104
(Universal Model QCPU and LCPU Only)
105
Cautions on Programming (Operation Errors)
106
Conditions for Execution of Instructions
111
Counting Step Number
112
Operation When the OUT, SET/RST, or PLS/PLF Instructions Use the same Device
117
Precautions for Use of File Registers
121
Chapter 4 How to Read Instructions
124
Chapter 5 Sequence Instructions
126
Contact Instructions
126
Ld, Ldi
126
Operation Start
126
Series Connection
126
Parallel Connection
126
And, Ani
127
Or, Ori
127
Pulse Operation Start
128
Pulse Series Connection
128
Pulse Parallel Connection
128
Ldp, Ldf
129
Andp, Andf
129
Orp, Orf
129
Pulse NOT Operation Start
130
Pulse NOT Series Connection
130
Pulse NOT Parallel Connection
130
Ldpi, Ldfi
131
Andpi, Andfi
131
Orpi, Orfi
131
Association Instructions
133
Anb
133
Orb
133
MPP Operation Results Pop
134
Mps
134
MRD Operation Results Read
134
Inv
137
Mep, Mef
138
Operation Results Conversion
138
Egp, Egf
139
Pulse Conversion of Edge Relay Operation Results
139
Output Instructions
141
Out
141
Out (Excluding Timers, Counters, and Annunciators)
141
Out T
143
Low-Speed Timer
143
High-Speed Timer
143
Low-Speed Retentive Timer
143
High-Speed Retentive Timer
143
Out C
146
Counter
146
Out F
148
Annunciator Output
148
Set
149
Rst
150
Setting Annunciators
152
Resetting Annunciators
152
Set F
153
Pls
154
Plf
154
FF Bit Device Output Inversion
156
Delta, Deltap
157
Pulse Conversion of Direct Output
157
Shift Instructions
159
Sft, Sftp
159
Bit Device Shift
159
Master Control Instructions
161
MC Setting the Master Control
161
Mcr
161
Termination Instructions
165
Fend
165
Main Routine Program End
165
End
167
Sequence Program End
167
Other Instructions
169
Stop
169
Sequence Program Stop
169
NOP, NOPLF, PAGE N
170
No Operations
170
Chapter 6 Basic Instructions
174
Comparison Operation Instructions
174
BIN 16-Bit Data Comparisons
174
BIN 32-Bit Data Comparisons
175
Floating-Point Data Comparisons (Single Precision)
177
ED=, ED<>, ED>, ED<=, Floating-Point Data Comparisons (Double Precision)
179
Ed<, Ed
179
Character String Data Comparisons
181
Bkcmp , Bkcmpp
184
BIN 16-Bit Block Data Comparisons
184
Dbkcmp
186
Dbkcmpp
186
BIN 32-Bit Block Data Comparisons
186
Arithmetic Operation Instructions
190
BIN 16-Bit Addition and Subtraction Operations
190
BIN 32-Bit Addition and Subtraction Operations
193
BIN 16-Bit Multiplication and Division Operations
196
BIN 32-Bit Multiplication and Division Operations
198
BCD 4-Digit Addition and Subtraction Operations
200
BCD 8-Digit Addition and Subtraction Operations
203
BCD 4-Digit Multiplication and Division Operations
206
BCD 8-Digit Multiplication and Division Operations
208
(Single Precision)
210
(Double Precision)
214
(Single Precision)
218
(Double Precision)
220
BIN 16-Bit Data Block Addition and Subtraction Operations
222
BIN 32-Bit Data Block Addition and Subtraction Operations
224
Linking Character Strings
227
16-Bit bin Data Increment
230
16-Bit bin Data Decrement
230
32-Bit bin Data Increment
231
32-Bit bin Data Decrement
231
Data Conversion Instructions
233
Conversion from bin Data to BCD 4-Digit Data
233
Conversion from bin Data to BCD 8-Digit Data
233
Conversion from BCD 4-Digit Data to bin Data
235
Conversion from BCD 8-Digit Data to bin Data
235
(Single Precision)
237
(Double Precision)
239
(Single Precision)
240
(Double Precision)
242
Conversion from bin 16-Bit to bin 32-Bit Data
244
Word, Wordp
245
Conversion from bin 16-Bit Data to Gray Code
246
Dgry, Dgryp
246
Conversion from Gray Code to bin 16-Bit Data
247
Dgbin, Dgbinp
247
Complement of 2 of bin 16-Bit Data (Sign Inversion)
248
Dneg, Dnegp
248
ENEG, ENEGP Floating-Point Sign Inversion (Single Precision)
250
EDNEG, EDNEGP Floating-Point Sign Inversion (Double Precision)
251
Bkbcd, Bkbcdp
252
Bkbin, Bkbinp
253
Data
253
Econ, Econp
255
Edcon, Edconp
256
Data Transfer Instructions
258
16-Bit Data Transfer
258
Dmov, Dmovp
258
Emov, Emovp
259
Edmov, Edmovp
260
Mov, $Movp
261
16-Bit Data Negation Transfer
263
Dcml, Dcmlp
263
Bmov, Bmovp
265
Fmov, Fmovp
268
Dfmov, Dfmovp
270
16-Bit Data Exchanges
272
DXCH, DXCHP 32-Bit Data Exchanges
272
Bxch, Bxchp
273
Swap, Swapp
275
Program Branch Instructions
276
Pointer Branch
276
Jump to END
279
Program Execution Control Instructions
280
Interrupt Disable
280
Interrupt Enable
280
Interrupt Program Mask
280
Recovery from Interrupt Programs
286
I/O Refresh Instructions
287
Rfs, Rfsp
287
I/O Refresh
287
Other Convenient Instructions
289
Udcnt1
289
Counter 1-Phase Input up or down
289
Udcnt2
291
Counter 2-Phase Input up or down
291
Ttmr
293
Teaching Timer
293
Stmr
294
Special Function Timer
294
Rotc
296
Rotary Table Shortest Direction Control
296
Ramp
298
Ramp Signal
298
Spd
300
Pulse Density Measurement
300
Plsy
302
Fixed Cycle Pulse Output
302
Pwm
303
Pulse Width Modulation
303
Mtr
304
Matrix Input
304
Chapter 7 Application Instructions
307
Logical Operation Instructions
307
Logical Products with 16-Bit Data
308
Logical Products with 32-Bit Data
308
Wand, Wandp
309
Bkand, Bkandp
312
Block Logical Products
312
Logical Sums of 16-Bit Data
314
Logical Sums of 32-Bit Data
314
Wor, Worp
315
Bkor, Bkorp
318
Block Logical Sum Operations
318
16-Bit Exclusive or Operations
320
Wxor, Wxorp
321
Bkxor, Bkxorp
324
Block Exclusive or Operations
324
16-Bit Data Exclusive nor Operations
326
Wxnr, Wxnrp
329
Bkxnr, Bkxnrp
330
Block Exclusive nor Operations
330
Rotation Instruction
332
ROR, RORP, RCR, Rcrpright Rotation of 16-Bit Data
332
ROL, ROLP, RCL, RCLP Left Rotation of 16-Bit Data
335
DROR, DRORP, DRCR, Right Rotation of 32-Bit Data
337
Drol, Drolp, Drcl
339
Left Rotation of 32-Bit Data
339
Shift Instruction
341
Sfr, Sfrp
341
N-Bit Shift to Right of 16-Bit Data
341
N-Bit Shift to Left of 16-Bit Data
341
Bsfr, Bsfrp
343
1-Bit Shift to Right of N-Bit Data
343
1-Bit Shift to Left of N-Bit Data
343
Sftbr, Sftbrp
345
N-Bit Shift to Right of N-Bit Data
345
N-Bit Shift to Left of N-Bit Data
345
Dsfr, Dsfrp
347
1-Word Shift to Right of N-Word Data
347
1-Word Shift to Left of N-Word Data
347
Sftwr, Sftwrp
348
N-Word Shift to Right of N-Word Data
348
N-Word Shift to Left of N-Word Data
348
Bit Processing Instructions
351
Bit Set for Word Devices
351
Bit Reset for Word Devices
351
Test, Testp, Dtest
352
Bit Tests
352
Bkrst, Bkrstp
354
Data Processing Instructions
356
16-Bit Data Search
356
Dser, Dserp
356
16-Bit Data Check
358
Dsum, Dsump
358
Deco, Decop
360
Enco, Encop
361
7-Segment Decode
362
4-Bit Dissociation of 16-Bit Data
364
4-Bit Linking of 16-Bit Data
365
Dissociation of Random Data
367
Linking of Random Data
367
WTOB, WTOBP Data Dissociation in Byte Units
370
BTOW, BTOWP Data Linking in Byte Units
370
Maximum Value Search for 16-Bit Data
373
Dmax, Dmaxp
373
Minimum Value Search for 16-Bit Data
375
Minimum Value Search for 32-Bit Data
375
BIN 16 Bit-Data Sort Operations
377
BIN 32 Bit-Data Sort Operations
377
Wsum, Wsump
380
Dwsum, Dwsump
381
MEAN, MEANP Calculation of Averages for 16-Bit Data
383
Dmean, Dmeanp
383
Structure Creation Instructions
385
FOR to NEXT Instruction Loop
385
Break, Breakp
387
Subroutine Program Calls
388
Return from Subroutine Programs
392
Fcall, Fcallp
393
Ecall, Ecallp
397
Efcall, Efcallp
401
Subroutine Program Calls
406
Refresh
409
Select Refresh
411
Ccom, Ccomp
414
Index Modification of Entire Ladder
415
Of Entire Ladders
418
Data Table Operation Instructions
420
Writing Data to the Data Table
420
Fifr, Fifrp
421
Reading Oldest Data from Tables
421
Fpop, Fpopp
423
Reading Newest Data from Data Tables
423
Deletion of Data from Data Tables
425
Insertion of Data in Data Tables
425
Buffer Memory Access Instruction
428
Reading 1-Word Data from the Intelligent Function Module
428
Reading 2-Word Data from the Intelligent Function Module
428
Dto, Dtop
430
Writing 1-Word Data to the Intelligent Function Module
430
Writing 2-Word Data to the Intelligent Function Module
430
Display Instructions
434
Print ASCII Code
434
Prc
436
Print Comment
436
Ledr
439
Error Display and Annunciator Reset
439
Debugging and Failure Diagnosis Instructions
442
Chkst, Chk
442
Special Format Failure Check
442
Chkcir, Chkend
446
Changing Check Format of CHK
446
Character String Processing Instructions
449
Binda, Bindap
449
Dbinda, Dbindap
449
Conversion from bin 16-Bit Data to Decimal ASCII
449
Conversion from bin 32-Bit Data to Decimal ASCII
449
Binha, Binhap
451
Dbinha, Dbinhap
451
Conversion from bin 16-Bit Data to Hexadecimal ASCII
451
Conversion from bin 32-Bit Data to Hexadecimal ASCII
451
Bcdda, Bcddap
454
Dbcdda, Dbcddap
454
Conversion from BCD 4-Digit Data to Decimal ASCII Data
454
Conversion from BCD 8-Digit Data to Decimal ASCII Data
454
Dabin, Dabinp
457
Ddabin, Ddabinp
457
Conversion from Decimal ASCII to bin 16-Bit Data
457
Conversion from Decimal ASCII to bin 32-Bit Data
457
Habin, Habinp
459
Dhabin, Dhabinp
459
Conversion from Hexadecimal ASCII to bin 16-Bit Data
459
Conversion from Hexadecimal ASCII to bin 32-Bit Data
459
Dabcd, Dabcdp
461
Ddabcd, Ddabcdp
461
Conversion from Decimal ASCII to BCD 4-Digit Data
461
Conversion from Decimal ASCII to BCD 8-Digit Data
461
Comrd, Comrdp
463
Reading Device Comment Data
463
Len, Lenp
465
Character String Length Detection
465
Dstr, Dstrp
467
Conversion from bin 16-Bit Data to Character String
467
Conversion from bin 32-Bit Data to Character String
467
Dval, Dvalp
471
Conversion from Character String to bin 16-Bit Data
471
Conversion from Character String to bin 32-Bit Data
471
Estr, Estrp
474
Eval, Evalp
479
Conversion from Character String to Floating-Point Data
479
Asc, Ascp
483
Conversion from Hexadecimal bin to ASCII
483
Hex, Hexp
485
Conversion from ASCII to Hexadecimal bin
485
Extracting Character String Data from the Right
487
Extracting Character String Data from the Left
487
Midr, Midrp
489
Random Selection from Character Strings
489
Random Replacement in Character Strings
489
Instr, Instrp
493
Character String Search
493
Strins, Strinsp
494
Insertion of Character String
494
Strdel, Strdelp
496
Deletion of Character String
496
Emod, Emodp
498
Floating-Point Data to BCD
498
Advertisement
Advertisement
Related Products
Mitsubishi MELSEC-QnA Series
Mitsubishi MELSEC Q Mode
Mitsubishi MELSEC QJ71E71-100
Mitsubishi MELSEC-QX48Y57
Mitsubishi MELSEC-QX70
Mitsubishi MELSEC-QY68A
Mitsubishi MELSEC-QX41Y41P
Mitsubishi MELSEC-QY80-TS
Mitsubishi MELSEC-QX40-H
Mitsubishi MELSEC-QX82
Mitsubishi Categories
Air Conditioner
Controller
Projector
Automobile
Engine
More Mitsubishi Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL