Mitsubishi Electric MELSEC iQ-R C Series Programming Manual page 192

Controller module
Table of Contents

Advertisement

3.3
MELSEC Data Link Functions
This section explains the details of the MELSEC data link function.
mdClose
This function closes a communication line (channel).
Format
short mdClose(long lPath)
Argument
Argument
Name
lPath
Path of channel
Description
• This function closes the channel opened by the mdOpen function.
• When using multiple channels, close the channel one by one.
Return value
Return value
0 (0000H)
Other than 0
Relevant functions
• Page 198 mdOpen
3 DETAILS OF FUNCTION
190
3.3 MELSEC Data Link Functions
Description
Specify the path of the opened channel.
Description
Normal
Error
For details on the error, refer to the following:
Page 225 ERROR CODE LIST
IN/OUT
IN

Advertisement

Table of Contents
loading

Table of Contents