433
PR
1
2
3
4
4
6
7
8
7.9
D
isplay instru
ctions
7.9.1
P
R
(b) If SM701 is OFF, everything from the device designated by to the 00
H
code will be the target of the operation.
(2) The number of points used by the output module is 10 points from the Y address designated by .
(3) Output signals from the output module are transmitted at the rate of 30 ms per character.
For this reason, the time required to the completion of the transmission of the designated number of characters (n) will be
30 ms n (ms).
At 10 ms 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 processings.
(4) In addition to the ASCII code, the output module also outputs a strobe signal (10 ms ON, 20 ms 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 designated number of characters.
(6) The PR and PRC instructions can be used multiple times, but it is preferable to establish an 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 codes are stored changes during the ASCII code output, the modified data
after change will be output.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
4101
When SM701 is OFF, there is no 00
H
code within the device range
specified in .
––
––
––
––
S
+
1
4
1
H
(
A
)
4
2
H
(
B
)
4
3
H
(
C
)
44
H
(
D
)
+
2
4
5
H
(E)
4
6
H
(F)
4
7
H
(
G
)
4
8
H
(H)
+
3
4
B
H
(K)
4
C
H
(L)
00
H
(NULL)
4E
H
(N)
4F
H
(
O
)
50
H
(
P
)
4
9
H
(I)
4
A
H
(J)
+4
+
5
+
6
+
7
b15
b8 b7
b0
H
ead
of
output
Schedu
l
ed
comp
l
et
i
on
ASC
II
code
output
Strobe
s
i
gna
l
output
Fl
ag
i
nd
i
cat
i
ng
PR
i
nstruct
i
on
i
n
execut
i
on
U
pper
8
b
i
ts
L
ower
8
b
i
ts
+
8
+
9
+
7
Sequence
program
+
0
Output
Y
4
2
H
44
H
4
6
H
4
8
H
4
C
H
4
A
H
4
1
H
4
3
H
4
5
H
4
7
H
4
B
H
4
9
H
S
D
S
S
S
S
S
S
S
D
D
D
U
sed
as
i
nter
l
oc
k
Dev
i
ce
where
ASC
II
code
i
s
stored
Pr
i
nter
or
d
i
sp
l
a
y
dev
i
ce
D
Strobe
s
i
gna
l
O
FF
O
N
30
ms
10
ms
10
ms
10
ms
10
ms
10
ms
Data
output
E
xecut
i
on
of
sequence
program
PR
i
nstruct
i
on
process
i
ng
D
D
D
S