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 #284 background imageLoading...
Page #284 background image
6 - 133 6 - 133
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
(8) No processing is performed in the following cases.
• The device number designated by
S
,
D1
, or
D2
is not divisible by 16.
• The device designated by
S
is outside the actual input range.
• The device designated by
D1
is outside the actual output range.
• The space 16 x n-points following the device designated by
D2
exceeds the relevant device
range.
• The value for n2 is not between 2 and 8.
[Operation Errors]
(1) There are no errors associated with the MTR instruction.
[Program Example]
(1) The following program fetches 16 points x 3 rows starting from X10 when X0 is ON, and stores
it from M30 onward.
[Ladder Mode] [List Mode]
Steps
Instruction
Device
M62
X012
M63
X011
M64
M65
X013
M66
X014
M67
X015
M68
X016
M69
X017
M70
X018
M71
X019
M72
X01A
M73
X01B
M74
X01C
M75
X01D
M76
X01E
M77
X01F
M46
X012
M47
X011
M48
M49
X013
M50
X014
M51
X015
M52
X016
M53
X017
M54
X018
M55
X019
M56
X01A
M57
X01B
M58
X01C
M59
X01D
M60
X01E
M61
X01F
M30
X012
M31
X011
M32
M33
X013
M34
X014
M35
X015
M36
X016
M37
X017
M38
X018
M39
X019
M40
X01A
M41
X01B
M42
X01C
M43
X01D
M44
X01E
M45
X01FX010
Third row
Second row
First row
Y22
Y21Y20
[Caution]
(1) Note that the MTR instruction directly operates on actual input and cutput.
The output
D1
that had been turned ON by the MTR instruction does not turn OFF when the
MTR command turns OFF. Turn OFF the specified output
D1
in the sequence program.
(2) An MTR instruction execution interval must be longer than the total of response time of
input and output modules.
If the set interval is shorter than the value indicated above, an input cannot be read
correctly.
If the scan time in a sequence program is short, select the constant scan and set the scan
time longer than the total of response time.
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