EasyManua.ls Logo

Mitsubishi MELSEC QCPU User Manual

Mitsubishi MELSEC QCPU
285 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #234 background imageLoading...
Page #234 background image
6 - 83 6 - 83
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
(2) Processing will be performed without error even in cases where the range for the devices
storing the character data to be transferred (
S
to
S
+n) overlaps with the range of the devices
which will store the character string data after it has been transferred (
D
to
D
+n).
The following occurs when the character string data that had been stored from D10 to D13 is
transferred to D11 to D14:
32
H
(2)
b15 b8
31
H
(1)
b7 b0
D11
31
H
(1)
33
H
(3)
32
H
(2)
00
H
34
H
(4)
D12
D13
D14
D10
35
H
(5)36
H
(6)
... Remains as the
character string
it was prior to
transfer
32
H
(2)
b15 b8
31
H
(1)
b7 b0
D11
33
H
(3)
35
H
(5)
34
H
(4)
00
H
36
H
(6)
D12
D13
D14
D10
(3) If the "00
H
" code is being stored at lower bytes of
S
+n, "00
H
" will be stored at both the higher
bytes and the lower bytes of
D
+n.
The "00
H
" code is automatically
stored at the Upper byte.
b15 b8b7 b0
+1
+2
b15 b8b7 b0
+1
+2
42
H
(B) 41
H
(A)
43
H
(C)
00
H
44
H
(D)
45
H
(E)
42
H
(B) 41
H
(A)
43
H
(C)
00
H
44
H
(D)
00
H
Upper byte is not
transferred
S
D
S
S
D
D
[Operation Errors]
(1) In the following cases an operation error occurs, the error flag (SM0) turns ON, and an error
code is stored at SD0.
• There is no "00
H
" code stored between the device number designated by
S
and the relevant
device. (Error code: 4101)
• It is not possible to store the entire designated character string in the number of points from
the device designated by
D
to the final device number cited. (Error code: 4101)
[Program Example]
(1) The character string data stored in D10 to D12 is transfered to D20 to D22 when X0 goes ON.
[Ladder Mode] [List Mode]
Device
Instruction
Steps
b15 b8b7 b0
D21
D22
D20
b15 b8 b7 b0
D11
D12
D10
4D
H
(M) 2A
H
( )
45
H
(E)45
H
(E)
00
H
4D
H
(M) 2A
H
( )
45
H
(E)45
H
(E)
00
H
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC QCPU and is the answer not in the manual?

Mitsubishi MELSEC QCPU Specifications

General IconGeneral
ModelMELSEC QCPU
SeriesQ Series
CategoryController
MemoryVaries depending on CPU type
Program MemoryVaries depending on CPU type (e.g., 32K steps to 260K steps or more)
Data MemoryVaries depending on CPU type (e.g., 64K words to 512K words)
I/O CapacityUp to 4096 points (varies by model)
Number of I/O PointsUp to 4096 points
CommunicationEthernet
Programming LanguageLadder Logic, Instruction List, SFC, ST, Function Block Diagram
Program CapacityVaries depending on CPU type (e.g., 32K steps to 260K steps or more)
Power Supply24V DC or 100-240V AC (depending on model)
Operating Temperature0°C to 55°C
Storage Temperature-25°C to 75°C
Humidity5 to 95% RH, non-condensing
Shock Resistance147 m/s2, 3 times in X, Y, and Z directions

Summary

SAFETY PRECAUTIONS

REVISIONS

GENERAL DESCRIPTION

Related Programming Manuals

Lists other relevant programming manuals.

Abbreviation and Generic Name

Explains abbreviations and generic names used.

INSTRUCTION TABLES

Types of Instructions

Categorizes the types of CPU module instructions.

How to Read Instruction Tables

Explains the format and conventions of instruction tables.

Sequence Instructions

Instructions for relay control ladders.

Basic Instructions

Common operations like comparison and arithmetic.

Application Instructions

Instructions for specific applications like logical operations.

Instructions for Data Link

Instructions for data communication between stations.

QCPU Instructions

Instructions specific to QCPU modules.

Redundant System Instructions (For Q4ARCPU)

Instructions for redundant system configuration.

CONFIGURATION OF INSTRUCTIONS

Configuration of Instructions

Explains the structure of CPU module instructions.

Designating Data

Describes how to designate data types for instructions.

Index Modification

Explains how to use index registers for indirect addressing.

Indirect Designation

Explains how to use indirect addressing for devices.

Subset Processing

Explains subset processing for performance improvement.

Cautions on Programming (Operation Errors)

Describes programming cautions and potential operation errors.

Conditions for Execution of Instructions

Explains different execution conditions for instructions.

Counting Step Number

Explains how step numbers are calculated for instructions.

Operation when OUT, SET/RST, or PLS/PLF Instructions Use the Same Device

Explains behavior when multiple instructions use the same device.

HOW TO READ INSTRUCTIONS

How to Read Instructions

Explains how to read instruction descriptions.

SEQUENCE INSTRUCTIONS

Contact Instructions

Instructions for operation start and connections.

Connection Instructions

Instructions for connecting ladder blocks.

Operation results push, read, pop (MPS, MRD, MPP)

Instructions for managing operation results.

Timers (OUT T, OUTH T)

Instructions for low and high speed timers.

Counters (OUT C)

Instructions for up/down counters.

Resetting devices (except for annunciators) (RST)

Instruction to reset devices OFF.

Leading edge and trailing edge output (PLS, PLF)

Instructions for pulse output on leading/trailing edges.

Shift Instruction

Instructions for shifting bit devices.

Master Control Instructions

Instructions for master control of program execution.

Termination Instructions

Instructions to terminate program execution.

Other Instructions

Miscellaneous instructions.

BASIC INSTRUCTIONS

Comparison Operation Instruction

Instructions for comparing data.

Arithmetic Operation Instructions

Instructions for addition, subtraction, multiplication, division.

Data Conversion Instructions

Instructions for converting data formats.

Data Transfer Instructions

Instructions for moving data.

Program Execution Control Instructions

Instructions to control program execution flow.

Other Convenient Instructions

Various useful instructions.

APPENDICES

APPENDIX1 OPERATION PROCESSING TIME

Details processing times for various CPU modules.

APPENDIX 2 COMPARISON OF PERFORMANCE BETWEEN CPUs

Compares performance across different CPU types.

APPENDIX 3 SPECIAL RELAY LIST

Lists and explains special relays.

APPENDIX 4 SPECIAL REGISTER LIST

Lists and explains special registers.

APPENDIX 5 APPLICATION PROGRAM EXAMPLES

Provides examples of application programs.

Related product manuals