Chapter 14 Melsec Data Link Library - Mitsubishi Electric MELSEC SW1DNC-CCIEF-B User Manual

Cc-link ie field network interface board
Table of Contents

Advertisement

14
MELSEC DATA LINK LIBRARY
This chapter explains the features of the functions provided by the library.
These functions are used when creating a user program to communicate with a programmable controller CPU.
With these functions, a user can communicate without being aware of hardware types or communication protocols on the
target.
The following table shows the list of MD functions which are provided with the software package.
Function name
mdOpen
mdClose
mdSendEx
mdReceiveEx
mdRandWEx
mdRandREx
mdDevSetEx
mdDevRstEx
mdRemBufWriteEx
mdRemBufReadEx
mdTypeRead
mdControl
mdWaitBdEvent
mdBdRst
mdBdModSet
mdBdModRead
mdBdLedRead
mdBdSwRead
mdBdVerRead
mdInit
mdSend
mdReceive
mdRandW
mdRandR
mdDevSet
mdDevRst
*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.
*2 For the version of CC-Link IE Field Network board and SW1DNC-CCIEF-B that can be used for the functions, refer to the following
section.
Page 223 New and Improved Functions
For details on the MELSEC data link library function, refer to the following manual.
MELSEC Data Link Library Reference Manual
Description
Open a communication line.
Close a communication line.
Batch write devices. (Extended function
Send data. (SEND function) (Extended function
Batch read devices. (Extended function
Receive data. (RECV function) (Extended function
Write devices randomly. (Extended function
Read devices randomly. (Extended function
*1
Set a bit device. (Extended function
Reset a bit device. (Extended function
Write data to the buffer memory of a remote device station.
Read data from the buffer memory of a remote device station.
Read the type of programmable controller CPU.
Remote operation of programmable controller CPU. (RUN/STOP/PAUSE).
Wait for an event occurrence.
Reset the board.
Set the mode of the board.
Read the mode of the board.
Read the LED information of the board.
Read the switch status of the board.
Read the version information of the board.
Refresh the programmable controller device address.
Batch write devices.
Send data. (SEND function)
Batch read devices.
Receive data. (RECV function)
Write devices randomly.
Read devices randomly.
Set a bit device.
Reset a bit device.
*1
)
*1
)
*1
)
*1
)
*1
)
*1
)
)
*1
)
*2
*2
14 MELSEC DATA LINK LIBRARY
14
137

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q80bd-j71gf11-t2Melsec q81bd-j71gf11-t2

Table of Contents