EasyManuals Logo
Home>Mitsubishi>Controller>QCPU (Q Mode)

Mitsubishi QCPU (Q Mode) User Manual

Mitsubishi QCPU (Q Mode)
456 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 #279 background imageLoading...
Page #279 background image
10 - 32 10 - 32
MELSEC-Q
10 DEVICES
(c) Function registers (FD)
• Function registers are used to designate data transfers between the sub-
routine CALL source and the sub-routine program.
• The function register I/O condition is automatically determined by the High
Performance model QCPU. If the sub-routine program data is the source
data, the data is designated as sub-routine input data.
If the sub-routine program data is the destination data, the data is
designated as sub-routine output data.
• 1 point occupies 4 words.
The number of words used depends on an instruction in a sub-routine
program.
A one-word instruction requires 1 word.
CALLP P0 D0 MOV R0 FD0
P0
The data is stored in one point (D0).
A two-words instruction requires 2 words.
DMOV R0 FD0CALLP P0 D0
P0
The data is stored in two points (D0 and D1).
The destination of 32-bit multiplication/division operation requires 4 words.
CALLP P0 D0
D R0 R10 FD0
P0
The data is stored in four points (D0 to D3).
• Valid devices cannot be used in a sub-routine program that contains
arguments. If devices assigned for function registers are used, values of the
function registers will not correctly be returned to a calling program.
CALLP P0 D0
P0
MOV K0 D3
Since the points (D0 to D3) are used
for FD0, D3 can not be used for the
sub-routine program.
D R0 R10 FD0
• High Performance model QCPU's word data devices can be used.
REMARK
1) For a procedure for using function devices, refer to the QCPU (Q mode)/QnACPU
Programming Manual (Common Instructions).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi QCPU (Q Mode) and is the answer not in the manual?

Mitsubishi QCPU (Q Mode) Specifications

General IconGeneral
BrandMitsubishi
ModelQCPU (Q Mode)
CategoryController
LanguageEnglish

Related product manuals