7-166
PR
7.9 Display instructions
7.9.1 Print ASCII code instruction (PR)
PR
*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 or ASCII code stored in the area
startings from the device 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
will be the target of the operation.
: ASCII code or head number of the devices where the ASCII code is stored (character string)
: Head number of the output module to which the ASCII code will be output (bits)
Setting
Data
Internal Devices R, ZR J\ U\G Zn Constants
$Other
Bit Word Bit Word
–– *1 –– ––
(Only Y)
–– –– –– ––
Process
High
performance
Redundant
Universal
Basic
PRD
Command
PRS
S
D
S
D
S
D
S
+1
41H(A)
42H(B)
43H(C)
44H(D)
+2 45H(E)
46H(F)
47H
(G)
48H(H)
+3
4BH(K)
4CH(L)
4DH(M)
4EH(N)
4FH(O)
50H(P)
49H(I)
4AH(J)
+4
+5
+6
+7
b15 b8b7 b0
Head of output
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
42H
44H
46H
48H
4CH
4EH
50H
4AH
41H
43H
45H
47H
4BH
4DH
4FH
49H
S
D
S
S
S
S
S
S
S
D
D
D
Device where ASCII code is stored
Printer or
display device
Used as interlock