7 - 14 7 - 14
MELSEC-Q
7 APPLICATION FUNCTIONS
7.7 Interrupt Settings
Master Remote
The remote master station uses the host interrupt setting parameters to check interrupt
conditions at the time data is being received from the remote I/O station.
When the interrupt conditions are matched, it issues an interrupt request to CPU module
from the master module and starts the interrupt sequence program of the CPU module.
Up to 16 interrupt conditions can be set per master module.
[Advantages]
1) The startup of the interrupt sequence program of the applicable station
can be instructed from remote I/O stations.
2) The number of programming steps is reduced and the scan time is
shortened because the programming for the startup conditions is not
required in the sequence program.
[Visual representation of the function]
END
IRET
Interrupt
program
Master module
Interrupt
condition check
Execute an interrupt
when the conditions
are matched.
MELSECNET/ H
network
FEND
Main routing
program
CPU module
I50
Have the link devices
(LB/ LW/LX) changed?
Has the network status
(SB/ SW) changed?
POINT
• When multiple interrupt conditions are set, the operation may be delayed if an
interrupt request is issued from other stations at the same time because other
interrupts have to wait to be processed.
• When executing the interrupt sequence program, it is necessary to execute "EI"
(Enable Interrupt) with the main routine program.
REMARKS
Since the MELSECNET/H does not support the SEND instruction, the device code
RECVS instruction cannot be used.
For details about interrupt settings, refer to the Q corresponding MELSECNET/H
Network System Reference Manual (PLC to PLC network).