Mitsubishi Electric Q01UCPU User Manual page 520

Hide thumbs Also See for Q01UCPU:
Table of Contents

Advertisement

(3)
Replacement example of the PR instruction
The number of output characters can be switched by the on/off status of SM701.
(a) Example of device assignment
Application
Output string
ASCII code output signal
Strobe signal
In-execution flag
If the device numbers in the example above are used for other applications, assign unused device numbers
instead.
(b) Program before replacement
518
Before replacement
Device
D0 to D3
Y100 to Y107
Y108
Y109
After replacement
Application
Output string
ASCII code output signal
Strobe signal
In-execution flag
Output string storage address (BIN32)
Output string storage address (BIN32)
(Used for sub-routine programs and
interrupt programs)
Number of output characters
Output module start Y number
Character extraction position
Number of extracted characters
String output status value
Result of string extraction by the MIDR
instruction
String output in-execution flag
For index modification
Device
D0 to D3
Y100 to Y107
Y108
Y109
D20 to D21
D200 to D201
D202
D203
D204
D205
D206
D207
M200
Z0
The number of output strings is set
to variable. (Output until ASCII code
00H appears.)
The strings stored in D0 and later are
output from Y100 to Y108.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents