Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-203
COMRD(P)
1
2
3
4
6
6
7
8
7.11 Character string processing instructions
7.11.7 Reading device comment data (COMRD(P))
Program Example
(1) The following program stores the comments set at D100 into the area starting from W0 as
ASCII when X1C is turned ON.
[Ladder Mode] [List Mode]
[Operation]
Caution
(1) QCPU completes the processing after several scans.
(2) The COMRD(P)/PRC instruction is not executed if the start signal (execution command) of
the COMRD(P)/PRC instruction is turned ON before completion of the instruction (while
SM721 is ON). Execute the COMRD(P)/PRC instruction when SM721 is OFF.
(3) Two or more file comments cannot be accessed simultaneously.
(4) The following instructions cannot be executed simultaneously because they use SM721 in
common.
Instruction
Name
ON During
Execution
ON for One Scan After
Completion
ON after Abnormal Completion
SP. FREAD
SP. FWRITE
SM721
Designated by instruction. (Device designated by instruction) + 1
PRC
COMRD
SM720 None
Step Instruction Device
W1
b15 b0
W2
Comment at D100
W3
W4
W5
W6
W7
W15
W16
W0
LINE A TARGET
49H (I)
4E
H (N)
20
H (space)
20
H (space)
45
H (E)
41
H (A)
41
H (A)
54
H (T)
54
H (T)
57
H (G)
52
H (R)
55
H (E)
20
H (space)
20
H (space)
20
H (space)
20
H (space) 20H (space)
b8
b7
4CH (L)
00
H