Mitsubishi MELSEC Q series User Manual page 176

Programmable controller
Hide thumbs Also See for MELSEC Q series:
Table of Contents

Advertisement

Ex.
When the data logging name: "LOG01" is read
17 words are
used.
(2) Error
In the following case, an operation error occurs. SM0 (error flag) turns on, and an error code is stored into SD0.
• When n is other than 1 to 10 (Error code: 4100)
• When 17 words from the device specified in D exceed the device range (Error code: 4101)
(3) Program example
The following figure shows an example of the program to read the data logging name of the data logging setting
No.1 and store the name in D0 or later when M0 turns on.
174
b15
to
b8
b7
D+0
4F
(O)
H
D+1
30
(0)
H
D+2
00
H
D+3
00
H
D+4
00
H
D+5
00
H
D+6
00
H
D+7
00
H
D+8
00
H
D+9
00
H
D+10
00
H
D+11
00
H
D+12
00
H
D+13
00
H
D+14
00
H
D+15
00
H
D+16
00
H
to
b0
4C
(L)
H
47
(G)
The data logging name read is stored.
H
31
(1)
H
00
is stored in the remaining characters
H
00
H
when the name length is less than 32
characters, 33rd, and 34th character.
00
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents