EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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 #388 background imageLoading...
Page #388 background image
386
CALL, CALLP
Program Example
(1) The following program forces the FOR to NEXT loop to end when the value of D0 reaches 30 (when the FOR to NEXT
loop has been executed 30 times).
[Ladder Mode] [List Mode]
Remark
The value 71 is stored at D1 when the BREAK instruction is executed.
Pn : Head pointer number of a subroutine program (Device name)
to : Number of the device to be passed as an argument to a subroutine program (bits, BIN 16 bits, BIN 32 bits)
7.6.3 CALL, CALLP Subrouti ne program cal ls
7.6.3
CALL, CALLP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
P
Bit Word Bit Word
Pn –– –– ––
to
(Other
than F)
––
Step
Instruction
Device
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
Command
Command
CALL
Pn
CALLP
Pn
PnCALL
to
Pn
CALLP
to
CALL
CALLP
S1
S5
S1
S5
CALL
CALLP
S1
S5
S1
S5

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals