148
3 DETAILS OF FUNCTION
3.2 MELSEC Data Link Functions
mdDevRstEx
This function resets bit devices.
■
Format
long mdDevRstEx(long lPath, long lNetNo, long lStNo, long lDevType, long lDevNo)
■
Argument
■
Description
• This function resets (turns OFF) the bit device of the module specified to the network number (lNetNo), the station number
(lStNo), the device type (lDevType), and the device number (lDevNo).
• This function is dedicated for bit devices such as link relay (B), internal relay (M).
■
Return value
■
Relevant functions
• Page 154 mdOpen
• Page 146 mdClose
• Page 149 mdDevSetEx
Argument
Name
Description
IN/OUT
lPath
Path of channel
Specify the path of the opened channel.
IN
lNetNo
Network number
Specify the network number of target module.
IN
lStNo
Station number
Specify the station number of target module.
IN
lDevType
Device type
Specify the device type of bit device.
IN
lDevNo
Device number
Specify the device number of bit device.
IN
Return value
Description
0 (0000H)
Normal
Other than 0
Error
For details on the error, refer to the following chapter.
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......