Mitsubishi Electric MELSEC iQ-R Series Manual page 107

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

Advertisement

mdrTypeRead
This function reads the model code of a CPU module.
■ Format
short mdrTypeRead (long lPath, short sRoute, long lNetNo, long lIoNo, long lStNo, short sCPU, short* psCode)
■ Argument
Argument
Name
lPath
Path of channel
sRoute
Access route
lNetNo
Network number
lIoNo
Start I/O number
lStNo
Station number
sCPU
CPU number
psCode
Model code
■ Description
This function reads the model code of the CPU module with the station number specified to the station number (lStNo).
For CPU modules other than the following, the model code is undefined.
Model code (hexadecimal)
0041H
0042H
0043H
0044H
0049H
004AH
004BH
004CH
004DH
004EH
0250H
0251H
0252H
0260H
0261H
0262H
0263H
0266H
0267H
0268H
0269H
026AH
026BH
026CH
02E6H
02E7H
Description
Specify the path of the opened channel.
Specify the access route to target module.
• 0: CC-Link IE Controller Network
• 1: CC-Link IE Field Network
• 2: MELSECNET/H
• 3: CC-Link
• 4: Bus interface
Specify the network number of target module.
Page 14 Argument specification
Specify the start I/O number divided by 16 of the target module.
Page 14 Argument specification
Specify the station number of target module.
Page 14 Argument specification
Specify the target CPU number.
• 0: Control CPU specification
• 1 to 4: Multiple CPU specification
Specify the storage destination (address) of the model code.
(Stores the read model code.)
CPU module
Q02CPU, Q02HCPU
Q06HCPU
Q12HCPU
Q25HCPU
Q12PHCPU
Q25PHCPU
Q12PRHCPU
Q25PRHCPU
Q02PHCPU
Q06PHCPU
Q00JCPU
Q00CPU
Q01CPU
Q00UJCPU
Q00UCPU
Q01UCPU
Q02UCPU
Q10UDHCPU
Q20UDHCPU
Q03UDCPU
Q04UDHCPU
Q06UDHCPU
Q13UDHCPU
Q26UDHCPU
Q10UDEHCPU
Q20UDEHCPU
3 DETAILS OF FUNCTION
3.2 MELSEC iQ-R Series Data Link Functions
IN/OUT
3
IN
IN
IN
IN
IN
IN
OUT
105

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r c

Table of Contents