165
CHAPTER 3 CPU MODULE FUNCTIONS
3
3.29 Module Model Name Read
3.29 Module Model Name Read
This function reads the model name of a module connected. The connected modules can be identified in a program so
that processing for individual module can be performed.
(1) Execution method
Use the TYPERD instruction.
For details, refer to the following.
MELSEC-Q/L Programming Manual (Common Instruction)
Processing common to
the C24 modules
Processing 1
Processing 2
Processing 3
Module model name read instruction
Reads the model name of the specified module.
Device memory
Module model name read
LJ71C24-R2
LJ71C24
Processing 1 and 2 are performed.
Processing 1 and 3 are performed.
Checks the execution
result of the instruction.
Reads the character string.
Identifies the connected module and performs
processing according to the module.
Execution result of the instruction
D0
D1
Module model name
"LJ71C24-R2"