Appendix 5.3.3; Program Replacement Examples - Mitsubishi Electric Q01UCPU User Manual

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

Appendix 5.3.3

This section shows program replacement examples for the instructions of which replacement programs are available
in Page 511, Appendix 5.3.1. (Skip this section if instructions listed in Page 511, Appendix 5.3.1 are not used.)
(1) Replacement example of the IX and IXEND instructions
Since index registers are saved using the ZPUSH instruction, a 23-word index register save area is required.
(a) Example of device assignment
Application
Index modification table
If the device numbers in the example above are used for other applications, assign unused device numbers
instead.
(b) Program before replacement
514

Program replacement examples

Before replacement
Device
D100 to D115
After replacement
Application
Index modification table
Index register save area
Device
D100 to D115
D200 to D222
The modification value set in the
index modification table is added.
Modification target
(No change required)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents