EasyManua.ls Logo

Mitsubishi Electric melsec q03ud(E)cpu - Page 607

Mitsubishi Electric melsec q03ud(E)cpu
622 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
Loading...
App - 63
(4) Replacing the RFS instruction
If any I/O numbers targeted for forced on/off are included in the partial refresh range specified by the RFS instruc-
tion, add subroutine calls for P10 and P11 before and after the RFS instruction. (P10 and P11 are pointers shown
in the program examples in (2).)
If no I/O number targeted for forced on/off is included, addition of subroutine calls for P10 and P11 is not neces-
sary.
(a) When partial refresh for input (X) is executed by the RFS instruction
Add a subroutine call that executes forced input after the RFS instruction.
(b) When partial refresh for output (Y) is executed by the RFS instruction
Add a subroutine call that executes forced output before the RFS instruction.
(5) Restrictions
Replacements described in (2) to (4) do not apply in the following cases.
Input and output targeted for forced on/off are referred to or changed using the direct input device (DX) and
direct output device (DY).
Input and output targeted for forced on/off are referred to or changed within an interrupt program.
A subroutine call that executes
forced input is added.
A subroutine call that executes
forced output is added.

Table of Contents

Related product manuals