EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #486 background imageLoading...
Page #486 background image
7-112
CALL(P)
(6) The device used in the argument of the CALL (P) instruction should not be used in a
subroutine program. If used, it will not be possible to obtain accurate calculations.
(Refer to the following program example.)
(7) When the device, either timer or counter, is used in the argument of the CALL(P) instruction,
only the current value is transmitted/received.
Incorrect operation example
The following example shows the operation performed when D0 is specified for FD0 in the
subroutine program and D1 is used in the subroutine program.
[Program example]
[Operation performed after subroutine program execution]
*1: Stores the execution result of the subroutine program.
*2: Replaced by the value of the function device.
*3: D1 does not reflect the value of the function device.
D0
D3
D2
D1
0
Indefinite
Indefinite
Indefinite
Indefinite
1000
100
10
D0
D3
D2
D1
0
1000
100
10
0
1000
100
10
Before the execution
of subroutine program
Immediately after the
execution of CALL
instruction
D0
D3
D2
D1
33 *2
Indefinite
Indefinite
Indefinite
Indefinite
1000 *2
100 *2
110 *3
D0
D3
D2
D1
0
1000
100
1 *1
33 *1
1000
100
110 *1
At the time of
subroutine program
execution
After the execution
of RET instruction
FD0 FD0 FD0 FD0
Transfer
Transfer

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals