Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 104

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

Advertisement

mdDevSetEx
Sets bit devices.
Format
long mdDevSetEx(long lPath, long lNetNo, long lStNo, long lDevType, long lDevNo)
Argument
Argument
lPath
lNetNo
lStNo
lDevType
lDevNo
Description
• This function sets (turns ON) the bit device of the module specified to the network number (lNetNo), station number (lStNo),
device type (lDevType), and device number (lDevNo).
• This function is exclusively for bit devices such as a link relay (B) or internal relay (M).
Return value
Return value
0(0000H)
Other than 0
For details on error codes, refer to the following section.
Page 116 Function error codes
Relevant function
Page 99 mdClose
Page 101 mdDevRstEx
Page 103 mdOpen
3 DETAILS OF FUNCTIONS
102
3.3 MELSEC Data Link Functions
Name
Path of channel
Network number
Station number
Device type
Device number
Description
Normal
Error
Description
Specify the path of the opened channel.
Specify the network number of target module.
Specify the station number of target module.
Page 16 Network number and station number
Specify the device type of bit device.
Page 17 Device type
Specify the device number of bit device.
IN/OUT
IN
IN
IN
IN
IN

Advertisement

Table of Contents
loading

Table of Contents