Sign In
Upload
Manuals
Brands
Mitsubishi Manuals
Controller
QnA Series
Mitsubishi QnA Series Manuals
Manuals and User Guides for Mitsubishi QnA Series. We have
2
Mitsubishi QnA Series manuals available for free PDF download: Programming Manual, User Manual
Mitsubishi QnA Series Programming Manual (908 pages)
Brand:
Mitsubishi
| Category:
Controller
| Size: 33 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
4
Revisions
5
Introduction
6
Table of Contents
8
Manuals
17
Related Manuals
18
General Description
19
Related Programming Manuals
20
Abbreviations and Generic Terms
21
Instruction Tables
23
Types of Instructions
24
How to Read Instruction Tables
26
Sequence Instructions
28
Contact Instructions
28
Association Instructions
29
Output Instructions
30
Shift Instructions
30
Master Control Instructions
31
Termination Instructions
31
Other Instructions
31
Data Conversion Instructions
42
Data Transfer Instructions
44
Program Branch Instructions
46
I/O Refresh Instructions
46
Other Convenient Instructions
47
Application Instructions
48
Rotation Instructions
50
Shift Instructions
51
Data Processing Instructions
52
Structure Creation Instructions
55
Buffer Memory Access Instructions
58
Display Instructions
58
Debugging and Failure Diagnosis Instructions
59
Character String Processing Instructions
60
Special Function Instructions
63
Data Control Instructions
65
Switching Instructions
66
Clock Instructions
67
Program Control Instructions
68
Instructions for Data Link
70
Configuration of Instructions
73
Designating Data
75
Using Bit Data
75
Word Device
75
Using Word (16 Bits) Data
76
Using Double Word Data (32 Bits)
78
Using Real Number Data
80
Using Character String Data
82
Indirect Specification
86
Reducing Instruction Processing Time
88
Subset Processing
88
Cautions on Programming (Operation Errors)
90
Conditions for Execution of Instructions
93
Counting Step Number
94
Precautions for Use of File Registers
100
How to Read Instructions
103
Sequence Instructions
107
Operation Start, Series Connection, Parallel Connection
108
Operation Error
110
Ldp,Ldf,Andp,Andf,Orp,Orf
111
Ladder Block Series Connection and Parallel Connection
113
Operation Results Push,Read,Pop (MPS,MRD,MPP)
115
Operation Results Inversion (INV)
118
Operation Result Conversions (MEP,MEF)
120
Pulse Conversions of Edge Relay Operation Results (EGP,EGF)
121
Out Instruction (Excluding Timers, Counters, and Annunciators) (OUT)
123
Counter (out C)
129
Annunciator Output (out F)
131
Setting Devices (Except for Annunciators) (SET)
133
Resetting Devices (Except for Annunciators) (RST)
135
Setting and Resetting the Annunciators (SET F,RST F)
138
Leading Edge and Trailing Edge Outputs (PLS,PLF)
140
Bit Device Output Reverse (FF)
143
Pulse Conversions of Direct Outputs (DELTA(P))
145
Shift Instructions
147
Bit Device Shifts (SFT(P))
147
Master Control Instructions
149
Setting and Resetting the Master Control (MC,MCR)
149
Termination Instructions
153
End Main Routine Program (FEND)
153
End Sequence Program (END)
155
Other Instructions
157
Sequence Program Stop (STOP)
157
No Operations (NOP,NOPLF
159
Basic Instructions
163
Comparison Operation Instructions
164
BIN 16-Bit Data Comparisons (=,<>,>,<=,<,>=)
164
BIN 32-Bit Data Comparisons (D=,D<>,D>,D<=,D<,D>=)
166
Floating Decimal Point Data Comparisons (Single Precision)
168
Comparison Operation Instructions
170
Character String Data Comparisons ($=,$<>,$>,$<=,$<,$>=)
170
BIN Block Data Comparisons (BKCMP ,BKCMP P)
174
Arithmetic Operation Instructions
177
BIN 16-Bit Addition and Subtraction Operations (+(P),-(P))
177
BIN 32-Bit Addition and Subtraction Operations (D+(P),D-(P))
181
BIN 16-Bit Multiplication and Division Operations (*(P),/(P))
185
BIN 32-Bit Multiplication and Division Operations (D*(P),D/(P))
187
BCD 4-Digit Addition and Subtraction Operations (B+(P),B-(P))
189
BCD 8-Digit Addition and Subtraction Operations (DB+(P),DB-(P))
193
BCD 4-Digit Multiplication and Division Operations (B*(P),B/(P))
197
BCD 8-Digit Multiplication and Division Operations (DB*(P),DB/(P))
197
BCD 8-Digit Multiplication and Division Operations
199
Addition and Subtraction of Floating Decimal Point Data (Single Precision) (E+(P),E-(P))
201
Multiplication and Division of Floating Decimal Point Data (Single Precision) (E*(P),E/(P))
205
Block Addition and Subtraction (BK+(P),BK-(P))
207
Linking Character Strings ($+(P))
210
Incrementing and Decrementing 16-Bit bin Data (INC(P),DEC(P))
214
Incrementing and Decrementing 32-Bit bin Data (DINC(P),DDEC(P))
216
Data Conversion Instructions
218
Conversion from bin Data to 4-Digit and 8-Digit BCD (BCD(P),DBCD(P))
218
Conversion from BCD 4-Digit and 8-Digit Data to bin Data (bin(P),DBIN(P))
220
Conversion from bin 16 and 32-Bit Data to Floating Decimal Point (Single Precision) (FLT(P),DFLT(P))
222
Conversion from Floating Decimal Point Data to BIN16- and 32-Bit Data (Single Precision) (INT(P),DINT(P))
224
Conversion from bin 16-Bit to bin 32-Bit Data (DBL(P))
226
Conversion from bin 32-Bit to bin 16-Bit Data (WORD(P))
227
Conversion from bin 16 and 32-Bit Data to Gray Code (GRY(P),DGRY(P))
228
Conversion of Gray Code to bin 16 and 32-Bit Data (GBIN(P),DGBIN(P))
230
Complement of 2 of bin 16- and 32-Bit Data (Sign Reversal) (NEG(P),DNEG(P))
232
Floating-Point Sign Invertion (Single Precision) (ENEG(P))
234
Conversion from Block bin 16-Bit Data to BCD 4-Digit Data
235
Conversion from Block BCD 4-Digit Data to Block bin 16-Bit Data (BKBIN(P))
237
Data Transfer Instructions
239
16-Bit and 32-Bit Data Transfers (MOV(P),DMOV(P))
239
Floating-Point Data Transfer (Single Precision) (EMOV(P))
241
Character String Transfers ($MOV(P))
244
16-Bit and 32-Bit Negation Transfers (CML(P),DCML(P))
246
Block 16-Bit Data Transfers (BMOV(P))
249
Identical 16-Bit Data Block Transfers (FMOV(P))
252
16-Bit and 32-Bit Data Exchanges (XCH(P),DXCH(P))
254
Block 16-Bit Data Exchanges (BXCH(P))
256
Upper and Lower Byte Exchanges (SWAP(P))
258
Program Branch Instructions
259
Pointer Branch Instructions (CJ,SCJ,JMP)
259
Jump to END (GOEND)
262
Program Execution Control Instructions
263
Interrupt Disable/Enable Instructions, Interrupt Program Mask (DI,EI,IMASK)
263
Recovery from Interrupt Programs (IRET)
266
I/O Refresh Instructions
268
I/O Refresh (RFS(P))
268
Other Convenient Instructions
270
Counter 1-Phase Input up or down (UDCNT1)
270
Counter 2-Phase Input up or down (UDCNT2)
273
Teaching Timer (TTMR)
276
Special Function Timer (STMR)
278
Rotary Table Shortest Direction Control (ROTC)
281
Ramp Signal (RAMP)
283
Pulse Density Measurement (SPD)
285
Fixed Cycle Pulse Output (PLSY)
287
Pulse Width Modulation (PWM)
289
Matrix Input (MTR)
291
Application Instructions
293
Logical Operation Instructions
294
Block Logical Products (BKAND(P))
301
Logical Sums of 16-Bit and 32-Bit Data (WOR(P),DOR(P))
303
Block Logical Sum Operations (BKOR(P))
309
16-Bit and 32-Bit Exclusive or Operations (WXOR(P),DXOR(P))
311
Block Exclusive or Operations (BKXOR(P))
317
16-Bit and 32-Bit Data Exclusive nor Operations (WXNR(P),DXNR(P))
319
Block Exclusive nor Operations (BKXNR(P))
325
Rotation Instructions
327
Rotation Instruction
327
Right Rotation of 16-Bit Data (ROR(P),RCR(P))
327
Left Rotation of 16-Bit Data (ROL(P),RCL(P))
330
Right Rotation of 32-Bit Data (DROR(P),DRCR(P))
333
Left Rotation of 32-Bit Data (DROL(P),DRCL(P))
336
Shift Instructions
338
Shift Instruction
338
N-Bit Shift to Right or Left of 16-Bit Data (SFR(P),SFL(P))
338
1-Bit Shift to Right or Left of N-Bit Data (BSFR(P),BSFL(P))
341
1-Word Shift to Right or Left of N-Word Data (DSFR(P),DSFL(P))
343
Bit Processing Instructions
345
Bit Set and Reset for Word Devices (BSET(P),BRST(P))
345
Bit Tests (TEST(P),DTEST(P))
347
Batch Reset of Bit Devices (BKRST(P))
350
Data Processing Instructions
352
16-Bit and 32-Bit Data Searches (SER(P),DSER(P))
352
16-Bit and 32-Bit Data Checks (SUM(P),DSUM(P))
355
Decoding from 8 to 256 Bits (DECO(P))
357
Encoding from 256 to 8 Bits (ENCO(P))
359
7-Segment Decode (SEG(P))
361
4-Bit Dissociation of 16-Bit Data (DIS(P))
363
4-Bit Linking of 16-Bit Data (UNI(P))
365
Dissociation or Linking of Random Data (NDIS(P),NUNI(P))
367
Data Dissociation and Linking in Byte Units (WTOB(P),BTOW(P))
371
Maximum Value Search for 16- and 32-Bit Data (MAX(P),DMAX(P))
375
Minimum Value Search for 16- and 32-Bit Data (MIN(P),DMIN(P))
378
BIN 16 and 32 Bits Data Sort Operations (SORT,DSORT)
381
Calculation of Totals for 16-Bit Data (WSUM(P))
385
Calculation of Totals for 32-Bit Data (DWSUM(P))
387
Structure Creation Instructions
389
FOR to NEXT Instruction Loop (FOR,NEXT)
389
Forced End of for to NEXT Instruction Loop (BREAK(P))
392
Subroutine Program Calls (CALL(P))
394
Return from Subroutine Programs (RET)
399
Subroutine Program Output off Calls (FCALL(P))
400
Subroutine Calls between Program Files (ECALL(P))
404
Subroutine Program Call (XCALL)
413
Refresh Instruction (COM)
418
Index Modification of Entire Ladder (IX,IXEND)
421
Designation of Modification Values in Index Modification of Entire Ladders (IXDEV,IXSET)
425
Data Table Operation Instructions
428
Writing Data to the Data Table (FIFW(P))
428
Reading Oldest Data from Tables (FIFR(P))
430
Reading Newest Data from Data Tables (FPOP(P))
432
Deleting and Inserting Data from and in Data Tables (FDEL(P),FINS(P))
434
Buffer Memory Access Instructions
437
Buffer Memory Access Instruction
437
Writing 1-/2-Word Data to Intelligent Function Module (to(P),DTO(P))
440
Display Instructions
443
Print ASCII Code Instruction (PR)
443
Print Comment Instruction (PRC)
446
ASCII Code LED Display Instruction (LED)
448
LED Display Instruction for Comments (LEDC)
450
Error Display and Annunciator Reset Instruction (LEDR)
452
Debugging and Failure Diagnosis Instructions
455
Special Format Failure Checks (CHKST,CHK)
455
Chkst,Chk
456
Changing Check Format of CHK Instruction (CHKCIR,CHKEND)
459
Setting and Resetting Status Latch (SLT,SLTR)
467
Setting and Resetting Sampling Trace (STRA,STRAR)
469
Execution, Setting, and Resetting of Program Trace (PTRAEXE(P),PTRA,PTRAR)
471
Character String Processing Instructions
473
Conversion from bin 16-Bit or 32-Bit to Decimal ASCII (BINDA(P),DBINDA(P))
473
Conversion from bin 16-Bit or 32-Bit Data to Hexadecimal ASCII (BINHA(P),DBINHA(P))
476
Conversion from BCD 4-Digit and 8-Digit to Decimal ASCII Data (BCDDA(P),DBCDDA(P))
479
Conversion from Decimal ASCII to bin 16-Bit and 32-Bit Data (DABIN(P),DDABIN(P))
482
Conversion from Hexadecimal ASCII to bin 16-Bit and 32-Bit Data (HABIN(P),DHABIN(P))
485
Conversion from Decimal ASCII to BCD 4-Digit or 8-Digit Data (DABCD(P),DDABCD(P))
488
Reading Device Comment Data (COMRD(P))
491
Character String Length Detection (LEN(P))
496
Conversion from bin 16-Bit or 32-Bit to Character String (STR(P),DSTR(P))
498
Conversion from Character String to bin 16-Bit or 32-Bit Data (VAL(P),DVAL(P))
504
Conversion from Floating Decimal Point to Character String Data (ESTR(P))
509
Conversion from Character String to Floating Decimal Point Data (EVAL(P))
515
Conversion from Hexadecimal bin to ASCII (ASC(P))
519
Conversion from ASCII to Hexadecimal bin (HEX(P))
521
Extracting Character String Data from the Right or Left (RIGHT(P),LEFT(P))
523
Random Selection from and Replacement in Character Strings (MIDR(P),MIDW(P))
526
Character String Search (INSTR(P))
530
Floating Decimal Point to BCD (EMOD(P))
532
From BCD Format Data to Floating Decimal Point (EREXP(P))
534
Special Function Instructions
536
SIN Operation on Floating-Point Data (Single Precision)
536
COS Operation on Floating-Point Data (Single Precision)
538
TAN Operation on Floating-Point Data (Single Precision)
540
Sin -1
542
Cos -1
544
Tan -1
546
Conversion from Floating-Point Angle to Radian (Single Precision) (RAD(P))
548
Conversion from Floating-Point Radian to Angle (Single Precision) (DEG(P))
550
Square Root Operation for Floating-Point Data (Single Precision) (SQR(P))
552
Exponent Operation on Floating-Point Data (Single Precision) (EXP(P))
555
Natural Logarithm Operation on Floating-Point Data (Single Precision) (LOG(P))
557
Random Number Generation and Series Updates (RND(P),SRND(P))
559
BCD 4-Digit and 8-Digit Square Roots (BSQR(P),BDSQR(P))
561
BCD Type sin Operation (BSIN(P))
564
BCD Type COS Operations (BCOS(P))
566
BCD Type tan Operation (BTAN(P))
568
BCD Type sin -1 Operations (BASIN(P))
570
BCD Type COS Operation (BACOS(P))
572
BCD Type COS -1
572
BCD Type tan -1 Operations (BATAN(P))
574
Data Control Instructions
576
Upper and Lower Limit Controls for bin 16-Bit and bin 32-Bit Data (LIMIT(P),DLIMIT(P))
576
BIN 16-Bit and 32-Bit Dead Band Controls (BAND(P),DBAND(P))
579
Zone Control for bin 16-Bit and bin 32-Bit Data (ZONE(P),DZONE(P))
582
File Register Switching Instructions
585
Switching File Register Numbers (RSET(P))
585
Setting Files for File Register Use (QDRSET(P))
587
File Setting for Comments (QCDSET(P))
590
Clock Instructions
592
Reading Clock Data (DATERD(P))
592
Writing Clock Data (DATEWR(P))
594
Clock Data Addition Operation (DATE+(P))
596
Clock Data Subtraction Operation (DATE-(P))
598
Time Data Conversion (from Hour/Minute/Second to Second) (SECOND(P))
600
Time Data Conversion (from Second to Hour/Minute/Second )
602
Peripheral Device Instructions
604
Message Displays to Peripheral Devices (MSG)
604
Keyboard Input from Peripheral Devices (PKEY)
606
Program Control Instructions
608
Program Standby Instruction (PSTOP(P))
610
Program Output off Standby Instruction (POFF(P))
611
Program Scan Execution Registration Instruction (PSCAN(P))
613
Program Execution Status Check Instruction (PCHK)
617
Other Instructions
619
Resetting Watchdog Timer (WDT(P))
619
Timing Pulse Generation (DUTY)
621
Time Check Instruction (TIMCHK)
623
Direct 1-Byte Read from File Register (ZRRDB(P))
624
File Register Direct 1-Byte Write (ZRWRB(P))
626
Indirect Address Read Operations (ADRSET(P))
628
Batch Save or Recovery of Index Register (ZPUSH(P),ZPOP(P))
629
Batch Write Operation to E
631
Instructions for Data Link
633
Overview
634
Network Refresh Instructions
642
Refresh Instruction for the Designated Module (S(P)/J(P)/G(P).ZCOM)
642
Operation Error
645
Qna Link Dedicated Instruction
646
Reading Word Device Data from Another Station (JP/GP.READ)
646
Reading Word Device Data from Other Station (JP/GP.SREAD)
657
Writing Word Device Data to Other Station (JP/GP.WRITE)
668
Writing Word Device Data to Other Station (JP/GP.SWRITE)
679
Sending Data to Other Stations (JP/GP.SEND)
690
Receiving Data from Other Station (JP/GP.RECV)
700
Response Data
713
Writing Data to Special Function Module of Remote I/O Station (JP/GP.ZNTO)
729
A-Series Compatible Link Instructions
734
Writing Device Data to Other Stations (MELSECNET/10 and Ethernet) (J(P).ZNWR)
742
Reading Data from Special Function Module of Remote I/O Station (MELSECNET) (G(P).RFRP)
750
Writing Data to Special Function Module of Remote I/O Station (MELSECNET) (G(P).RTOP)
754
Reading/Writing Routing Information
758
Reading Routing Information (S(P)/Z(P).RTREAD)
758
Registering Routing Information (S(P)/Z(P).RTWRITE)
760
Redundant System Instructions (for Q4Arcpu)
763
Operation Mode Setting Instruction During CPU Start up (S.STMODE)
764
Operation Mode Setting Instruction at CPU Switching (S.CGMODE)
766
Data Tracking Instruction (S.TRUCK)
768
Buffer Memory Batch Refresh Instruction (S.SPREF)
772
Error Codes
777
Error Code List
778
Reading an Error Code
779
Error Code List (1000 to 1999)
780
Error Code List (2000 to 2999)
785
Error Code List (3000 to 3999)
791
Error Code List (4000 to 4999)
795
Error Code List (5000 to 5999)
804
Error Code List (6000 to 6999)
805
Error Code List (7000 to 10000)
807
Canceling of Errors
808
Appendices
809
Appendix 1 OPERATION PROCESSING TIME
810
Appendix 1.1 Definition
810
Appendix 1.2 Operation Processing Time of Qnacpu
811
Appendix 2 CPU PERFORMANCE COMPARISON
838
Appendix 2.1 Comparison of Q/Qnacpu with Anncpu, Anacpu, and Anucpu
838
Appendix 2.1.2 I/O Control Mode
839
Appendix 2.1.3 Data that Can be Used by Instructions
839
Appendix 2.1.4 Timer Comparison
840
Appendix 2.1.5 Comparison of Counters
841
Appendix 2.1.6 Comparison of Display Instructions
841
Appendix 2.1.7 Instructions Whose Designation Format Has Been Changed (Except Dedicated Instructions for Anacpu and Anucpu)
842
Appendix 2.1.8 Anacpu and Anucpu Dedicated Instructions
843
Appendix 2.1.9 Instructions Which Can be Programmed Only in the General-Purpose Mode
843
Appendix 3 SPECIAL RELAY LIST
844
Diagnostic Information
845
System Information
846
Scan Information
849
Memory Cards
849
Process Control Instructions
859
Appendix 4 SPECIAL REGISTER LIST
864
Memory Card
876
Latch Area
880
Appendix 5 APPLICATION PROGRAM EXAMPLES
893
Appendix 5.1
893
Concept of Programs Which Perform Operations of X N
893
Index
895
Index
896
Instruction Index
900
Warranty
905
Advertisement
Mitsubishi QnA Series User Manual (22 pages)
Ethernet Interface Module
Brand:
Mitsubishi
| Category:
Control Unit
| Size: 0 MB
Table of Contents
Safety Precautions
2
Table of Contents
6
Overview
8
Performance Specifications
9
Settings and Names of each Part
12
Loading and Installation
16
Handling Precautions
16
Installation Environment
16
Connection to a Network
17
Connecting to the 10BASE-T (AJ71QE71N3-T, A1SJ71QE71N3-T)
18
Connecting to the 10BASE5 (AJ71QE71N-B5, A1SJ71QE71N-B5)
18
Connecting to the 10BASE2 (AJ71QE71N-B2, A1SJ71QE71N-B2)
18
External Dimensions
19
Advertisement
Related Products
Mitsubishi QnACPU
mitsubishi QnUDVCPU
mitsubishi QnUDLCPU
Mitsubishi QD75P2N
Mitsubishi QJ71LP21G
Mitsubishi QSCPU
Mitsubishi Q-KP-OK-E
Mitsubishi QJ71GP21-SX
Mitsubishi QX42-S1
Mitsubishi QH42P
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