EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 515

Mitsubishi Electric MELSEC-Q/L
1084 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...
7 APPLICATION INSTRUCTIONS
7.9 Display Instructions
513
7
The number of points used by the output module is 10 points from the Y address designated by (D).
Output signals from the output module are transmitted at the rate of 30ms per character. For this reason, the time required
to the completion of the transmission of the designated 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 processings.
In addition to the ASCII code, the output module also outputs a strobe signal (10ms ON, 20ms OFF) from the (D)+8 device.
Following the execution of the PR instruction, the PR instruction execution flag ((D)+9 device) remains ON until the
completion of the transmission of the designated number of characters.
The PR and PRC instructions can be used multiple times, but it is preferable to establish an interlock with the PR instruction
execution flag ((D)+9 device) so that they will not be ON simultaneously.
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
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
When SM701 is off, everything from the device specified by (S) to the NULL code "00H" will be the target of the operation.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101 When SM701 is off, there is no NULL code "00H" within the device range
specified by (S).

+1
41
H
(A)
42
H
(B)
43
H
(C)
44
H
(D)
+2
45
H
(E)
46
H
(F)
47
H
(G)
48
H
(H)
+3
4B
H
(K)
4C
H
(L)
00
H
(NULL)
4E
H
(N)
4F
H
(O)
50
H
(P)
49
H
(I)
4A
H
(J)
+4
+5
+6
+7
b15 b8
b7
b0
Head of output
Scheduled
completion
ASCII code output
Strobe signal output
Flag indicating PR
instruction in execution
Upper 8 bits Lower 8 bits
+8
+9
+7
Sequence program
+0
Output Y
42
H
44
H
46
H
48
H
4C
H
4A
H
41
H
43
H
45
H
47
H
4B
H
49
H
S
D
S
S
S
S
S
S
S
D
D
D
Used as interlock
Device where ASCII code is stored
Printer or
display device
Strobe signal
OFF
ON
30 ms
10 ms 10 ms 10 ms
10 ms 10 ms
Data output
Execution of sequence program
PR instruction processing

Table of Contents

Related product manuals