Display Instructions; Print Ascii Code - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

PR
7.9

Display instructions

7.9.1
PR

Print ASCII code

7.9.1
PR
PR
: ASCII code or head number of the devices where the ASCII code is stored (character string)
S
: Head number of the output module to which the ASCII code will be output (bits)
D
Internal Devices
Setting
Data
Bit
––
S
(Only Y)
D
*1:
Local devices and the file registers set for individual programs cannot be used.
Function
(1) Outputs ASCII code stored in the device specified by
number to an output module specified by
The number of characters output differs according to the ON/OFF status of SM701
(number of output characters selection).
(a) If SM701 is ON, characters 8 points (16 characters) from the device designated by
operation.
Device where ASCII code is stored
Upper 8 bits
b15
b8 b7
S
+0
42
(B)
H
+1
S
44
(D)
H
+2
S
46
(F)
H
S
+3
48
(H)
H
S
+4
4A
(J)
H
+5
S
4C
(L)
H
S
+6
4E
(N)
H
S
+7
50
(P)
H
Sequence
program
432
Command
R, ZR
Word
Bit
*1
––
.
D
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
4D
(M)
H
4F
(O)
H
Flag indicating PR
instruction in execution
Used as interlock
High
Basic
performance
PR
J
\
U
\G
Word
––
––
or ASCII code stored in the area startings from the device
S
Output Y
D
ASCII code output
D
+7
D
+8
Strobe signal output
D
+9
Process
LCPU
Redundant Universal
S
D
Constants
Zn
$
––
will be the target of the
S
Printer or
display device
Other
––
––

Advertisement

Table of Contents
loading

Table of Contents