Interrupts By The Link Devices (Lb/Lw/Lx) For Cyclic Transmission - Mitsubishi Electric Melsec QJ71LP21 Reference Manual

Q corresponding melsecnet/h network system
Hide thumbs Also See for Melsec QJ71LP21:
Table of Contents

Advertisement

7
APPLICATION FUNCTIONS

7.5.3 Interrupts by the link devices (LB/LW/LX) for cyclic transmission

Conventional sequence program
Execution conditions
B100
=
7 - 114
The specified interrupt sequence program can be executed from other stations when
the conditions of "rise/fall" of the link devices (LB/LW) and "equal to/not equal to" of the
link register (LW) are matched.
The following figure shows the comparison between the conventional and new
interrupt sequence programs.
Parameters are used
Reception
processing 1
Reception
W100
K256
processing 2
END
Interrupts generated by the link devices (LB/LW/LX) can be used for normal cyclic
transmission and direct access destinations.
In the example below, the link device LB100 of station number 15 is turned on (1)
using direct access (specify outside the set refresh range but within the host's send
range) to the link device of station number 3. Also, the interrupt setting parameters are
set for station number 15 so that the interrupt program is started when LB100 of station
number 15 turns on.
[Interrupt setting parameters]
Device code
Device No.
LB
100
[Interrupt pointer settings]
CPU side
Interrupt pointer start
Interrupt pointer count
No.
50
SM400
I50
SM400
I51
Detection
Interrupt
method
condition
Edge detection
On
1
Set the execution
conditions using the
interrupt setting parameters
FEND
Reception
processing 1
IRET
Reception
processing 2
IRET
END
Word device
Channel No./
setting value
connection No.
Intelligent module side
Start I/O No.
Start SI No.
0000
0
MELSEC-Q
Interrupt (SI) No.
0
7 - 114

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents