![Mitsubishi Electric MELSEC Q80BD-J71GF11-T2 User Manual Download Page 76](http://html.mh-extra.com/html/mitsubishi-electric/melsec-q80bd-j71gf11-t2/melsec-q80bd-j71gf11-t2_user-manual_238449076.webp)
74
5 FUNCTIONS
5.4 SEND/RECV Function
■
Event notification
The event notification can be set to receive in the user program when receiving data.
The event notification is set in the event setting of the network parameter. (
Received data can be obtained as events in a user program by specifying event numbers set in the event setting using the
mdWaitBdEvent function. (The received data are read by executing the mdReceiveEx/mdReceive function after the return of
the mdWaitBdEvent function.)
When setting the event notification function, set "Without setting" for Reception buffer of RECV function.
■
Operational change according to the setting of the RECV function
• RECV execution request flag
When receiving data from another station, the RECV execution request flag status of link special relay (
Special Relay (SB) List) is set as follows according to each setting.
• When data are not received at the execution of mdReceiveEx/mdReceive function
The action when data are not received at the execution of mdReceiveEx/mdReceive function is set as follows according to
each setting.
Messages received from other stations are stored to a storage channel of the target station specified in the send source.
Specified events are notified and the mdWaitBdEvent function completes normally.
At this time, the received channel number is stored to the detailed event information of the mdWaitBdEvent function.
Data of channel number notified by the mdWaitBdEvent function are read from the reception buffer using the mdReceiveEx/mdReceive function.
Reception buffer of RECV
function
Event setting of channel that received
data
RECV execution request flag when data from another
station are received (SB0030, SB0031)
With setting
(Event setting is not applicable.)
No change
Without setting
With event setting
Without event setting
Flag turns ON
Reception buffer of RECV
function
Event setting of channel that received
data
Operation status of mdReceiveEx/mdReceive
function
With setting
(Event setting is not applicable.)
The function ends with an error.
(No reception data error)
Without setting
With event setting
Without event setting
The function waits for up to the time specified for "Transient
timeout monitoring time". (
When data are received: The function ends normally.
When data are not received: The function ends with an error.
(Response timer timeout (dedicated instruction))
mdWaitBdEvent( path, eventno,
);
mdReceiveEx( path, 0, 255, ,
);
Ò
Ó
Ô
SEND
[Send source]
[Own station]
CPU module
Target station
Board
User application
Channel 1
Channel 2
Channel 1
Channel 2
Event
notification
RECV
function
Summary of Contents for MELSEC Q80BD-J71GF11-T2
Page 2: ......
Page 6: ...4 Disposal Precautions CAUTION When disposing of this product treat it as industrial waste ...
Page 118: ...116 12 MONITORING MEMO ...
Page 140: ...138 14 MELSEC DATA LINK LIBRARY MEMO ...
Page 142: ...140 15 PROGRAMMING 15 1 Precautions on Programming MEMO ...
Page 243: ...241 I U Utility 83 ...
Page 247: ......