4 FUNCTIONS
Personal computer
Program
mdSend
Return value
mdSend
Return value
Personal computer
Program
mdReceive
Value,
return value
mdReceive
Value,
return value
4 - 15
(2) Communication between the master station and the local station by
transient transmission
The transient transmission is a transmission method that sends and receives
data in 1 : 1 mode by designating the opposite station at an arbitrary timing.
[When writing data to the buffer memory of the local station and the
CPU device using the mdSend function]
1) The program uses the mdSend function to write data from the master station to
the designated buffer memory of the local station and a CPU device.
2) When writing is completed, 0 is stored as return values.
Master station
CC-Link Ver.2 board
1)
2)
1)
2)
[When reading data from the buffer memory and CPU device in a local
station using the mdReceive function]
1) The program uses the mdReceive function to read data from the designated
buffer memory of the local station and the CPU device to the variables of the
program in the master station.
2) When reading is completed, 0 is stored as return values.
Master station
CC-Link Ver.2 board
1)
2)
1)
2)
Local station
Buffer memory
Local station
Buffer memory
MELSEC
PLC CPU
D
PLC CPU
D
4 - 15