Home
Mitsubishi
Controller
Q02CPU
Mitsubishi Q02CPU User Manual
692 pages
Manual
Specs
Ask a question
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
5
- 6
5.1
Ba
sic M
odel
QCPU
5.1.
2 Progr
am memo
ry
5
MEMORIES AND FILES HANDLED B
Y CPU MODULE
(4)
Write
to program memory
T
o write data
to the prog
ram memory
, c
hoose [Onl
ine]
[Write to PLC] o
n GX
Developer
.
Select
"Program
memory
/Device
memory" as
the ta
rget memo
ry on the
Write to PLC
screen a
nd write d
ata to the P
LC.
POINT
The file s
ize has
the mini
mum unit. (
Section 5
.4.4)
The occupie
d memo
ry capacity
may be grea
ter than the ac
tual
file size.
Diagram 5.4 Write to
PLC screen
187
189
Table of Contents
Default Chapter
3
Safety Precautions
3
Revisions
11
Table of Contents
12
Contents
18
About Manuals
22
How to See this Manual Is Organized
25
How to Use this Manual
27
Generic Terms and Abbreviations
28
Chapter1 Overview
30
Features
39
Features of Basic Model QCPU
39
Features of High Performance Model QCPU
40
Features of Process CPU
42
Features of Redundant CPU
44
Program Storage and Operation
46
Devices and Instructions Convenient for Programming
52
How to Check the Serial No. and Function Version
57
Chapter2 Performance Specification
58
Chapter3 Sequence Program Configuration and Execution Conditions
66
Sequence Program
68
Main Routine Programs
72
Subroutine Programs
74
Interrupt Programs
77
Settings for Execution of Only One Sequence Program
87
Settings for Creation and Execution of Multiple Sequence Programs
89
Initial Execution Type Program
91
Scan Execution Type Program
92
Low Speed Execution Type Program
98
Stand-By Type Program
106
Fixed Scan Execution Type Program
111
Execution Type Setting and Example of Type Changing
117
Operation Processing
123
Initial Processing
123
I/O Refresh (I/O Module Refresh Processing)
124
Automatic Refresh of the Intelligent Function Module
124
END Processing
125
RUN, STOP, PAUSE Operation Processing
126
Operation Processing During Momentary Power Failure
128
Data Clear Processing
129
I/O Processing and Response Lag
131
Refresh Mode
132
Direct Mode
135
Numeric Values Which Can be Used in Sequence Programs
138
BIN (Binary Code)
141
HEX (Hexadecimal)
142
BCD (Binary Coded Decimal)
143
Real Numbers (Floating Decimal Point Data)
144
Real Numbers (Floating Decimal Point Data) ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
145
Character String Data
148
Chapter4 I/O Number Assignment
149
Relationship between Number of Slots and Main Base Unit
149
Relationship between No. of Extension Stages and No. of Slots
150
Installing Extension Base Units and Setting the Number of Stages
152
Base Unit Assignment (Base Mode)
158
Definition of I/O Number
165
Concept of I/O Number Assignment
166
I/O Numbers of Base Unit
166
I/O Numbers of Remote Station
169
I/O Assignment by GX Developer
171
Purpose of I/O Assignment by GX Developer
171
Concept of I/O Assignment Using GX Developer
173
Examples of I/O Number Assignment
178
Checking the I/O Numbers
182
Chapter5 Memories And Files Handled by Cpu Module
183
Basic Model QCPU
183
Memory Configuration and Storable Data
183
Program Memory
185
Standard ROM
189
Standard RAM
191
Standard ROM Program Execution (Boot Run) and Writing
194
High Performance Model QCPU, Process CPU and Redundant CPU
198
Memory Configuration and Storable Data
198
Program Memory
202
Standard ROM
206
Standard RAM
208
Memory Card
211
Write to Standard ROM and Flash Card by GX Developer
216
Automatic All Data Write from Memory Card to Standard ROM
221
Execution of Standard Rom/Memory Card Programs (Boot Run)
225
Details of Written Files
230
Program File Structure
232
File Operation by GX Developer and Handling Precautions
234
File Operation
234
Precautions for Handling Files
235
Memory Capacities of Files
236
File Size Units
238
Chapter6 Functions
242
Function List
242
Constant Scan
246
Latch Function
250
Setting of Output (Y) Status When Changing between STOP and RUN
253
Clock Function
256
Remote Operation
261
Remote RUN/STOP
261
Remote PAUSE
265
Remote RESET
268
Remote Latch Clear
272
Relationship of Remote Operation and Cpu's RUN/STOP Status
274
Input Response Time Selection of Q Series Modules
275
Error Time Output Mode Setting
278
Hardware Error Time PLC Operation Settings
279
Intelligent Function Module Switch Setting
280
Monitor Function
283
Monitor Condition Setting
283
Local Device Monitor/Test
284
Enforced ON/OFF of External I/O
294
Writing in Program During CPU Module RUN
302
Write During RUN in Ladder Mode
302
File-Write During RUN
308
Execution Time Measurement
311
Program List Monitor
311
Interrupt Program Monitor List
317
Scan Time Measurement
318
Sampling Trace Function
321
Debug Execution by Multiple Users
332
Simultaneous Monitoring Execution by Multiple Users
333
Simultaneous Write During RUN by Multiple Users
336
Watchdog Timer (WDT)
338
Self-Diagnostics Function
341
Interrupt Due to Error Occurrence
352
LED Display at the Time of Error Occurrence
354
Error Clear
354
Error History
356
Basic Model QCPU
356
High Performance Model QCPU, Process CPU, Redundant CPU
357
System Protect
358
Restrictions ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6
358
Password Registration
359
Remote Password
362
CPU Module System Display by GX Developer
368
LED Display
372
Method to Turn off the LED
373
Reset Operation
373
Priority Setting
374
High Speed Interrupt Function
377
High Speed Interrupt Program Execution
380
High Speed I/O Refresh, High Speed Buffer Transfer
381
Processing Times
384
Restrictions
386
Interrupt from the Intelligent Function Module
389
Serial Communication Function
390
Reading the Module Service Interval Time
398
Device Initial Value
400
Chapter7 Communication With Intelligent Function Module
405
Communication between CPU Module and Intelligent Function Modules
406
Initial Setting and Auto Refresh Setting by GX Configurator
407
Initial Setting by Device Initial Value
409
Communication by FROM/TO Instruction
409
Communication by Intelligent Function Module Device
410
Communication by Instructions for Intelli. Function Modules
412
Access to Ans Series Corresponding Special Function Module
414
Chapter8 Parameters
415
PLC Parameters
416
Basic Model QCPU
416
Latch Clear Operation
420
High Performance Model QCPU, Process CPU, Redundant CPU
428
Redundant Parameter
444
Network Parameters
446
Remote Password
451
Chapter9 Device Explanation
452
Device List
452
Internal User Devices
456
High Performance Model QCPU, Process CPU and Redundant CPU
457
Input (X)
459
Output (Y)
461
Internal Relay (M)
462
Latch Relay (L)
463
Annunciator (F)
465
Edge Relay (V)
471
Link Relay (B)
472
Link Special Relay (SB)
474
Step Relay (S)
475
Timer (T)
476
Counter (C)
483
Data Register (D)
489
Link Register (W)
490
Link Special Register (SW)
492
Internal System Devices
493
Function Devices (FX, FY, FD)
493
Special Relay (SM)
496
Special Register (SD)
497
Link Direct Device
499
Intelligent Function Module Device
504
Index Register (Z)
506
Switching Scan/Low Speed Exec. to Interrupt/Fixed Scan Exec
509
File Register (R)
513
File Register Data Storage Location
514
File Register Capacity
515
Differences in Access Methods by Storage Destination Memory
516
File Register Registration Procedure
517
File Register Designation Method
522
Precautions for Using File Registers
523
Nesting (N)
527
Pointer (P)
528
Local Pointer
528
Common Pointer
532
Interrupt Pointer (I)
535
List of Interrupt Pointer Nos and Interrupt Factors
537
Other Devices
543
SFC Block Device (BL)
543
SFC Transition Device (TR)
543
Network No. Designation Device (J)
543
I/O No. Designation Device (U)
544
Macro Instruction Argument Device (VD)
545
Constants
547
Decimal Constant (K)
547
Hexadecimal Constant (H)
547
Real Number (E)
548
Character String
548
Convenient Usage of Devices
549
Global Devices and Local Devices
549
Timer (T) ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
551
Chapter10 Cpu Module Processing Time
559
Scan Time
559
Scan Time Structure
559
Time Required for each Processing Included in Scan Time
562
Factors that Increase the Scan Time
570
Factors that Can Shorten Scan Time by Changing the Settings
575
Other Processing Times
579
CHAPTER11 PROCEDURE FOR WRITING PROGRAM to CPU MODULE 11 - 1 to
580
Basic Model QCPU
580
Items to be Examined for Program Creation
580
Hardware Check
581
Procedure for Writing Program
583
Boot Run Procedure
585
High Performance Model QCPU, Process CPU, Redundant CPU
586
Items to be Examined for Program Creation
586
Hardware Check
587
Procedure for Writing One Program
589
Procedure for Writing Multiple Programs
592
Boot Run Procedure
595
Appendices
596
Appendix 1 Special Relay List
596
Reset Operation
597
Power Supply Module
610
Specifications
617
Base Unit
622
Appendix 2 Special Register List
623
Appendix 3 Comparison
675
Appendix 3.1 Basic Model QCPU Upgrade
675
Appendix 3.2 High Performance Model QCPU Upgrade
679
Appendix 4 Precautions for Battery Transport
683
Appendix 5 Device Point Assignment Sheet
684
Other manuals for Mitsubishi Q02CPU
Manual
11 pages
Need help?
Do you have a question about the Mitsubishi Q02CPU and is the answer not in the manual?
Ask a question
Mitsubishi Q02CPU Specifications
General
Operating Temperature
0 to 55 °C
Weight
0.5 kg
Communication
RS232
Power Supply
24 VDC
Communication Ports
RS-232
Number of I/O Points
4096 points
Related product manuals
Mitsubishi Q02HCPU
692 pages
Mitsubishi Q01CPU
732 pages
Mitsubishi Q00CPU
692 pages
Mitsubishi Q00JCPU
976 pages
Mitsubishi Q06HCPU
692 pages
Mitsubishi QX10
158 pages
Mitsubishi QY18A
158 pages
Mitsubishi Q64TD
18 pages
Mitsubishi QY81P
158 pages
Mitsubishi QD75M2
882 pages