Melsec Data Link Functions - Mitsubishi Electric MELSEC iQ-R C Programming Manual

Melsec iq-r series programmable controller
Hide thumbs Also See for MELSEC iQ-R C:
Table of Contents

Advertisement

3.2

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 154 mdOpen
3 DETAILS OF FUNCTION
146
3.2 MELSEC Data Link Functions
Description
Specify the path of the opened channel.
Description
Normal
Error
For details on the error, refer to the following chapter.
Page 174 ERROR CODE LIST
IN/OUT
IN

Advertisement

Table of Contents
loading

Table of Contents