Справочник Пользователя для Mitsubishi Electronics Mitsubishi Digital Electronics Home Theater Server QnUCPU
CHAPTER6 FUNCTIONS
1
2
3
4
5
6
7
8
6.
31
M
odule m
M
odule m
o
del na
me
read
6
-
161
6.31 Module model name read
Note1
(1) Definition
This function reads the model name of a module on a base unit.
The mounted module is identified in a ladder program and processing according to the module can be performed.
The mounted module is identified in a ladder program and processing according to the module can be performed.
(2) Execution method
Use the TYPERD instruction.
Remark
For details of the instruction, refer to the following.
QCPU Programming Manual (Common Instructions)
Note1
Figure 6.124 Operation of the module model name read
Note6.13
When using the module model name read function, check the versions of the CPU module and GX Developer.
(
Universal
TYPERD
= D0 K0
$= D1
"QD75MH2"
$= D1
"QD75MH4"
SET MO
H4
D0
D0
D1
M0
QD75MH2 Processing 1 and 2 are performed.
QD75MH4 Processing 1 and 3 are performed.
QD75MH4 Processing 1 and 3 are performed.
Processing common to
the QD75M modules
the QD75M modules
Processing 1
Module model name read
Module model name read
instruction
instruction
Reads the module name of the specified module by the
instruction.
instruction.
Processing 2
Processing 3
Checks the execution
result of the
instruction.
result of the
instruction.
Reads the character string.
Identifies the mounted module and performs
processing according to the module.
processing according to the module.
Device memory
Execution result of
the instruction
the instruction
Module model name
"QD75MH2"
"QD75MH2"