Mitsubishi Electric MELSEC SW1DNC-CCIEF-B User Manual page 76

Cc-link ie field network interface board
Table of Contents

Advertisement

■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. (Page 104 Event setting)
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.)
[Send source]
CPU module Target station
Channel 1
SEND
Channel 2
 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.
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 (Page 188 Link
Special Relay (SB) List) is set as follows according to each setting.
Reception buffer of RECV
function
With setting
Without 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.
Reception buffer of RECV
function
With setting
Without setting
5 FUNCTIONS
74
5.4 SEND/RECV Function
[Own station]
Board
Ó
Event
notification
mdWaitBdEvent( path, eventno,
Ò
Ô
Channel 1
mdReceiveEx( path, 0, 255,
Channel 2
RECV
function
Event setting of channel that received
data
(Event setting is not applicable.)
With event setting
Without event setting
Event setting of channel that received
data
(Event setting is not applicable.)
With event setting
Without event setting
User application
);
,
);
RECV execution request flag when data from another
station are received (SB0030, SB0031)
No change
Flag turns ON
Operation status of mdReceiveEx/mdReceive
function
The function ends with an error.
(No reception data error)
The function waits for up to the time specified for "Transient
timeout monitoring time". (Page 106 Driver setting)
When data are received: The function ends normally.
When data are not received: The function ends with an error.
(Response timer timeout (dedicated instruction))

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q80bd-j71gf11-t2Melsec q81bd-j71gf11-t2

Table of Contents