Sign In
Upload
Manuals
Brands
Mitsubishi Manuals
Controller
MELSEC L Series
Mitsubishi MELSEC L Series Manuals
Manuals and User Guides for Mitsubishi MELSEC L Series. We have
8
Mitsubishi MELSEC L Series manuals available for free PDF download: Programming Manual, Reference Manual, User Manual, Handbook
Mitsubishi MELSEC L Series Programming Manual (1296 pages)
Common Instruction 1/2
Brand:
Mitsubishi
| Category:
Controller
| Size: 41.65 MB
Table of Contents
Table of Contents
8
Common Instructions
22
Abbreviations and Generic Names
25
Types of Instructions
30
How to Read Instruction Tables
32
Sequence Instructions
34
Association Instructions
35
Output Instructions
36
Master Control Instructions
37
Basic Instructions
38
Arithmetic Operation Instructions
44
Data Conversion Instructions
50
Data Transfer Instructions
52
Program Branch Instructions
55
Other Convenient Instructions
56
Application Instructions
57
Rotation Instructions
60
Shift Instructions
61
Bit Processing Instructions
62
Data Processing Instructions
63
Structure Creation Instructions
66
Data Table Operation Instructions
68
Debugging and Failure Diagnosis Instructions
70
Character String Processing Instructions
71
Special Function Instructions
74
Data Control Instructions
77
Switching Instructions
79
Clock Instructions
80
Expansion Clock Instruction
83
Program Control Instructions
84
Other Instructions
85
Instructions for Data Link
87
Multiple CPU Dedicated Instruction
88
Multiple CPU High-Speed Transmission Dedicated Instruction
89
Redundant System Instructions (for Redundant CPU)
90
Configuration of Instructions
92
Designating Data
93
Using Word (16 Bits) Data
94
Using Double Word Data (32 Bits)
96
Using Real Number Data
98
Using Character String Data
101
Indexing
102
Index
107
Indirect Specification
113
Reducing Instruction Processing Time
115
Operation Processing with Standard Device Registers (Z) (Universal Model QCPU and LCPU Only)
116
Cautions on Programming (Operation Errors)
117
Conditions for Execution of Instructions
123
Counting Step Number
124
Operation When the OUT, SET/RST, or PLS/PLF Instructions Use the same Device
130
Precautions for Use of File Registers
135
Contact Instructions
144
Ldp,Ldf,Andp,Andf,Orp,Orf
147
Pulse Operation Start, Pulse Series Connection, Pulse Parallel Connection
147
Pulse NOT Operation Start, Pulse NOT Series Connection, Pulse NOT Parallel Connection (LDPI,LDFI,ANDPI,ANDFI,ORPI,ORFI)
149
Association Instructions
152
Ladder Block Series Connection and Parallel Connection (ANB,ORB)
152
Operation Results Push,Read,Pop (MPS,MRD,MPP)
154
Operation Results Inversion (INV)
157
Operation Result Conversions (MEP,MEF)
159
Pulse Conversions of Edge Relay Operation Results (EGP,EGF)
160
Output Instructions
162
Out Instruction (Excluding Timers, Counters, and Annunciators) (OUT)
162
Timers (out T,OUTH T)
164
Counter (out C)
168
Annunciator Output (out F)
170
Setting Devices (Except for Annunciators) (SET)
172
Resetting Devices (Except for Annunciators) (RST)
174
Setting and Resetting the Annunciators (SET F,RST F)
177
Leading Edge and Trailing Edge Outputs (PLS,PLF)
179
Bit Device Output Reverse (FF)
182
Pulse Conversions of Direct Outputs (DELTA(P))
184
Shift Instructions
186
Master Control Instructions
189
Setting and Resetting the Master Control (MC,MCR)
189
Termination Instructions
193
End Main Routine Program (FEND)
193
End Sequence Program (END)
195
Other Instructions
197
Sequence Program Stop (STOP)
197
No Operations (NOP,NOPLF
199
Comparison Operation Instructions
204
BIN 16-Bit Data Comparisons (=,<>,>,<=,<,>=)
204
BIN 32-Bit Data Comparisons (D=,D<>,D>,D<=,D<,D>=)
206
Floating Decimal Point Data Comparisons (Single Precision)
208
Floating Decimal Point Data Comparisons (Single Precision) (E=,E<>,E>,E<=,E<,E>=)
208
(Ed=,Ed<>,Ed>,Ed<=,Ed<,Ed>=)
210
Character String Data Comparisons ($=,$<>,$>,$<=,$<,$>=)
213
Bkcmp P)
217
Dbkcmp P)
220
Arithmetic Operation Instructions
224
BIN 16-Bit Addition and Subtraction Operations (+(P),-(P))
224
BIN 32-Bit Addition and Subtraction Operations (D+(P),D-(P))
228
BIN 16-Bit Multiplication and Division Operations (*(P),/(P))
232
BIN 32-Bit Multiplication and Division Operations (D*(P),D/(P))
234
BCD 4-Digit Addition and Subtraction Operations (B+(P),B-(P))
236
BCD 8-Digit Addition and Subtraction Operations (DB+(P),DB-(P))
240
BCD 4-Digit Multiplication and Division Operations (B*(P),B/(P))
244
BCD 8-Digit Multiplication and Division Operations (DB*(P),DB/(P))
246
Addition and Subtraction of Floating Decimal Point Data
248
Addition and Subtraction of Floating Decimal Point Data (Double Precision) (ED+(P),ED-(P))
252
Multiplication and Division of Floating Decimal Point Data
256
(Single Precision) (E*(P),E/(P))
256
Multiplication and Division of Floating Decimal Point Data (Double Precision) (ED*(P),ED/(P))
258
Block Addition and Subtraction (BK+(P),BK-(P))
261
BIN 32-Bit Data Block Addition and Subtraction Operations (DBK+(P),DBK-(P))
264
Linking Character Strings ($+(P))
268
Incrementing and Decrementing 16-Bit bin Data (INC(P),DEC(P))
272
Incrementing and Decrementing 32-Bit bin Data (DINC(P),DDEC(P))
274
Data Conversion Instructions
276
Conversion from bin Data to 4-Digit and 8-Digit BCD (BCD(P),DBCD(P))
276
Conversion from BCD 4-Digit and 8-Digit Data to bin Data (bin(P),DBIN(P))
278
Conversion from bin 16 and 32-Bit Data to Floating Decimal Point (Single Precision) (FLT(P),DFLT(P))
281
Conversion from bin 16 and 32-Bit Data to Floating Decimal Point (Double Precision) (FLTD(P),DFLTD(P))
284
Conversion from Floating Decimal Point Data to BIN16- and 32-Bit Data (Single Precision) (INT(P),DINT(P))
286
Conversion from Floating Decimal Point Data to BIN16- and 32-Bit Data (Double Precision) (INTD(P),DINTD(P))
289
Conversion from bin 16-Bit to bin 32-Bit Data (DBL(P))
291
Conversion from bin 32-Bit to bin 16-Bit Data (WORD(P))
292
Conversion from bin 16 and 32-Bit Data to Gray Code (GRY(P),DGRY(P))
293
Conversion of Gray Code to bin 16 and 32-Bit Data (GBIN(P),DGBIN(P))
295
Complement of 2 of bin 16- and 32-Bit Data (Sign Reversal) (NEG(P),DNEG(P))
297
Floating-Point Sign Invertion (Single Precision) (ENEG(P))
299
Floating-Point Sign Invertion (Double Precision) (EDNEG(P))
300
Conversion from Block bin 16-Bit Data to BCD 4-Digit Data (BKBCD(P))
301
Conversion from Block BCD 4-Digit Data to Block bin 16-Bit Data (BKBIN(P))
303
Single Precision to Double Precision Conversion (ECON(P))
305
Double Precision to Single Precision Conversion (EDCON(P))
307
Data Transfer Instructions
309
Block 16-Bit Data Exchanges (BXCH(P))
331
Upper and Lower Byte Exchanges (SWAP(P))
333
Pulse Width Modulation (PWM)
370
Matrix Input (MTR)
372
Application Instructions
375
Logical Operation Instructions
376
Block Logical Products (BKAND(P))
383
Logical Sums of 16-Bit and 32-Bit Data (WOR(P),DOR(P))
385
Block Logical Sum Operations (BKOR(P))
391
16-Bit and 32-Bit Exclusive or Operations (WXOR(P),DXOR(P))
393
Block Exclusive or Operations (BKXOR(P))
399
16-Bit and 32-Bit Data Exclusive nor Operations (WXNR(P),DXNR(P))
401
Block Exclusive nor Operations (BKXNR(P))
407
Rotation Instruction
409
Right Rotation of 32-Bit Data (DROR(P),DRCR(P))
415
Left Rotation of 32-Bit Data (DROL(P),DRCL(P))
418
Shift Instruction
420
N-Bit Shift to Right or Left of 16-Bit Data (SFR(P),SFL(P))
420
1-Bit Shift to Right or Left of N-Bit Data (BSFR(P),BSFL(P))
423
N-Bit Shift to Right or Left of N-Bit Data (SFTBR(P),SFTBL(P))
425
1-Word Shift to Right or Left of N-Word Data (DSFR(P),DSFL(P))
428
N-Bit Shift to Right or Left of N-Word Data (SFTWR(P),SFTWL(P))
430
Bit Processing Instructions
433
Bit Tests (TEST(P),DTEST(P))
435
Batch Reset of Bit Devices (BKRST(P))
438
Data Processing Instructions
440
Bit and 32-Bit Data Checks (SUM(P),DSUM(P))
443
Decoding from 8 to 256 Bits (DECO(P))
445
Encoding from 256 to 8 Bits (ENCO(P))
447
Segment Decode (SEG(P))
449
Bit Dissociation of 16-Bit Data (DIS(P))
451
Bit Linking of 16-Bit Data (UNI(P))
453
Dissociation or Linking of Random Data (NDIS(P),NUNI(P))
455
Data Dissociation and Linking in Byte Units (WTOB(P),BTOW(P))
459
Maximum Value Search for 16- and 32-Bit Data (MAX(P),DMAX(P))
463
Minimum Value Search for 16- and 32-Bit Data (MIN(P),DMIN(P))
466
BIN 16 and 32 Bits Data Sort Operations (SORT,DSORT)
469
Calculation of Totals for 16-Bit Data (WSUM(P))
473
Calculation of Totals for 32-Bit Data (DWSUM(P))
475
Calculation of Averages for 16-Bit or 32-Bit Data (MEAN(P),DMEAN(P))
477
Structure Creation Instructions
479
Forced End of for to NEXT Instruction Loop (BREAK(P))
482
Subroutine Program Calls (CALL(P))
484
Return from Subroutine Programs (RET)
489
Subroutine Program Output off Calls (FCALL(P))
490
Subroutine Calls between Program Files (ECALL(P))
494
Subroutine Output off Calls between Program Files (EFCALL(P))
499
Subroutine Program Call (XCALL)
503
Refresh Instruction (COM)
508
Select Refresh Instruction (COM)
511
Select Refresh Instruction (CCOM(P))
516
Index Modification of Entire Ladder (IX,IXEND)
517
Data Table Operation Instructions
524
Reading Oldest Data from Tables (FIFR(P))
526
Reading Newest Data from Data Tables (FPOP(P))
528
Deleting and Inserting Data from and in Data Tables (FDEL(P),FINS(P))
530
Buffer Memory Access Instruction
533
Writing 1-/2-Word Data to Intelligent Function Module (to(P),DTO(P))
536
Display Instructions
539
Print Comment Instruction (PRC)
542
Error Display and Annunciator Reset Instruction (LEDR)
545
Debugging and Failure Diagnosis Instructions
548
Changing Check Format of CHK Instruction (CHKCIR,CHKEND)
552
Character String Processing Instructions
556
Conversion from bin 16-Bit or 32-Bit Data to Hexadecimal ASCII BINHA(P),DBINHA(P))
559
Conversion from BCD 4-Digit and 8-Digit to Decimal ASCII Data BCDDA(P),DBCDDA(P))
562
Conversion from Decimal ASCII to bin 16-Bit and 32-Bit Data DABIN(P),DDABIN(P))
565
Conversion from Hexadecimal ASCII to bin 16-Bit and 32-Bit Data HABIN(P),DHABIN(P))
568
Conversion from Decimal ASCII to BCD 4-Digit or 8-Digit Data DABCD(P),DDABCD(P))
571
Reading Device Comment Data (COMRD(P))
574
Character String Length Detection (LEN(P))
577
Conversion from bin 16-Bit or 32-Bit to Character String (STR(P),DSTR(P))
579
Conversion from Character String to bin 16-Bit or 32-Bit Data (VAL(P),DVAL(P))
585
Conversion from Floating Decimal Point to Character String Data (ESTR(P))
590
Conversion from Character String to Floating Decimal Point Data (EVAL(P))
597
Conversion from Hexadecimal bin to ASCII (ASC(P))
601
Conversion from ASCII to Hexadecimal bin (HEX(P))
603
Extracting Character String Data from the Right or Left (RIGHT(P),LEFT(P))
605
Random Selection from and Replacement in Character Strings MIDR(P),MIDW(P))
608
Character String Search (INSTR(P))
612
Insertion of Character String (STRINS(P))
614
Deletion of Character String (STRDEL(P))
616
Floating Decimal Point to BCD (EMOD(P))
618
From BCD Format Data to Floating Decimal Point (EREXP(P))
621
Special Function Instructions
623
SIN Operation on Floating-Point Data (Double Precision) (sind(P))
625
COS Operation on Floating-Point Data (Single Precision) (COS(P))
627
COS Operation on Floating-Point Data (Double Precision) (COSD(P))
629
TAN Operation on Floating-Point Data (Single Precision) (tan(P))
631
TAN Operation on Floating-Point Data (Double Precision) (TAND(P))
633
Conversion from Floating-Point Angle to Radian (Single Precision) (RAD(P))
648
Conversion from Floating-Point Angle to Radian (Double Precision) (RADD(P))
650
Conversion from Floating-Point Radian to Angle (Single Precision) (DEG(P))
652
Conversion from Floating-Point Radian to Angle (Double Precision) (DEGD(P))
654
Exponentiation Operation on Floating-Point Data (Single Precision) (POW(P))
656
Exponentiation Operation on Floating-Point Data (Single Precision) (POWD(P))
658
Square Root Operation for Floating-Point Data (Single Precision) (SQR(P))
660
Square Root Operation for Floating-Point Data (Double Precision) (SQRD(P))
662
Exponent Operation on Floating-Point Data (Single Precision) (EXP(P))
664
Exponent Operation on Floating-Point Data (Double Precision) (EXPD(P))
667
Natural Logarithm Operation on Floating-Point Data (Single Precision) (LOG(P))
669
Natural Logarithm Operation on Floating-Point Data (Double Precision LOGD(P))
671
Common Logarithm Operation on Floating-Point Data (Single Precision LOG10(P))
673
Common Logarithm Operation on Floating-Point Data (Double Precision LOG10D(P))
675
Random Number Generation and Series Updates (RND(P),SRND(P))
677
BCD 4-Digit and 8-Digit Square Roots (BSQR(P),BDSQR(P))
679
BCD Type sin Operation (BSIN(P))
682
BCD Type COS Operations (BCOS(P))
684
BCD Type tan Operation (BTAN(P))
686
Data Control Instructions
694
BIN 16-Bit and 32-Bit Dead Band Controls (BAND(P),DBAND(P))
697
Zone Control for bin 16-Bit and bin 32-Bit Data (ZONE(P),DZONE(P))
700
Scaling (Point-By-Point Coordinate Data) (SCL(P),DSCL(P))
703
Scaling (Point-By-Point Coordinate Data) (SCL2(P),DSCL2(P))
707
File Register Switching Instructions
710
Setting Files for File Register Use (QDRSET(P))
712
File Setting for Comments (QCDSET(P))
715
Clock Instructions
717
Writing Clock Data (DATEWR(P))
719
Clock Data Addition Operation (DATE+(P))
721
Clock Data Subtraction Operation (DATE-(P))
723
Time Data Conversion (from Hour/Minute/Second to Second) (SECOND(P))
725
Time Data Conversion (from Second to Hour/Minute/Second) (HOUR(P))
727
Date Comparison (DT=,DT<>,DT>,DT<=,DT<,DT>=)
729
Clock Comparison (TM=,TM<>,TM>,TM<=,TM<,TM>=)
734
Expansion Clock Instructions
739
Expansion Clock Data Addition Operation (S(P).DATE+)
742
Expansion Clock Data Subtraction Operation (S(P).DATE-)
745
Program Control Instructions
748
Program Standby Instruction (PSTOP(P))
750
Program Output off Standby Instruction (POFF(P))
751
Program Scan Execution Registration Instruction (PSCAN(P))
753
Program Low Speed Execution Registration Instruction (PLOW(P))
755
Program Execution Status Check Instruction (PCHK)
757
Other Instructions
759
Timing Pulse Generation (DUTY)
761
Time Check Instruction (TIMCHK)
763
Direct 1-Byte Read from File Register (ZRRDB(P))
764
File Register Direct 1-Byte Write (ZRWRB(P))
766
Indirect Address Read Operations (ADRSET(P))
768
Numerical Key Input from Keyboard (KEY)
769
Batch Save or Recovery of Index Register (ZPUSH(P),ZPOP(P))
773
Reading Module Information (UNIRD(P))
775
Reading Module Model Name (TYPERD(P))
782
Trace Set/Reset (TRACE,TRACER)
787
Writing Data to Designated File (SP.FWRITE)
789
Reading Data from Designated File (SP.FREAD)
801
Writing Data to Standard ROM (SP.DEVST)
813
Read Data from Standard ROM (S(P).DEVLD)
815
Load Program from Memory Card (PLOADP)
817
Unload Program from Program Memory (PUNLOADP)
820
Load + Unload (PSWAPP)
822
High-Speed Block Transfer of File Register (RBMOV(P))
825
User Message (UMSG)
830
Safety Precautions
851
Conditions of Use for the Product
852
Revisions
853
Introduction
854
Advertisement
Mitsubishi MELSEC L Series Reference Manual (532 pages)
With MELSEC communication protocol
Brand:
Mitsubishi
| Category:
Controller
| Size: 9.69 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
5
Revisions
6
Table of Contents
9
Table of Contents
10
Table of Contents
11
Table of Contents
12
Table of Contents
13
Relevant Manuals
15
Manual Page Organization
17
Generic Terms and Abbreviations
19
Terms
21
Overview of the MELSEC Communication Protocol
23
Features of the MELSEC Communication Protocol
25
Types and Applications of Data Communication Frames
27
Accessible Range of each Data Communication Frames
29
How to Read the Control Procedures of the MC Protocol
31
Access Timing of the Programmable Controller CPU Side
32
Setting Method for Writing to the Programmable Controller CPU During RUN
34
Accessing Other Stations
35
Example of Accessible Station When each Frame Is Used
38
Example of Designating Data Items for Accessing Other Station Designated Within each Data Communication Frame
42
Precautions on Data Communication
45
When Using C24
47
Time Chart and Communication Time of the Transmission Sequence of the Serial Communication Module
48
Transmission Time When Accessing Other Stations Via CC-Link IE Controller Network CC-Link IE Field Network, MELSECNET/H, MELSECNET/10
51
Compatibility with Multiple CPU Systems
54
Compatibility with the Serial Communication Function in the CPU Module
58
Compatibility with Programmable Controller CPU with Built-In Ethernet Port
60
Message Formats
62
Message Format and Control Procedures of Qna Compatible 3E Frame and 4E Frame
63
Data Designation Items for Qna Compatible 3E Frame and 4E Frame
73
Message Formats and Control Procedures of Qna Compatible 3C Frame
76
Message Formats and Control Procedures of Qna Compatible 4C Frame
85
Data Designation Items for Qna Compatible 3C/4C Frames
96
Character Area Transmission Data
109
List of Commands and Functions for the Qna Compatible 3E/3C/4C Frames and 4E Frame
114
Device Memory Read/Write
122
Multiple Block Batch Read and Batch Write
136
Batch Read in Bit Units (Command: 0401)
145
Batch Write in Bit Units (Command: 1401)
147
Random Write in Bit Units (Test) (Command: 1402)
149
Batch Read in Word Units (Command: 0401)
151
Batch Write in Word Units (Command: 1401)
155
Random Write in Word Units (Test) (Command: 1402)
159
Random Read in Word Units (Command: 0403)
162
Monitoring Device Memory
180
Buffer Memory Read/Write
189
Reading Buffer Memory (Command: 0613)
191
Writing to Buffer Memory (Command: 1613)
193
Reading from and Writing to the Buffer Memory of an Intelligent Function Module
194
Accessible Intelligent Function Modules
199
Reading the Buffer Memory of an Intelligent Function Module (Command: 0601)
201
Writing to the Buffer Memory of an Intelligent Function Module (Command: 1601)
203
Programmable Controller CPU Status Control
204
Remote RUN (Command: 1001)
206
Remote STOP (Command: 1002)
207
Remote PAUSE (Command: 1003)
208
Remote RESET (Command: 1006)
209
Remote Latch Clear (Command: 1005)
210
CPU Model Name Read (Command: 0101)
211
Drive Memory Defragmentation (for Other Station Qnacpu)
213
Commands and Contents of Character Area
214
Reading the Status of the Drive Memory Usage (Command: 0205)
217
Drive Memory Defragmentation (Command: 1207)
218
File Control
220
221
Commands and Contents of Character Area
221
Precautions on File Control
236
File Control Execution Procedure for the Q/LCPU
238
File Control Execution Procedure for the Qnacpu
243
Read Directory/File Information (Command: 1810): for the Q/LCPU
247
Search Directory/File Information (Command: 1811): for the Q/LCPU
249
Open File (Command: 1827): for the Q/LCPU
250
Close File (Command: 182A): for the Q/LCPU
252
Read File (Command: 1828): for the Q/LCPU
253
Create New File (Command: 1820): for the Q/LCPU
255
Write to File (Command: 1829): for the Q/LCPU
256
Delete Files (Command: 1822): for the Q/LCPU
258
Copy Files (Command: 1824): for the Q/LCPU
260
Change Date of File Creation (Command: 1826): for the Q/LCPU
263
Change File Attributes (Command: 1825): for the Q/LCPU
264
Read File Information List: for the Qnacpu
266
Reading File Presence Information (File Search) (Command: 0203): for the Qnacpu
272
Registering and Clearing File Locks (Command: 0808): for the Qnacpu
274
Reading the Contents of a File (Command: 0206): for the Qnacpu
276
Creating a New File (Filename Registration) (Command: 1202): for the Qnacpu
278
Writing to a File (Command: 1203): for the Qnacpu
280
Deleting Files (Command: 1205): for the Qnacpu
284
Copying Files (Command: 1206): for the Qnacpu
286
Changing the File Information (Command: 1204): for the Qnacpu
288
Registering, Deleting and Reading User Frames: for Serial Communication Modules
294
Registering and Deleting User Frames (Command: 1610)
297
Reading User Frames (Command: 0610)
299
Global Function: for Serial Communication Modules
301
Control Procedure of the Global Function (Command: 1618)
303
Data Transmission to an External Device (On-Demand Function): for Serial Communication Modules
305
Execution Procedure of the On-Demand Function
306
Data Transmission Format of the On-Demand Function
309
Control Procedure of the On-Demand Function (Command: 2101)
311
Initializing the Transmission Sequence: for Serial Communication Modules
316
Transmission Sequence Initialization (Command: 1615)
317
Mode Switching: for Serial Communication Module
318
Commands and Contents of the Character Area
319
Mode Switching (Command: 1612)
323
Turning off Displayed Leds and Initializing Communication Error Information and Error Code: for Serial Communication Module
325
Turning off Displayed Leds and Initializing Communication Error Information and Error Code (Command: 1617)
328
329
Commands and Contents of the Character Area
329
Turning off the COM.ERR.LED (Command: 1617)
330
Loopback Test
331
Loopback Test (Command: 0619)
332
Registering or Canceling Programmable Controller CPU Monitoring for Serial Communication Modules
333
336
Commands and Contents of the Character Area
336
Programmable Controller CPU Monitoring Registration (Command: 0630)
342
Canceling Programmable Controller CPU Monitoring (Command: 0631)
345
Data Transmitted by the Programmable Controller CPU Monitoring Function
346
Remote Password Unlock/Lock
357
Contents of the Command and Character Section
361
Remote Password Unlock/Lock (Command: 1630, 1631)
362
Control Procedures and Message Formats
364
Contents of the Data Designation Items
370
List of Commands and Functions for Qna Compatible 2C Frames
371
Precautions on the Data Communication
372
Example of Data Communication Using Qna Compatible 2C Frames
373
380
Control Procedures and Message Formats
380
How to Read the Control Procedure and Command Reference Sections
381
383
Control Procedures and Message Formats
383
Contents of Data Designation Items of a Compatible 1C Frames
388
Understanding Transmission Data in the Character Areas
393
List of Commands and Functions for a Compatible 1C Frames
394
397
Device Memory Read/Write
397
Batch Read in Bit Units (Command: BR, JR)
402
Batch Write in Bit Units (Command: BW, JW)
403
Test in Bit Units (Random Write) (Command: BT, JT)
404
Batch Read in Word Units (Command: WR, QR)
405
Batch Write in Word Units (Command: WW, QW)
407
Test in Word Units (Random Write) (Command: WT, QT)
409
410
Monitoring Device Memory
410
Extension File Register Read and Write
415
Ana/Anucpu Common Commands and Device Numbers
416
Precautions When Reading and Writing in the Extension File Register
419
Mitsubishi MELSEC L Series User Manual (396 pages)
Communication Module
Brand:
Mitsubishi
| Category:
Control Unit
| Size: 10.22 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
12
Revisions
13
Introduction
16
Table of Contents
17
Contents
19
Compliance with Emc and Low Voltage Directives
22
Relevant Manuals
23
The Manual's Use and Structure
24
Generic Terms and Abbreviations
26
Terms
28
1 Overview
31
Functions Added/Changed for the QJ71C24N (-R2/R4) and QJ71C24 (-R2)
36
2 Using the Programmable Controller Cpu Monitoring Function
37
Overview
37
About the Programmable Controller CPU Monitoring Function
39
Data Registration for Using the Programmable Controller CPU Monitoring Function
39
Programmable Controller CPU Monitoring Information
39
Timing for Programmable Controller CPU Monitoring
41
Timings of Transmission and Notification of Monitoring Results to the External Device
42
Transmission Methods of Monitoring Results and Transmission Data to the External Device
45
Execution Sequence for Using the Programmable Controller CPU Monitoring Function
56
Settings for Using the Programmable Controller CPU Monitoring Function
57
System Setting Items for the Programmable Controller CPU Monitoring Function
57
How to Register and Cancel the Programmable Controller CPU Monitoring Function
62
Precautionary Notes for Using the Programmable Controller CPU Monitoring Function
64
3 Communications by the Modem Function
66
Overview
66
Features
67
Function List
70
Comparisons with Related Devices
71
System Configuration
72
System Configuration When Performing Data Communication with an External Device
72
System Configuration When Using the Notification Function
73
System Configuration When Connecting GX Developer
74
Precautions for System Configurations
75
Specifications
77
Transmission Specifications
77
Specification of Connectable Modems/Tas (Terminal Adapters)
78
Compatibility with the QCPU Remote Password Function
81
Compatibility with the Callback Function
87
List of I/O Signals for the Modem Function
96
Buffer Memory
98
Precautions When Using the Modem Function
111
Start-Up of the Modem Function
117
Start-Up Procedures When Communicating Data with External Devices
117
Initial Settings of the Serial Communication Module
120
Register/Read/Delete of the Initialization Data
123
Register/Read/Delete of the Data for Connection
128
Initialization of Modem/Ta (Terminal Adapter)
133
Line Connection
137
Data Communication and Notification
143
Line Disconnection
149
Sample Programs
152
Sample Program for Data Communication-1
153
Sample Program for Data Communication-2
159
Sample Program for Notification
168
4 Receiving Data with an Interrupt Program
171
Settings for Receiving Data Using an Interrupt Program
172
Interrupt Program Startup Timing
172
Reception Control Method Using an Interrupt Program
173
Programming
174
Program Example
174
Precautions When Receiving Data with an Interrupt Program
175
5 Changing Send and Receive Data Length Units to (Word/Bytes Units (Word/(Word/Bytess Units Setting)
177
6 Changing the Data Communications Monitoring Times
179
No-Reception Monitoring Time (Timer 0) Setting
180
Response Monitoring Time (Timer 1) Setting
185
Transmission Monitoring Time (Timer 2) Setting
188
Message Wait Time Setting
191
7 Data Communications Using DC Code Transmission Control
192
Control Contents of DTR/DSR (ER/DR) Signal Control
193
Control Contents of DC Code Control
195
Precautions When Using the Transmission Control Functions
198
8 Data Communications Using Half-Duplex Communications
200
Half-Duplex Communications
200
Data Transmission and Reception Timing
201
Changing the Communication System
205
Connector Connections for Half-Duplex Communications
206
Half-Duplex Communications Precautions
207
9 Contents and Registration of the User Frames for Data Communication
208
User Frame Types and Contents During Communication
208
User Frames to be Registered and Used by the User
208
Default Registration Frame (Read Only)
216
Transmission/Reception Processing Using User Frame Register Data
218
Precautions When Registering, Reading, Deleting and Using User Frames
222
Register/Read/Delete User Frames
224
Registering User Frames
227
Reading User Frames
228
Deleting User Frames
229
10 On-Demand Data Communications Using User Frames
230
User Frame Data Communications Function
230
User Frame Types and Registration
231
User Frame On-Demand Data Transmission and Buffer Memory Used
231
On-Demand Function Control Procedure During User Frame Use
233
Data Communication Using the ASCII Code
233
Data Communications Using the Binary Code
235
Example of an On-Demand Data Transmission Program Using User Frames
237
11 Data Communications Using User Frames
239
Overview of Data Communication Procedure
240
Data Reception
241
About Reception Data
241
Timing for Start/Completion of Data Reception
248
Receive Procedure
252
User Frame Setting for Reception
253
Receive Program
259
Sequence Program Example
259
Application Example for Data Reception Using a Combination that Specifies the First Frame
264
Application Example for Data Reception Using a Combination that Does Not Specify the First Frame
270
Data Transmission
272
Send Data
272
Transmission Procedure
274
Settings for Transmission User Frames
275
Transmission Program
279
12 Transparent Codes and Additional Codes
282
Handling the Transparent Code and Additional Code Data
282
Registering Transparent Codes and Additional Codes
283
Handling Transparent Codes and Additional Codes During Non Procedure Protocol Data Communication
284
Example of Data Communication Using the Non Procedure Protocol
289
Example of Data Reception
290
Example of Data Transmission
292
Handling Transparent Codes and Additional Codes During Bidirectional Protocol Data Communication
294
Example of Data Communication Using the Bidirectional Protocol
297
Example of Data Reception
298
Example of Data Transmission
300
Advertisement
Mitsubishi MELSEC L Series User Manual (418 pages)
Brand:
Mitsubishi
| Category:
Controller
| Size: 15.56 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
9
Introduction
10
Relevant Manuals
11
Table of Contents
14
Manual Page Organization
18
Terms
19
Packing List
20
Chapter 1 Features
24
Chapter 2 System Configuration
26
Overall System Configuration
26
Precautions for Configuring a System
27
Peripheral Configuration
30
Chapter 3 System Start-Up Procedure
31
Chapter 4 Installation and Wiring
33
Installation Environment and Installation Position
33
Installation Environment
33
Installation Position
33
Mounting the Modules
34
Precautions for Connecting and Mounting Modules
34
Connecting Modules
35
Mounting the Modules on a DIN Rail
36
Changing Modules on a DIN Rail
39
Attaching and Removing a Display Unit
41
Mounting and Removing a Terminal Block
42
Inserting and Removing an SD Memory Card
44
Wiring
46
Wiring to Power Supply Modules
46
Wiring to an 18-Point Screw Terminal Block
49
Wiring to a Spring Clamp Terminal Block
50
Wiring to Connectors
51
Connecting Extension Cables
57
Grounding
58
Chapter 5 General Specifications
59
Chapter 6 Cpu Module
61
Part Names
61
Specifications
63
Hardware Operation
66
Switch Operation after a Program Is Written to the CPU Module
66
Reset Operation
67
Chapter 7 Power Supply Module
68
Part Names
68
Specifications
69
Specification List
69
Details on Items in Specifications
70
Precautions for Power Capacity
70
Chapter 8 End Cover
71
Part Names
71
Specifications
72
Chapter 9 Branch Module and Extension Module
74
Part Names
74
Specifications
75
Chapter 10 Rs-232 Adapter
76
Part Names
76
Specifications
76
Connecting a RS-232 Cable at All Times
77
Chapter 11 Display Unit
78
Part Names
78
Specifications
78
Chapter 12 Sd Memory Card
80
Part Names
80
Specifications
80
Forced Disablement of SD Memory Card
82
Chapter 13 Battery
83
Specifications
83
Chapter 14 Maintenance and Inspection
85
Daily Inspection
85
Periodic Inspection
87
Battery Replacement Procedure
88
Operation Restart after Being Stored
91
Chapter 15 Troubleshooting
92
Checking the System Visually
92
When the POWER LED Does Not Turn on
94
When the MODE LED Does Not Turn on
94
When the RUN LED Does Not Turn on
95
Checking the Error Details
96
Checking for Functional Errors
101
Write to PLC and Read from PLC
103
Boot Operation
103
Ethernet Communication
104
Socket Communication Function
108
Simple PLC Communication Function
109
General-Purpose I/O Function
111
Interrupt Input Function
111
Pulse Catch Function
112
Positioning Function
112
High-Speed Counter Function
113
Display Unit
120
Transmission from an External Device
120
Operating Status of the CPU Module
120
END Cover with ERR Terminal
121
Extension System
121
Troubleshooting for the Built-In I/O Function
122
Troubleshooting for Input Circuit
122
Troubleshooting for Output Circuit
124
Saving Data
126
Appendices
130
Appendix 1 Error Code List
130
mitsubishi MELSEC L Series User Manual (204 pages)
programmable controller
Brand:
mitsubishi
| Category:
Controller
| Size: 7.72 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
10
Introduction
11
Relevant Manuals
12
Table of Contents
14
Manual Page Organization
18
Terms
21
Chapter 1 Data Logging
22
Features
22
Processing Outline
27
Chapter 2 System Configuration
28
Overall System Configuration
28
Software
29
Connection from a USB or Serial Port
30
Connection from an Interface Board
33
Precautions for Ethernet Connection
34
Operating Environment for the Configuration Tool
35
Chapter 3 Specifications
36
Function Specifications
36
Folder Structure
38
CSV File Output Format
39
CSV Format Specifications
39
Output Details of Lines and Columns
39
Value Ranges by Output Format
44
Size of Data Logging Setting File
45
Chapter 4 Procedures and Settings before System Operation
46
Chapter 5 Start-Up of the Configuration Tool
48
Getting the Configuration Tool
48
Installing/Uninstalling the Configuration Tool
49
Starting the Configuration Tool
49
Switching a Display Language
49
Chapter 6 Data Logging Function
50
Target Data
51
Sampling of Target Data
52
Logging Type
58
Continuous Logging
58
Trigger Logging
59
Specification Period Logging
63
Data Logging Status
65
Data Logging File
66
Saving Format of the Data Logging File
66
How Sampled Data Are Saved
66
File Switching Setting
67
Buffer Capacity
70
Data Missing
71
SD Memory Card Life When the Data Logging Function Is Used
73
Precautions to Take When Using the Data Logging Function
75
Chapter 7 Other Functions
79
Data Logging Operation at Transition to RUN
79
Auto Logging by Inserting an SD Memory Card
80
File Access
83
Data Logging File Transfer Function
84
Procedure Overview of the Data Logging File Transfer Function
85
Directory Structure of the FTP Server
86
File Transfer Status
87
File Transfer Test
90
File Transfer Diagnostics
91
Precautions for Using the Data Logging File Transfer Function
92
Stack Logging File Transfer
94
Transfer Completing/Non-Completing File Distinction Indication
96
Chapter 8 How to Use the Configuration Tool
97
Setting Flow Chart
97
Window Structure
98
Main Window
98
Menu Structure
99
Toolbar Structure
100
Edit Item Tree
101
Status Bar
102
Common Operations
103
Device Batch Replacement
104
Project Management
105
Creating a New Project
105
Opening a Project
105
Saving a Project
106
Changing a Programmable Controller Series
107
Reading the Data Logging Setting from the SD Memory Card
108
Writing the Data Logging Setting to the SD Memory Card
110
Data Logging Setting
112
Data Logging Setting List
112
Change of the Data Logging Setting Window
114
Logging Type
116
Sampling
117
Data
119
Paste/Insert Device Copied in Other Application Software
121
Batch Data Insertion
122
Trigger
123
Specification Period
125
Number of Logging Lines
126
CSV Output
127
Save
129
File Transfer
131
Movement
133
Finish
134
Common Setting
135
Auto Logging Setting
136
Buffer Capacity Setting
137
Transfer Setup
138
Connection with a USB or Ethernet Cable
138
Connection Via a Network
140
Connection Test
142
Connection Channel List
142
Searching CPU Modules on the Network
143
Reading the Data Logging Setting from the CPU Module
145
Writing the Data Logging Setting to the CPU Module
147
Deleting the Data Logging Setting in the CPU Module
149
Logging Status and Operation
151
Logging File Operation
154
Data Logging File Transfer Status
156
Checking the Product Information
158
Opening the User's Manual
158
Checking the Version Information
158
Available Characters
159
Available ASCII Characters
159
Characters Available for File and Folder (Directory) Names
160
Characters Available for the Data Logging Setting
160
Mitsubishi MELSEC L Series User Manual (140 pages)
Programmable Controller, Digital-Analog Converter Module
Brand:
Mitsubishi
| Category:
Control Unit
| Size: 5.26 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
6
Introduction
7
Compliance with the Emc and Low Voltage Directives
8
Relevant Manuals
9
Table of Contents
10
Manual Page Organization
13
Packing List
16
Terms
16
Chapter 1 D/A Converter Module
17
Application
17
Features
18
Chapter 2 Part Names
19
Chapter 3 Specifications
21
General Specifications
21
Performance Specifications
22
Number of Parameter Settings
23
Function List
24
I/O Signal List
25
Buffer Memory List
26
Chapter 4 Procedures before Starting the Operation
31
Chapter 5 System Configuration
33
Overall System Configuration
33
Applicable System
34
Restrictions When D/A Converter Module Is Connected to Head Module
34
Chapter 6 Installation and Wiring
35
Installation Environment and Installation Position
35
Terminal Block
36
Wiring
38
External Wiring
39
Chapter 7 Various Settings
40
Addition of Modules
40
Switch Setting
41
Parameter Setting
42
Auto Refresh
43
Offset/Gain Setting
44
Setting from GX Works2 "Offset/Gain Setting
44
Setting from a Program
47
Chapter 8 Functions
51
D/A Conversion Enable/Disable Function
51
D/A Output Enable/Disable Function
51
Analog Output HOLD/CLEAR Function
52
Analog Output Test When CPU Module Is in STOP Status
54
Scaling Function
56
Alarm Output Function
61
Error Log Function
63
Module Error Collection Function
65
Error Clear Function
66
Saving and Restoring Offset/Gain Values
67
Chapter 9 Display Unit
72
Display Unit
72
Menu Structure
72
List of Setting Value Change Screens
74
Checking and Clearing Errors
77
Chapter 10 Programming
79
Procedure for Programming
79
When Using a Standard System Configuration
80
When D/A Converter Module Is Connected to Head Module
85
Mitsubishi MELSEC L Series User Manual (124 pages)
CPU Module, Built-In Ethernet Function
Brand:
Mitsubishi
| Category:
Controller
| Size: 5.37 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
9
Introduction
10
Relevant Manuals
11
Table of Contents
12
Manual Page Organization
14
Terms
17
Chapter 1 Overview
18
Chapter 2 Communication Specifications
20
Chapter 3 Connection of Programming Tools and Got
22
Setting for the CPU Module
23
Setting for the Programming Tool
25
Searching CPU Modules on the Network
26
Communication Via Routers
27
Precautions
28
Chapter 4 Direct Connection to Programming Tool
30
(Simple Connection)
30
Setting Method
31
Precautions
32
Chapter 5 MC Protocol Communication
33
Setting Method
34
MC Protocol Commands
35
Command List
35
Available Devices
36
Precautions
37
Error Codes for MC Protocol Communication
39
Chapter 6 Socket Communication Function
40
Communication Using TCP
42
Communication Using UDP
51
Precautions for the Socket Communication Function
57
Socket Communication Function Instructions
59
Establishing a Connection (SP.SOCOPEN)
60
Disconnecting a Connection (SP.SOCCLOSE)
65
Reading out Received Data in the END Processing (SP.SOCRCV)
68
Reading out Received Data During Instruction Execution (S.SOCRCVS)
71
Sending Data (SP.SOCSND)
74
Reading out Connection Information (SP.SOCCINF)
77
Changing the Target of a Connection (UDP/IP) (SP.SOCCSET)
80
Changing the Receive Mode of a Connection (SP.SOCRMODE)
82
Socket Communication Receive Data Read (S(P).SOCRDATA)
85
Chapter 7 Time Setting Function ( Sntp Client)
87
Setting Method
88
Precautions
89
Chapter 8 File Transfer Function (Ftp)
90
Setting for FTP Communication
91
Files Transferable Using FTP
94
Files that Can be Deleted Using FTP
95
FTP Commands
96
List of FTP Commands
96
How to Specify an FTP Command
98
Details of FTP Commands
99
Precautions
107
Mitsubishi MELSEC L Series Handbook (50 pages)
Transition Communications
Brand:
Mitsubishi
| Category:
Controller
| Size: 1.54 MB
Table of Contents
Safety Precautions
3
Conditions of Use for the Product
7
Revisions
8
Table of Contents
9
Generic Terms and Abbreviations
11
Chapter 1 Introduction
12
Modules Targeted for Replacement
12
General Precautions
14
CHAPTER 2 SERIAL COMMUNICATION MODULE REPLACEMENT 2 - 1 to 2 - 28
15
List of Serial Communication Modules to be Replaced
15
Performance Specifications Comparison
16
Module Performance Comparison
16
Cable Specifications Comparison
21
Functional Comparison
23
Switch Setting Comparison
25
Program Comparison
28
I/O Signal Comparison
28
Buffer Memory Address Comparison
31
Reuse of Existing Programs
34
Reuse of Ans Series Programs
34
Reuse of Qnas Series Programs
35
Other Precautions
36
Program Examples
37
Chapter 3 External Dimensions
43
Appendices
45
Appendix 1 Spare Parts Storage
45
Appendix 2 Relevant Manuals
46
Appendix 2.1 Replacement Handbooks
46
Appendix 2.2 Ans Series
47
Appendix 2.3 Qnas Series
47
Appendix 2.4 L Series
47
Advertisement
Related Products
Mitsubishi MELSEC-L Series
Mitsubishi MELSEC-l
Mitsubishi MELSEC-L60AD4
Mitsubishi MELSEC-Q EQ-V680D1
Mitsubishi MELSEC-Q/L
Mitsubishi MELSEC iQ-R series
Mitsubishi MELSEC-WS0-CPU1
Mitsubishi MELSEC-WS0-XTDI
Mitsubishi MELSEC Q Mode
Mitsubishi MELSEC QS Series
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