7-134
7.9 Display Instructions
7.9.1 Printing ASCII code
PR
(3) Output signals from the output module are transmitted at the rate of 30ms per character.
For this reason, the time required to complete the transmission of the specified number of
characters (n) will be 30ms n (ms).
At 10ms interrupt intervals, the PR instruction executes data output, strobe signal ON, and
strobe signal OFF. The other instructions are executed continuously during a period
between the above processes.
(4) In addition to the ASCII code data, the output module also outputs a strobe signal (10ms
ON, 20ms OFF) from the
+ 8 device.
(5) Following the execution of the PR instruction, the PR instruction execution flag (
+ 9
device) remains ON until the completion of the transmission of the number of specified
characters.
(6) The PR and PRC instructions can be used multiple times, but it is preferable to set the
interlock with the PR instruction execution flag (
+ 9 device) so that they will not be ON
simultaneously.
(7) If the contents of the device in which ASCII code data are stored are changed during the
ASCII code data output, the modified data after change will be output.
O
peration Error
In the following case, an operation error occurs, the error flag (SM0) is turned ON, and the
corresponding error code is stored to SD0.
• There is no 00
H
code within the range of the device specified for
when SM701 is OFF.
(Error code: 4101)
S
tro
b
e
s
i
gna
l
OFF
ON
30
ms
10
ms
10
ms
10
ms
10
ms
10
ms
Data
output
E
xecut
i
on
of
sequence
program
P
R i
nstruct
i
on
process
i
ng
d
d
d
s
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......