3.2
MELSEC iQ-R Series Data Link Functions
This section shows the details of the MELSEC iQ-R series data link function.
mdrClose
This function closes a communication line (channel).
■ Format
short mdrClose(long lPath)
■ Argument
Argument
lPath
■ Description
This function closes a channel opened with the mdrOpen function.
■ Return value
Return value
0 (0000H)
Other than 0 (0000H)
■ Relevant function
Page 90 mdrOpen
3 DETAILS OF FUNCTION
82
3.2 MELSEC iQ-R Series Data Link Functions
Name
Path of channel
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST
Description
Specify the path of the opened channel.
IN/OUT
IN