Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1066

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

Advertisement

Processing details
• These instructions read the module name in the slot specified by (H), and store the model name in the device specified by
(d) and later. The target modules are as follows.
• CPU module
• Input module
• Output module
• I/O combined module
• Intelligent function module
• For (H), specify the start I/O number of the target module with upper 3 digits when it is represented by 4 hexadecimal digits.
CPU
RX10
PW
0000H
(1) Specify K4 or H4 as the start I/O number of the read-target module.
• For the slot to be specified for the read target when specifying a module that occupies two slots, refer to the number of
occupied I/O points described in the manual for each module.
• To read the module name of a CPU module, specify the read start I/O number as in the following table.
CPU module
CPU No. 1
CPU No. 2
CPU No. 3
CPU No. 4
• The result of instruction execution is stored in (d)+0, and a module name is stored in (d)+1 to (d)+9. The following table lists
the values to be stored in (d).
Condition
The read target module has a module name.
The read target module does not have a module name.
The read target slot is an empty slot.
The read target module is in the course of online exchange.
The I/O number specified in (H) is not the start number of a module.
• When the read target module has a module name, the module name to be stored in (d)+1 and later is as follows.
• Nine words are used.
• The name is stored in ASCII characters.
• 00H is stored in the 18th character.
• If the number of characters is less than 17, 00H is stored in the remaining characters.
• The module name held by a module is stored. (Note that it may differ from the module name written to the rating plate.)
Ex.
The following table lists module name examples that are stored.
Target module
CPU module
I/O module
Network module
If the module name in the I/O assignment setting differs from that of the mounted module, the module name
held by the mounted module is stored.
7 APPLICATION INSTRUCTIONS
1064
7.27 Module Access Instructions
RX10
RX10
RX10
RJ71EN71
0010H
0020H
0030H
0040H
Read start I/O number
3E0H
3E1H
3E2H
3E3H
RX10
0060H
(1)
(d)+0
0
1
-1
Module name example stored
R04CPU
INPUT_16
RJ71GP21-SX
(d)+1 to (d)+9
Module name held by a module
Character string consisting of module type and the
number of points
0000H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents