EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Reading Device Comment Data

Mitsubishi Electric MELSEC-Q/L
1084 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
Loading...
546
7 APPLICATION INSTRUCTIONS
7.11 Character String Processing Instructions
Reading device comment data
COMRD(P)
Processing details
Reads the comment at the device number designated by (S), and stores it as ASCII code in the area starting from the
device number designated by (D).
For example, if the comment for the device specified by (S) is " ", the operation results would be stored
in (D) and later devices as follows:
(S): Head number of the devices where a comment to be read is stored (Device name)
(D): Head number of the devices where the read comment will be stored (character string)
Setting
data
Internal device R, ZR J\ U\G Zn Constant Others
BL\S, BL,
BL\TR, P, I,
J, U
Bit Word Bit Word
(S) 
(D) 
Process
High
performance
Redundant
Universal
LCPU
Basic
Command
Command
COMRD
COMRDP
S
D
COMRD
COMRDP
S
D
+1
ASCII code for the 1st character
ASCII code for the 2nd character
ASCII code for the 3rd character
ASCII code for the 4th character
b15 b8b7 b0
+2
Stores up to 32
characters
ASCII code for the 5th character
ASCII code for the 6th character
ASCII code for the 7th character
ASCII code for the 8th character
ASCII code for the 29th character
ASCII code for the 30th character
ASCII code for the 31st character
ASCII code for the 32nd character
00H
Comment at device number designated by
+3
S
D
D
D
D
+15
D
NO.1
START
LINE
+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)
20H (space)
45
H (E)
54
H (T)
53
H (S)
52
H (R)
41
H (A)
54
H (T)

Table of Contents

Related product manuals