Functions And Practical Use Of High-Speed Processing Instructions - Mitsubishi Electric MELSEC-KOJIU Instruction Manual

Table of Contents

Advertisement

5. EXPLANATION OF PROGRAM
5.4.15 Functions and practical use of high-speed processing instructions
The high-speed processing instructions are that a program component required to high-speed
processing is picked up, and high frequently executed several time as subroutine during execu-
tion of the main program at low speed, thus the executing time can be apparently shortened.
5.4.1 5.1 H igh-s@
processing instructions and application data registers
(1) SET F126 : High-speed program call instruction
(2) RST F126 : High-speed program return instruction
(3)
0126
: Register for storing of high-speed processing program head step No. (when
1OmS timer is used)
(4) 0123
: Register for storing of high-speed processing program head step No. (when
call instruction is used)
5.4.15.2 Circuit applications
The circuit shown below is.an example of practical application of the high-speed processing in-
structions, where
it
is intended to minimize timing error when Y20 and Y21 turn off.
Head step No. "m" of high-speed program (sub-
routine) is entered in
D123.
Y20
turns off when
X 2
turngon.
b
b
'Y21
turns off when
X4
turns on.
n: To be jumpted to the step with END instruc-
tion (To be inserted without fail)
I
x2
,
.
A I
RST
Y20
x4
Ma
8
n
(END)
5
i '
Fig.
5.4.15.1
High-speed Processing Circuit
Y20
turns off when
X 2
turns on.
Y21
turns off when
X 4
turns on.
Return instruction (To be inserted without fail)
81
-

Advertisement

Table of Contents
loading

Table of Contents