3 DETAILS OF FUNCTION
3.2 MELSEC Data Link Functions
171
3
mdTypeRead
This function reads the model code of a CPU module.
■
Format
short mdTypeRead(long lPath, short sStNo, short* psCode)
■
Argument
■
Description
This function reads the model name of the CPU module with the specified station number to the station number (sStNo).
For CPU modules other than the following, the model code is undefined.
Argument
Name
Description
IN/OUT
lPath
Path of channel
Specify the path of the opened channel.
IN
sStNo
Station number
Specify the network number and station number of the target module.
IN
psCode
Model code
Specify the storage destination (address) of the model code.
(Stores the read model code.)
OUT
Model code (hexadecimal)
CPU module
0041H
Q02CPU, Q02HCPU
0042H
Q06HCPU
0043H
Q12HCPU
0044H
Q25HCPU
0049H
Q12PHCPU
004AH
Q25PHCPU
004BH
Q12PRHCPU
004CH
Q25PRHCPU
004DH
Q02PHCPU
004EH
Q06PHCPU
0250H
Q00JCPU
0251H
Q00CPU
0252H
Q01CPU
0260H
Q00UJCPU
0261H
Q00UCPU
0262H
Q01UCPU
0263H
Q02UCPU
0266H
Q10UDHCPU
0267H
Q20UDHCPU
0268H
Q03UDCPU
0269H
Q04UDHCPU
026AH
Q06UDHCPU
026BH
Q13UDHCPU
026CH
Q26UDHCPU
02E6H
Q10UDEHCPU
02E7H
Q20UDEHCPU
02E8H
Q03UDECPU
02E9H
Q04UDEHCPU
02EAH
Q06UDEHCPU
02EBH
Q13UDEHCPU
02ECH
Q26UDEHCPU
02EDH
Q50UDEHCPU
02EEH
Q100UDEHCPU
0366H
Q03UDVCPU
0367H
Q04UDVCPU
0368H
Q06UDVCPU
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......