EasyManuals Logo

Mitsubishi 00JCPU User Manual

Mitsubishi 00JCPU
542 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 #35 background imageLoading...
Page #35 background image
1 - 10
CHAPTER1 OVERVIEW
1
1.4 Devices and Instructions Useful for Programming
(b) Subroutine call instruction with argument passing
Subroutine program that is called more than one time can be created easily
*1: For input and output conditions for an argument, refer to Section 9.3.1.
Figure 1.17 Calling subroutine program with argument passing
FD2FD1
MOV
SM400
FD2
FD0MOV
RET
FEND
END
M0
M0
M10
R10
K4X10W10
P0
CALLP
P0
100
0
Always
on
Argument from FD2
*1
Source data
Destination data
M0
R0
K4X0W0
P0
CALLP
Argument from FD2
*1
Argument to FD1
Argument to FD0
Argument to FD1
Argument to FD0
Argument specification
Argument specification
Subroutine program
specification
Main routine program
Subroutine program

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi 00JCPU and is the answer not in the manual?

Mitsubishi 00JCPU Specifications

General IconGeneral
BrandMitsubishi
Model00JCPU
CategoryController
LanguageEnglish

Related product manuals