Mitsubishi MELSEC Q Series Programming Manual page 576

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

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]
[Operation]
Comment at D100
Caution
(1) The processing completes 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.
SP. FREAD
SP. FWRITE
PRC
COMRD
7-202
LINE
A TARGET
Instruction
ON During
ON for One Scan After
Name
Execution
Designated by instruction.
SM721
SM720
[List Mode]
Step
Instruction
b8 b7
b15
49
(I)
W0
H
45
(E)
W1
H
41
(A)
W2
H
54
(T)
W3
H
52
(R)
W4
H
45
(E)
W5
H
20
(space)
W6
H
20
(space)
W7
H
W15
20
(space)
H
W16
ON after Abnormal Completion
Completion
(Device designated by instruction) + 1
None
Device
b0
4C
(L)
H
4E
(N)
H
20
(space)
H
20
(space)
H
41
(A)
H
47
(G)
H
54
(T)
H
20
(space)
H
20
(space)
H
00
H

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents