EasyManuals Logo

Mitsubishi MELSEC-A series Programming Manual

Mitsubishi MELSEC-A series
508 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 #181 background imageLoading...
Page #181 background image
6. BASIC INSTRUCTIONS
6 69
MELSEC-A
(4) In the microcomputer program area, multiple microcomputer programs can be
created.
(5) For the details of microcomputer program, see Section 8.
Execution The execution conditions of SUB and SUBP instructions are as shown below.
Conditions
Operation Error In the following case, operation error occurs and the error flag turns on.
An area of more than the microcomputer program capacity has been specified
at n.
POINTS
(1) The processing time of a microcomputer program called by one SUB
instruction must be 5 msec or less. If it exceeds 5 msec, operation
combination between the microcomputer program processing and the
internal processing of the PC becomes out of control and the PC cannot
run correctly.
(2) If a microcomputer program which needs more than 5 msec for processing
is to be executed, divide it into several blocks which are called
consecutively. This method can shorten the processing time of a
microcomputer program called by one SUB instruction.
H
SUB 0930
X010
X011
H
SUB 0500
500H
Microcomputer
program
930H
Microcomputer
program
0
Head of
microcompute
r
program
OFF
ON
Executed
per scan
Executed
per scan
Executed
only once
Executed
only once
SUB
SUBP
Microcomputer program
execution command

Table of Contents

Other manuals for Mitsubishi MELSEC-A series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-A series and is the answer not in the manual?

Mitsubishi MELSEC-A series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-A series
CategoryController
LanguageEnglish

Related product manuals