10 - 1 10 - 1
MELSEC
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.
Function name
Description
mdOpen
Opens a communication line.
mdClose
Closes a communication line.
mdSendEx
Batch writes devices. (Extended function
1
)
mdReceiveEx
Batch reads devices. (Extended function
1
)
mdRandWEx
Writes devices randomly. (Extended function
1
)
mdRandREx
Reads devices randomly. (Extended function
1
)
mdDevSetEx
Sets a bit device. (Extended function
1
)
mdDevRstEx
Resets a bit device. (Extended function
1
)
mdTypeRead
Reads the type of programmable controller CPU.
mdControl
Remote operation of programmable controller CPU.
(RUN/STOP/PAUSE).
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
Initializes programmable controller information table.
Batch writes devices.
mdSend
Sends data (SEND function).
Batch reads devices.
mdReceive
Receives data (RECV function).
mdRandW
Writes devices randomly.
mdRandR
Reads devices randomly.
mdDevSet
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
Refer to "MELSEC Data Link Library Reference Manual" for the details of the
functions.
10
Summary of Contents for Q80BD-J71BR11
Page 2: ......
Page 24: ...A 22 A 22 MEMO ...
Page 50: ...4 6 4 6 MELSEC 4 FUNCTION MEMO ...
Page 92: ...6 36 6 36 MELSEC 6 PROCEDURE AND SETTINGS UP TO THE POINT OF OPERATION MEMO ...
Page 132: ...10 2 10 2 MELSEC 10 MELSEC DATA LINK LIBRARY MEMO 10 ...
Page 138: ...11 6 11 6 MELSEC 11 PROGRAMMING MEMO ...
Page 164: ...12 26 12 26 MELSEC 12 APPLICATION FUNCTIONS MEMO ...
Page 166: ...13 2 13 2 MELSEC 13 ERROR CODE MEMO 13 ...
Page 223: ......