Melsec Data Link Library - Mitsubishi Electric SW0DNC-MNETH-B User Manual

Melsecnet/hnetwork interface board
Table of Contents

Advertisement

10 MELSEC DATA LINK LIBRARY

10 MELSEC DATA LINK LIBRARY
This chapter describes the functional overview offered by the library.
These functions are used when creating a user program that communicates with a
programmable controller CPU. With the functions, the user can perform
communication without being conscious of the hardware type on the opposite side or
the communication protocol.
The following table lists the MELSEC data link library that is provided with the
MELSECNET/H board.
mdOpen
mdClose
mdSendEx
mdReceiveEx
mdRandWEx
mdRandREx
mdDevSetEx
mdDevRstEx
mdTypeRead
mdControl
mdBdRst
mdBdModSet
mdBdModRead
mdBdLedRead
mdBdSwRead
mdBdVerRead
mdInit
mdSend
mdReceive
mdRandW
mdRandR
mdDevSet
Refer to "MELSEC Data Link Library Reference Manual" for the details of the
functions.
10 - 1
Function name
Opens a communication line.
Closes a communication line.
Batch writes devices. (Extended function
Batch reads devices. (Extended function
Writes devices randomly. (Extended function
Reads devices randomly. (Extended function
Sets a bit device. (Extended function
Resets a bit device. (Extended function
Reads the type of programmable controller CPU.
Remote operation of programmable controller CPU.
(RUN/STOP/PAUSE).
Resets the board.
Sets the mode of the board.
Reads the mode of the board.
Reads the LED information of the board.
Reads the switch status of the board.
Reads the version information of the board.
Initializes programmable controller information table.
Batch writes devices.
Sends data (SEND function).
Batch reads devices.
Receives data (RECV function).
Writes devices randomly.
Reads devices randomly.
Sets a bit device.
1 : A function in which the access range is extended according to the extension of
the device points at the access target. It is accessible to all device numbers.
Use extended functions when creating a new program.
POINT
MELSEC
Description
1
)
1
)
1
)
1
)
1
)
1
)
10
10 - 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents