10
MELSEC DATA LINK LIBRARY
9
DEVICE MONIT
O
R
UT
IL
ITY
10
MELSE
C
DA
TA L
INK
LIBRAR
Y
11
PROGRAMMING
12
AP
PLI
C
A
T
IO
N
FUNCT
IONS
13
E
R
ROR COD
E
S
14
TROU
BL
E
S
H
O
O
T
ING
A
APPE
NDICES
I
INDEX
10
- 2
The following table shows the list of the functions in the MELSEC data link library that is
provided with the software package.
*1: Supported by the 1.08J or later version of SW1DNC-MNETG-B.
*2: 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
For details of the functions, refer to the following manual.
MELSEC Data Link Library Reference Manual
Function name
Description
mdOpen
Opens a communication line.
mdClose
Closes a communication line.
mdSendEx
Batch writes devices. (Extended function
*2
)
Sends data. (SEND function)
*1
(Extended function
*2
)
mdReceiveEx
Batch reads devices. (Extended function
*2
)
Receives data. (RECV function)
*1
(Extended function
*2
)
mdRandWEx
Writes devices randomly. (Extended function
*2
)
mdRandREx
Reads devices randomly. (Extended function
*2
)
mdDevSetEx
Sets a bit device. (Extended function
*2
)
mdDevRstEx
Resets a bit device. (Extended function
*2
)
mdTypeRead
Reads the type of programmable controller CPU.
mdControl
Remote operation of programmable controller CPU.(RUN/STOP/PAUSE).
mdWaitBdEvent
Waits for an event occurrence.
mdBdRst
Resets the board.
mdBdModSet
Sets the mode of the board.
mdBdModRead
Reads the mode of the board.
mdBdLedRead
Reads the LED information of the board.
mdBdSwRead
Reads the switch status of the board.
mdBdVerRead
Reads the version information of the board.
mdInit
Refreshes the programmable controller device address.
mdSend
Batch writes devices.
Sends data. (SEND function)
*1
mdReceive
Batch reads devices.
Receives data. (RECV function)
*1
mdRandW
Writes devices randomly.
mdRandR
Reads devices randomly.
mdDevSet
Sets a bit device.
mdDevRst
Resets a bit device.