Program Example Of An Interrupt Request - Mitsubishi Electric MELSEC Q Series Reference Manual

Cc-link ie controller network
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

8.1.5

Program example of an interrupt request

The following shows a program example of an interrupt request.
(1) Overview of the program example
In the program example in this section, the interrupt program of station No. 2 is activated when the Data link
status of own station (SB0049) is ON (data link error occurrence).
CPU module
(2) Setting (set in station No. 2)
(a) Interrupt setting
Fill in the interrupt setting parameter sheet. (
Network No.
Station No.
No.
Device code
Device No.
1
Complete settings in the programming tool based on the contents filled in the parameter sheet.
(b) Interrupt pointer setting of intelligent function module
Set interrupt pointers of an intelligent function module in the "PLC System" tab opened by clicking [PLC
Parameter].
Control station
No.1
SB
SB0049
Data link error
Network No.1
Detection
method
Normal station
CPU module
No.2
SB
I51
SB0049
Page 659, Appendix 5.5)
Word
Interrupt
device:
condition
Setting value
CHAPTER 8 PROGRAMMING
SM400
Receive
processing
IRET
Interrupt
Board No.
(SI) No.
283
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qj71gp21-sxMelsec qj71gp21s-sx

Table of Contents