82
3 DETAILS OF FUNCTION
3.2 MELSEC iQ-R Series Data Link Functions
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
■ Description
This function closes a channel opened with the mdrOpen function.
■ Return value
■ Relevant function
Page 90 mdrOpen
Argument Name Description IN/OUT
lPath Path of channel Specify the path of the opened channel. IN
Return value Description
0 (0000H) Normal
Other than 0 (0000H) Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST