EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 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
Page #464 background imageLoading...
Page #464 background image
462
COMRD, COMRDP
For example, if the comment for the device designated by were "NO. 1 LINE START," the operation results
would be stored following as follows:
(2) If no comment has been registered for the device specified by despite the fact that the comment range setting is
made, all of the characters for the comment are processed as "20
H
" (space).
(3) The device number plus 1 where the final character of is stored differs depending on the ON/OFF status of SM701
(number of characters to output select signal).
When SM701 is OFF.....Does not change
When SM701 is ON......Stores "0"
(4) When a comment is read, SM720 turns ON for one scan after the instruction is completed.
SM721 turns ON during the execution of the instruction.
While SM721 is ON, the COMRD(P) instruction cannot be executed. If the attempt is made, no processing is performed.
1. For device comments used with the COMRD(P) instruction, use comment files stored in the standard ROM or memory
card.
Comment files stored in the program memory cannot be used.
2. Set the comment file used for the COMRD(P) instruction in "PLC file setting" in the PLC parameter dialog box. If the
comment file to be used is not set in the PLC file setting, device comments cannot be output with the COMRD(P)
instruction.
When a comment file is set in the "PLC File" tab of the PLC Parameter dialog box, but the file does not exist at power-on
or reset, "FILESET ERROR" (error code: 2400) will occur.
3. The COMRD(P) instruction cannot be executed during the interrupt program.
No operation if executed.
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into
SD0.
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100
The comment is not registered to the device number specified by .
––
4101
The device number specified by is not a word device.
––
The range of the device specified by exceeds the range of the
corresponding device.
–– –– –– ––
S
D
+1
4E
H
(N)4F
H
(O)
2E
H
(.)31
H
(1)
b15 b8
b7
b0
+2
20
H
(space)
20
H
(space)
Comment at
+3
+4
+5
+6
+7
NO.1 LINE START
S
D
D
D
D
D
D
D
D
00H
+15
D
20
H
(space)
20
H
(space)
4CH (L)
4E
H (N)
49
H (I)
20
H (space)
45
H (E)
54
H (T)
53
H (S)
52
H (R)
41
H (A)
54
H (T)
S
D
S
D
D

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals