Reading Device Comment Data (Comrd(P)) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

COMRD(P)
7.11.7

Reading device comment data (COMRD(P))

COMRD(P)
COMRD
COMRDP
Setting
Data
Function
(1) Reads the comment at the device number designated by
in the area starting from the device number designated by
Comment at device number designated by
For example, if the comment for the device designated by
START," the operation results would be stored following
Comment at
7-200
Command
Command
: Head number of the devices where a comment to be read is stored (Device name)
S
: Head number of the devices where the read comment will be stored (character string)
D
Internal Devices
R, ZR
Bit
Word
S
––
D
S
S
NO.1
LINE
START
High
Basic
performance
COMRD
COMRDP
J
\
U
\G
Bit
Word
––
, and stores it as ASCII code
S
.
D
b15
b8b7
D
ASCII code for the 2nd character
ASCII code for the 1st character
D
+1
ASCII code for the 4th character
ASCII code for the 3rd character
D
+2
ASCII code for the 6th character
ASCII code for the 5th character
D
+3
ASCII code for the 8th character
ASCII code for the 7th character
ASCII code for the 30th character
ASCII code for the 29th character
D
+15
ASCII code for the 32nd character
ASCII code for the 31st character
00
H
were "NO. 1
S
as follows:
D
b15
b8b7
D
4F
(O)
H
D
+1
31
(1)
H
4C
(L)
D
+2
H
D
+3
4E
(N)
H
D
20
(space)
+4
H
54
(T)
D
+5
H
D
+6
52
(R)
H
D
+7
20
(space)
H
D
+15
20
(space)
H
00
H
Process
Redundant Universal
LCPU
S
D
S
D
Other
BL\S,BL
Zn
Constants
\TR,BL,
P,I,J,U
––
––
––
b0
Stores up to 32
characters
LINE
b0
4E
(N)
H
2E
(.)
H
20
(space)
H
49
(I)
H
45
(E)
H
53
(S)
H
41
(A)
H
54
(T)
H
20
(space)
H

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents