Mitsubishi MELSEC-Q/L Programming Manual page 435

Table of Contents

Advertisement

(b) If SM701 is OFF, everything from the device designated by
Device where ASCII code is stored
Upper 8 bits
b15
b8 b7
42
(B)
S
+0
H
44
(D)
S
+1
H
46
(F)
S
+2
H
48
(H)
S
+3
H
4A
(J)
S
+4
H
4C
(L)
S
+5
H
4E
(N)
S
+6
H
50
(P)
S
+7
H
Sequence program
(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.
Data output
OFF
Strobe signal
(4) In addition to the ASCII code, the output module also outputs a strobe signal (10 ms ON, 20 ms OFF) from the
device.
(5) Following the execution of the PR instruction, the PR instruction execution flag (
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 (
(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
When SM701 is OFF, there is no 00
4101
specified in
.
S
Lower 8 bits
b0
41
(A)
Head of output
H
43
(C)
H
45
(E)
H
47
(G)
H
49
(I)
H
4B
(K)
H
Scheduled
00
(NULL)
H
completion
4F
(O)
H
Flag indicating PR
instruction in execution
Used as interlock
Execution of sequence program
ON
10 ms
10 ms
10 ms
10 ms
30 ms
+ 9 device) so that they will not be ON simultaneously.
D
Error details
code within the device range
H
to the 00
code will be the target of the operation.
S
H
Output Y
D
ASCII code output
D
+7
D
+8
Strobe signal output
D
+9
PR instruction processing
10 ms
+ 9 device) remains ON until the
D
Q00J/
Q00/
QnH
Q01
––
PR
Printer or
display device
.
D
+ 8
D
QnPH QnPRH
QnU
LCPU
––
––
––
433
1
2
3
4
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents