Reading Module Model Name - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Reading module model name

TYPERD(P)
High
Basic
Process
Redundant
performance
• Universal model QCPU: The serial number (first five digits) is "11043" or later.
TYPERD
TYPERDP
Setting
Internal device
data
Bit
Word
n
(D)
Setting data
Setting
Description
data
n
Value obtained by dividing the start I/O number of a module whose
model name is to be read by 16
(D)
(D)+0
(D)+1 to (D)+9
Processing details
• This instruction reads the module information stored in the area starting from the I/O number specified by "n", and stores it
in the area starting from the device specified by (D).
• For the Universal model QCPU, the following six modules (only Q series) are supported.
• CPU module
• Input module
• Output module
• I/O combined module
• Intelligent function module
• GOT (bus connection)
• For the LCPU, the following four models are supported.
• CPU module
• Input module
• Output module
• Intelligent function module
• The value of n is specified by the first 3 digits of the hexadecimal 4 digits that represent the start I/O number of a module
whose model name is to be read.
When the target module occupies one slot
Universal model QCPU
Power
supply
module
Ver.
Universal
LCPU
Command
Command
R, ZR
J\
Bit
Execution result of the instruction
Module model name
CPU
QX10 QX10 QX10 QX10
module
3E00
0000
0010
0020
0030
H
H
H
H
Specify H3E0 as the start I/O number of the CPU slot.
TYPERD
TYPERDP
U\G
Zn
Word
Setting range
0 to FFH, 3E0 to 3E3H
(Universal model QCPU)
0 to FFH, 3E0(LCPU)
Within each device range
Q68
QY41
QY10 QY10
ADV
P
0040
0050
0070
0080
H
H
H
H
H
Specify K3 or H3 as the start I/O number to be read.
7 APPLICATION INSTRUCTIONS
n
D
n
D
Constant
Others
K, H
Set by
Data type
User
BIN 16 bits
System
BIN 16 bits
Character string
Start I/O number configured in
the I/O assignment setting
7.19 Other Instructions
7
773

Advertisement

Table of Contents
loading

Table of Contents