Interrupts By The Link Special Device (Sb/Sw) - Mitsubishi Electric Q Series Reference Manual

Hide thumbs Also See for Q Series:
Table of Contents

Advertisement

7 APPLICATION FUNCTIONS

7.5.4 Interrupts by the link special device (SB/SW)

CPU
7 - 107
The designated interrupt sequence program can be executed when the conditions of
the control information (SB/SW) during data linking match.
In the example below, designate the interrupt setting parameters for station number 15
so that the interrupt program is started when SB0049 turns on (data link error
occurred).
[Interrupt setting parameters]
Device code
Device No.
SB
49
[Interrupt pointer settings]
CPU side
Interrupt pointer start
Interrupt pointer count
No.
51
Network module
Station No. 3
SB0049
REMARKS
(1) When the sequence program executes at high speed, the scan time may take
longer because the execution time of the interrupt program affects the
performance of the interrupt program.
(2) When multiple interrupts occur at the same time, the operation delay may
occur.
(3)
This function cannot be used during offline or online testing.
Detection
Interrupt
method
condition
Edge detection
On
1
Network module
Station No. 15
SB0049
Data link error
Network No. 7
Word device
Channel No./
setting value
connection No.
Intelligent module side
Start I/O No.
Start SI No.
0000
0
CPU
SB
SM400
I51
MELSEC-Q
Interrupt (SI) No.
0
Reception
processing
IRET
7 - 107

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents