![Mitsubishi Electric MELSEC Q80BD-J71GF11-T2 Скачать руководство пользователя страница 79](http://html.mh-extra.com/html/mitsubishi-electric/melsec-q80bd-j71gf11-t2/melsec-q80bd-j71gf11-t2_user-manual_238449079.webp)
5 FUNCTIONS
5.7 Event Function
77
5
5.7
Event Function
This function checks event conditions every link scan, and notifies events to the user program when the event conditions are
met.
By using the event function, the link devices can be monitored efficiently without reading link devices regularly by the user
program.
Setting method
Event conditions are set on the "Event setting" screen. (
Specify event numbers set by the mdWaitBdEvent function of MELSEC data link library.
Set the event condition.
Link devices set for the event condition are checked every link scan.
When the event conditions are met, an event notification is issued every link refresh cycle.
Receive the event notification using the mdWaitBdEvent function in the user program.
main(){
mdOpen(181, -1, &path);
mdWaitBdEvent(path, eventno,
…);
mdClose(path);
}
Ò
Ó
Ô
Õ
Personal computer
Board
Event notification
Setting of event condition
User program
Receive the event notification using
the mdWaitBdEvent function.
Conditions
met
Event condition
check
Link device
(RX/RY/RWw/RWr)
change
Network status
(SB/SW) change
Data reception
status of specified
channel (RECV)
Data
reception
Channel 1
Channel 2
Содержание MELSEC Q80BD-J71GF11-T2
Страница 2: ......
Страница 6: ...4 Disposal Precautions CAUTION When disposing of this product treat it as industrial waste ...
Страница 118: ...116 12 MONITORING MEMO ...
Страница 140: ...138 14 MELSEC DATA LINK LIBRARY MEMO ...
Страница 142: ...140 15 PROGRAMMING 15 1 Precautions on Programming MEMO ...
Страница 243: ...241 I U Utility 83 ...
Страница 247: ......