Mitsubishi Electric MELSEC iQ-R C Programming Manual page 173

Melsec iq-r series programmable controller
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

mdTypeRead
This function reads the model code of a CPU module.
■Format
short mdTypeRead(long lPath, short sStNo, short* psCode)
■Argument
Argument
Name
lPath
Path of channel
sStNo
Station number
psCode
Model code
■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.
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
02E8H
02E9H
02EAH
02EBH
02ECH
02EDH
02EEH
0366H
0367H
0368H
Description
Specify the path of the opened channel.
Specify the network number and station number of the target module.
Page 9 Argument 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
Q03UDECPU
Q04UDEHCPU
Q06UDEHCPU
Q13UDEHCPU
Q26UDEHCPU
Q50UDEHCPU
Q100UDEHCPU
Q03UDVCPU
Q04UDVCPU
Q06UDVCPU
IN/OUT
IN
IN
OUT
3 DETAILS OF FUNCTION
3.2 MELSEC Data Link Functions
3
171

Advertisement

Table of Contents
loading

Table of Contents