Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1068

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

• In a multiple CPU system, the module name can also be read by specifying the module controlled by the CPU module of
another CPU.
• In the following program example, when M0 turns on, the module name of the module mounted at I/O number 0020H is
stored in D0 and later.
M0
• Module having a module name (example: RJ71GP-SX)
PW
CPU
Start I/O number: 0020H
• Module having no module name (example: RX40)
PW
CPU
Start I/O number: 0020H
• Empty slot
PW
CPU
Start I/O number: 0020H
Operation error
Error code
Description
(SD0)
2800H
The value set to (H) is out of the range, 0 to FFH and 3E0 to 3E3H.
2810H
Communications with the read target module is disabled due to a failure of the module.
7 APPLICATION INSTRUCTIONS
1066
7.27 Module Access Instructions
Reading the model name
RJ71
GP21
-SX
Reading the model name
RX40
Reading the model name
(n)
(d)
TYPERD
H2
D0
b15
∙∙∙
b8 b7
D0
0
4AH (J)
D1
31H (1)
D2
50H (P)
D3
31H (1)
D4
53H (S)
D5
D6
00H
D7
00H
D8
00H
D9
00H
b15
∙∙∙
b8 b7
D0
1
D1
4EH (N)
D2
55H (U)
D3
5FH (_)
D4
36H (6)
D5
00H
D6
00H
D7
00H
D8
00H
D9
00H
b15
∙∙∙
b8 b7
D0
-1
00H
D1
00H
D2
D3
00H
D4
00H
D5
00H
D6
00H
D7
00H
00H
D8
D9
00H
∙∙∙
b0
The value, 0, is stored.
Indicates that the model name has
52H (R)
been read and stored successfully.
37H (7)
47H (G)
The model name that has been written
to the module is stored.
32H (2)
2DH (-)
58H (X)
00H
If the number of characters read is
00H
less than 17, the remaining areas and
00H
the area for the 18th character are
filled with 00Hs.
∙∙∙
b0
The value, 1, is stored.
Indicates that the model type and
49H (I)
the number of points have been
50H (P)
read and stored successfully.
54H (T)
The module type and the number of
31H (1)
points are stored.
00H
00H
00H
If the number of characters read is less
00H
than 17, the remaining areas and the
00H
area for the 18th character are filled
with 00Hs.
∙∙∙
b0
The value, -1, is stored.
Indicates that no model name has
00H
been read and stored.
00H
00H
00H
00H
00H
00H
All the areas are filled with 00Hs.
00H
00H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents