Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 115

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

mdTypeRead
Reads the model code of a module.
Format
short mdTypeRead(long lPath, short sStNo, short* psCode)
Argument
Argument
Name
lPath
Path of channel
sStNo
Station number
psCode
Model code
Description
Reads the model code of a module specified by the station number (sStNo).
For modules other than the following, an undefined value is stored to the model name code (psCode).
Model code (hexadecimal)
0041H
0042H
0043H
0044H
0049H
004AH
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 16 Network number and station number
Specify the storage destination (address) of the model code.
(Stores the read model code.)
CPU module
Q02CPU, Q02HCPU
Q06HCPU
Q12HCPU
Q25HCPU
Q12PHCPU
Q25PHCPU
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 FUNCTIONS
3.3 MELSEC Data Link Functions
3
113

Advertisement

Table of Contents
loading

Table of Contents