EasyManua.ls Logo

Mitsubishi Electric melsec q03ud(E)cpu - Page 576

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...
1
2
3
APPEN-
DIX
6
7
8
Appendix 3 Method of Replacing Basic Model QCPU or High Performance Model QCPU with Universal
Model QCPU
Appendix 3.3 Instructions
APPENDICES
App - 32
2) Subroutine program
In the subroutine program, the data for outputting ASCII codes using a fixed scan interrupt program
(10ms) are set to work devices. Also, the flag for activating the processing in the fixed scan interrupt pro-
gram is turned on.
Specify the following arguments for the subroutine program.
First argument Output string storage address (Input)
Second argument Output module start Y number (Input)
Figure App.9 Sample program
Data specified by the CALL(P)
arguments are saved.
Output string storage address
Number of output strings
Output module start number
Devices used for the string
output processing of the
interrupt program I31 are
initialized.
Yn0 to Y
n7 (ASCII code),
Yn8 (strobe signal), and Yn9
(in-execution flag) are all
turned OFF.
The flag for activating the string
output processing in the interrupt
program is turned on.

Table of Contents

Related product manuals