Specifications

App - 74
Appendix 8.3 Interrupts by the link devices (LB/LW/LX) for cyclic transmission
The designated 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 satisfied.
The following figure shows the comparison between the conventional and new interrupt
sequence programs.
Reception
processing 1
K256
Reception
processing 2
Execution conditions
B100
END
FEND
Reception
processing 1
SM400
IRET
Reception
processing 2
SM40
IRET
END
Conventional sequence program
Set the execution conditions
using the interrupt setting
parameters.
I50
I51
C
o
n
v
e
r
t
e
d
t
o
a
n
i
n
t
e
r
r
u
p
t
p
r
o
g
r
a
m
Parameters are used
=W100
Interrupts generated by the link devices (LB/LW/LX) can be used for the 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 (designate 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.
Detection
method
Interrupt
condition
Word device
setting value
Channel
No./connection No.
Interrupt (SI)
No.
LB 100 Edge detection ON
[Interrupt pointer settings]
CPU side Intelligent module side
Interrupt pointer start No. Interrupt pointer count Start I/O No. Start SI No.
50 1
0000 0
CPU
Network module
Station No. 3
Network module
Station No. 15
CPU
Network No. 7
Interrupt program
execution
Reception
processing
IRET
I50
J7\B100
LB100
LB100
LB LB
SM400